12014-07-22  Dana Burkart  <dburkart@apple.com>
2
3        Merge r152704.
4
5    2013-07-15  Kangil Han  <kangil.han@samsung.com>
6
7            Introduce toHTMLIFrameElement
8            https://bugs.webkit.org/show_bug.cgi?id=118672
9
10            Reviewed by Ryosuke Niwa.
11
12            To avoid direct use of static_cast, this patch introduces toHTMLIFrameElement for code cleanup.
13
14            * DOMHTMLClasses.cpp:
15            (DOMHTMLIFrameElement::contentFrame):
16
172014-03-18  Brent Fulgham  <bfulgham@apple.com>
18
19        Build correction after last merge.
20
21        * WebPreferences.cpp:
22        (WebPreferences::isInheritURIQueryComponentEnabled): Must use CFSTR wrappers
23        on key names in this code.
24        (WebPreferences::setEnableInheritURIQueryComponent): Ditto.
25        * WebView.cpp:
26        (WebView::notifyPreferencesChanged): This version of the code used pointers
27        for the preference instance.
28
292014-03-17  Matthew Hanson  <matthew_hanson@apple.com>
30
31        Merge r165753.
32
33    2014-03-17  Brent Fulgham  <bfulgham@apple.com>
34    
35            Provide preference to enable additional AVFoundation options
36            https://bugs.webkit.org/show_bug.cgi?id=130275
37    
38            Reviewed by Eric Carlson.
39    
40            * Interfaces/IWebPreferencesPrivate.idl: Added new preference.
41            * WebPreferenceKeysPrivate.h: Ditto.
42            * WebPreferences.cpp:
43            (WebPreferences::initializeDefaultSettings): Initialize preference to false.
44            (WebPreferences::isInheritURIQueryComponentEnabled): Added.
45            (WebPreferences::setEnableInheritURIQueryComponent): Added.
46            * WebPreferences.h:
47            * WebView.cpp:
48            (WebView::notifyPreferencesChanged): Handle new preference.
49    
502014-02-06  Brent Fulgham  <bfulgham@apple.com>
51
52        Merge r163557.
53
54    2014-02-06  Brent Fulgham  <bfulgham@apple.com>
55
56            [Win] Correct IME Regression after r141479
57            https://bugs.webkit.org/show_bug.cgi?id=128323
58            <rdar://problem/15952986>
59
60            Reviewed by Tim Horton.
61
62            * WebView.cpp:
63            (WebView::updateSelectionForIME): Refactoring flipped the meaning of the test used
64            to select the resetIME case. Corrected for behavior of new cancel method.
65
662014-02-05  Brent Fulgham  <bfulgham@apple.com>
67
68        Merge r154146
69
70    2013-08-15  Brent Fulgham  <bfulgham@apple.com> 
71     
72            [Windows] Consolidate WebKit Bundle handling 
73            https://bugs.webkit.org/show_bug.cgi?id=119869 
74     
75            Reviewed by Tim Horton. 
76     
77            * WebCoreSupport/WebInspectorClient.cpp: 
78            (WebInspectorClient::openInspectorFrontend): Switch to new 
79            WebCore::webkitBundle() method. 
80            (WebInspectorFrontendClient::localizedStringsURL): Ditto. 
81
822014-02-03  Brent Fulgham  <bfulgham@apple.com>
83
84        Merge r154394
85
86    2013-08-20  Brent Fulgham  <bfulgham@apple.com>
87
88            <https://webkit.org/b/120098> [Windows] Enable the New Web Inspector
89
90            Reviewed by Brian Weinstein.
91
92            * WebCoreSupport/WebInspectorClient.cpp:
93            (WebInspectorClient::openInspectorFrontend): Use the new inspector
94            if present in the WebKit distribution.
95            (WebInspectorFrontendClient::localizedStringsURL): Use the new
96            Web Inspector's localized strings (if present).
97
982013-12-23  Matthew Hanson  <matthew_hanson@apple.com>
99
100        Update copyright strings.
101        This is a drive-by change in addition to those made in r161003 on trunk.
102
103        Reviewed by Lucas Forschler.
104
105        * win/WebKit.resources/Info.plist:
106
1072013-12-11  Lucas Forschler  <lforschler@apple.com>
108
109        Merge r160184
110
111    2013-12-04  Brent Fulgham  <bfulgham@apple.com>
112
113            [Win] Exiting from Media Full Screen mode via 'escape' key does not work properly
114            https://bugs.webkit.org/show_bug.cgi?id=125272
115
116            Reviewed by Jer Noble.
117
118            * WebView.cpp:
119            (WebView::fullScreenClientWillExitFullScreen): Change to webkitCancelFullScreen method call
120            to more closely match Media Control behavior.
121
1222013-10-29  Brent Fulgham  <bfulgham@apple.com>
123
124        Merge r154764
125
126    2013-08-28  Brent Fulgham  <bfulgham@apple.com> 
127
128            [Windows] Provide useful error messages for WebKitErrorDomain errors 
129            https://bugs.webkit.org/show_bug.cgi?id=120428 
130
131            Reviewed by Anders Carlsson. 
132
133            * WebCoreSupport/WebFrameLoaderClient.cpp: 
134            (WebFrameLoaderClient::cancelledError): Provide text for this error. 
135            (WebFrameLoaderClient::blockedError): Hook up WEB_UI_STRING for this error. 
136            (WebFrameLoaderClient::cannotShowURLError): Ditto 
137            (WebFrameLoaderClient::interruptedForPolicyChangeError): Ditto 
138            (WebFrameLoaderClient::cannotShowMIMETypeError): Ditto 
139            (WebFrameLoaderClient::fileDoesNotExistError): Provide text for this error. 
140            (WebFrameLoaderClient::pluginWillHandleLoadError): Hook up WEB_UI_STRING for this error. 
141            (WebFrameLoaderClient::dispatchDidFailToStartPlugin): Ditto. 
142            (WebFrameLoaderClient::createJavaAppletWidget): Ditto. 
143            (WebFrameLoaderClient::webHistory): Remove blank line above method. 
144
1452013-10-29  Brent Fulgham  <bfulgham@apple.com>
146
147        Merge r154759
148
149    2013-08-27  Brent Fulgham  <bfulgham@apple.com>
150
151            [Windows] Loader is not properly determining supported MIME types
152            https://bugs.webkit.org/show_bug.cgi?id=120383
153
154            Reviewed by Eric Carlson.
155
156            * WebCoreSupport/WebFrameLoaderClient.cpp:
157            (WebFrameLoaderClient::canShowMIMEType): Modify to ask WebView if it can
158            display the media type. Use new helper function to avoid converting a String
159            to BSTR, only to immediatly be converted from BSTR back to String.
160            (WebFrameLoaderClient::canShowMIMETypeAsHTML): Ditto.
161            * WebView.cpp:
162            (WebView::canShowMIMEType): Move logic to a new (similarly named) helper function.
163            (WebView::canShowMIMETypeAsHTML): Ditto.
164            * WebView.h: Add declaration for two new helper functions.
165
1662013-10-28  Lucas Forschler  <lforschler@apple.com>
167
168        Merge r156433
169
170    2013-09-25  Roger Fong  <roger_fong@apple.com>
171
172            [Windows] Attempting to scroll from a non-scrollable layer results the main document getting scrolled.
173            https://bugs.webkit.org/show_bug.cgi?id=121889.
174            <rdar://problem/15072441>
175
176            Reviewed by Timothy Horton.
177
178            * WebView.cpp:
179            (WebView::gesture): 
180            Call scrollByRecursively on the current RenderLayer's enclosingScrollableLayer to make sure that the method
181            doesn't bail early and end up just scrolling the main document instead of the next scrollable layer in the RenderLayer tree.
182
1832013-10-28  Lucas Forschler  <lforschler@apple.com>
184
185        Merge r156416
186
187    2013-09-24  Roger Fong  <roger_fong@apple.com>
188
189            [Windows] Overpanning occurs even when what is being panned isn't the main document.
190            https://bugs.webkit.org/show_bug.cgi?id=121885.
191            <rdar://problem/15072332>.
192
193            Reviewed by Brent Fulgham.
194
195            * WebView.cpp:
196            (WebView::gestureNotify):
197            (WebView::gesture):
198
1992013-10-28  Lucas Forschler  <lforschler@apple.com>
200
201        Merge r156219
202
203    2013-09-20  Roger Fong  <roger_fong@apple.com>
204
205            Handle panning gestures messages properly on Windows.
206            https://bugs.webkit.org/show_bug.cgi?id=121711.
207
208            Reviewed by Brent Fulgham.
209
210            This fixes a number of issues with panning gestures on Windows.
211            1. Two finger panning in one direction can sometimes cause some unexpected scrolling 
212            in the other direction when the gesture first begins (directions meaning horizontal and vertical)
213            2. Single finger horizontal panning should only be disabled when attempting to select text.
214            3. Scrolling via panning should be clamped, other wise we can scroll contents completely out of the scrollview.
215            4. Horizontal overpan should work.
216            5. Overpan should occur whenever we scroll to the extents of whichever scroll view we're currently scrolling.
217
218            * WebView.cpp:
219            (WebView::gestureNotify):
220            (WebView::gesture):
221
2222013-10-28  Lucas Forschler  <lforschler@apple.com>
223
224        Merge r156302
225
226    2013-09-23  Patrick Gansterer  <paroga@webkit.org>
227
228            use NOMINMAX instead of #define min min
229            https://bugs.webkit.org/show_bug.cgi?id=73563
230
231            Reviewed by Brent Fulgham.
232
233            Use NOMINMAX instead of #define min/max as a cleaner
234            way of ensuring that Windows system header files don't
235            define min/max as macro in the first place.
236
237            * WebKitPrefix.h:
238
2392013-10-28  Lucas Forschler  <lforschler@apple.com>
240
241        Merge r154508
242
243    2013-08-23  Brent Fulgham  <bfulgham@apple.com>
244
245            [Windows] Refactor WebFrame to compose with WebFrameLoaderClient
246            https://bugs.webkit.org/show_bug.cgi?id=120092
247
248            Reviewed by Anders Carlsson.
249
250            Revise WebFrame implementation on Windows to no longer subclass from
251            WebFrameLoaderClient, instead using a fully-functional WebFrameLoaderClient
252            as a helper object to perform the tasks, as is done in the other
253            ports. This is a step towards completing
254            https://bugs.webkit.org/show_bug.cgi?id=119964.
255
256            * WebCoreSupport/WebFrameLoaderClient.cpp: Add a new 'private data'
257            object to house the policy delegate and function.
258            (WebFrameLoaderClient::WebFramePolicyListenerPrivate::WebFramePolicyListenerPrivate):
259            Create the new private data object.
260            (WebFrameLoaderClient::WebFramePolicyListenerPrivate::~WebFramePolicyListenerPrivate):
261            Destroy the new private data object.
262            (WebFrameLoaderClient::WebFrameLoaderClient): Moved from WebFrame.cpp
263            (WebFrameLoaderClient::frameLoaderDestroyed): Ditto
264            (WebFrameLoaderClient::makeRepresentation): Ditto
265            (WebFrameLoaderClient::forceLayoutForNonHTML): Ditto
266            (WebFrameLoaderClient::setCopiesOnScroll): Ditto
267            (WebFrameLoaderClient::detachedFromParent2): Ditto
268            (WebFrameLoaderClient::detachedFromParent3): Ditto
269            (WebFrameLoaderClient::convertMainResourceLoadToDownload): Ditto
270            (WebFrameLoaderClient::dispatchDidLoadResourceFromMemoryCache): Ditto
271            (WebFrameLoaderClient::dispatchDidFailProvisionalLoad): Ditto
272            (WebFrameLoaderClient::dispatchDidFailLoad): Ditto
273            (WebFrameLoaderClient::dispatchDecidePolicyForResponse): Ditto
274            (WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction): Ditto
275            (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction): Ditto
276            (WebFrameLoaderClient::dispatchUnableToImplementPolicy): Ditto
277            (WebFrameLoaderClient::dispatchWillSendSubmitEvent): Ditto
278            (WebFrameLoaderClient::dispatchWillSubmitForm): Ditto
279            (WebFrameLoaderClient::startDownload): Ditto
280            (WebFrameLoaderClient::willChangeTitle): Ditto
281            (WebFrameLoaderClient::didChangeTitle): Ditto
282            (WebFrameLoaderClient::cancelledError): Ditto
283            (WebFrameLoaderClient::blockedError): Ditto
284            (WebFrameLoaderClient::cannotShowURLError): Ditto
285            (WebFrameLoaderClient::interruptedForPolicyChangeError): Ditto
286            (WebFrameLoaderClient::cannotShowMIMETypeError): Ditto
287            (WebFrameLoaderClient::fileDoesNotExistError): Ditto
288            (WebFrameLoaderClient::pluginWillHandleLoadError): Ditto
289            (WebFrameLoaderClient::shouldFallBack): Ditto
290            (WebFrameLoaderClient::canHandleRequest): Ditto
291            (WebFrameLoaderClient::canShowMIMEType): Ditto
292            (WebFrameLoaderClient::canShowMIMETypeAsHTML): Ditto
293            (WebFrameLoaderClient::representationExistsForURLScheme): Ditto
294            (WebFrameLoaderClient::generatedMIMETypeForURLScheme): Ditto
295            (WebFrameLoaderClient::frameLoadCompleted): Ditto
296            (WebFrameLoaderClient::saveViewStateToItem): Ditto
297            (WebFrameLoaderClient::restoreViewState): Ditto
298            (WebFrameLoaderClient::provisionalLoadStarted): Ditto
299            (WebFrameLoaderClient::didFinishLoad): Ditto
300            (WebFrameLoaderClient::prepareForDataSourceReplacement): Ditto
301            (WebFrameLoaderClient::userAgent): Ditto
302            (WebFrameLoaderClient::objectContentType): Ditto
303            (WebFrameLoaderClient::createJavaAppletWidget): Ditto
304            (WebFrameLoaderClient::overrideMediaType): Ditto
305            (WebFrameLoaderClient::documentElementAvailable): Ditto
306            (WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld): Ditto
307            (WebFrameLoaderClient::registerForIconNotification): Ditto
308            (WebFrameLoaderClient::didPerformFirstNavigation): Ditto
309            (WebFrameLoaderClient::createNetworkingContext): Ditto
310            (WebFrameLoaderClient::shouldAlwaysUsePluginDocument): Ditto
311            (WebFrameLoaderClient::revertToProvisionalState): Ditto
312            (WebFrameLoaderClient::setMainFrameDocumentReady): Ditto
313            (WebFrameLoaderClient::cancelPolicyCheck): Ditto
314            (WebFrameLoaderClient::setUpPolicyListener): Ditto
315            (WebFrameLoaderClient::receivedPolicyDecision): Ditto
316            * WebCoreSupport/WebFrameLoaderClient.h:
317            (WebFrameLoaderClient::webFrame): Add accessor method
318            * WebDataSource.cpp:
319            (WebDataSource::representation): Loader client is now
320            a WebFrameLoaderClient (not a WebFrame).
321            (WebDataSource::webFrame): Ditto
322            * WebElementPropertyBag.cpp:
323            (WebElementPropertyBag::Read): Loader client is now
324            a WebFrameLoaderClient (not a WebFrame)
325            * WebFrame.cpp:
326            (kit): Revise for WebFrameLoaderClient use.
327            (WebFrame::WebFramePrivate::WebFramePrivate): Remove
328            WebFramePolicyListener and FramePolicyFunction, since
329            they are no longer needed here. They were moved to
330            the WebFrameLoaderClient object.
331            (WebFrame::WebFrame): No longer inheriting from
332            WebFramePolicyListener.
333            (WebFrame::init): Frame::create now needs to be supplied
334            with a new WebFramePolicyListener, rather than 'this'
335            * WebFrame.h:
336            * WebFramePolicyListener.cpp:
337            (WebFramePolicyListener::receivedPolicyDecision): Loader
338            client is now a WebFramePolicyClient, not a WebFrame.
339
3402013-10-25  Lucas Forschler  <lforschler@apple.com>
341
342        Merge r155212
343
344    2013-09-05  Roger Fong  <roger_fong@apple.com>
345
346            [Windows] Implement text offset methods of IAccessibleText interface.
347            https://bugs.webkit.org/show_bug.cgi?id=120820.
348            <rdar://problem/14925242>
349
350            Reviewed by Brenet Fulgham.
351
352            * AccessibleTextImpl.cpp:
353            (AccessibleText::get_textBeforeOffset):
354            (AccessibleText::get_textAfterOffset):
355            (AccessibleText::get_textAtOffset):
356            (AccessibleText::isInRange):
357            * AccessibleTextImpl.h:
358
3592013-10-24  Lucas Forschler  <lforschler@apple.com>
360
361        Merge r154634
362
363    2013-08-26  Roger Fong  <roger_fong@apple.com>
364
365            Unreviewed. Add missing interface files that were left out in r154627.
366
367            * Interfaces/Accessible2/AccessibleEditableText.idl: Added.
368            * Interfaces/Accessible2/AccessibleText.idl: Added.
369            * Interfaces/Accessible2/AccessibleText2.idl: Added.
370
3712013-10-24  Lucas Forschler  <lforschler@apple.com>
372
373        Merge r154627
374
375    2013-08-23  Roger Fong  <roger_fong@apple.com>
376
377            <https://bugs.webkit.org/show_bug.cgi?id=119829> Add IAccessibleText and IAccessibleEditableText implementation.
378
379            Reviewed by Chris Fleizach.
380
381            Add IAccessibleText and IAccessibleEditableText interfaces and implementation to AppleWin port.
382
383            * AccessibleBase.cpp:
384            (AccessibleBase::createInstance): Create an AccessibleText instance when necessary.
385            (AccessibleBase::QueryService):
386            * AccessibleBase.h:
387            * AccessibleTextImpl.cpp: Added.
388            (AccessibleText::AccessibleText):
389            (AccessibleText::addSelection):
390            (AccessibleText::get_attributes): Not Implemented
391            (AccessibleText::get_caretOffset):
392            (AccessibleText::get_characterExtents):
393            (AccessibleText::get_nSelections):
394            (AccessibleText::get_offsetAtPoint):
395            (AccessibleText::get_selection):
396            (AccessibleText::get_text):
397            (AccessibleText::get_textBeforeOffset): Not Implemented
398            (AccessibleText::get_textAfterOffset): Not Implemented
399            (AccessibleText::get_textAtOffset): Not Implemented
400            (AccessibleText::removeSelection):
401            (AccessibleText::setCaretOffset):
402            (AccessibleText::setSelection):
403            (AccessibleText::get_nCharacters):
404            (AccessibleText::scrollSubstringTo):
405            (AccessibleText::scrollSubstringToPoint):
406            (AccessibleText::get_newText): Not Implemented
407            (AccessibleText::get_oldText): Not Implemented
408            (AccessibleText::get_attributeRange): Not Implemented
409            (AccessibleText::copyText):
410            (AccessibleText::deleteText):
411            (AccessibleText::insertText):
412            (AccessibleText::cutText):
413            (AccessibleText::pasteText):
414            (AccessibleText::replaceText):
415            (AccessibleText::setAttributes): Not Implemented
416            (AccessibleText::QueryInterface):
417            (AccessibleText::Release):
418            (AccessibleText::convertSpecialOffset):
419            (AccessibleText::initialCheck):
420            * AccessibleTextImpl.h: Added.
421            (AccessibleText::~AccessibleText):
422            (AccessibleText::AddRef):
423
4242013-08-05  Lucas Forschler  <lforschler@apple.com>
425
426        Merge r153628
427
428    2013-08-01  Brent Fulgham  <bfulgham@apple.com>
429
430            [Windows] WebKit1 Fullscreen Video Play is Broken
431            https://bugs.webkit.org/show_bug.cgi?id=119415
432
433            Reviewed by Jer Noble.
434
435            * WebPreferences.cpp:
436            (WebPreferences::initializeDefaultSettings): Set accelerated
437            rendering on by default on systems that support it.
438            * WebView.cpp:
439            (WebView::exitFullscreen): Clean up Fullscreen video controller
440            once it is no longer used. This was preventing users from being
441            able to reenter Fullscreen mode after leaving it.
442            (WebView::fullScreenClientForceRepaint): Change assert to
443            match the member actually being used in the method.
444
4452013-07-15  Lucas Forschler  <lforschler@apple.com>
446
447        Merge r152520
448
449    2013-07-09  Jer Noble  <jer.noble@apple.com>
450
451            Reviewed by Simon Fraser.
452
453            Remember the scroll position and restore after exiting full-screen mode.
454            https://bugs.webkit.org/show_bug.cgi?id=61956
455
456            Add support for two new FullScreenClient callbacks for saving and restoring the 
457            scroll position of the full-screen frame.
458
459            * WebView.cpp:
460            (WebView::fullScreenClientSaveScrollPosition):
461            (WebView::fullScreenClientRestoreScrollPosition):
462            * WebView.h:
463
4642013-07-01  Lucas Forschler  <lforschler@apple.com>
465
466        Merge r152065
467
468    2013-06-26  Roger Fong  <roger_fong@apple.com>
469
470            Add an accessibility delegate interface to AppleWin port.
471            https://bugs.webkit.org/show_bug.cgi?id=118094.
472
473            Reviewed by Brent Fulgham.
474
475            * Interfaces/AccessibilityDelegate.idl: Added.
476            * Interfaces/IWebView.idl:
477            * Interfaces/WebKit.idl:
478            * WebCoreSupport/WebChromeClient.cpp: Add methods that call into the AccessibilityDelegate.
479            (WebChromeClient::AXStartFrameLoad):
480            (WebChromeClient::AXFinishFrameLoad):
481            * WebCoreSupport/WebChromeClient.h:
482            * WebView.cpp: Add support for setting and getting the AccessibilityDelegate from the WebView.
483            (WebView::close):
484            (WebView::setAccessibilityDelegate):
485            (WebView::accessibilityDelegate):
486            * WebView.h:
487
4882013-06-27  Lucas Forschler  <lforschler@apple.com>
489
490        Merge r151841
491
492    2013-06-20  Brent Fulgham  <bfulgham@apple.com>
493
494            [Windows] AX: Radio buttons with "tab" role should describe themselves as tabs.
495            https://bugs.webkit.org/show_bug.cgi?id=117837
496
497            Reviewed by Chris Fleizach.
498
499            * AccessibleBase.cpp:
500            (MSAARole): Don't expose TabRole as a radio button to satisfy buggy screen readers.
501
5022013-06-27  Lucas Forschler  <lforschler@apple.com>
503
504        Merge r151745
505
506    2013-06-19  Brent Fulgham  <bfulgham@apple.com>
507
508            [Windows] AX: Extend notification support.
509            https://bugs.webkit.org/show_bug.cgi?id=117761
510
511            Reviewed by Anders Carlsson.
512
513            * AccessibleDocument.cpp:
514            (AccessibleDocument::state): Improve handling of focus state.
515            * AccessibleDocument.h: Provide signature for new state override.
516
5172013-06-26  Lucas Forschler  <lforschler@apple.com>
518
519        Merge r151832
520
521    2013-06-21  Christophe Dumez  <ch.dumez@sisa.samsung.com>
522
523            REGRESSION (r150663): Using webkitAudioContext in Inspector makes it undefined everywhere
524            https://bugs.webkit.org/show_bug.cgi?id=117825
525
526            Reviewed by Kentaro Hara.
527
528            Use Settings to enable Web Audio instead of RuntimeEnabledFeatures.
529
530            * WebView.cpp:
531            (WebView::notifyPreferencesChanged):
532
5332013-06-18  Roger Fong  <roger_fong@apple.com>
534
535        Unreviewed. Build fix for Apple Windows.
536
537        * WebCoreSupport/WebFrameNetworkingContext.h:
538        (WebFrameNetworkingContext::create):
539        (WebFrameNetworkingContext::WebFrameNetworkingContext):
540        (WebFrameNetworkingContext::userAgent):
541
5422013-06-18  Roger Fong  <roger_fong@apple.com>
543
544        Re-implement WebFrameNetworkingContext.
545        <rdar://problem/13174821>.
546
547        Reviewed by Alexey Proskuryakov.
548
549        * WebCoreSupport/WebFrameNetworkingContext.cpp: Added.
550        (WebFrameNetworkingContext::setCookieAcceptPolicyForAllContexts):
551        (WebFrameNetworkingContext::setPrivateBrowsingStorageSessionIdentifierBase):
552        (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
553        (WebFrameNetworkingContext::destroyPrivateBrowsingSession):
554        (WebFrameNetworkingContext::blockedError):
555        (WebFrameNetworkingContext::referrer):
556        (WebFrameNetworkingContext::storageSession):
557        * WebCoreSupport/WebFrameNetworkingContext.h: Added.
558        (WebFrameNetworkingContext::create):
559        (WebFrameNetworkingContext::WebFrameNetworkingContext):
560
5612013-06-18  Alexey Proskuryakov  <ap@apple.com>
562
563        <rdar://problem/13174821> Remove files with an incorrect license.
564
565        Rubber-stamped by Maciej Stachowiak.
566
567        This will break the build, stay tuned for a fix coming soon.
568
569        * WebCoreSupport/WebFrameNetworkingContext.cpp: Removed.
570        * WebCoreSupport/WebFrameNetworkingContext.h: Removed.
571
5722013-06-12  Brent Fulgham  <bfulgham@apple.com>
573
574        [Windows] Implement Accessibility2 APIs in Windows.
575        https://bugs.webkit.org/show_bug.cgi?id=117561
576
577        Reviewed by Anders Carlsson.
578
579        * AccessibleBase.cpp: Add stubs for IAccessible2 interface, replace attributeValue
580        method with get_attribute from IAccessible2 API.
581        * AccessibleBase.h: Ditto.
582        * AccessibleDocument.cpp: Revise signatures for IAccessible2.
583        * AccessibleDocument.h: Ditto.
584        * AccessibleImage.cpp: Revise signatures for IAccessible2.
585        * AccessibleImage.h: Ditto.
586        * Interfaces/Accessible2: Added.
587        * Interfaces/Accessible2/Accessible2.idl: Added.
588        * Interfaces/Accessible2/Accessible2_2.idl: Added.
589        * Interfaces/Accessible2/AccessibleApplication.idl: Added.
590        * Interfaces/Accessible2/AccessibleRelation.idl: Added.
591        * Interfaces/Accessible2/AccessibleStates.idl: Added.
592        * Interfaces/Accessible2/IA2CommonTypes.idl: Added.
593        * Interfaces/AccessibleComparable.idl:
594        * Interfaces/WebKit.idl: Reference IAccessible2 types.
595        * WebFrame.cpp: 
596        (WebFrame::accessible): Pass window handle to IAccessible types.
597
5982013-06-12  Brent Fulgham  <bfulgham@apple.com>
599
600        [Windows] Support Title UI Element Accessibility Attribute
601        https://bugs.webkit.org/show_bug.cgi?id=117530
602
603        Reviewed by Anders Carlsson.
604
605        * AccessibleBase.cpp:
606        (AccessibleBase::attributeValue): Extend to handle Title UI Element.
607        * AccessibleBase.h: Revise signature to use a variant argument.
608        * Interfaces/AccessibleComparable.idl:  Revise interface to use variant
609
6102013-06-12  Zan Dobersek  <zdobersek@igalia.com>
611
612        Remove memoryInfoEnabled, quantizedMemoryInfoEnabled settings
613        https://bugs.webkit.org/show_bug.cgi?id=117512
614
615        Reviewed by Darin Adler.
616
617        * Interfaces/IWebPreferencesPrivate.idl: Remove memoryInfoEnabled, setMemoryInfoEnabled entries.
618        * WebPreferenceKeysPrivate.h: Remove the WebKitMemoryInfoEnabledPreferenceKey definition.
619        * WebPreferences.cpp: Remove the memoryInfo, setMemoryInfoEnabled methods.
620        (WebPreferences::initializeDefaultSettings): Remove the WebKitMemoryInfoEnabledPreferenceKey entry initialization.
621        * WebPreferences.h: Remove the memoryInfo, setMemoryInfoEnabled method declarations.
622        * WebView.cpp:
623        (WebView::notifyPreferencesChanged): Remove the Settings::setMemoryInfoEnabled call, the method is being removed.
624
6252013-06-11  Brent Fulgham  <bfulgham@apple.com>
626
627        [Windows] Unreviewed build correction after r151440.
628
629        * AccessibleBase.cpp:
630        (MSAARole): Switch back to emiting ROLE_SYSTEM_LISTITEM for
631        ListItemRole Web role to avoid breaking existing test.
632
6332013-06-11  Brent Fulgham  <bfulgham@apple.com>
634
635        [Windows] Implement 'attributeValue' accessor to support testing.
636        https://bugs.webkit.org/show_bug.cgi?id=117513
637
638        Reviewed by Anders Carlsson.
639
640        * AccessibleBase.cpp:
641        (AccessibleBase::attributeValue): Added.
642        * AccessibleBase.h: Added method declaration.
643        * Interfaces/AccessibleComparable.idl: New accessor interface.
644
6452013-06-09  Brent Fulgham  <bfulgham@apple.com>
646
647        [Windows] Provide MSAA mappings for more WebCore roles.
648        https://bugs.webkit.org/show_bug.cgi?id=117389
649
650        Reviewed by Chris Fleizach.
651
652        * AccessibleBase.cpp:
653        (MSAARole): Add additional mappings between WebCore roles and MSAA roles.
654
6552013-06-07  Christophe Dumez  <ch.dumez@sisa.samsung.com>
656
657        Get rid of outdated raises() from Web IDL
658        https://bugs.webkit.org/show_bug.cgi?id=117350
659
660        Reviewed by Darin Adler.
661
662        Replace raises() by [RaisesException].
663
664        * Interfaces/DOMEvents.idl:
665
6662013-06-03  Roger Fong  <roger_fong@apple.com>
667
668        Nuke VS2005 files from the tree.
669        <rdar://problem/14042021>.
670
671        Rubberstamped by Brent Fulgham.
672
673        * WebKit.vcproj: Removed.
674        * WebKit.vcproj/FixMIDLHeaders.pl: Removed.
675        * WebKit.vcproj/Interfaces.vcproj: Removed.
676        * WebKit.vcproj/InterfacesCommon.vsprops: Removed.
677        * WebKit.vcproj/InterfacesDebug.vsprops: Removed.
678        * WebKit.vcproj/InterfacesDebugAll.vsprops: Removed.
679        * WebKit.vcproj/InterfacesDebugCairoCFLite.vsprops: Removed.
680        * WebKit.vcproj/InterfacesPostBuild.cmd: Removed.
681        * WebKit.vcproj/InterfacesPreBuild.cmd: Removed.
682        * WebKit.vcproj/InterfacesProduction.vsprops: Removed.
683        * WebKit.vcproj/InterfacesRelease.vsprops: Removed.
684        * WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops: Removed.
685        * WebKit.vcproj/WebKit.make: Removed.
686        * WebKit.vcproj/WebKit.rc: Removed.
687        * WebKit.vcproj/WebKit.sln: Removed.
688        * WebKit.vcproj/WebKit.submit.sln: Removed.
689        * WebKit.vcproj/WebKit.vcproj: Removed.
690        * WebKit.vcproj/WebKitApple.vsprops: Removed.
691        * WebKit.vcproj/WebKitCFLite.vsprops: Removed.
692        * WebKit.vcproj/WebKitDirectX.vsprops: Removed.
693        * WebKit.vcproj/WebKitExportGenerator.vcproj: Removed.
694        * WebKit.vcproj/WebKitExportGeneratorBuildCmd.cmd: Removed.
695        * WebKit.vcproj/WebKitExportGeneratorCommon.vsprops: Removed.
696        * WebKit.vcproj/WebKitExportGeneratorDebug.vsprops: Removed.
697        * WebKit.vcproj/WebKitExportGeneratorDebugAll.vsprops: Removed.
698        * WebKit.vcproj/WebKitExportGeneratorDebugCairoCFLite.vsprops: Removed.
699        * WebKit.vcproj/WebKitExportGeneratorPostBuild.cmd: Removed.
700        * WebKit.vcproj/WebKitExportGeneratorPreBuild.cmd: Removed.
701        * WebKit.vcproj/WebKitExportGeneratorProduction.vsprops: Removed.
702        * WebKit.vcproj/WebKitExportGeneratorRelease.vsprops: Removed.
703        * WebKit.vcproj/WebKitExportGeneratorReleaseCairoCFLite.vsprops: Removed.
704        * WebKit.vcproj/WebKitExports.def.in: Removed.
705        * WebKit.vcproj/WebKitGUID.vcproj: Removed.
706        * WebKit.vcproj/WebKitGUIDCommon.vsprops: Removed.
707        * WebKit.vcproj/WebKitGUIDDebug.vsprops: Removed.
708        * WebKit.vcproj/WebKitGUIDDebugAll.vsprops: Removed.
709        * WebKit.vcproj/WebKitGUIDDebugCairoCFLite.vsprops: Removed.
710        * WebKit.vcproj/WebKitGUIDPostBuild.cmd: Removed.
711        * WebKit.vcproj/WebKitGUIDPreBuild.cmd: Removed.
712        * WebKit.vcproj/WebKitGUIDProduction.vsprops: Removed.
713        * WebKit.vcproj/WebKitGUIDRelease.vsprops: Removed.
714        * WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops: Removed.
715        * WebKit.vcproj/WebKitLibCommon.vsprops: Removed.
716        * WebKit.vcproj/WebKitLibDebug.vsprops: Removed.
717        * WebKit.vcproj/WebKitLibDebugAll.vsprops: Removed.
718        * WebKit.vcproj/WebKitLibDebugCairoCFLite.vsprops: Removed.
719        * WebKit.vcproj/WebKitLibPostBuild.cmd: Removed.
720        * WebKit.vcproj/WebKitLibPreBuild.cmd: Removed.
721        * WebKit.vcproj/WebKitLibProduction.vsprops: Removed.
722        * WebKit.vcproj/WebKitLibRelease.vsprops: Removed.
723        * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops: Removed.
724        * WebKit.vcproj/WebKit_Cairo.def: Removed.
725        * WebKit.vcproj/WebKit_Cairo_debug.def: Removed.
726        * WebKit.vcproj/deleteButton.png: Removed.
727        * WebKit.vcproj/deleteButtonPressed.png: Removed.
728        * WebKit.vcproj/fsVideoAudioVolumeHigh.png: Removed.
729        * WebKit.vcproj/fsVideoAudioVolumeLow.png: Removed.
730        * WebKit.vcproj/fsVideoExitFullscreen.png: Removed.
731        * WebKit.vcproj/fsVideoPause.png: Removed.
732        * WebKit.vcproj/fsVideoPlay.png: Removed.
733        * WebKit.vcproj/missingImage.png: Removed.
734        * WebKit.vcproj/nullplugin.png: Removed.
735        * WebKit.vcproj/panEastCursor.png: Removed.
736        * WebKit.vcproj/panIcon.png: Removed.
737        * WebKit.vcproj/panNorthCursor.png: Removed.
738        * WebKit.vcproj/panNorthEastCursor.png: Removed.
739        * WebKit.vcproj/panNorthWestCursor.png: Removed.
740        * WebKit.vcproj/panSouthCursor.png: Removed.
741        * WebKit.vcproj/panSouthEastCursor.png: Removed.
742        * WebKit.vcproj/panSouthWestCursor.png: Removed.
743        * WebKit.vcproj/panWestCursor.png: Removed.
744        * WebKit.vcproj/resource.h: Removed.
745        * WebKit.vcproj/searchCancel.png: Removed.
746        * WebKit.vcproj/searchCancelPressed.png: Removed.
747        * WebKit.vcproj/searchMagnifier.png: Removed.
748        * WebKit.vcproj/searchMagnifierResults.png: Removed.
749        * WebKit.vcproj/textAreaResizeCorner.png: Removed.
750        * WebKit.vcproj/verticalTextCursor.png: Removed.
751        * WebKit.vcproj/zoomInCursor.png: Removed.
752        * WebKit.vcproj/zoomOutCursor.png: Removed.
753
7542013-05-31  peavo@outlook.com  <peavo@outlook.com>
755
756        [Curl] Unable to download files.
757        https://bugs.webkit.org/show_bug.cgi?id=116150
758
759        Reviewed by Brent Fulgham.
760
761        Implemented basic download functionality for Curl.
762
763        * WebDownload.h:
764        * WebDownloadCurl.cpp:
765        (WebDownload::init):
766        (WebDownload::start):
767        (WebDownload::cancel):
768        (WebDownload::deletesFileUponFailure):
769        (WebDownload::setDeletesFileUponFailure):
770        (WebDownload::setDestination):
771        (WebDownload::useCredential):
772        (WebDownload::didReceiveResponse):
773        (WebDownload::didReceiveDataOfLength):
774        (WebDownload::didFinish):
775        (WebDownload::didFail):
776
7772013-05-29  Brent Fulgham  <bfulgham@apple.com>
778
779        [Windows] Be consistent with allocation/deallocation behavior
780        https://bugs.webkit.org/show_bug.cgi?id=116998
781
782        Reviewed by Anders Carlsson.
783
784        * WebPreferences.cpp:
785        (WebPreferences::setStringValue): Switch from using _wcsdup and
786        CFStringCreateWithCharactersNoCopy to just use the standard
787        CFStringCreateWithCharacters call.
788
7892013-05-28  Brent Fulgham  <bfulgham@apple.com>
790
791        [Windows] Many css2.1 tests fail on Apple's Windows port.
792        https://bugs.webkit.org/show_bug.cgi?id=75707
793
794        Reviewed by Darin Adler.
795
796        * WebKit.vcproj/WebKitExports.def.in: Export the
797        WebCore::directoryName method for DRT use.
798
7992013-05-28  Andreas Kling  <akling@apple.com>
800
801        Document::setFocusedNode() should be setFocusedElement().
802        <http://webkit.org/b/116857>
803
804        Reviewed by Antti Koivisto.
805
806        * DOMCoreClasses.cpp:
807        (DOMElement::isFocused):
808        * WebView.cpp:
809        (WebView::setInitialFocus):
810
8112013-05-27  Xueqing Huang  <huangxueqing@baidu.com>
812
813        Move Windows port off legacy clipboard.
814        https://bugs.webkit.org/show_bug.cgi?id=116258
815
816        Reviewed by Darin Adler.
817
818        * WebCoreSupport/WebDragClient.cpp:
819        (WebDragClient::willPerformDragSourceAction): Get IDataObject from Pasteboard instead of Clipboard.
820        (WebDragClient::startDrag): Ditto.
821
8222013-05-26  Antti Koivisto  <antti@apple.com>
823
824        Another build fix.
825        
826        Not reviewed.
827
828        * DOMCoreClasses.cpp:
829        (DOMElement::font):
830        * FullscreenVideoController.cpp:
831        (FullscreenVideoController::draw):
832
8332013-05-26  Antti Koivisto  <antti@apple.com>
834
835        Build fix
836        
837        Not reviewed.
838
839        * WebKitGraphics.cpp:
840        (makeFont):
841
8422013-05-26  Andreas Kling  <akling@apple.com>
843
844        FocusController::setFocusedNode() should be setFocusedElement().
845        <http://webkit.org/b/116780>
846
847        Reviewed by Antti Koivisto.
848
849        * WebView.cpp:
850        (WebView::clearFocusNode):
851
8522013-05-24  Brent Fulgham  <bfulgham@apple.com>
853
854        [Windows] Expose database storage and cache locations via preferences.
855        https://bugs.webkit.org/show_bug.cgi?id=116729
856
857        Reviewed by Tim Horton.
858
859        * WebDatabaseManager.cpp: Update to check preferences for the
860        desired location of the database store.
861        (databasesDirectory): Added.
862        (WebKitInitializeWebDatabasesIfNecessary): Use new databasesDirectory
863        method to determine what system path to use for file storage.
864        * WebKit.vcproj/WebKitExports.def.in: Export three symbols
865        needed to implement the feature.
866        * WebView.cpp: Update to check preferences for the desired location
867        of the various caches used by WebKit.
868        (WebView::setCacheModel): Update to check preferences for URL cache
869        storage.
870        (WebKitSetApplicationCachePathIfNecessary): Update to check
871        preferences for ccache storage.
872
8732013-05-24  Christophe Dumez  <ch.dumez@sisa.samsung.com>
874
875        Remove custom code for webkitAudioContext global constructor getter
876        https://bugs.webkit.org/show_bug.cgi?id=116530
877
878        Reviewed by Geoffrey Garen.
879
880        Use RuntimeEnabledFeatures instead of Settings to toggle Web Audio support.
881
882        * WebView.cpp:
883        (WebView::notifyPreferencesChanged):
884
8852013-05-24  Anders Carlsson  <andersca@apple.com>
886
887        Remove unused code to read/write history
888        https://bugs.webkit.org/show_bug.cgi?id=116738
889
890        Reviewed by Brent Fulgham.
891
892        * Interfaces/IWebHistory.idl:
893        Replace loadFromURL and saveToURL with unused1/unused2.
894
895        * Interfaces/IWebHistoryPrivate.idl:
896        Replace data with unused1.
897
898        * WebHistory.cpp:
899        Remove history loading/saving code.
900
901        (WebHistory::unused1):
902        (WebHistory::unused2):
903        Add implementations.
904
905        * WebHistory.h:
906        (WebHistory):
907
9082013-05-21  Mark Salisbury  <mark.salisbury@hp.com>
909
910        [Windows, curl] WebDownloadCurl.cpp should not include SystemTime.h
911        https://bugs.webkit.org/show_bug.cgi?id=116584
912
913        Reviewed by Brent Fulgham.
914
915        SystemTime header and implementation are no longer used and were removed
916        recently - http://trac.webkit.org/changeset/150216.
917
918        * WebDownloadCurl.cpp:
919
9202013-05-19  Anders Carlsson  <andersca@apple.com>
921
922        Remove ChromeClient::webView()
923        https://bugs.webkit.org/show_bug.cgi?id=116054
924
925        Reviewed by Darin Adler.
926
927        This blatantly horrible layer violation was only used to know if a ChromeClient is an empty
928        client or not. We already have a (slightly less horrible) way to do that.
929
930        * WebCoreSupport/WebChromeClient.h:
931        (WebChromeClient):
932
9332013-05-16  Tim Horton  <timothy_horton@apple.com>
934
935        PDFPlugins don't load when plugins are disabled, but they should
936        https://bugs.webkit.org/show_bug.cgi?id=75790
937        <rdar://problem/11650197>
938
939        Reviewed by Anders Carlsson.
940
941        * WebView.cpp:
942        (WebView::canShowMIMEType):
943        Previously, this caller depended on pluginData() returning null if
944        plug-ins were disabled. Since that is no longer the case, we have to
945        check if we can use plug-ins, and otherwise ignore non-application-plug-ins.
946
9472013-05-16  Andreas Kling  <akling@apple.com>
948
949        Page::chrome() should return a reference.
950        <http://webkit.org/b/116185>
951
952        Reviewed by Anders Carlsson.
953
9542013-05-15  Ryosuke Niwa  <rniwa@webkit.org>
955
956        Revert the previous commit.
957
958        * WebKit.vcproj/WebKitExports.def.in:
959
9602013-05-15  Ryosuke Niwa  <rniwa@webkit.org>
961
962        Windows build fix attempt after r150160.
963
964        * WebKit.vcproj/WebKitExports.def.in:
965
9662013-05-15  Ryosuke Niwa  <rniwa@webkit.org>
967
968        Windows build fix attempt after r150156.
969
970        * WebKit.vcproj/WebKitExports.def.in:
971
9722013-05-13  Anders Carlsson  <andersca@apple.com>
973
974        Frame::editor() should return a reference
975        https://bugs.webkit.org/show_bug.cgi?id=116037
976
977        Reviewed by Darin Adler.
978
979        * WebCoreSupport/WebContextMenuClient.cpp:
980        (WebContextMenuClient::searchWithGoogle):
981        * WebFrame.cpp:
982        (WebFrame::hasSpellingMarker):
983        (WebFrame::setTextDirection):
984        (WebFrame::selectedString):
985        (WebFrame::selectAll):
986        * WebView.cpp:
987        (WebView::execCommand):
988        (WebView::handleEditingKeyboardEvent):
989        (WebView::executeCoreCommandByName):
990        (WebView::selectedText):
991        (WebView::deleteEnabled):
992        (WebView::editingEnabled):
993        (WebView::replaceSelectionWithText):
994        (WebView::copy):
995        (WebView::cut):
996        (WebView::paste):
997        (WebView::copyURL):
998        (WebView::delete_):
999        (WebView::checkSpelling):
1000        (WebView::showGuessPanel):
1001        (WebView::clearUndoRedoOperations):
1002        (WebView::prepareCandidateWindow):
1003        (WebView::resetIME):
1004        (WebView::updateSelectionForIME):
1005        (WebView::onIMEComposition):
1006        (WebView::onIMEEndComposition):
1007        (WebView::onIMERequestCharPosition):
1008        (WebView::onIMERequest):
1009        (WebView::setCompositionForTesting):
1010        (WebView::hasCompositionForTesting):
1011        (WebView::confirmCompositionForTesting):
1012        (WebView::compositionRangeForTesting):
1013        (WebView::firstRectForCharacterRangeForTesting):
1014        (WebView::selectedRangeForTesting):
1015
10162013-05-15  Patrick Gansterer  <paroga@webkit.org>
1017
1018        Remove unnecessary dependecy on CoreFoundation from WebDatabaseManager
1019        https://bugs.webkit.org/show_bug.cgi?id=115993
1020
1021        Reviewed by Anders Carlsson.
1022
1023        Using COMPropertyBag instead of CFDictionaryPropertyBag also reduces
1024        the total lines of code needed for the same functionality.
1025
1026        * WebDatabaseManager.cpp:
1027        (WebDatabaseManager::dispatchDidModifyDatabase):
1028
10292013-05-12  Timothy Hatcher  <timothy@apple.com>
1030
1031        Add support for updating the Web Inspector toolbar height.
1032
1033        https://bugs.webkit.org/show_bug.cgi?id=115996
1034
1035        Reviewed by Joseph Pecoraro and Benjamin Poulain.
1036
1037        * WebCoreSupport/WebInspectorClient.cpp:
1038        (WebInspectorFrontendClient::setToolbarHeight):
1039        * WebCoreSupport/WebInspectorClient.h:
1040
10412013-05-13  Roger Fong  <roger_fong@apple.com>
1042
1043        Unreviewed. AppleWin VS2005 build fix.
1044
1045        * WebKit.vcproj/WebKitExports.def.in:
1046
10472013-05-12  Anders Carlsson  <andersca@apple.com>
1048
1049        Stop including UnusedParam.h
1050        https://bugs.webkit.org/show_bug.cgi?id=116003
1051
1052        Reviewed by Sam Weinig.
1053
1054        UnusedParam.h is empty now so there's no need to include it anymore.
1055
1056        * WebSecurityOrigin.cpp:
1057
10582013-05-09  Max Feil  <mfeil@rim.com>
1059
1060        shouldUsePluginDocument() needs to be respected when a document is created
1061        https://bugs.webkit.org/show_bug.cgi?id=110308
1062
1063        Reviewed by Rob Buis.
1064
1065        Renaming shouldUsePluginDocument() to shouldAlwaysUsePluginDocument()
1066        for clarity.
1067
1068        * WebCoreSupport/WebFrameLoaderClient.cpp:
1069        (WebFrameLoaderClient::shouldAlwaysUsePluginDocument):
1070        * WebCoreSupport/WebFrameLoaderClient.h:
1071        (WebFrameLoaderClient):
1072
10732013-05-06  Darin Adler  <darin@apple.com>
1074
1075        Use adoptCF and adoptNS in more places
1076        https://bugs.webkit.org/show_bug.cgi?id=115657
1077
1078        Reviewed by Sam Weinig.
1079
1080        This is similar to my last set of changes, but covers code that I missed with
1081        global replace using the Safari Xcode workspace.
1082
1083        * CFDictionaryPropertyBag.cpp:
1084        (CFDictionaryPropertyBag::Write):
1085        * WebCache.cpp:
1086        (WebCache::statistics):
1087        * WebCoreSupport/WebFrameLoaderClient.cpp:
1088        (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
1089        * WebCoreSupport/WebInspectorClient.cpp:
1090        (WebInspectorClient::openInspectorFrontend):
1091        (WebInspectorFrontendClient::localizedStringsURL):
1092        * WebDatabaseManager.cpp:
1093        (WebDatabaseManager::dispatchDidModifyDatabase):
1094        * WebDownloadCFNet.cpp:
1095        (WebDownload::init):
1096        (WebDownload::initWithRequest):
1097        (WebDownload::initToResumeWithBundle):
1098        (WebDownload::cancelForResume):
1099        (WebDownload::useCredential):
1100        (WebDownload::didReceiveAuthenticationChallenge):
1101        * WebError.cpp:
1102        (WebError::sslPeerCertificate):
1103        * WebHistory.cpp:
1104        (createUserInfoFromArray):
1105        (createUserInfoFromHistoryItem):
1106        (WebHistory::WebHistory):
1107        (WebHistory::loadFromURL):
1108        (WebHistory::loadHistoryGutsFromURL):
1109        (WebHistory::saveToURL):
1110        (WebHistory::saveHistoryGuts):
1111        (WebHistory::removeAllItems):
1112        (WebHistory::removeItem):
1113        (WebHistory::addItem):
1114        (WebHistory::itemForURL):
1115        (WebHistory::addItemToDateCaches):
1116        (getDayBoundaries):
1117        * WebIconDatabase.cpp:
1118        (postDidAddIconNotification):
1119        * WebLocalizableStrings.cpp:
1120        (cfBundleForStringsBundle):
1121        * WebMutableURLRequest.cpp:
1122        (WebMutableURLRequest::mutableCopy):
1123        * WebPreferences.cpp:
1124        (cfNumber):
1125        (WebPreferences::initializeDefaultSettings):
1126        (WebPreferences::valueForKey):
1127        (WebPreferences::setStringValue):
1128        (WebPreferences::load):
1129        (WebPreferences::migrateWebKitPreferencesToCFPreferences):
1130        (WebPreferences::setPreferenceForTest):
1131        * WebView.cpp:
1132        (WebView::setCacheModel):
1133        (WebView::notifyPreferencesChanged):
1134        Use adoptCF and adoptNS.
1135
11362013-05-06  Roger Fong  <roger_fong@apple.com>
1137
1138        Unreviewed. AppleWin build fix.
1139
1140        * WebKit.vcproj/WebKitExports.def.in:
1141
11422013-05-04  Dean Jackson  <dino@apple.com>
1143
1144        Animations and Transitions should not start when globally suspended
1145        https://bugs.webkit.org/show_bug.cgi?id=114915
1146
1147        Reviewed by Sam Weinig.
1148
1149        Export AnimationController::isSuspended
1150
1151        * WebKit.vcproj/WebKitExports.def.in:
1152
11532013-05-01  Sergio Villar Senin  <svillar@igalia.com>
1154
1155        Show a block cursor in overtype mode
1156        https://bugs.webkit.org/show_bug.cgi?id=114819
1157
1158        Reviewed by Ryosuke Niwa.
1159
1160        Export three more WebCore symbols.
1161
1162        * WebKit.vcproj/WebKitExports.def.in:
1163
11642013-04-29  Brent Fulgham  <bfulgham@webkit.org>
1165
1166        [Windows, WinCairo] Remove pthread paths for WebKit build.
1167        https://bugs.webkit.org/show_bug.cgi?id=115390
1168
1169        Reviewed by Tim Horton.
1170
1171        Update Visual Studio property sheets to remove include paths and
1172        link references for the pthreadsVC2.dll, which is no longer used.
1173
1174
1175        * WebKit.vcproj/WebKitExportGeneratorCommon.vsprops:
1176        * WebKit.vcproj/WebKitLibCommon.vsprops:
1177
11782013-04-30  Christophe Dumez  <ch.dumez@sisa.samsung.com>
1179
1180        Stop using "in" keyword in IDL files
1181        https://bugs.webkit.org/show_bug.cgi?id=115418
1182
1183        Reviewed by Kentaro Hara.
1184
1185        Remove "in" keyword from IDL files as this is no longer part of the Web
1186        IDL specification.
1187
1188        * Interfaces/DOMEvents.idl:
1189        * Interfaces/DOMPrivate.idl:
1190        * Interfaces/DOMWindow.idl:
1191
11922013-04-30  Christophe Dumez  <ch.dumez@sisa.samsung.com>
1193
1194        Replace "Optional" extended attribute by proper Web IDL "optional" keyword
1195        https://bugs.webkit.org/show_bug.cgi?id=115380
1196
1197        Reviewed by Kentaro Hara.
1198
1199        Replace [Optional] by optional.
1200
1201        * Interfaces/DOMWindow.idl:
1202
12032013-04-28  Ryosuke Niwa  <rniwa@webkit.org>
1204
1205        Windows build fix.
1206
1207        * WebKit.vcproj/WebKitExports.def.in:
1208
12092013-04-25  Ryosuke Niwa  <rniwa@webkit.org>
1210
1211        StaticHashSetNodeList is unnecessary
1212        https://bugs.webkit.org/show_bug.cgi?id=115219
1213
1214        Reviewed by Antonio Gomes.
1215
1216        * WebKit.vcproj/WebKitExports.def.in:
1217
12182013-04-25  Joseph Pecoraro  <pecoraro@apple.com>
1219
1220        Web Inspector: ConsoleMessage should include line and column number where possible
1221        https://bugs.webkit.org/show_bug.cgi?id=114929
1222
1223        Reviewed by Timothy Hatcher.
1224
1225        * WebCoreSupport/WebChromeClient.cpp:
1226        (WebChromeClient::addMessageToConsole):
1227        * WebCoreSupport/WebChromeClient.h:
1228
12292013-04-24  Andreas Kling  <akling@apple.com>
1230
1231        Wild build fix attempt.
1232
1233        * WebCoreSupport/WebChromeClient.h:
1234        (WebChromeClient):
1235
12362013-04-22  Jessie Berlin  <jberlin@apple.com>
1237
1238        Speculative Windows build fix.
1239
1240        * WebKit.vcproj/WebKitExports.def.in:
1241
12422013-04-22  Benjamin Poulain  <bpoulain@apple.com>
1243
1244        Another Windows build fix after r148921
1245
1246        Unreviewed.
1247
1248        * AccessibleBase.cpp: Add missing header include.
1249
12502013-04-22  Benjamin Poulain  <benjamin@webkit.org>
1251
1252        Remove the memory instrumentation code
1253        https://bugs.webkit.org/show_bug.cgi?id=114931
1254
1255        Reviewed by Andreas Kling.
1256
1257        * WebKit.vcproj/WebKitExports.def.in:
1258
12592013-04-21  Benjamin Poulain  <benjamin@webkit.org>
1260
1261        Improve StringImpl code density for older ARM hardware
1262        https://bugs.webkit.org/show_bug.cgi?id=114898
1263
1264        Reviewed by Geoffrey Garen.
1265
1266        * WebKit.vcproj/WebKitExports.def.in:
1267
12682013-04-17  Geoffrey Garen  <ggaren@apple.com>
1269
1270        Renamed JSGlobalData to VM
1271        https://bugs.webkit.org/show_bug.cgi?id=114777
1272
1273        Reviewed by Phil Pizlo.
1274
1275        * WebCoreStatistics.cpp:
1276        (WebCoreStatistics::javaScriptObjectsCount):
1277        (WebCoreStatistics::javaScriptGlobalObjectsCount):
1278        (WebCoreStatistics::javaScriptProtectedObjectsCount):
1279        (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
1280        (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
1281        * WebJavaScriptCollector.cpp:
1282        (WebJavaScriptCollector::objectCount):
1283
12842013-04-13  Roger Fong  <roger_fong@apple.com>
1285
1286        Unreviewed. Build fix for Windows.
1287
1288        * WebCoreSupport/WebContextMenuClient.cpp:
1289        * WebCoreSupport/WebDragClient.cpp:
1290        * WebFrame.cpp:
1291
12922013-04-16  Brent Fulgham  <bfulgham@webkit.org>
1293
1294        [Windows] Unreviewed build correction.
1295
1296        * WebKit.vcproj/WebKitExportGeneratorCommon.vsprops: Add correct
1297        ICU link library to avoid mixture of ICU 4.0 and 4.6 symbols
1298        during link.
1299
13002013-04-15  peavo@outlook.com  <peavo@outlook.com>
1301
1302        Crash when favicon is requested
1303        https://bugs.webkit.org/show_bug.cgi?id=114624
1304
1305        Reviewed by Brent Fulgham.
1306
1307        * WebIconDatabase.cpp:
1308        (WebIconDatabase::getOrCreateDefaultIconBitmap): Added NULL pointer check.
1309
13102013-04-12  Anders Carlsson  <andersca@apple.com>
1311
1312        All tests crash on Windows
1313        https://bugs.webkit.org/show_bug.cgi?id=114522
1314
1315        Reviewed by Ryosuke Niwa.
1316
1317        In the MSVC++ ABI, a member function pointer will have a different size depending on whether the
1318        class it belongs to is defined or not. Because of this, when passing member function pointers as parameters
1319        it's important to ensure that the class is known by both the caller and the callee.
1320
1321        * WebFrame.cpp:
1322        Include PolicyChecker.h
1323
13242013-04-12  Jer Noble  <jer.noble@apple.com>
1325
1326        TimeRanges::nearest() returns incorrect results.
1327        https://bugs.webkit.org/show_bug.cgi?id=114483
1328
1329        Reviewed by Eric Carlson.
1330
1331        Add symbols needed by WebCoreTestSupport to the exports list.
1332
1333        * WebKit.vcproj/WebKitExports.def.in:
1334
13352013-04-11  Rune Lillesveen  <rune@opera.com>
1336
1337        Incorrect evaluation of resolution media queries
1338        https://bugs.webkit.org/show_bug.cgi?id=114029
1339
1340        Reviewed by Kenneth Rohde Christiansen.
1341
1342        Removed setResolutionOverride from exports.
1343
1344        * WebKit.vcproj/WebKitExports.def.in:
1345
13462013-04-08  Anders Carlsson  <andersca@apple.com>
1347
1348        Remove unneeded headers from FrameLoader.h
1349        https://bugs.webkit.org/show_bug.cgi?id=114223
1350
1351        Reviewed by Geoffrey Garen.
1352
1353        Include HistoryController.h from WebCore.
1354
1355        * WebView.cpp:
1356
13572013-04-05  Roger Fong  <roger_fong@apple.com>
1358
1359        Build fix.
1360
1361        * WebKit.vcproj/WebKitExports.def.in:
1362
13632013-04-04  Christophe Dumez  <ch.dumez@sisa.samsung.com>
1364
1365        [Cairo] Fix canvas drawing of SVG-based patterns and remove NativeImageCairo
1366        https://bugs.webkit.org/show_bug.cgi?id=113929
1367
1368        Reviewed by Martin Robinson.
1369
1370        Remove outdated symbols now that NativeImageCairo was removed.
1371
1372        * WebKit.vcproj/WebKitExports.def.in:
1373
13742013-04-03  Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
1375
1376        Should close select popup when the element loses focus
1377        https://bugs.webkit.org/show_bug.cgi?id=113220
1378
1379        Reviewed by Kent Tamura.
1380
1381        * WebKit.vcproj/WebKitExports.def.in: export WebCore::HTMLNames::selectTag for Internals
1382
13832013-04-02  Timothy Hatcher  <timothy@apple.com>
1384
1385        Provide a user default that can be used to disable docking of the Web Inspector.
1386
1387        The user default is "WebKit Web Inspector Setting - inspectorAttachDisabled".
1388
1389        https://webkit.org/b/113779
1390        rdar://problem/13446021
1391
1392        Reviewed by Joseph Pecoraro.
1393
1394        * WebCoreSupport/WebInspectorClient.h:
1395        (WebInspectorClient::inspectorAttachDisabled): Added.
1396        (WebInspectorClient::setInspectorAttachDisabled): Added.
1397
13982013-03-28  Matt Falkenhagen  <falken@chromium.org>
1399
1400        Refactoring: Replace Element::disabled and isEnabledFormControl with isDisabledFormControl
1401        https://bugs.webkit.org/show_bug.cgi?id=113273
1402
1403        Reviewed by Kent Tamura.
1404
1405        Element::disabled is about form controls and Element::isEnabledFormControl
1406        is redundant with it, so replace them with a single function
1407        Element::isDisabledFormControl.
1408
1409        * DOMHTMLClasses.cpp:
1410        (DOMHTMLInputElement::disabled):
1411
14122013-03-27  Mark Lam  <mark.lam@apple.com>
1413
1414        Rolling out r147044.
1415        https://bugs.webkit.org/show_bug.cgi?id=113352.
1416
1417        Not Reviewed.
1418
1419        * WebKit.vcproj/WebKitExports.def.in:
1420
14212013-03-27  Mark Lam  <mark.lam@apple.com>
1422
1423        Greening the Apple Win bot (debug build).
1424        https://bugs.webkit.org/show_bug.cgi?id=113352.
1425
1426        Not Reviewed.
1427
1428        * WebKit.vcproj/WebKitExports.def.in:
1429
14302013-03-27  Mark Lam  <mark.lam@apple.com>
1431
1432        Greening the Apple Win bot.
1433        https://bugs.webkit.org/show_bug.cgi?id=113352.
1434
1435        Not Reviewed.
1436
1437        * WebKit.vcproj/WebKitExports.def.in:
1438
14392013-03-27  Ryosuke Niwa  <rniwa@webkit.org>
1440
1441        Another Windows build fix attempt after r147004.
1442
1443        * WebKit.vcproj/WebKitExports.def.in:
1444
14452013-03-27  Timothy Hatcher  <timothy@apple.com>
1446
1447        Add support for dock-to-right of the Web Inspector in the Mac port.
1448
1449        Unfortunately this requires Safari changes, so it is disabled in the nightly builds.
1450
1451        https://webkit.org/b/113341
1452        rdar://problem/10368152
1453
1454        Reviewed by Joseph Pecoraro.
1455
1456        * WebCoreSupport/WebInspectorClient.cpp:
1457        (WebInspectorFrontendClient::frontendLoaded):
1458        (WebInspectorFrontendClient::attachWindow):
1459        (WebInspectorFrontendClient::setAttachedWindowWidth):
1460        * WebCoreSupport/WebInspectorClient.h:
1461        (WebInspectorFrontendClient):
1462
14632013-03-27  Kent Tamura  <tkent@chromium.org>
1464
1465        Rename HTMLFormControlElement::readOnly to isReadOnly
1466        https://bugs.webkit.org/show_bug.cgi?id=113297
1467
1468        Reviewed by Alexey Proskuryakov.
1469
1470        * DOMHTMLClasses.cpp:
1471        (DOMHTMLInputElement::readOnly):
1472
14732013-03-26  Hayato Ito  <hayato@chromium.org>
1474
1475        Allow ShadowContents in HitTests by default.
1476        https://bugs.webkit.org/show_bug.cgi?id=113171
1477
1478        Reviewed by Dimitri Glazkov.
1479
1480        * WebView.cpp:
1481        (WebView::gestureNotify):
1482
14832013-03-22  Ryosuke Niwa  <rniwa@webkit.org>
1484
1485        The second part of the build fix for r146702. This should do it.
1486        I had to see the mangled name for the new signature.
1487
1488        * WebKit.vcproj/WebKitExports.def.in:
1489
14902013-03-22  Ryosuke Niwa  <rniwa@webkit.org>
1491
1492        Build fix attempt after r146702.
1493
1494        * WebKit.vcproj/WebKitExports.def.in:
1495
14962013-03-21  peavo@outlook.com  <peavo@outlook.com>
1497
1498        WinCairo build fails to link.
1499        https://bugs.webkit.org/show_bug.cgi?id=112892
1500
1501        Reviewed by Kentaro Hara.
1502
1503        * WebKit.vcproj/WebKitExports.def.in: Added ENABLE(VIDEO_TRACK) guard.
1504
15052013-03-20  Michael Pruett  <michael@68k.org>
1506
1507        [JSC] Implement EnforceRange IDL attribute for integer conversions
1508        https://bugs.webkit.org/show_bug.cgi?id=112506
1509
1510        Reviewed by Kentaro Hara.
1511
1512        * WebKit.vcproj/WebKitExports.def.in:
1513
15142013-03-20  Rouslan Solomakhin  <rouslan@chromium.org>
1515
1516        Copy-paste should not spellcheck when continuous spellcheck is turned off
1517        https://bugs.webkit.org/show_bug.cgi?id=112464
1518
1519        Reviewed by Ryosuke Niwa.
1520
1521        * WebKit.vcproj/WebKitExports.def.in: Export WebCore::Editor::isContinuousSpellCheckingEnabled() and WebCore::Editor::toggleContinuousSpellChecking() for use by internals.
1522
15232013-03-18  Roger Fong  <roger_fong@apple.com>
1524
1525        Fix typo on Windows following r145849 that was causing DRT to crash 100% of the time.
1526
1527        * WebView.cpp:
1528        (WebView::setSmartInsertDeleteEnabled):
1529        (WebView::setSelectTrailingWhitespaceEnabled):
1530
15312013-03-15  Nate Chapin  <japhet@chromium.org>
1532
1533        Hide MainResourceLoader from the outside world
1534        https://bugs.webkit.org/show_bug.cgi?id=109971
1535
1536        Reviewed by Adam Barth.
1537
1538        * WebFrame.cpp:
1539        (WebFrame::convertMainResourceLoadToDownload):
1540        * WebFrame.h:
1541
15422013-03-15  Abhishek Arya  <inferno@chromium.org>
1543
1544        Replace static_casts with to* helper functions.
1545        https://bugs.webkit.org/show_bug.cgi?id=112401
1546
1547        Reviewed by Stephen Chenney.
1548
1549        to* helper functions are preferred over static_cast calls since they
1550        help to catch bad casts easily on the testing infrastructure.
1551
1552        * WebCoreSupport/EmbeddedWidget.cpp:
1553        (EmbeddedWidget::frameRectsChanged):
1554        * WebCoreSupport/WebFrameLoaderClient.cpp:
1555        (WebFrameLoaderClient::redirectDataToPlugin):
1556
15572013-03-14  Manuel Rego Casasnovas  <rego@igalia.com>
1558
1559        Add selectTrailingWhitespaceEnabled setting to WebCore::Page
1560        https://bugs.webkit.org/show_bug.cgi?id=109404
1561
1562        Reviewed by Tony Chang.
1563
1564        Use new settings for smartInsertDeleteEnabled and
1565        selectTrailingWhitespaceEnabled.
1566
1567        * WebCoreSupport/WebEditorClient.cpp:
1568        (WebEditorClient::smartInsertDeleteEnabled):
1569        (WebEditorClient::isSelectTrailingWhitespaceEnabled):
1570        * WebView.cpp:
1571        (WebView::WebView):
1572        (WebView::setSmartInsertDeleteEnabled):
1573        (WebView::smartInsertDeleteEnabled):
1574        (WebView::setSelectTrailingWhitespaceEnabled):
1575        (WebView::isSelectTrailingWhitespaceEnabled):
1576        * WebView.h:
1577        (WebView):
1578
15792013-03-14  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
1580
1581        Move platform-specific typedefs to PlatformMenuDescription.h
1582        https://bugs.webkit.org/show_bug.cgi?id=111876
1583
1584        Reviewed by Caio Marcelo de Oliveira Filho.
1585
1586        Rename NativeMenuItem to PlatformContextMenuItem and the getter
1587        function call.
1588
1589        * WebCoreSupport/WebContextMenuClient.cpp:
1590        (WebContextMenuClient::customizeMenu):
1591        (WebContextMenuClient::contextMenuItemSelected):
1592        * WebView.cpp:
1593        (WebView::handleContextMenuEvent):
1594
15952013-03-14  Abhishek Arya  <inferno@chromium.org>
1596
1597        Replace static_casts with to* helper functions.
1598        https://bugs.webkit.org/show_bug.cgi?id=112296
1599
1600        Reviewed by Kentaro Hara.
1601
1602        to* helper functions are preferred over static_cast calls since they
1603        help to catch bad casts easily on the testing infrastructure.
1604
1605        * WebView.cpp:
1606        (WebView::enterFullscreenForNode):
1607
16082013-03-13  Nate Chapin  <japhet@chromium.org>
1609
1610        Expose symbols for internals
1611        https://bugs.webkit.org/show_bug.cgi?id=112194
1612
1613        Reviewed by Alexey Proskuryakov.
1614
1615        * WebKit.vcproj/WebKitExports.def.in:
1616
16172013-03-13  Pavel Feldman  <pfeldman@chromium.org>
1618
1619        Web Inspector: get rid of hiddenPanels filter
1620        https://bugs.webkit.org/show_bug.cgi?id=112252
1621
1622        Reviewed by Vsevolod Vlasov.
1623
1624        * WebCoreSupport/WebInspectorClient.cpp:
1625        * WebCoreSupport/WebInspectorClient.h:
1626        (WebInspectorFrontendClient):
1627
16282013-03-12  Abhishek Arya  <inferno@chromium.org>
1629
1630        Replace static_casts with to* helper functions.
1631        https://bugs.webkit.org/show_bug.cgi?id=112164
1632
1633        Reviewed by Philip Rogers.
1634
1635        to* helper functions are preferred over static_cast calls since they
1636        help to catch bad casts easily on the testing infrastructure.
1637
1638        * DOMHTMLClasses.cpp:
1639        (DOMHTMLElement::idName):
1640        (DOMHTMLElement::innerText):
1641        (DOMHTMLElement::setInnerText):
1642
16432013-03-11  Jochen Eisinger  <jochen@chromium.org>
1644
1645        Rename DefinitelyProcessingUserGesture to DefinitelyProcessingNewUserGesture
1646        https://bugs.webkit.org/show_bug.cgi?id=111959
1647
1648        Reviewed by Alexey Proskuryakov.
1649
1650        * WebCoreSupport/WebContextMenuClient.cpp:
1651        (WebContextMenuClient::searchWithGoogle):
1652
16532013-03-03  Ryosuke Niwa  <rniwa@webkit.org>
1654
1655        Windows build fix attempt after r144547.
1656
1657        * WebKit.vcproj/WebKitExports.def.in:
1658
16592013-03-03  Sheriff Bot  <webkit.review.bot@gmail.com>
1660
1661        Unreviewed, rolling out r144567.
1662        http://trac.webkit.org/changeset/144567
1663        https://bugs.webkit.org/show_bug.cgi?id=111266
1664
1665        Does not compile on apple-win (Requested by abarth on
1666        #webkit).
1667
1668        * WebKit.vcproj/WebKitExports.def.in:
1669
16702013-03-03  Ryosuke Niwa  <rniwa@webkit.org>
1671
1672        That was a wrong fix. Revert r144569.
1673
1674        * WebKit.vcproj/WebKitExports.def.in:
1675
16762013-03-03  Ryosuke Niwa  <rniwa@webkit.org>
1677
1678        Windows build fix attempt after r144567.
1679
1680        * WebKit.vcproj/WebKitExports.def.in:
1681
16822013-03-02  Benjamin Poulain  <benjamin@webkit.org>
1683
1684        Export a missing symbol after r144547.
1685
1686        Unreviewed.
1687
1688        * WebKit.vcproj/WebKitExports.def.in:
1689
16902013-03-02  Ryosuke Niwa  <rniwa@webkit.org>
1691
1692        Redo r144538 (after r144530).
1693
1694        * WebCoreSupport/WebFrameNetworkingContext.cpp:
1695        * WebCoreSupport/WebFrameNetworkingContext.h:
1696        * WebCoreSupport/WebPlatformStrategies.cpp:
1697
16982013-03-02  Ryosuke Niwa  <rniwa@webkit.org>
1699
1700        Yet another build fix attempt after r144530.
1701
1702        * WebCoreSupport/WebFrameNetworkingContext.cpp:
1703        * WebCoreSupport/WebPlatformStrategies.cpp:
1704
17052013-03-02  Ryosuke Niwa  <rniwa@webkit.org>
1706
1707        Another build fix attempt after r144530.
1708
1709        * WebCoreSupport/WebFrameNetworkingContext.cpp:
1710
17112013-03-01  Benjamin Poulain  <bpoulain@apple.com>
1712
1713        Add a missing symbol after r144524.
1714
1715        Unreviewed.
1716
1717        * WebKit.vcproj/WebKitExports.def.in:
1718
17192013-02-26  Alexey Proskuryakov  <ap@apple.com>
1720
1721        Don't add a body to platform request until necessary
1722        https://bugs.webkit.org/show_bug.cgi?id=110900
1723
1724        Reviewed by Brady Eidson.
1725
1726        WebKit1 behavior is unchanged, body is added on every conversion.
1727
1728        * WebDownloadCFNet.cpp:
1729        (WebDownload::init):
1730        (WebDownload::initWithRequest):
1731        (WebDownload::willSendRequest):
1732        * WebMutableURLRequest.cpp:
1733        (WebMutableURLRequest::cfRequest):
1734        (WebMutableURLRequest::mutableCopy):
1735        * WebView.cpp:
1736        (WebView::canHandleRequest):
1737
17382013-02-26  Roger Fong  <roger_fong@apple.com>
1739
1740        Unreviewed AppleWin build fix.
1741
1742        * WebKit.vcproj/WebKitExportGeneratorCommon.vsprops:
1743
17442013-02-24  Alexey Proskuryakov  <ap@apple.com>
1745
1746        Clarify meaning of default default encoding localizable string
1747        https://bugs.webkit.org/show_bug.cgi?id=110714
1748
1749        Reviewed by Eric Carlson.
1750
1751        * WebPreferences.cpp: Updated a comment.
1752
17532013-02-24  Benjamin Poulain  <benjamin@webkit.org>
1754
1755        REGRESSION(r143837): Broke build on AppleWin http://build.webkit.org/builders/Apple%20Win%20Release%20%28Build%29.
1756        https://bugs.webkit.org/show_bug.cgi?id=110713
1757
1758        Unreviewed.
1759
1760        * WebKit.vcproj/WebKitExports.def.in: Add the missing symbol after r143837.
1761
17622013-02-21  Sheriff Bot  <webkit.review.bot@gmail.com>
1763
1764        Unreviewed, rolling out r143536.
1765        http://trac.webkit.org/changeset/143536
1766        https://bugs.webkit.org/show_bug.cgi?id=110523
1767
1768        Causing a bunch of tests to fail on Windows, requires
1769        rebaselining (Requested by rfong on #webkit).
1770
1771        * WebKitClassFactory.cpp:
1772        (WebKitClassFactory::WebKitClassFactory):
1773        * WebView.cpp:
1774        (WebView::initWithFrame):
1775        (WebView::notifyPreferencesChanged):
1776
17772013-02-20  Roger Fong  <roger_fong@apple.com>
1778
1779        Unreviewed. Remove references to SAFARI_THEME from Windows Solution.
1780        <rdar://problem/13258710>
1781
1782        * WebKitClassFactory.cpp:
1783        * WebView.cpp:
1784
17852013-02-19  Sheriff Bot  <webkit.review.bot@gmail.com>
1786
1787        Unreviewed, rolling out r143338.
1788        http://trac.webkit.org/changeset/143338
1789        https://bugs.webkit.org/show_bug.cgi?id=110301
1790
1791        False alarm, no need to export the symbol (Requested by
1792        aandrey on #webkit).
1793
1794        * WebKit.vcproj/WebKitExports.def.in:
1795
17962013-02-19  Tony Chang  <tony@chromium.org>
1797
1798        Unreviewed, force file to recompile to fix win build.
1799
1800        * WebView.cpp:
1801
18022013-02-19  Tony Chang  <tony@chromium.org>
1803
1804        Unreviewed, fix the Windows build after r143398.
1805        Add new setters to the export list.
1806
1807        * WebKit.vcproj/WebKitExports.def.in:
1808
18092013-02-19  Andrey Adaikin  <aandrey@chromium.org>
1810
1811        Unreviewed, adding external symbol ?didBeginFrame@InspectorCanvasAgent@WebCore@@QAEXXZ.
1812
1813        * WebKit.vcproj/WebKitExports.def.in:
1814
18152013-02-19  Andrey Adaikin  <aandrey@chromium.org>
1816
1817        Unreviewed, Web Inspector: follow up to r143328 fixing Win Debug Build
1818        https://bugs.webkit.org/show_bug.cgi?id=110227
1819
1820        Adding external symbol ?didBeginFrame@InspectorCanvasAgent@WebCore@@QAEXXZ.
1821
1822        * WebKit.vcproj/WebKitExports.def.in:
1823
18242013-02-18  Simon Fraser  <simon.fraser@apple.com>
1825
1826        Clean up the boolean argument to visibleContentRect
1827        https://bugs.webkit.org/show_bug.cgi?id=110167
1828
1829        Reviewed by Simon Fraser.
1830
1831        Replace the boolean argument to visibleContentRect() with
1832        an enum.
1833
1834        * WebFrame.cpp:
1835        (WebFrame::visibleContentRect):
1836        (WebFrame::frameBounds):
1837
18382013-02-18  Zan Dobersek  <zdobersek@igalia.com>
1839
1840        Stop placing std::isfinite and std::signbit inside the global scope
1841        https://bugs.webkit.org/show_bug.cgi?id=109817
1842
1843        Reviewed by Darin Adler.
1844
1845        Prefix calls to the isfinite and signbit methods with std:: as the two
1846        methods are no longer being imported into the global scope.
1847
1848        * FullscreenVideoController.cpp:
1849        (timeToString):
1850
18512013-02-15  Rik Cabanier  <cabanier@adobe.com>
1852
1853        Add platform support for -webkit-background-blend-mode to CG context
1854        https://bugs.webkit.org/show_bug.cgi?id=108549
1855
1856        Reviewed by Dean Jackson.
1857
1858        Fixed build issue.
1859
1860        * WebKit.vcproj/WebKitExports.def.in:
1861
18622013-02-15  Allan Sandfeld Jensen  <allan.jensen@digia.com>
1863
1864        Simplify hitTestResultAtPoint and nodesFromRect APIs
1865        https://bugs.webkit.org/show_bug.cgi?id=95720
1866
1867        Reviewed by Julien Chaffraix.
1868
1869        Update calls to new API.
1870
1871        * WebActionPropertyBag.cpp:
1872        (WebActionPropertyBag::Read):
1873        * WebKit.vcproj/WebKitExports.def.in:
1874        * WebView.cpp:
1875        (WebView::handleContextMenuEvent):
1876        (WebView::elementAtPoint):
1877
18782013-02-14  Tony Chang  <tony@chromium.org>
1879
1880        Unreviewed, set svn:eol-style native for .sln, .vcproj, and .vsprops files.
1881        https://bugs.webkit.org/show_bug.cgi?id=96934
1882
1883        * WebKit.vcproj/WebKit.sln: Modified property svn:eol-style.
1884        * WebKit.vcproj/WebKit.submit.sln: Modified property svn:eol-style.
1885        * WebKit.vcproj/WebKitCFLite.vsprops: Added property svn:eol-style.
1886        * WebKit.vcproj/WebKitExportGeneratorCommon.vsprops: Added property svn:eol-style.
1887        * WebKit.vcproj/WebKitExportGeneratorDebug.vsprops: Added property svn:eol-style.
1888        * WebKit.vcproj/WebKitExportGeneratorDebugAll.vsprops: Added property svn:eol-style.
1889        * WebKit.vcproj/WebKitExportGeneratorDebugCairoCFLite.vsprops: Added property svn:eol-style.
1890        * WebKit.vcproj/WebKitExportGeneratorProduction.vsprops: Added property svn:eol-style.
1891        * WebKit.vcproj/WebKitExportGeneratorRelease.vsprops: Added property svn:eol-style.
1892        * WebKit.vcproj/WebKitExportGeneratorReleaseCairoCFLite.vsprops: Added property svn:eol-style.
1893
18942013-02-14  Tony Chang  <tony@chromium.org>
1895
1896        Unreviewed, set svn:eol-style CRLF for .sln files.
1897
1898        * WebKit.vcproj/WebKit.sln: Modified property svn:eol-style.
1899        * WebKit.vcproj/WebKit.submit.sln: Modified property svn:eol-style.
1900
19012013-02-14  Andrey Kosyakov  <caseq@chromium.org>
1902
1903        Web Inspector: expose did{Begin,Cancel}Frame() and {will,did}Composite() on WebDebToolsAgent
1904        https://bugs.webkit.org/show_bug.cgi?id=109192
1905
1906        Reviewed by Pavel Feldman.
1907
1908        * WebKit.vcproj/WebKit.sln: Modified property svn:eol-style.
1909        * WebKit.vcproj/WebKit.submit.sln: Modified property svn:eol-style.
1910
19112013-02-11  Ryosuke Niwa  <rniwa@webkit.org>
1912
1913        Disable delete button controller on non-Mac ports and delete EditorClient::shouldShowDeleteInterface
1914        https://bugs.webkit.org/show_bug.cgi?id=109534
1915
1916        Reviewed by Anders Carlsson.
1917
1918        * WebCoreSupport/WebEditorClient.cpp:
1919        * WebCoreSupport/WebEditorClient.h:
1920        (WebEditorClient):
1921
19222013-02-11  Benjamin Poulain  <benjamin@webkit.org>
1923
1924        Build fix for Windows after r142509
1925
1926        * WebKit.vcproj/WebKitExports.def.in:
1927
19282013-02-08  Benjamin Poulain  <bpoulain@apple.com>
1929
1930        Move workerThreadCount from TestRunner to WebCore Internals
1931        https://bugs.webkit.org/show_bug.cgi?id=109239
1932
1933        Reviewed by Darin Adler.
1934
1935        * WebKit.vcproj/WebKitExports.def.in:
1936
19372013-02-07  Roger Fong  <roger_fong@apple.com>
1938
1939        Unreviewed. Corrections the exports definition file.
1940
1941        * WebKit.vcproj/WebKitExports.def.in:
1942
19432013-02-05  Roger Fong  <roger_fong@apple.com>
1944
1945        Unreviewed build fix.
1946
1947        * WebKit.vcproj/WebKitExports.def.in:
1948
19492013-02-05  Roger Fong  <roger_fong@apple.com>
1950
1951        Unreviewed. Get rid of redundant exports in export definitions file.
1952
1953        * WebKit.vcproj/WebKitExports.def.in:
1954
19552013-02-01  Roger Fong  <roger_fong@apple.com>
1956
1957        Unreviewed. Copy some resource files for VS2010 solution.
1958        https://bugs.webkit.org/show_bug.cgi?id=106989.
1959
1960        * WebKit.resources/WebKit.rc: Added.
1961        * WebKit.resources/deleteButton.png: Added.
1962        * WebKit.resources/deleteButtonPressed.png: Added.
1963        * WebKit.resources/fsVideoAudioVolumeHigh.png: Added.
1964        * WebKit.resources/fsVideoAudioVolumeLow.png: Added.
1965        * WebKit.resources/fsVideoExitFullscreen.png: Added.
1966        * WebKit.resources/fsVideoPause.png: Added.
1967        * WebKit.resources/fsVideoPlay.png: Added.
1968        * WebKit.resources/missingImage.png: Added.
1969        * WebKit.resources/nullplugin.png: Added.
1970        * WebKit.resources/panEastCursor.png: Added.
1971        * WebKit.resources/panIcon.png: Added.
1972        * WebKit.resources/panNorthCursor.png: Added.
1973        * WebKit.resources/panNorthEastCursor.png: Added.
1974        * WebKit.resources/panNorthWestCursor.png: Added.
1975        * WebKit.resources/panSouthCursor.png: Added.
1976        * WebKit.resources/panSouthEastCursor.png: Added.
1977        * WebKit.resources/panSouthWestCursor.png: Added.
1978        * WebKit.resources/panWestCursor.png: Added.
1979        * WebKit.resources/searchCancel.png: Added.
1980        * WebKit.resources/searchCancelPressed.png: Added.
1981        * WebKit.resources/searchMagnifier.png: Added.
1982        * WebKit.resources/searchMagnifierResults.png: Added.
1983        * WebKit.resources/textAreaResizeCorner.png: Added.
1984        * WebKit.resources/verticalTextCursor.png: Added.
1985        * WebKit.resources/zoomInCursor.png: Added.
1986        * WebKit.resources/zoomOutCursor.png: Added.
1987
19882013-02-04  Benjamin Poulain  <bpoulain@apple.com>
1989
1990        Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT/WTR; use Internals
1991        https://bugs.webkit.org/show_bug.cgi?id=108741
1992
1993        Reviewed by Tony Chang.
1994
1995        * WebKit.vcproj/WebKitExports.def.in:
1996
19972013-02-04  Enrica Casucci  <enrica@apple.com>
1998
1999        Add specific EditActions for Bold and Italic commands.
2000        https://bugs.webkit.org/show_bug.cgi?id=108842.
2001        <rdar://problem/13098252>
2002
2003        Reviewed by Ryosuke Niwa.
2004
2005        * WebCoreSupport/WebEditorClient.cpp:
2006        (undoNameForEditAction):
2007
20082013-02-03  KwangYong Choi  <ky0.choi@samsung.com>
2009
2010        Fix build warning after r141473
2011        https://bugs.webkit.org/show_bug.cgi?id=108782
2012
2013        Reviewed by Kentaro Hara.
2014
2015        Fix -Wunused-parameter build warning.
2016
2017        * WebCoreSupport/WebEditorClient.cpp:
2018        (WebEditorClient::getClientPasteboardDataForRange):
2019
20202013-02-01  Philip Rogers  <pdr@google.com>
2021
2022        Change hasAlpha to isKnownToBeOpaque and correct the return value for SVG images.
2023        https://bugs.webkit.org/show_bug.cgi?id=106966
2024
2025        Reviewed by Stephen White.
2026
2027        * WebKit.vcproj/WebKitExports.def.in:
2028
20292013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
2030
2031        Editor::m_compositionNode not updated on HTMLInputElement::setValue()
2032        https://bugs.webkit.org/show_bug.cgi?id=107737
2033
2034        Reviewed by Ryosuke Niwa.
2035
2036        * WebView.cpp:
2037        (WebView::updateSelectionForIME):
2038            Adding a call to the newly refactored method.
2039
20402013-01-31  Sheriff Bot  <webkit.review.bot@gmail.com>
2041
2042        Unreviewed, rolling out r141479.
2043        http://trac.webkit.org/changeset/141479
2044        https://bugs.webkit.org/show_bug.cgi?id=108564
2045
2046        breaks chromium test (Requested by morrita on #webkit).
2047
2048        * WebView.cpp:
2049        (WebView::updateSelectionForIME):
2050
20512013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
2052
2053        Editor::m_compositionNode not updated on HTMLInputElement::setValue()
2054        https://bugs.webkit.org/show_bug.cgi?id=107737
2055
2056        Reviewed by Ryosuke Niwa.
2057
2058        * WebView.cpp:
2059        (WebView::updateSelectionForIME):
2060            Adding a call to the newly refactored method.
2061
20622013-01-31  Enrica Casucci  <enrica@apple.com>
2063
2064        WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access.
2065        https://bugs.webkit.org/show_bug.cgi?id=108396.
2066        <rdar://problem/12920461>
2067
2068        Reviewed by Alexey Proskuryakov.
2069
2070        Adds stub implementation for WebKit of the new EditorClient methods.
2071
2072        * WebCoreSupport/WebEditorClient.cpp:
2073        (WebEditorClient::willWriteSelectionToPasteboard):
2074        (WebEditorClient::getClientPasteboardDataForRange):
2075        * WebCoreSupport/WebEditorClient.h:
2076
20772013-01-29  Shinya Kawanaka  <shinyak@chromium.org>
2078
2079        [Chromium] Cannot copy text when selecting readonly (or disabled) input elements
2080        https://bugs.webkit.org/show_bug.cgi?id=106287
2081
2082        Reviewed by Hajime Morita.
2083
2084        * WebKit.vcproj/WebKitExports.def.in:
2085
20862013-01-29  Elliott Sprehn  <esprehn@chromium.org>
2087
2088        Refactor ShadowRoot exception handling
2089        https://bugs.webkit.org/show_bug.cgi?id=108209
2090
2091        Reviewed by Dimitri Glazkov.
2092
2093        * WebKit.vcproj/WebKitExports.def.in: Swap ShadowRoot::create export with Element::createShadowRoot.
2094
20952013-01-29  Nate Chapin  <japhet@chromium.org>
2096
2097        Enable reuse of cached main resources
2098        https://bugs.webkit.org/show_bug.cgi?id=105667
2099
2100        Reviewed by Adam Barth.
2101
2102        * WebKit.vcproj/WebKitExports.def.in: Expose some MemoryCache symbols for use in Internals.
2103
21042013-01-27  Zoltan Arvai  <zarvai@inf.u-szeged.hu>
2105
2106        Fixing atomicIncrement implementation for Windows by dropping support before XP SP2.
2107        https://bugs.webkit.org/show_bug.cgi?id=106740
2108
2109        Reviewed by Benjamin Poulain.
2110
2111        * WebKitPrefix.h:
2112
21132013-01-26  Alexey Proskuryakov  <ap@apple.com>
2114
2115        Remove code for handling NetworkProcess authentication challenges in WebProcess
2116        https://bugs.webkit.org/show_bug.cgi?id=108003
2117
2118        Reviewed by Sam Weinig.
2119
2120        * WebURLAuthenticationChallenge.cpp:
2121        (WebURLAuthenticationChallenge::initWithProtectionSpace):
2122        Adapted for new AuthenticationChallenge constructor signature.
2123
21242013-01-24  Mark Hahnenberg  <mhahnenberg@apple.com>
2125
2126        Objective-C API: Rename JSValue.h/APIJSValue.h to JSCJSValue.h/JSValue.h
2127        https://bugs.webkit.org/show_bug.cgi?id=107327
2128
2129        Reviewed by Filip Pizlo.
2130
2131        We're renaming these two files, so we have to replace the names everywhere.
2132
2133        * WebFrame.cpp:
2134        * WebView.cpp:
2135
21362013-01-23  Tony Chang  <tony@chromium.org>
2137
2138        Unreviewed, set svn:eol-style to CRLF on Windows .sln files.
2139
2140        * WebKit.vcproj/WebKit.sln: Modified property svn:eol-style.
2141        * WebKit.vcproj/WebKit.submit.sln: Modified property svn:eol-style.
2142
21432013-01-23  Pavel Feldman  <pfeldman@chromium.org>
2144
2145        Follow up to 140539, adding exports for Win build.
2146
2147        Not reviewed.
2148
2149        * WebKit.vcproj/WebKitExports.def.in:
2150
21512013-01-22  Anders Carlsson  <andersca@apple.com>
2152
2153        Use a platforom strategy for local storage
2154        https://bugs.webkit.org/show_bug.cgi?id=107600
2155
2156        Reviewed by Andreas Kling.
2157
2158        Update for new storage strategy.
2159
2160        * WebCoreSupport/WebPlatformStrategies.cpp:
2161        (WebPlatformStrategies::createStorageStrategy):
2162        * WebCoreSupport/WebPlatformStrategies.h:
2163        (WebPlatformStrategies):
2164
21652013-01-18  Jer Noble  <jer.noble@apple.com>
2166
2167        Unreviewed build fix. Remove deleted symbol from windows export list.
2168
2169        * WebKit.vcproj/WebKitExports.def.in:
2170
21712013-01-18  Seokju Kwon  <seokju.kwon@gmail.com>
2172
2173        Add explicit keyword to constructors in platform-specific InspectorClient
2174        https://bugs.webkit.org/show_bug.cgi?id=107255
2175
2176        Reviewed by Kentaro Hara.
2177
2178        Add explicit keyword to constructors that take one argument
2179        in platform-specific implementation of InspectorClient.
2180
2181        * WebCoreSupport/WebInspectorClient.h:
2182        (WebInspectorClient):
2183
21842013-01-18  Sheriff Bot  <webkit.review.bot@gmail.com>
2185
2186        Unreviewed, rolling out r140005.
2187        http://trac.webkit.org/changeset/140005
2188        https://bugs.webkit.org/show_bug.cgi?id=107235
2189
2190        broke downstream Chromium interactive_ui_tests (Requested by
2191        dominicc on #webkit).
2192
2193        * WebKit.vcproj/WebKitExports.def.in:
2194
21952013-01-17  Nate Chapin  <japhet@chromium.org>
2196
2197        Enable reuse of cached main resources
2198        https://bugs.webkit.org/show_bug.cgi?id=105667
2199
2200        Reviewed by Antti Koivisto.
2201
2202        * WebKit.vcproj/WebKitExports.def.in: Expose some MemoryCache symbols for use in Internals.
2203
22042013-01-15  peavo@outlook.com  <peavo@outlook.com>
2205
2206        Crash when saving history with no items in it.
2207        https://bugs.webkit.org/show_bug.cgi?id=104261
2208
2209        Reviewed by Darin Adler.
2210
2211        * WebHistory.cpp:
2212        (WebHistory::saveHistoryGuts): Added null pointer check
2213
22142013-01-09  Levi Weintraub <leviw@chromium.org>
2215
2216        Rolling out r139683. It broke a bunch of webkit_unit_tests. 
2217
22182013-01-09  Hajime Morrita  <morrita@google.com>
2219
2220        [Shadow DOM] Distribution related code on ElementShadow should be minimized.
2221        https://bugs.webkit.org/show_bug.cgi?id=106294
2222
2223        Reviewed by Dimitri Glazkov.
2224
2225        * WebKit.vcproj/WebKit.def.in:
2226
22272013-01-09  Roger Fong  <roger_fong@apple.com>
2228
2229        Rename export files to make them more easily findable.
2230        https://bugs.webkit.org/show_bug.cgi?id=98695.
2231
2232        Reviewed by Timothy Horton.
2233
2234        * WebKit.vcproj/WebKit.def.in: Removed.
2235        * WebKit.vcproj/WebKit.vcproj:
2236        * WebKit.vcproj/WebKitExportGenerator.vcproj:
2237        * WebKit.vcproj/WebKitExportGeneratorBuildCmd.cmd:
2238        * WebKit.vcproj/WebKitExportGeneratorPostBuild.cmd:
2239        * WebKit.vcproj/WebKitExportGeneratorPreBuild.cmd:
2240        * WebKit.vcproj/WebKitExports.def.in: Copied from Source/WebKit/win/WebKit.vcproj/WebKit.def.in.
2241        * WebKit.vcproj/WebKitLibCommon.vsprops:
2242
22432013-01-09  Roger Fong  <roger_fong@apple.com>
2244
2245        Add WebPreferences for Seamless IFrames on Windows port.
2246        https://bugs.webkit.org/show_bug.cgi?id=106468.
2247
2248        Rubberstamped by Eric Seidel.
2249
2250        * Interfaces/IWebPreferences.idl:
2251        * WebPreferenceKeysPrivate.h:
2252        * WebPreferences.cpp:
2253        (WebPreferences::areSeamlessIFramesEnabled):
2254        (WebPreferences::setSeamlessIFramesEnabled):
2255        * WebPreferences.h:
2256        (WebPreferences):
2257        * WebView.cpp:
2258        (WebView::notifyPreferencesChanged):
2259
22602013-01-09  peavo@outlook.com  <peavo@outlook.com>
2261
2262        [WinCairo] Link fix after r138759
2263        https://bugs.webkit.org/show_bug.cgi?id=106323
2264
2265        Reviewed by Kentaro Hara.
2266
2267        * WebKit.vcproj/WebKitLibDebugCairoCFLite.vsprops: Include WebKitCFLite.vsprops.
2268        * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops: Include WebKitCFLite.vsprops.
2269
22702013-01-08  Hajime Morrita  <morrita@google.com>
2271
2272        [Shadow DOM] Distribution related code on ShadowRoot should be minimized.
2273        https://bugs.webkit.org/show_bug.cgi?id=106282
2274
2275        Reviewed by Dimitri Glazkov.
2276
2277        * WebKit.vcproj/WebKit.def.in:
2278
22792013-01-08  Mark Lam  <mark.lam@apple.com>
2280
2281        Removed the need for the ProposedDatabase mechanism.
2282        https://bugs.webkit.org/show_bug.cgi?id=106292.
2283
2284        Reviewed by Sam Weinig.
2285
2286        * WebCoreSupport/WebChromeClient.cpp:
2287        (WebChromeClient::exceededDatabaseQuota):
2288        * WebCoreSupport/WebChromeClient.h:
2289        (WebChromeClient):
2290
22912013-01-04  Roger Fong  <roger_fong@apple.com>
2292
2293        Make private browsing work on Windows.
2294        https://bugs.webkit.org/show_bug.cgi?id=106032.
2295
2296        Reviewed by Alexey Proskuryakov.
2297
2298        Code path never called ensurePrivateBrowsingSession which is what starts up the private browsing session.
2299        This was causing many tests to involving private browsing to fail.
2300
2301        * WebView.cpp:
2302        (WebView::notifyPreferencesChanged):
2303
23042013-01-03  Roger Fong  <roger_fong@apple.com>
2305
2306        Remove all traces of Windows from WebKit2 folder.
2307        https://bugs.webkit.org/show_bug.cgi?id=105585.
2308
2309        Reviewed by Sam Weinig.
2310
2311        WebKitExportGenerator project needs to be moved out of the WebKit2/win folder and into WebKit/win.
2312
2313        * WebKit.vcproj/WebKit.def.in: Added.
2314        * WebKit.vcproj/WebKit.sln:
2315        * WebKit.vcproj/WebKit.vcproj:
2316        * WebKit.vcproj/WebKitCFLite.vsprops: Added.
2317        * WebKit.vcproj/WebKitExportGenerator.vcproj: Added.
2318        * WebKit.vcproj/WebKitExportGeneratorBuildCmd.cmd: Added.
2319        * WebKit.vcproj/WebKitExportGeneratorCommon.vsprops: Added.
2320        * WebKit.vcproj/WebKitExportGeneratorDebug.vsprops: Added.
2321        * WebKit.vcproj/WebKitExportGeneratorDebugAll.vsprops: Added.
2322        * WebKit.vcproj/WebKitExportGeneratorDebugCairoCFLite.vsprops: Added.
2323        * WebKit.vcproj/WebKitExportGeneratorPostBuild.cmd: Added.
2324        * WebKit.vcproj/WebKitExportGeneratorPreBuild.cmd: Added.
2325        * WebKit.vcproj/WebKitExportGeneratorProduction.vsprops: Added.
2326        * WebKit.vcproj/WebKitExportGeneratorRelease.vsprops: Added.
2327        * WebKit.vcproj/WebKitExportGeneratorReleaseCairoCFLite.vsprops: Added.
2328        * WebKit.vcproj/WebKitLibCommon.vsprops:
2329
23302013-01-03  Csaba Osztrogonác  <ossy@webkit.org>
2331
2332        Unreviewed fix after r138656 to make GIT-SVN repositories happy.
2333
2334        * WebKit.vcproj/WebKitApple.vsprops: Added property svn:eol-style. Removed property svn:mime-type.
2335        * WebKit.vcproj/WebKitDirectX.vsprops: Added property svn:eol-style. Removed property svn:mime-type.
2336
23372013-01-02  Roger Fong  <roger_fong@apple.com>
2338
2339        Unreviewed. Build fix after reintroducing r138331.
2340
2341        Attempted to remove WebKit2 from Apple Windows port in r138331 but two vsprops files were missing.
2342
2343        * WebKit.vcproj/WebKitApple.vsprops: Added.
2344        * WebKit.vcproj/WebKitDirectX.vsprops: Added.
2345
23462013-01-02  Sheriff Bot  <webkit.review.bot@gmail.com>
2347
2348        Unreviewed, rolling out r138403.
2349        http://trac.webkit.org/changeset/138403
2350        https://bugs.webkit.org/show_bug.cgi?id=105950
2351
2352        Fixing e138331 which was rolled out in r138403 (Requested by
2353        rfong on #webkit).
2354
2355        * WebKit.vcproj/WebKit.sln:
2356        * WebKit.vcproj/WebKit.vcproj:
2357        * WebKit.vcproj/WebKitLibCommon.vsprops:
2358        * WebKit.vcproj/WebKitLibDebug.vsprops:
2359        * WebKit.vcproj/WebKitLibDebugAll.vsprops:
2360        * WebKit.vcproj/WebKitLibProduction.vsprops:
2361        * WebKit.vcproj/WebKitLibRelease.vsprops:
2362
23632012-12-23  Alexey Proskuryakov  <ap@apple.com>
2364
2365        <rdar://problem/12808377> Network process should respect cookie accept policy
2366        https://bugs.webkit.org/show_bug.cgi?id=105684
2367
2368        Reviewed by Sam Weinig.
2369
2370        * WebCoreSupport/WebPlatformStrategies.cpp:
2371        * WebCoreSupport/WebPlatformStrategies.h:
2372        CookiesStrategy no longer has notifyCookiesChanged(). This port didn't use it anyway.
2373
23742012-12-22  Alexey Proskuryakov  <ap@apple.com>
2375
2376        Add a separate class for networking related storage
2377        https://bugs.webkit.org/show_bug.cgi?id=105676
2378
2379        Reviewed by Sam Weinig.
2380
2381        * WebCookieManagerCFNet.cpp:
2382        * WebView.cpp:
2383        Updated includes.
2384
2385        * WebCoreSupport/WebFrameNetworkingContext.cpp:
2386        * WebCoreSupport/WebFrameNetworkingContext.h:
2387        This class is now simpler, with most session tracking being in WebCore.
2388
2389        * WebCoreSupport/WebPlatformStrategies.cpp:
2390        (WebPlatformStrategies::cookiesForDOM):
2391        (WebPlatformStrategies::setCookiesFromDOM):
2392        (WebPlatformStrategies::cookiesEnabled):
2393        (WebPlatformStrategies::cookieRequestHeaderFieldValue):
2394        (WebPlatformStrategies::getRawCookies):
2395        (WebPlatformStrategies::deleteCookie):
2396        * WebCoreSupport/WebPlatformStrategies.h:
2397        We no longer need a function for default storage! Other functions now take a session.
2398
23992012-12-21  Sheriff Bot  <webkit.review.bot@gmail.com>
2400
2401        Unreviewed, rolling out r138331.
2402        http://trac.webkit.org/changeset/138331
2403        https://bugs.webkit.org/show_bug.cgi?id=105668
2404
2405        Broke Windows clean builds; can't figure out how to fix it
2406        (Requested by rniwa on #webkit).
2407
2408        * WebKit.vcproj/WebKit.sln:
2409        * WebKit.vcproj/WebKit.vcproj:
2410        * WebKit.vcproj/WebKitLibCommon.vsprops:
2411        * WebKit.vcproj/WebKitLibDebug.vsprops:
2412        * WebKit.vcproj/WebKitLibDebugAll.vsprops:
2413        * WebKit.vcproj/WebKitLibProduction.vsprops:
2414        * WebKit.vcproj/WebKitLibRelease.vsprops:
2415
24162012-12-20  Anders Carlsson  <andersca@apple.com>
2417
2418        Stop building WebKit2 for Windows
2419        https://bugs.webkit.org/show_bug.cgi?id=105585
2420
2421        Reviewed by Brian Weinstein.
2422
2423        Stop building WebKit2 on Windows, and change WebKit.vcproj to build WebKit.dll again.
2424
2425        * WebKit.vcproj/WebKit.sln:
2426        * WebKit.vcproj/WebKit.vcproj:
2427        * WebKit.vcproj/WebKitApple.vsprops: Added.
2428        * WebKit.vcproj/WebKitDirectX.vsprops: Added.
2429        * WebKit.vcproj/WebKitLibCommon.vsprops:
2430        * WebKit.vcproj/WebKitLibDebug.vsprops:
2431        * WebKit.vcproj/WebKitLibDebugAll.vsprops:
2432        * WebKit.vcproj/WebKitLibProduction.vsprops:
2433        * WebKit.vcproj/WebKitLibRelease.vsprops:
2434
24352012-12-20  Anders Carlsson  <andersca@apple.com>
2436
2437        Copy WebKit2.rc to back to WebKit/win/WebKit.vcproj.
2438
2439        Rubber-stamped by Tim Horton.
2440
2441        * WebKit.vcproj/WebKit.rc: Added.
2442
24432012-12-20  Anders Carlsson  <andersca@apple.com>
2444
2445        Copy files from WebKit2/win (back) to WebKit/win/WebKit.vcproj.
2446
2447        Rubber-stamped by Tim Horton.
2448
2449        * WebKit.vcproj/deleteButton.png: Added.
2450        * WebKit.vcproj/deleteButtonPressed.png: Added.
2451        * WebKit.vcproj/fsVideoAudioVolumeHigh.png: Added.
2452        * WebKit.vcproj/fsVideoAudioVolumeLow.png: Added.
2453        * WebKit.vcproj/fsVideoExitFullscreen.png: Added.
2454        * WebKit.vcproj/fsVideoPause.png: Added.
2455        * WebKit.vcproj/fsVideoPlay.png: Added.
2456        * WebKit.vcproj/missingImage.png: Added.
2457        * WebKit.vcproj/nullplugin.png: Added.
2458        * WebKit.vcproj/panEastCursor.png: Added.
2459        * WebKit.vcproj/panIcon.png: Added.
2460        * WebKit.vcproj/panNorthCursor.png: Added.
2461        * WebKit.vcproj/panNorthEastCursor.png: Added.
2462        * WebKit.vcproj/panNorthWestCursor.png: Added.
2463        * WebKit.vcproj/panSouthCursor.png: Added.
2464        * WebKit.vcproj/panSouthEastCursor.png: Added.
2465        * WebKit.vcproj/panSouthWestCursor.png: Added.
2466        * WebKit.vcproj/panWestCursor.png: Added.
2467        * WebKit.vcproj/searchCancel.png: Added.
2468        * WebKit.vcproj/searchCancelPressed.png: Added.
2469        * WebKit.vcproj/searchMagnifier.png: Added.
2470        * WebKit.vcproj/searchMagnifierResults.png: Added.
2471        * WebKit.vcproj/textAreaResizeCorner.png: Added.
2472        * WebKit.vcproj/verticalTextCursor.png: Added.
2473        * WebKit.vcproj/zoomInCursor.png: Added.
2474        * WebKit.vcproj/zoomOutCursor.png: Added.
2475
24762012-12-19  Anders Carlsson  <andersca@apple.com>
2477
2478        Build WebKit2ExportGenerator before WebKitLib
2479        https://bugs.webkit.org/show_bug.cgi?id=105487
2480
2481        Reviewed by Tim Horton.
2482
2483        * WebKit.vcproj/WebKit.sln:
2484
24852012-12-18  Alexey Proskuryakov  <ap@apple.com>
2486
2487        Remove unnecessary functions from CookiesStrategy
2488        https://bugs.webkit.org/show_bug.cgi?id=105369
2489
2490        Reviewed by Brady Eidson.
2491
2492        * WebCoreSupport/WebPlatformStrategies.cpp:
2493        * WebCoreSupport/WebPlatformStrategies.h:
2494
24952012-12-15  Anders Carlsson  <andersca@apple.com>
2496
2497        Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
2498        https://bugs.webkit.org/show_bug.cgi?id=105122
2499
2500        Reviewed by Andreas Kling.
2501
2502        Update for WebCore changes.
2503
2504        * WebFrame.cpp:
2505        (WebFrame::convertMainResourceLoadToDownload):
2506        * WebFrame.h:
2507
25082012-12-15  Mark Lam  <mark.lam@apple.com>
2509
2510        Re-landing patch for "Introducing the DatabaseStrategy and database servers".
2511        https://bugs.webkit.org/show_bug.cgi?id=104934.
2512
2513        Not reviewed.
2514
2515        Merged from r137767. Previously reviewed by Sam Weinig.
2516
2517        * WebCoreSupport/WebPlatformStrategies.cpp:
2518        (WebPlatformStrategies::createDatabaseStrategy):
2519        * WebCoreSupport/WebPlatformStrategies.h:
2520        (WebPlatformStrategies):
2521
25222012-12-14  Mark Lam  <mark.lam@apple.com>
2523
2524        The WebView should initialize the platform strategies before initializing other sub-systems.
2525        https://bugs.webkit.org/show_bug.cgi?id=105083.
2526
2527        Reviewed by Alexey Proskuryakov.
2528
2529        * WebView.cpp:
2530        (WebView::initWithFrame):
2531
25322012-12-14  Sheriff Bot  <webkit.review.bot@gmail.com>
2533
2534        Unreviewed, rolling out r137767.
2535        http://trac.webkit.org/changeset/137767
2536        https://bugs.webkit.org/show_bug.cgi?id=105062
2537
2538        Broke Mac builds. (Requested by mlam on #webkit).
2539
2540        * WebCoreSupport/WebPlatformStrategies.cpp:
2541        * WebCoreSupport/WebPlatformStrategies.h:
2542        (WebPlatformStrategies):
2543
25442012-12-14  Mark Lam  <mark.lam@apple.com>
2545
2546        Introducing the DatabaseStrategy and database servers.
2547        https://bugs.webkit.org/show_bug.cgi?id=104934.
2548
2549        Reviewed by Sam Weinig.
2550
2551        The database server is currently a placeholder that does nothing.
2552
2553        * WebCoreSupport/WebPlatformStrategies.cpp:
2554        (WebPlatformStrategies::createDatabaseStrategy):
2555        * WebCoreSupport/WebPlatformStrategies.h:
2556        (WebPlatformStrategies):
2557
25582012-12-13  Alexey Proskuryakov  <ap@apple.com>
2559
2560        <rdar://problem/12838354> Per-Tab WebProcess: DOM cookie access functions should respect private browsing
2561        https://bugs.webkit.org/show_bug.cgi?id=104691
2562
2563        Reviewed by Sam Weinig.
2564
2565        * WebCoreSupport/WebFrameNetworkingContext.cpp:
2566        (WebFrameNetworkingContext::inPrivateBrowsingMode):
2567        (WebFrameNetworkingContext::storageSession):
2568        * WebCoreSupport/WebFrameNetworkingContext.h:
2569        Implemented inPrivateBrowsingMode().
2570
25712012-12-12  Mark Lam  <mark.lam@apple.com>
2572
2573        Encapsulate externally used webdatabase APIs in DatabaseManager.
2574        https://bugs.webkit.org/show_bug.cgi?id=104741.
2575
2576        Reviewed by Sam Weinig.
2577
2578        Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
2579        and DatabaseContext directly. This is to prepare for upcoming webkit2
2580        refactoring.
2581
2582        * WebDatabaseManager.cpp:
2583        (WebDatabaseManager::sharedWebDatabaseManager):
2584        (WebDatabaseManager::origins):
2585        (WebDatabaseManager::databasesWithOrigin):
2586        (WebDatabaseManager::detailsForDatabase):
2587        (WebDatabaseManager::deleteAllDatabases):
2588        (WebDatabaseManager::deleteOrigin):
2589        (WebDatabaseManager::deleteDatabase):
2590        (WebDatabaseManager::setQuota):
2591        (WebKitInitializeWebDatabasesIfNecessary):
2592        * WebDatabaseManager.h:
2593        (WebDatabaseManager):
2594        * WebSecurityOrigin.cpp:
2595        (WebSecurityOrigin::usage):
2596        (WebSecurityOrigin::quota):
2597        (WebSecurityOrigin::setQuota):
2598        * WebView.cpp:
2599        (WebView::notifyPreferencesChanged):
2600
26012012-12-12  Alexey Proskuryakov  <ap@apple.com>
2602
2603        Make LOG() work in WebProcess and NetworkProcess
2604        https://bugs.webkit.org/show_bug.cgi?id=104718
2605
2606        Reviewed by Tim Horton.
2607
2608        * WebView.cpp: Updated for a new include file to use in WebKits.
2609
26102012-12-11  Mike West  <mkwst@chromium.org>
2611
2612        Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
2613        https://bugs.webkit.org/show_bug.cgi?id=66371
2614
2615        Reviewed by Pavel Feldman.
2616
2617        Drops WebCore::MessageType from the addMessageToConsole method.
2618
2619        * WebCoreSupport/WebChromeClient.cpp:
2620        (WebChromeClient::addMessageToConsole):
2621        * WebCoreSupport/WebChromeClient.h:
2622        (WebChromeClient):
2623
26242012-12-10  Xueqing Huang  <huangxueqing@baidu.com>
2625
2626        ASSERTION failed in Windows: css3/css3-modsel-33.html
2627        https://bugs.webkit.org/show_bug.cgi?id=104472
2628
2629        Reviewed by Tim Horton.
2630
2631        In WebFrameLoaderClient::dispatchDidLayout, milestones maybe
2632        DidFirstLayout & DidFirstVisualNonEmptyLayout, we should
2633        use seperate COMPtrs for the two cases rather than reuse one. 
2634
2635        * WebCoreSupport/WebFrameLoaderClient.cpp:
2636        (WebFrameLoaderClient::dispatchDidLayout):
2637
26382012-12-08  Seokju Kwon  <seokju.kwon@gmail.com>
2639
2640        Remove unused headers
2641        https://bugs.webkit.org/show_bug.cgi?id=104428
2642
2643        Reviewed by Kentaro Hara.
2644
2645        Header inclusion cleanup.
2646        Remove <WebCore/NotImplement.h>.
2647
2648        * WebCoreSupport/WebInspectorClient.cpp:
2649        * WebMutableURLRequest.cpp:
2650
26512012-12-07  Anders Carlsson  <andersca@apple.com>
2652
2653        Remove WebKit2 related projects from WebKit.sln
2654        https://bugs.webkit.org/show_bug.cgi?id=104395
2655
2656        Reviewed by Tim Horton.
2657
2658        * WebKit.vcproj/WebKit.sln:
2659
26602012-11-30  Brent Fulgham  <bfulgham@webkit.org>
2661
2662        [Windows, WinCairo] Generate library export definition file.
2663        https://bugs.webkit.org/show_bug.cgi?id=103687
2664
2665        Reviewed by Tim Horton.
2666
2667        Update project solutions to use the new generated *.def files.
2668
2669        * WebKit.vcproj/WebKit.sln: Update for new project and file
2670        locations.
2671
26722012-11-30  Mihai Maerean  <mmaerean@adobe.com>
2673
2674        [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
2675        https://bugs.webkit.org/show_bug.cgi?id=101192
2676
2677        Reviewed by Hajime Morita.
2678
2679        Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
2680
2681        Tests: No new tests because there is no functional change.
2682
2683        * WebView.cpp:
2684        (WebView::notifyPreferencesChanged):
2685
26862012-11-29  Alexey Proskuryakov  <ap@apple.com>
2687
2688        [WK2] Forward cookie jar calls to NetworkProcess
2689        https://bugs.webkit.org/show_bug.cgi?id=103457
2690
2691        Reviewed by Darin Adler.
2692
2693        * WebCoreSupport/WebPlatformStrategies.cpp:
2694        (WebPlatformStrategies::cookiesForDOM):
2695        (WebPlatformStrategies::setCookiesFromDOM):
2696        (WebPlatformStrategies::cookiesEnabled):
2697        (WebPlatformStrategies::cookieRequestHeaderFieldValue):
2698        (WebPlatformStrategies::getRawCookies):
2699        (WebPlatformStrategies::deleteCookie):
2700        (WebPlatformStrategies::getHostnamesWithCookies):
2701        (WebPlatformStrategies::deleteCookiesForHostname):
2702        (WebPlatformStrategies::deleteAllCookies):
2703
27042012-11-27  James Simonsen  <simonjam@chromium.org>
2705
2706        Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
2707        https://bugs.webkit.org/show_bug.cgi?id=102151
2708
2709        Reviewed by Adam Barth.
2710
2711        * WebFrame.cpp:
2712        (WebFrame::loadRequest):
2713        (WebFrame::loadData):
2714
27152012-11-27  Sheriff Bot  <webkit.review.bot@gmail.com>
2716
2717        Unreviewed, rolling out r135786.
2718        http://trac.webkit.org/changeset/135786
2719        https://bugs.webkit.org/show_bug.cgi?id=103379
2720
2721        It made 3 plugin tests timeout on several platforms (Requested
2722        by Ossy on #webkit).
2723
2724        * WebFrame.cpp:
2725        (WebFrame::loadRequest):
2726        (WebFrame::loadData):
2727
27282012-11-26  James Simonsen  <simonjam@chromium.org>
2729
2730        Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
2731        https://bugs.webkit.org/show_bug.cgi?id=102151
2732
2733        Reviewed by Adam Barth.
2734
2735        * WebFrame.cpp:
2736        (WebFrame::loadRequest):
2737        (WebFrame::loadData):
2738
27392012-11-21  Allan Sandfeld Jensen  <allan.jensen@digia.com>
2740
2741        Disambiguate innerNodeFramePoint and mainFramePoint
2742        https://bugs.webkit.org/show_bug.cgi?id=98139
2743
2744        Reviewed by Julien Chaffraix.
2745
2746        * WebView.cpp:
2747        (WebView::handleContextMenuEvent):
2748
27492012-11-20  Sheriff Bot  <webkit.review.bot@gmail.com>
2750
2751        Unreviewed, rolling out r135295.
2752        http://trac.webkit.org/changeset/135295
2753        https://bugs.webkit.org/show_bug.cgi?id=102834
2754
2755        This patch causes assertion to some layout tests on chromium
2756        (Requested by jianli on #webkit).
2757
2758        * WebFrame.cpp:
2759        (WebFrame::loadRequest):
2760        (WebFrame::loadData):
2761
27622012-11-20  James Simonsen  <simonjam@chromium.org>
2763
2764        Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
2765        https://bugs.webkit.org/show_bug.cgi?id=102151
2766
2767        Reviewed by Adam Barth.
2768
2769        * WebFrame.cpp:
2770        (WebFrame::loadRequest):
2771        (WebFrame::loadData):
2772
27732012-11-17  Brady Eidson  <beidson@apple.com>
2774
2775        Add an integer identifier field to AuthenticationChallengeBase.
2776        https://bugs.webkit.org/show_bug.cgi?id=102593
2777
2778        Reviewed by Darin Adler.
2779
2780        * WebURLAuthenticationChallenge.cpp:
2781        (WebURLAuthenticationChallenge::initWithProtectionSpace): Adopt the new constructor with a dummy identifier.
2782
27832012-11-16  Brent Fulgham  <bfulgham@webkit.org>
2784
2785        [WinCairo] Unreviewed build fix after r134960.
2786
2787        Avoid including Mac-specific headers.
2788
2789        * WebCoreSupport/WebFrameNetworkingContext.cpp: Stub out
2790        CFNetwork-based implementations.
2791        * WebCoreSupport/WebFrameNetworkingContext.h: Exclude
2792        CFNetwork data types.
2793        * WebCoreSupport/WebPlatformStrategies.cpp: Stub out
2794        CFNetwork-based implementations.
2795        * WebCoreSupport/WebPlatformStrategies.h: Exclude
2796        CFNetwork data types.
2797
27982012-11-15  Alexey Proskuryakov  <ap@apple.com>
2799
2800        Private Browsing is a per-page setting that sets a global value
2801        https://bugs.webkit.org/show_bug.cgi?id=67870
2802
2803        Reviewed by Sam Weinig.
2804
2805        * WebCookieManagerCFNet.cpp: (WebCookieManager::cookieStorage): We can't get
2806        current session without any context, but the code was not correct anyway, the client
2807        is clearly interested in a getter to match override setter.
2808
2809        * WebCoreSupport/WebFrameNetworkingContext.cpp: Moved code for tracking global
2810        sessions from WebCore to WebKit. The behavior is unchanged, but lower levels are
2811        now cleaner.
2812
2813        * WebCoreSupport/WebFrameNetworkingContext.h: Ditto.
2814
2815        * WebCoreSupport/WebPlatformStrategies.h:
2816        * WebCoreSupport/WebPlatformStrategies.cpp:
2817        (WebPlatformStrategies::defaultCookieStorage): Added. Use WebFrameNetworkingContext
2818        for tracking the default session.
2819
2820        * WebView.cpp: (updateSharedSettingsFromPreferencesIfNeeded):
2821        Use WebFrameNetworkingContext::setCookieAcceptPolicyForAllContexts. Updating only
2822        the current session is not sufficient, and did not match Mac.
2823
28242012-11-14  George Tsoumalis  <tsumalis96@gmail.com>
2825
2826        Implementation for mehods in WebMutableURLRequest.cpp
2827        https://bugs.webkit.org/show_bug.cgi?id=83671
2828
2829        Reviewed by Brent Fulgham..
2830
2831        * WebMutableURLRequest.cpp:
2832        (WebMutableURLRequest::addValue):
2833        (WebMutableURLRequest::setMainDocumentURL):
2834        (WebMutableURLRequest::setHTTPShouldHandleCookies):
2835
2836
28372012-11-12  Roger Fong  <roger_fong@apple.com>
2838
2839        REGRESSION(r130643): Assertion failure when running DRT in debug mode
2840        https://bugs.webkit.org/show_bug.cgi?id=101791
2841
2842        Reviewed by Darin Adler.
2843
2844        When running DRT in debug mode, we hit an assertion failure in initializing the WebKit instance.
2845        This failure started occuring in r130643 and this work around follows the work around in r132302.
2846
2847        * WebKitCOMAPI.cpp:
2848        (CLSIDHashTraits):
2849
28502012-11-12  Roger Fong  <roger_fong@apple.com>
2851
2852        Web Inspector: Fix docking behaviour on Windows.
2853        https://bugs.webkit.org/show_bug.cgi?id=101978
2854
2855        Reviewed by Brian Weinstein.
2856
2857        There are a number of problems with docking behaviour on Windows.
2858        For starters, it does not ever constrain the inspector's size properly while docked.
2859        It also does not properly set the whether or not the inspector can be docked/undocked.
2860        This patch fixes both issues.
2861
2862        * WebCoreSupport/WebInspectorClient.cpp:
2863        (WebInspectorFrontendClient::frontendLoaded): 
2864        (WebInspectorFrontendClient::attachWindow):
2865        Call restoreAttachedWindowHeight so that when first loading or reattaching the inspector,
2866        we resize the inspector window properly.
2867
28682012-11-05  Simon Fraser  <simon.fraser@apple.com>
2869
2870        Fix layer borders to cleaning appear and disappear on switching
2871        https://bugs.webkit.org/show_bug.cgi?id=101136
2872
2873        Reviewed by Sam Weinig.
2874
2875        Remove the GraphicsLayerClient methods showDebugBorders() and
2876        showRepaintCounter().
2877
2878        * WebView.cpp:
2879        * WebView.h:
2880
28812012-10-29  Anders Carlsson  <andersca@apple.com>
2882
2883        String::createCFString should return a RetainPtr
2884        https://bugs.webkit.org/show_bug.cgi?id=100419
2885
2886        Reviewed by Andreas Kling.
2887
2888        Update callers of String::createCFString.
2889
2890        * WebCoreSupport/WebFrameLoaderClient.cpp:
2891        (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
2892        * WebDatabaseManager.cpp:
2893        (WebDatabaseManager::dispatchDidModifyDatabase):
2894        * WebHistory.cpp:
2895        (WebHistory::visitedURL):
2896        (WebHistory::itemForURLString):
2897        * WebHistoryItem.cpp:
2898        (WebHistoryItem::dictionaryRepresentation):
2899        * WebIconDatabase.cpp:
2900        (WebIconDatabase::iconDatabaseNotificationUserInfoURLKey):
2901        (postDidAddIconNotification):
2902        * WebLocalizableStrings.cpp:
2903        (createWebKitBundle):
2904        (copyLocalizedStringFromBundle):
2905        * WebPreferences.cpp:
2906        (WebPreferences::initializeDefaultSettings):
2907        * WebView.cpp:
2908        (WebView::setCacheModel):
2909        (WebView::notifyPreferencesChanged):
2910
29112012-10-24  Brady Eidson  <beidson@apple.com>
2912
2913        Add a strategy for loader customization.
2914        https://bugs.webkit.org/show_bug.cgi?id=100278
2915
2916        Reviewed by Alexey Proskuryakov.
2917
2918        * WebCoreSupport/WebPlatformStrategies.cpp:
2919        (WebPlatformStrategies::createLoaderStrategy):
2920        * WebCoreSupport/WebPlatformStrategies.h:
2921        (WebPlatformStrategies):
2922
29232012-10-23  Alexey Proskuryakov  <ap@apple.com>
2924
2925        Add a strategy for shared workers
2926        https://bugs.webkit.org/show_bug.cgi?id=100165
2927
2928        Reviewed by Brady Eidson.
2929
2930        * WebCoreSupport/WebPlatformStrategies.cpp:
2931        (WebPlatformStrategies::createPasteboardStrategy):
2932        (WebPlatformStrategies::createSharedWorkerStrategy):
2933        (WebPlatformStrategies::createVisitedLinkStrategy):
2934        * WebCoreSupport/WebPlatformStrategies.h:
2935        (WebPlatformStrategies):
2936
29372012-10-22  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
2938
2939        [Qt] Fix "ASSERTION FAILED: !document->inPageCache()" when loading a page
2940        https://bugs.webkit.org/show_bug.cgi?id=98514
2941
2942        Reviewed by Kenneth Rohde Christiansen.
2943
2944        * WebCoreSupport/WebFrameLoaderClient.cpp:
2945        (WebFrameLoaderClient::transitionToCommittedForNewPage):
2946
29472012-10-21  Andreas Kling  <kling@webkit.org>
2948
2949        Remove Page::javaScriptURLsAreAllowed setting.
2950        <http://webkit.org/b/99944>
2951
2952        Reviewed by Anders Carlsson.
2953
2954        Have WebView::setJavaScriptURLsAreAllowed() do nothing and return E_NOTIMPL
2955        to prevent COM ABI breakage.
2956
2957        * WebView.cpp:
2958        (WebView::setJavaScriptURLsAreAllowed):
2959
29602012-10-18  Roger Fong  <roger_fong@apple.com>
2961
2962        Unreviewed. Build fix after r131701 and r131777.
2963
2964        * WebKit.vcproj/WebKit.sln:
2965
29662012-10-14  Sam Weinig  <sam@webkit.org>
2967
2968        Fix the windows build.
2969
2970        * WebView.cpp:
2971        (toStringVector):
2972
29732012-10-10  Brady Eidson  <beidson@apple.com>
2974
2975        Switch ResourceLoader::resourceData() from SharedBuffer to ResourceBuffer
2976        https://bugs.webkit.org/show_bug.cgi?id=98976
2977
2978        Reviewed by Anders Carlsson.
2979
2980        * WebDataSource.cpp:
2981        (WebDataSource::data):
2982
29832012-10-10  Jon Lee  <jonlee@apple.com>
2984
2985        [WK2] Activate plugins when user clicks on snapshot
2986        https://bugs.webkit.org/show_bug.cgi?id=98328
2987        <rdar://problem/12426681>
2988
2989        Reviewed by Brady Eidson.
2990
2991        * WebCoreSupport/WebFrameLoaderClient.h:
2992        (WebFrameLoaderClient::recreatePlugin): Stub implementation of recreatePlugin().
2993
29942012-10-10  Brady Eidson  <beidson@apple.com>
2995
2996        Switch CachedResource over from SharedBuffer to a new ResourceBuffer
2997        https://bugs.webkit.org/show_bug.cgi?id=98541
2998
2999        Reviewed by Anders Carlsson.
3000
3001        * WebDataSource.cpp:
3002        (WebDataSource::subresourceForURL):
3003
30042012-10-08  Simon Fraser  <simon.fraser@apple.com>
3005
3006        Some GraphicsLayer cleanup to separate the concepts of using a tile cache, and being the main tile cache layer
3007        https://bugs.webkit.org/show_bug.cgi?id=98574
3008
3009        Reviewed by Dean Jackson.
3010
3011        GraphicsLayerCA assumed that using a TileCache equated to being the main page tile
3012        cache layer, which has some special considerations. Make these two concepts separate
3013        to get closer to being able to use TileCaches in place of CATiledLayer.
3014
3015        * FullscreenVideoController.cpp:
3016        (FullscreenVideoController::LayerClient::platformCALayerShowRepaintCounter):
3017
30182012-10-07  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
3019
3020        Rename first/second to key/value in HashMap iterators
3021        https://bugs.webkit.org/show_bug.cgi?id=82784
3022
3023        Reviewed by Eric Seidel.
3024
3025        * COMPropertyBag.h:
3026        (::Read):
3027        (::GetPropertyInfo):
3028        * WebCoreStatistics.cpp:
3029        (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
3030        * WebCoreSupport/WebPlatformStrategies.cpp:
3031        (WebPlatformStrategies::getPluginInfo):
3032        * WebHistory.cpp:
3033        (WebHistory::removeItemFromDateCaches):
3034        * WebKitCOMAPI.cpp:
3035        (classFactory):
3036        * WebKitStatistics.cpp:
3037        (WebKitStatistics::comClassNameCounts):
3038        * WebNotificationCenter.cpp:
3039        (WebNotificationCenter::postNotificationInternal):
3040        (WebNotificationCenter::addObserver):
3041        (WebNotificationCenter::removeObserver):
3042
30432012-10-04  Simon Fraser  <simon.fraser@apple.com>
3044
3045        Final part of "sync" to "flush" renaming
3046        https://bugs.webkit.org/show_bug.cgi?id=98430
3047
3048        Reviewed by Tim Horton.
3049
3050        Change method names on GraphicsLayer and GraphicsLayerClient that
3051        refer to "sync" to use the term "flush" instead, to be consistent
3052        with the rest of the code.
3053
3054        * WebView.cpp:
3055        (WebView::notifyFlushRequired):
3056        (WebView::flushPendingGraphicsLayerChanges):
3057        * WebView.h:
3058
30592012-10-04  Simon Fraser  <simon.fraser@apple.com>
3060
3061        Standardize on "flush" terminology for compositing layer flushing/syncing
3062        https://bugs.webkit.org/show_bug.cgi?id=98321
3063
3064        Reviewed by Simon Fraser.
3065
3066        Rename compositing-related methods that refer to "syncing" to instead
3067        refer to "flushing".
3068
3069        * WebCoreSupport/WebChromeClient.cpp:
3070        (WebChromeClient::scheduleCompositingLayerFlush):
3071        * WebCoreSupport/WebChromeClient.h:
3072        (WebChromeClient):
3073        * WebView.cpp:
3074        (WebView::flushPendingGraphicsLayerChanges):
3075
30762012-10-02  Anders Carlsson  <andersca@apple.com>
3077
3078        Change most GraphicsLayer::create calls to use the version that takes a GraphicsLayerFactory
3079        https://bugs.webkit.org/show_bug.cgi?id=98217
3080
3081        Reviewed by Andreas Kling.
3082
3083        * WebView.cpp:
3084        (WebView::setAcceleratedCompositing):
3085
30862012-10-01  Brady Eidson  <beidson@apple.com>
3087
3088        Remove the Safari 2 -> Safari 3 icon database import code.
3089        https://bugs.webkit.org/show_bug.cgi?id=98113
3090
3091        Reviewed by Maciej Stachowiak.
3092
3093        Nuke the performImport() IconDatabaseClient method.
3094
3095        * WebIconDatabase.cpp:
3096        * WebIconDatabase.h:
3097        (WebIconDatabase):
3098
30992012-09-25  Beth Dakin  <bdakin@apple.com>
3100
3101        https://bugs.webkit.org/show_bug.cgi?id=95397
3102        Need to merge didFirstVisuallyNonEmptyLayout and 
3103        didNewFirstVisuallyNonEmptyLayout
3104        -and corresponding-
3105        <rdar://problem/10791680>
3106
3107        Reviewed by Sam Weinig.
3108
3109        Remove dispatchDidFirstLayout, 
3110        dispatchDidFirstVisuallyNonEmptyLayout, and 
3111        dispatchDidNewFirstVisuallyNonEmptyLayout. Their functionality 
3112        is now replaced by dispatchDidLayout(LayoutMilestoneOptions)
3113        * WebCoreSupport/WebFrameLoaderClient.cpp:
3114        (WebFrameLoaderClient::dispatchDidLayout):
3115        * WebCoreSupport/WebFrameLoaderClient.h:
3116        (WebFrameLoaderClient):
3117
3118        It is now necessary to opt into getting any of the 
3119        "layout milestone" notifications.
3120        * WebView.cpp:
3121        (WebView::initWithFrame):
3122
31232012-09-19  Patrick Gansterer  <paroga@webkit.org>
3124
3125        [WIN] Use BString in favour of BSTR to improve memory management
3126        https://bugs.webkit.org/show_bug.cgi?id=93128
3127
3128        Reviewed by Anders Carlsson.
3129
3130        BString automatically calls SysFreeString() in its destructor which helps
3131        avoiding memory leaks. So it should be used instead of BSTR directly.
3132        Add operator& to BString to allow its usage for out parameters too (like COMPtr).
3133        This fixes already a few memory leaks in the existing code.
3134
3135        * DefaultPolicyDelegate.cpp:
3136        (DefaultPolicyDelegate::decidePolicyForNavigationAction):
3137        (DefaultPolicyDelegate::decidePolicyForMIMEType):
3138        (DefaultPolicyDelegate::unableToImplementPolicyWithError):
3139        * MarshallingHelpers.cpp:
3140        (MarshallingHelpers::KURLToBSTR):
3141        (MarshallingHelpers::CFStringRefToBSTR):
3142        (MarshallingHelpers::stringArrayToSafeArray):
3143        (MarshallingHelpers::safeArrayToStringArray):
3144        * WebCoreSupport/WebChromeClient.cpp:
3145        (WebChromeClient::runJavaScriptPrompt):
3146        * WebCoreSupport/WebEditorClient.cpp:
3147        (WebEditorClient::checkGrammarOfString):
3148        (WebEditorClient::getGuessesForWord):
3149        * WebFrame.cpp:
3150        (WebFrame::canProvideDocumentSource):
3151        * WebHistory.cpp:
3152        (WebHistory::removeItem):
3153        (WebHistory::addItem):
3154        * WebIconDatabase.cpp:
3155        (WebIconDatabase::startUpIconDatabase):
3156        * WebNotificationCenter.cpp:
3157        (WebNotificationCenter::postNotification):
3158        * WebPreferences.cpp:
3159        (WebPreferences::setStringValue):
3160        * WebView.cpp:
3161        (toAtomicString):
3162        (toString):
3163        (toKURL):
3164        (PreferencesChangedOrRemovedObserver::onNotify):
3165        (WebView::close):
3166        (WebView::canShowMIMEType):
3167        (WebView::initWithFrame):
3168        (WebView::setApplicationNameForUserAgent):
3169        (WebView::setCustomUserAgent):
3170        (WebView::userAgentForURL):
3171        (WebView::setCustomTextEncodingName):
3172        (WebView::customTextEncodingName):
3173        (WebView::setPreferences):
3174        (WebView::searchFor):
3175        (WebView::executeCoreCommandByName):
3176        (WebView::markAllMatchesForText):
3177        (WebView::setGroupName):
3178        (WebView::registerURLSchemeAsLocal):
3179        (WebView::replaceSelectionWithText):
3180        (WebView::onNotify):
3181        (WebView::notifyPreferencesChanged):
3182        (WebView::MIMETypeForExtension):
3183        (WebView::standardUserAgentWithApplicationName):
3184        (WebView::addAdditionalPluginDirectory):
3185        (WebView::registerEmbeddedViewMIMEType):
3186        (WebView::addOriginAccessWhitelistEntry):
3187        (WebView::removeOriginAccessWhitelistEntry):
3188        (WebView::geolocationDidFailWithError):
3189        (WebView::setDomainRelaxationForbiddenForURLScheme):
3190        (WebView::setCompositionForTesting):
3191        (WebView::confirmCompositionForTesting):
3192
31932012-09-17  Sheriff Bot  <webkit.review.bot@gmail.com>
3194
3195        Unreviewed, rolling out r128809.
3196        http://trac.webkit.org/changeset/128809
3197        https://bugs.webkit.org/show_bug.cgi?id=96958
3198
3199        Broke the Windows build. (Requested by andersca on #webkit).
3200
3201        * DefaultPolicyDelegate.cpp:
3202        (DefaultPolicyDelegate::decidePolicyForNavigationAction):
3203        (DefaultPolicyDelegate::decidePolicyForMIMEType):
3204        (DefaultPolicyDelegate::unableToImplementPolicyWithError):
3205        * MarshallingHelpers.cpp:
3206        (MarshallingHelpers::KURLToBSTR):
3207        (MarshallingHelpers::CFStringRefToBSTR):
3208        (MarshallingHelpers::stringArrayToSafeArray):
3209        (MarshallingHelpers::safeArrayToStringArray):
3210        * WebCoreSupport/WebChromeClient.cpp:
3211        (WebChromeClient::runJavaScriptPrompt):
3212        * WebCoreSupport/WebEditorClient.cpp:
3213        (WebEditorClient::checkGrammarOfString):
3214        (WebEditorClient::getGuessesForWord):
3215        * WebFrame.cpp:
3216        (WebFrame::canProvideDocumentSource):
3217        * WebHistory.cpp:
3218        (WebHistory::removeItem):
3219        (WebHistory::addItem):
3220        * WebIconDatabase.cpp:
3221        (WebIconDatabase::startUpIconDatabase):
3222        * WebNotificationCenter.cpp:
3223        (WebNotificationCenter::postNotification):
3224        * WebPreferences.cpp:
3225        (WebPreferences::setStringValue):
3226        * WebView.cpp:
3227        (PreferencesChangedOrRemovedObserver::onNotify):
3228        (WebView::close):
3229        (WebView::canShowMIMEType):
3230        (WebView::initWithFrame):
3231        (WebView::setApplicationNameForUserAgent):
3232        (WebView::setCustomUserAgent):
3233        (WebView::userAgentForURL):
3234        (WebView::setCustomTextEncodingName):
3235        (WebView::customTextEncodingName):
3236        (WebView::setPreferences):
3237        (WebView::searchFor):
3238        (WebView::executeCoreCommandByName):
3239        (WebView::markAllMatchesForText):
3240        (WebView::setGroupName):
3241        (WebView::registerURLSchemeAsLocal):
3242        (WebView::replaceSelectionWithText):
3243        (WebView::onNotify):
3244        (WebView::notifyPreferencesChanged):
3245        (WebView::MIMETypeForExtension):
3246        (WebView::standardUserAgentWithApplicationName):
3247        (WebView::addAdditionalPluginDirectory):
3248        (WebView::registerEmbeddedViewMIMEType):
3249        (toString):
3250        (toKURL):
3251        (WebView::addOriginAccessWhitelistEntry):
3252        (WebView::removeOriginAccessWhitelistEntry):
3253        (WebView::geolocationDidFailWithError):
3254        (WebView::setDomainRelaxationForbiddenForURLScheme):
3255        (WebView::setCompositionForTesting):
3256        (WebView::confirmCompositionForTesting):
3257
32582012-09-16  Mark Lam  <mark.lam@apple.com>
3259
3260        Added MSVC project changes to enable building the llint.
3261        https://bugs.webkit.org/show_bug.cgi?id=96175.
3262
3263        Reviewed by Geoff Garen.
3264
3265        This only adds the ability to build the llint, but currently, only the
3266        C++ backend is supported. By default, the Windows port will remain
3267        running with the baseline JIT.  The llint will not be enabled.
3268
3269        * WebKit.vcproj/WebKit.sln:
3270
32712012-09-13  Brent Fulgham  <bfulgham@webkit.org>
3272
3273        [WinCairo] Unreviewed build fix.
3274
3275        * WebCookieManagerCurl.cpp: Remove unused 'using WebCore'
3276        declaration that prevented the build from completing.
3277
32782012-09-12  Sheriff Bot  <webkit.review.bot@gmail.com>
3279
3280        Unreviewed, rolling out r127876.
3281        http://trac.webkit.org/changeset/127876
3282        https://bugs.webkit.org/show_bug.cgi?id=96600
3283
3284        mouse click doesn't work for spin button if spin button in
3285        iframe (Requested by yosin on #webkit).
3286
3287        * WebActionPropertyBag.cpp:
3288        (WebActionPropertyBag::Read):
3289        * WebView.cpp:
3290        (WebView::handleContextMenuEvent):
3291        (WebView::elementAtPoint):
3292
32932012-09-10  Beth Dakin  <bdakin@apple.com>
3294
3295        https://bugs.webkit.org/show_bug.cgi?id=96158
3296        Need API to suppress scrollbar animations
3297        -and corresponding-
3298        <rdar://problem/12210972>
3299
3300        Reviewed by Sam Weinig.
3301
3302        ScrollableArea::isOnActivePage() has been re-named to
3303        ScrollableArea:: scrollbarsCanBeActive().
3304        * WebScrollBar.cpp:
3305        (WebScrollBar::scrollbarsCanBeActive):
3306        * WebScrollBar.h:
3307        (WebScrollBar):
3308
33092012-09-10  Dominic Mazzoni  <dmazzoni@google.com>
3310
3311        AX: Update Windows port accessible role mappings to fix some tests
3312        https://bugs.webkit.org/show_bug.cgi?id=96219
3313
3314        Reviewed by Chris Fleizach.
3315
3316        Update a bunch of accessible role mappings to fix tests and improve win
3317        accessibility.
3318
3319        * AccessibleBase.cpp:
3320        (MSAARole):
3321
33222012-09-07  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
3323
3324        Simplify hitTestResultAtPoint and nodesFromRect APIs
3325        https://bugs.webkit.org/show_bug.cgi?id=95720
3326
3327        Reviewed by Antonio Gomes.
3328
3329        Update calls to new API.
3330
3331        * WebActionPropertyBag.cpp:
3332        (WebActionPropertyBag::Read):
3333        * WebView.cpp:
3334        (WebView::handleContextMenuEvent):
3335        (WebView::elementAtPoint):
3336
33372012-09-05  Sam Weinig  <sam@webkit.org>
3338
3339        Part 2 of removing PlatformString.h, remove PlatformString.h
3340        https://bugs.webkit.org/show_bug.cgi?id=95931
3341
3342        Reviewed by Adam Barth.
3343
3344        Remove PlatformString.h
3345
3346        * DOMCSSClasses.cpp:
3347        * DefaultPolicyDelegate.cpp:
3348        * MarshallingHelpers.cpp:
3349        * WebCoreSupport/WebInspectorClient.h:
3350        * WebDownload.h:
3351        * WebFrame.h:
3352        * WebHistoryItem.h:
3353        * WebIconDatabase.cpp:
3354        * WebKitDLL.h:
3355        * WebKitGraphics.cpp:
3356        * WebKitSystemBits.cpp:
3357        * WebLocalizableStrings.cpp:
3358        * WebNotificationCenter.cpp:
3359        * WebResource.h:
3360
33612012-09-06  Patrick Gansterer  <paroga@webkit.org>
3362
3363        Remove String::operator+=() from windows platform code
3364        https://bugs.webkit.org/show_bug.cgi?id=95904
3365
3366        Reviewed by Benjamin Poulain.
3367
3368        Use StringBuilder and operator+() to concatenate strings instead of operator+=().
3369
3370        * AccessibleBase.cpp:
3371        (AccessibleBase::get_accKeyboardShortcut):
3372        * WebDownload.cpp:
3373        (WebDownload::bundlePathForTargetPath):
3374        * WebView.cpp:
3375        (imeCompositionArgumentNames):
3376
33772012-09-05  Kaustubh Atrawalkar  <kaustubh@motorola.com>
3378
3379        [DRT] LTC:: Move printing related APIs from LayoutTestController to Internals
3380        https://bugs.webkit.org/show_bug.cgi?id=92735
3381
3382        Reviewed by Hajime Morita.
3383
3384        Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner.
3385        Kept the function defination and declaration to keep binary compatibility for IWebFramePrivate.idl
3386
3387        * WebFrame.cpp:
3388        (WebFrame::numberOfPages):
3389
33902012-08-30  Benjamin Poulain  <bpoulain@apple.com>
3391
3392        Replace JSC::UString by WTF::String
3393        https://bugs.webkit.org/show_bug.cgi?id=95271
3394
3395        Reviewed by Geoffrey Garen.
3396
3397        Replace UString by String.
3398
3399        * WebFrame.cpp:
3400        (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
3401        * WebView.cpp:
3402        (WebView::stringByEvaluatingJavaScriptFromString):
3403
34042012-08-29  Dominic Mazzoni  <dmazzoni@google.com>
3405
3406        AX: Canvas should have a distinct role
3407        https://bugs.webkit.org/show_bug.cgi?id=95248
3408
3409        Reviewed by Chris Fleizach.
3410
3411        Map new CanvasRole to the same as ImageRole.
3412
3413        * AccessibleBase.cpp:
3414        (MSAARole):
3415
34162012-08-29  Sheriff Bot  <webkit.review.bot@gmail.com>
3417
3418        Unreviewed, rolling out r126972.
3419        http://trac.webkit.org/changeset/126972
3420        https://bugs.webkit.org/show_bug.cgi?id=95349
3421
3422        accessibility/canvas-description-and-role.html has been
3423        failing consistently on several bots and Dominic needs some
3424        time to investigate why (Requested by jchaffraix on #webkit).
3425
3426        * AccessibleBase.cpp:
3427        (MSAARole):
3428
34292012-08-29  Dominic Mazzoni  <dmazzoni@google.com>
3430
3431        AX: Canvas should have a distinct role
3432        https://bugs.webkit.org/show_bug.cgi?id=95248
3433
3434        Reviewed by Chris Fleizach.
3435
3436        Map new CanvasRole to the same as ImageRole.
3437
3438        * AccessibleBase.cpp:
3439        (MSAARole):
3440
34412012-08-28  Sheriff Bot  <webkit.review.bot@gmail.com>
3442
3443        Unreviewed, rolling out r126914.
3444        http://trac.webkit.org/changeset/126914
3445        https://bugs.webkit.org/show_bug.cgi?id=95239
3446
3447        it breaks everything and fixes nothing (Requested by pizlo on
3448        #webkit).
3449
3450        * COMPropertyBag.h:
3451        (::Read):
3452        (::GetPropertyInfo):
3453        * WebCoreStatistics.cpp:
3454        (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
3455        * WebCoreSupport/WebPlatformStrategies.cpp:
3456        (WebPlatformStrategies::getPluginInfo):
3457        * WebHistory.cpp:
3458        (WebHistory::removeItemFromDateCaches):
3459        * WebKitCOMAPI.cpp:
3460        (classFactory):
3461        * WebKitStatistics.cpp:
3462        (WebKitStatistics::comClassNameCounts):
3463        * WebNotificationCenter.cpp:
3464        (WebNotificationCenter::postNotificationInternal):
3465        (WebNotificationCenter::addObserver):
3466        (WebNotificationCenter::removeObserver):
3467
34682012-08-28  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
3469
3470        Rename first/second to key/value in HashMap iterators
3471        https://bugs.webkit.org/show_bug.cgi?id=82784
3472
3473        Reviewed by Eric Seidel.
3474
3475        * COMPropertyBag.h:
3476        (::Read):
3477        (::GetPropertyInfo):
3478        * WebCoreStatistics.cpp:
3479        (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
3480        * WebCoreSupport/WebPlatformStrategies.cpp:
3481        (WebPlatformStrategies::getPluginInfo):
3482        * WebHistory.cpp:
3483        (WebHistory::removeItemFromDateCaches):
3484        * WebKitCOMAPI.cpp:
3485        (classFactory):
3486        * WebKitStatistics.cpp:
3487        (WebKitStatistics::comClassNameCounts):
3488        * WebNotificationCenter.cpp:
3489        (WebNotificationCenter::postNotificationInternal):
3490        (WebNotificationCenter::addObserver):
3491        (WebNotificationCenter::removeObserver):
3492
34932012-08-27  Sheriff Bot  <webkit.review.bot@gmail.com>
3494
3495        Unreviewed, rolling out r126836.
3496        http://trac.webkit.org/changeset/126836
3497        https://bugs.webkit.org/show_bug.cgi?id=95163
3498
3499        Broke all Apple ports, EFL, and Qt. (Requested by tkent on
3500        #webkit).
3501
3502        * COMPropertyBag.h:
3503        (::Read):
3504        (::GetPropertyInfo):
3505        * WebCoreStatistics.cpp:
3506        (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
3507        * WebCoreSupport/WebPlatformStrategies.cpp:
3508        (WebPlatformStrategies::getPluginInfo):
3509        * WebHistory.cpp:
3510        (WebHistory::removeItemFromDateCaches):
3511        * WebKitCOMAPI.cpp:
3512        (classFactory):
3513        * WebKitStatistics.cpp:
3514        (WebKitStatistics::comClassNameCounts):
3515        * WebNotificationCenter.cpp:
3516        (WebNotificationCenter::postNotificationInternal):
3517        (WebNotificationCenter::addObserver):
3518        (WebNotificationCenter::removeObserver):
3519
35202012-08-27  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
3521
3522        Rename first/second to key/value in HashMap iterators
3523        https://bugs.webkit.org/show_bug.cgi?id=82784
3524
3525        Reviewed by Eric Seidel.
3526
3527        * COMPropertyBag.h:
3528        (::Read):
3529        (::GetPropertyInfo):
3530        * WebCoreStatistics.cpp:
3531        (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
3532        * WebCoreSupport/WebPlatformStrategies.cpp:
3533        (WebPlatformStrategies::getPluginInfo):
3534        * WebHistory.cpp:
3535        (WebHistory::removeItemFromDateCaches):
3536        * WebKitCOMAPI.cpp:
3537        (classFactory):
3538        * WebKitStatistics.cpp:
3539        (WebKitStatistics::comClassNameCounts):
3540        * WebNotificationCenter.cpp:
3541        (WebNotificationCenter::postNotificationInternal):
3542        (WebNotificationCenter::addObserver):
3543        (WebNotificationCenter::removeObserver):
3544
35452012-08-23  Adrienne Walker  <enne@google.com>
3546
3547        Convert ScrollableArea ASSERT_NOT_REACHED virtuals
3548        https://bugs.webkit.org/show_bug.cgi?id=93306
3549
3550        Reviewed by Darin Adler.
3551
3552        Add implementations where necessary to make derived classes concrete.
3553        Add OVERRIDE for ScrollableArea functions.
3554
3555        * WebScrollBar.cpp:
3556        (WebScrollBar::visibleHeight):
3557        (WebScrollBar::visibleWidth):
3558        (WebScrollBar::contentsSize):
3559        (WebScrollBar::isOnActivePage):
3560        (WebScrollBar::scrollableAreaBoundingBox):
3561        * WebScrollBar.h:
3562        (WebScrollBar):
3563
35642012-08-22  Nikhil Bhargava  <nbhargava@google.com>
3565
3566        Reduce Font.h includes across project -- improves RenderObject.h compile time
3567        https://bugs.webkit.org/show_bug.cgi?id=93629
3568
3569        Reviewed by Eric Seidel.
3570
3571        Adds includes due to change in RenderStyle.h
3572
3573        * DOMCoreClasses.cpp:
3574
35752012-08-15  Ryosuke Niwa  <rniwa@webkit.org>
3576
3577        Update manual tests and comments to refer to TestRunner instead of LayoutTestController
3578        https://bugs.webkit.org/show_bug.cgi?id=94168
3579
3580        Reviewed by Kent Tamura.
3581
3582        * Interfaces/IWebPreferencesPrivate.idl:
3583
35842012-08-14  Adam Barth  <abarth@webkit.org>
3585
3586        Delete Frame::domWindow() and Frame::existingDOMWindow()
3587        https://bugs.webkit.org/show_bug.cgi?id=93990
3588
3589        Reviewed by Eric Seidel.
3590
3591        * WebFrame.cpp:
3592        (WebFrame::DOMWindow):
3593        (WebFrame::pendingFrameUnloadEventCount):
3594
35952012-08-13  Tom Sepez  <tsepez@chromium.org>
3596
3597        [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach.
3598        https://bugs.webkit.org/show_bug.cgi?id=93283
3599
3600        Reviewed by Eric Seidel.
3601
3602        Change the client redirectDataToPlugin method(s) to expect the possibility of
3603        a NULL argument, keeping existing behaviour otherwise.
3604
3605        * WebCoreSupport/WebFrameLoaderClient.cpp:
3606        (WebFrameLoaderClient::redirectDataToPlugin):
3607
36082012-08-05  Patrick Gansterer  <paroga@webkit.org>
3609
3610        [WIN] Use sizeof() for cbWndExtra values
3611        https://bugs.webkit.org/show_bug.cgi?id=93179
3612
3613        Reviewed by Eric Carlson.
3614
3615        Using sizof() instead of hardcoding the pointer size of
3616        the 32bit platform allows us to use the code on 64bit too.
3617
3618        * FullscreenVideoController.cpp:
3619        (FullscreenVideoController::registerHUDWindowClass):
3620        * WebView.cpp:
3621        (WebView::registerWebViewWindowClass):
3622
36232012-07-26  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3624
3625        [Mac] Fix build break on Apple win bot after r123711
3626        https://bugs.webkit.org/show_bug.cgi?id=92354
3627
3628        Reviewed by Adam Barth.
3629
3630        Missing return value.
3631
3632        * WebFrame.cpp:
3633        (WebFrame::pageNumberForElementById):
3634
36352012-07-26  Kaustubh Atrawalkar  <kaustubh@motorola.com>
3636
3637        [DRT] LTC:: pageNumberForElementById() could be moved to Internals
3638        https://bugs.webkit.org/show_bug.cgi?id=92091
3639
3640        Reviewed by Adam Barth.
3641
3642        Moved the pageNumberForElementById from LayoutTestCotroller to Internals and
3643        remove the old platform specific implementations as it exclusively tests WebCore functionality.
3644
3645        * WebFrame.cpp: Added comment for removing the function. Removed implementation.
3646
36472012-07-25  Roger Fong  <roger_fong@apple.com>
3648
3649        Changes to the WebFrame API cause dependent apps to crash.
3650        https://bugs.webkit.org/show_bug.cgi?id=91656
3651        <rdar://problem/11904605>
3652        
3653        Reviewed by Jon Honeycutt.
3654        
3655        Changes to the WebFrame API cause certain apps to crash because of inconsistencies in the COM interface.
3656        The resumeAnimations and suspendAnimations are removed, which are still needed.
3657        The counterValueByElementId method was also removed, although is not needed there.
3658        However, for all of these methods, no method stubs were added where appropriate after removal.
3659        
3660        * Interfaces/IWebFramePrivate.idl:
3661        Added resumeAnimations() and suspendAnimations() methods back in. Added unused method stub for counterValueByElementId method.
3662        
3663        * WebFrame.cpp:
3664        (WebFrame::resumeAnimations):
3665        Added this method back in.
3666        (WebFrame::suspendAnimations):
3667        Added this method back in.
3668        
3669        * WebFrame.h:
3670        (Re)added methods and unused method stubs. 
3671
36722012-07-23  Patrick Gansterer  <paroga@webkit.org>
3673
3674        Build fix if NOMINMAX is defined by the build system.
3675
3676        * COMEnumVariant.h: Added #ifndef NOMINMAX around #define NOMINMAX.
3677        * COMPropertyBag.h: Ditto.
3678
36792012-07-23  Pierre Rossi  <pierre.rossi@gmail.com>
3680
3681        Unify numTouchEventHandlersChanged and needTouchEvents in the chrome client
3682        https://bugs.webkit.org/show_bug.cgi?id=91006
3683
3684        Reviewed by Ryosuke Niwa.
3685
3686        Remove numTouchEventHandlersChanged stub.
3687
3688        * WebCoreSupport/WebChromeClient.h:
3689
36902012-07-17  Vivek Galatage  <vivekgalatage@gmail.com>
3691
3692        Web Inspector: refactor InspectorController::connectFrontend() to accept InspectorFrontendChannel.
3693        https://bugs.webkit.org/show_bug.cgi?id=91196
3694
3695        Reviewed by Pavel Feldman.
3696
3697        Refactoring InspectorClients. InspectorClient::openInspectorFrontend
3698        now returning the InspectorFrontendChannel.
3699
3700        * WebCoreSupport/WebInspectorClient.cpp:
3701        (WebInspectorClient::openInspectorFrontend):
3702        * WebCoreSupport/WebInspectorClient.h:
3703        (WebInspectorClient):
3704
37052012-07-14  Eric Carlson  <eric.carlson@apple.com>
3706
3707        Enable AVCF hardware video decoding
3708        https://bugs.webkit.org/show_bug.cgi?id=90015
3709        <rdar://problem/10770317>
3710
3711        Reviewed by Anders Carlsson.
3712
3713        * WebCoreSupport/WebChromeClient.cpp:
3714        (WebChromeClient::graphicsDeviceAdapter): New, return the view's graphics adapter.
3715        * WebCoreSupport/WebChromeClient.h:
3716        (WebChromeClient):
3717
3718        * WebView.cpp:
3719        (WebView::graphicsDeviceAdapter): New, return the layer tree host's graphics adapter.
3720        * WebView.h:
3721        (WebCore):
3722        (WebView):
3723
37242012-07-10  Adam Barth  <abarth@webkit.org>
3725
3726        WebCore::Settings for Hixie76 WebSocket protocol doesn't do anything and should be removed
3727        https://bugs.webkit.org/show_bug.cgi?id=90910
3728
3729        Reviewed by Eric Seidel.
3730
3731        * WebPreferences.cpp:
3732        (WebPreferences::initializeDefaultSettings):
3733        (WebPreferences::setHixie76WebSocketProtocolEnabled):
3734        (WebPreferences::hixie76WebSocketProtocolEnabled):
3735        * WebView.cpp:
3736        (WebView::notifyPreferencesChanged):
3737
37382012-07-02  Ryosuke Niwa  <rniwa@webkit.org>
3739
3740        Make HTMLCollection RefCounted
3741        https://bugs.webkit.org/show_bug.cgi?id=90414
3742
3743        Reviewed by Sam Weinig.
3744
3745        * DOMHTMLClasses.cpp:
3746        (DOMHTMLDocument::forms):
3747        (DOMHTMLSelectElement::options):
3748
37492012-07-03  Mihai Balan  <mibalan@adobe.com>
3750
3751        [CSS Regions] Enabling regions on Windows lead to crash-on-launch for WebKit.exe
3752        https://bugs.webkit.org/show_bug.cgi?id=90435
3753
3754        Reviewed by Csaba Osztrogonác.
3755
3756        Initial patch for enabling regions led to WebKit crashing on launch. Moving the
3757        IDL declarations for CSS regions getter/setter at the end of the file solves the
3758        problem. As per http://trac.webkit.org/changeset/95650 seems it has to do with
3759        binary compatibility.
3760
3761        * Interfaces/IWebPreferences.idl: Mover getter/setter for CSS regions at the end of file
3762
37632012-07-02  Benjamin Poulain  <bpoulain@apple.com>
3764
3765        Do not do any logging initialization when logging is disabled
3766        https://bugs.webkit.org/show_bug.cgi?id=90228
3767
3768        Reviewed by Simon Fraser.
3769
3770        * WebView.cpp:
3771        (WebView::initWithFrame):
3772
37732012-06-29  Mihai Balan  <mibalan@adobe.com>
3774
3775        [CSS Regions] Adding feature defines for CSS Regions for Windows
3776        https://bugs.webkit.org/show_bug.cgi?id=88645
3777
3778        Reviewed by Tony Chang.
3779
3780        Re-trying to enable CSS regions on Windows. This time only enabling
3781        regions since exclusions lead to some very strange compiling/linking
3782        problems. This time adding preferences code to make sure the settings
3783        get propagated to DRT (previous experiments by abucur showed they
3784        didn't.).
3785
3786        * WebPreferenceKeysPrivate.h: Added preference key for CSS regions
3787        * Interfaces/IWebPreferences.idl: Added getters and setters for CSS regions settings
3788        * WebPreferences.cpp: ditto
3789        (WebPreferences::initializeDefaultSettings):
3790        (WebPreferences::isCSSRegionsEnabled):
3791        (WebPreferences::setCSSRegionsEnabled):
3792        * WebPreferences.h: ditto
3793        (WebPreferences):
3794        * WebView.cpp: Added settings code to handle CSS regions, too
3795        (WebView::notifyPreferencesChanged):
3796
37972012-06-25  Mark Hahnenberg  <mhahnenberg@apple.com>
3798
3799        JSLock should be per-JSGlobalData
3800        https://bugs.webkit.org/show_bug.cgi?id=89123
3801
3802        Reviewed by Geoffrey Garen.
3803
3804        Changed all sites that used JSLock to instead use the new JSLockHolder
3805        and pass in the correct JS context that the code is about to interact with that 
3806        needs protection. Also added a couple JSLocks to places that didn't already 
3807        have it that needed it.
3808
3809        * WebCoreStatistics.cpp:
3810        (WebCoreStatistics::javaScriptObjectsCount):
3811        (WebCoreStatistics::javaScriptGlobalObjectsCount):
3812        (WebCoreStatistics::javaScriptProtectedObjectsCount):
3813        (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
3814        (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
3815        * WebFrame.cpp:
3816        (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
3817        * WebJavaScriptCollector.cpp:
3818        (WebJavaScriptCollector::objectCount):
3819        * WebView.cpp:
3820        (WebView::stringByEvaluatingJavaScriptFromString):
3821        (WebView::reportException):
3822        (WebView::elementFromJS):
3823
38242012-06-23  Sheriff Bot  <webkit.review.bot@gmail.com>
3825
3826        Unreviewed, rolling out r121058.
3827        http://trac.webkit.org/changeset/121058
3828        https://bugs.webkit.org/show_bug.cgi?id=89809
3829
3830        Patch causes plugins tests to crash in GTK debug builds
3831        (Requested by zdobersek on #webkit).
3832
3833        * WebCoreStatistics.cpp:
3834        (WebCoreStatistics::javaScriptObjectsCount):
3835        (WebCoreStatistics::javaScriptGlobalObjectsCount):
3836        (WebCoreStatistics::javaScriptProtectedObjectsCount):
3837        (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
3838        (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
3839        * WebFrame.cpp:
3840        (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
3841        * WebJavaScriptCollector.cpp:
3842        (WebJavaScriptCollector::objectCount):
3843        * WebView.cpp:
3844        (WebView::stringByEvaluatingJavaScriptFromString):
3845        (WebView::reportException):
3846        (WebView::elementFromJS):
3847
38482012-06-20  Mark Hahnenberg  <mhahnenberg@apple.com>
3849
3850        JSLock should be per-JSGlobalData
3851        https://bugs.webkit.org/show_bug.cgi?id=89123
3852
3853        Reviewed by Gavin Barraclough.
3854
3855        Changed all sites that used JSLock to instead use the new JSLockHolder
3856        and pass in the correct JS context that the code is about to interact with that 
3857        needs protection.
3858
3859        * WebCoreStatistics.cpp:
3860        (WebCoreStatistics::javaScriptObjectsCount):
3861        (WebCoreStatistics::javaScriptGlobalObjectsCount):
3862        (WebCoreStatistics::javaScriptProtectedObjectsCount):
3863        (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
3864        (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
3865        * WebFrame.cpp:
3866        (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
3867        * WebJavaScriptCollector.cpp:
3868        (WebJavaScriptCollector::objectCount):
3869        * WebView.cpp:
3870        (WebView::stringByEvaluatingJavaScriptFromString):
3871        (WebView::reportException):
3872        (WebView::elementFromJS):
3873
38742012-06-20  Garret Kelly  <gdk@chromium.org>
3875
3876        Moving cookieEnabled/setCookieEnabled from Page to Settings.
3877        https://bugs.webkit.org/show_bug.cgi?id=89545
3878
3879        Reviewed by Adam Barth.
3880
3881        * WebView.cpp:
3882        (WebView::setCookieEnabled):
3883        (WebView::cookieEnabled):
3884
38852012-06-20  Julien Chaffraix  <jchaffraix@webkit.org>
3886
3887        Use IntSize in RenderLayer to represent scroll offsets
3888        https://bugs.webkit.org/show_bug.cgi?id=89154
3889
3890        Reviewed by Eric Seidel.
3891
3892        * WebView.cpp:
3893        (WebView::gesture):
3894        Updated to pass an IntSize to scrollByRecursively.
3895
38962012-06-11  Kaustubh Atrawalkar  <kaustubh@motorola.com>
3897
3898        [DRT] LTC:: counterValueForElementById() could be moved to Internals.
3899        https://bugs.webkit.org/show_bug.cgi?id=84406
3900
3901        Reviewed by Hajime Morita.
3902
3903        Move the counterValueForElementById from LayoutTestCotroller to Internals and
3904        remove the old platform specific implementations as it exclusively tests WebCore functionality.
3905
3906        * Interfaces/IWebFramePrivate.idl:
3907        * WebFrame.cpp:
3908        * WebFrame.h:
3909
39102012-06-11  Sam Weinig  <sam@webkit.org>
3911
3912        Remove support for disconnected/excluded from search frames, they are not used by Safari anymore
3913        https://bugs.webkit.org/show_bug.cgi?id=88723
3914
3915        Reviewed by Dan Bernstein.
3916
3917        * WebFrame.cpp:
3918        (WebFrame::setIsDisconnected):
3919        (WebFrame::setExcludeFromTextSearch):
3920        Stop doing anything in these functions.
3921
39222012-06-10  Sheriff Bot  <webkit.review.bot@gmail.com>
3923
3924        Unreviewed, rolling out r119955.
3925        http://trac.webkit.org/changeset/119955
3926        https://bugs.webkit.org/show_bug.cgi?id=88758
3927
3928        Breaks Chromium compile - Chromium depends on removed API
3929        (Requested by dominicc on #webkit).
3930
3931        * WebFrame.cpp:
3932        (WebFrame::setIsDisconnected):
3933        (WebFrame::setExcludeFromTextSearch):
3934
39352012-06-10  Sam Weinig  <sam@webkit.org>
3936
3937        Remove support for disconnected/excluded from search frames, they are not used by Safari anymore
3938        https://bugs.webkit.org/show_bug.cgi?id=88723
3939
3940        Reviewed by Dan Bernstein.
3941
3942        * WebFrame.cpp:
3943        (WebFrame::setIsDisconnected):
3944        (WebFrame::setExcludeFromTextSearch):
3945        Stop doing anything in these functions.
3946
39472012-05-31  Hajime Morrita  <morrita@chromium.org>
3948
3949        REGRESSION(r117572): editing/spelling/spellcheck-async-remove-frame.html crashes on Mac
3950        https://bugs.webkit.org/show_bug.cgi?id=86859
3951
3952        Reviewed by Ryosuke Niwa.
3953
3954        * WebCoreSupport/WebEditorClient.h:
3955        (WebEditorClient::requestCheckingOfString):
3956
39572012-05-25  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
3958
3959        WebKitTestRunner needs to support layoutTestController.setJavaScriptProfilingEnabled
3960        https://bugs.webkit.org/show_bug.cgi?id=42328
3961
3962        Reviewed by Eric Seidel.
3963
3964        * WebInspector.cpp:
3965        (WebInspector::setJavaScriptProfilingEnabled):
3966
39672012-05-25  Lynn Neir  <lynn.neir@skype.net>
3968
3969        Added methods needed to implement backend for DRT's TextInputController on windows, https://bugs.webkit.org/show_bug.cgi?id=32021
3970
3971        Reviewed by Eric Seidel.
3972
3973        * Interfaces/IWebViewPrivate.idl:
3974        * WebView.cpp:
3975        (WebView::setCompositionForTesting):
3976        (WebView::hasCompositionForTesting):
3977        (WebView::confirmCompositionForTesting):
3978        (WebView::compositionRangeForTesting):
3979        (WebView::firstRectForCharacterRangeForTesting):
3980        (WebView::selectedRangeForTesting):
3981        * WebView.h:
3982        (WebView):
3983
39842012-05-21  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
3985
3986        Move setEditingBehavior() from layoutTestController to window.internals
3987        https://bugs.webkit.org/show_bug.cgi?id=42689
3988
3989        Reviewed by Hajime Morita and Kenneth Rohde Christiansen.
3990
3991        Remove Win private API to get/set the editing behavior. Follow the previous
3992        removals that keep the virtual functions there but failing.
3993
3994        * Interfaces/IWebPreferences.idl:
3995        * WebPreferenceKeysPrivate.h:
3996        * WebPreferences.cpp:
3997        (WebPreferences::unused5):
3998        (WebPreferences::unused6):
3999        * WebPreferences.h:
4000        (WebPreferences):
4001        * WebView.cpp:
4002        (WebView::notifyPreferencesChanged):
4003
40042012-05-18  MORITA Hajime <morrita@google.com>
4005
4006        Another unreviewed attempt to fix build breakage on r117572.
4007
4008        * WebCoreSupport/WebEditorClient.h:
4009        (WebEditorClient::frameWillDetachPage):
4010
40112012-05-18  MORITA Hajime  <morrita@google.com>
4012
4013        https://bugs.webkit.org/show_bug.cgi?id=85515
4014        Stale frame in WebCore::SpellChecker::didCheckSucceeded
4015
4016        Reviewed by Ryosuke Niwa.
4017
4018        * WebCoreSupport/WebEditorClient.h:
4019        (WebEditorClient::frameWillDetachPage):
4020
40212012-05-17  Hironori Bono  <hbono@chromium.org>
4022
4023        [Refactoring] Move platform-specific code in Editor::respondToChangedSelection to the WebKit layer
4024        https://bugs.webkit.org/show_bug.cgi?id=86591
4025
4026        Reviewed by Ryosuke Niwa.
4027
4028        This change adds a TextCheckerClient::shouldEraseMarkersAfterChangeSelection
4029        function to remove platform-specific code from Editor::respondToChangedSelection
4030        function.
4031
4032        No new tests, no change in behavior.
4033
4034        * WebCoreSupport/WebEditorClient.cpp:
4035        (WebEditorClient::shouldEraseMarkersAfterChangeSelection):
4036        * WebCoreSupport/WebEditorClient.h:
4037        (WebEditorClient):
4038
40392012-05-17  Dan Bernstein  <mitz@apple.com>
4040
4041        REGRESSION (r117428): WebKit API/SPI was removed
4042        https://bugs.webkit.org/show_bug.cgi?id=86748
4043
4044        Reverted r117428.
4045
4046        * Interfaces/IWebViewPrivate.idl:
4047        * WebView.cpp:
4048        (WebView::setDomainRelaxationForbiddenForURLScheme):
4049        * WebView.h:
4050        (WebView):
4051
40522012-05-17  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
4053
4054        Convert setDomainRelaxationForbiddenForURLScheme to use InternalSettings interface
4055        https://bugs.webkit.org/show_bug.cgi?id=86704
4056
4057        Reviewed by Eric Seidel.
4058
4059        Remove setDomainRelaxationForbiddenForURLScheme functions, because it is able to work in the
4060        cross-port way through the InternalSettings interface.
4061
4062        * Interfaces/IWebViewPrivate.idl:
4063        * WebView.cpp:
4064        * WebView.h:
4065        (WebView):
4066
40672012-05-10  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
4068
4069        Move resumeAnimations to use Internals interface
4070        https://bugs.webkit.org/show_bug.cgi?id=86063
4071
4072        Reviewed by Alexey Proskuryakov.
4073
4074        Remove resumeAnimations functions, because it is able to work in the 
4075        cross-port way through the Internals interface.
4076
4077        * Interfaces/IWebFramePrivate.idl:
4078        * WebFrame.cpp:
4079        * WebFrame.h:
4080
40812012-05-10  Anders Carlsson  <andersca@apple.com>
4082
4083        Rename the missing plug-in indicator to the unavailable plug-in indicator
4084        https://bugs.webkit.org/show_bug.cgi?id=86136
4085
4086        Reviewed by Sam Weinig.
4087
4088        * WebCoreSupport/WebChromeClient.cpp:
4089        (WebChromeClient::shouldUnavailablePluginMessageBeButton):
4090        (WebChromeClient::unavailablePluginButtonClicked):
4091        * WebCoreSupport/WebChromeClient.h:
4092        (WebChromeClient):
4093
40942012-05-09  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
4095
4096        Move suspendAnimations to use Internals interface.
4097        https://bugs.webkit.org/show_bug.cgi?id=85986
4098
4099        Reviewed by Ryosuke Niwa.
4100
4101        Remove suspendAnimations functions, because it is able to work in the 
4102        cross-port way through the Internals interface.
4103
4104        * Interfaces/IWebFramePrivate.idl:
4105        * WebFrame.cpp:
4106        * WebFrame.h:
4107
41082012-05-07  Julien Chaffraix  <jchaffraix@webkit.org>
4109
4110        Refactor windowClipRectForLayer to remove the explicit RenderLayer dependency
4111        https://bugs.webkit.org/show_bug.cgi?id=84090
4112
4113        Reviewed by David Hyatt.
4114
4115        * WebCoreSupport/EmbeddedWidget.cpp:
4116        (EmbeddedWidget::windowClipRect):
4117        Updated after windowClipRectForLayer name and signature change.
4118
4119        * WebCoreSupport/EmbeddedWidget.h:
4120        (EmbeddedWidget):
4121        (EmbeddedWidget::EmbeddedWidget):
4122        Updated the internal DOM pointer to be an HTMLPlugInElement
4123        as it was what was passed in anyway. Also fixed some style
4124        issues detected by our tools.
4125
41262012-05-05  Dean Jackson  <dino@apple.com>
4127
4128        Add new Setting/Preference to disable requestAnimationFrame
4129        https://bugs.webkit.org/show_bug.cgi?id=85693
4130
4131        Reviewed by Simon Fraser.
4132
4133        Exposes a new WebPreference: WebKitRequestAnimationFrameEnabled.
4134        The default value is true. The majority of applications will leave
4135        it this way.
4136
4137        * Interfaces/IWebPreferencesPrivate.idl:
4138        * WebPreferenceKeysPrivate.h:
4139        * WebPreferences.cpp:
4140        (WebPreferences::initializeDefaultSettings):
4141        (WebPreferences::setRequestAnimationFrameEnabled):
4142        (WebPreferences::requestAnimationFrameEnabled):
4143        * WebPreferences.h:
4144        (WebPreferences):
4145        * WebView.cpp:
4146        (WebView::notifyPreferencesChanged):
4147
41482012-05-04  Nate Chapin  <japhet@chromium.org>
4149
4150        Don't require FrameLoaderClient to manufacture a commitData() call for empty documents.
4151        https://bugs.webkit.org/show_bug.cgi?id=85533
4152
4153        Reviewed by Alexey Proskuryakov.
4154
4155        * WebCoreSupport/WebFrameLoaderClient.cpp:
4156        (WebFrameLoaderClient::finishedLoading):
4157
41582012-04-27  Jon Lee  <jonlee@apple.com>
4159
4160        Migrate permission functions to Notification from NotificationCenter
4161        https://bugs.webkit.org/show_bug.cgi?id=80485
4162        <rdar://problem/10965458>
4163
4164        Reviewed by Jian Li.
4165
4166        * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
4167        (WebDesktopNotificationsDelegate::requestPermission):
4168        * WebCoreSupport/WebDesktopNotificationsDelegate.h:
4169        (WebDesktopNotificationsDelegate): Add stub implementation of requestPermission.
4170
41712012-04-23  Jon Honeycutt  <jhoneycutt@apple.com>
4172
4173        FrameLoaderClient::dispatchWillSendSubmitEvent() should be given more
4174        information about the form being submitted
4175        https://bugs.webkit.org/show_bug.cgi?id=84297
4176
4177        Reviewed by Andy Estes.
4178
4179        * WebFrame.h:
4180        Fix function stub for new parameter.
4181
41822012-05-01  Ryosuke Niwa  <rniwa@webkit.org>
4183
4184        *Command.h files shouldn't be exported to WebKit layer
4185        https://bugs.webkit.org/show_bug.cgi?id=74778
4186
4187        Reviewed by Eric Seidel.
4188
4189        * WebView.cpp:
4190
41912012-04-20  Emil A Eklund  <eae@chromium.org>
4192
4193        [win] Update windows platform code to use pixel snapped values
4194        https://bugs.webkit.org/show_bug.cgi?id=84283
4195
4196        Reviewed by Eric Seidel.
4197
4198        * AccessibleBase.cpp:
4199        (AccessibleBase::accLocation):
4200
42012012-04-18  Vivek Galatage  <vivekgalatage@gmail.com>
4202
4203        Web Inspector: Disabling Inspector causes build failure on Windows
4204        https://bugs.webkit.org/show_bug.cgi?id=83557
4205
4206        Reviewed by Pavel Feldman.
4207
4208        The calls to inspector APIs are not put under ENABLE(INSPECTOR) guard.
4209        This change brings all such API calls under the guard.
4210
4211        * WebCoreSupport/WebInspectorClient.cpp:
4212        * WebInspector.cpp:
4213        * WebNodeHighlight.cpp:
4214        (WebNodeHighlight::WebNodeHighlight):
4215        (WebNodeHighlight::update):
4216        * WebNodeHighlight.h:
4217        (WebNodeHighlight):
4218        * WebView.cpp:
4219        (WebView::WebView):
4220        (WebView::close):
4221        (WebView::initWithFrame):
4222        (WebView::inspector):
4223        * WebView.h:
4224        (WebView):
4225
42262012-04-11  Sheriff Bot  <webkit.review.bot@gmail.com>
4227
4228        Unreviewed, rolling out r113836.
4229        http://trac.webkit.org/changeset/113836
4230        https://bugs.webkit.org/show_bug.cgi?id=83705
4231
4232        Broke all the WebKit2 inspector tests (Requested by andersca
4233        on #webkit).
4234
4235        * WebCoreSupport/WebInspectorClient.cpp:
4236        (registerWindowClass):
4237        * WebInspector.cpp:
4238        (WebInspector::setTimelineProfilingEnabled):
4239        * WebNodeHighlight.cpp:
4240        (WebNodeHighlight::WebNodeHighlight):
4241        (WebNodeHighlight::update):
4242        * WebNodeHighlight.h:
4243        (WebNodeHighlight):
4244        * WebView.cpp:
4245        (WebView::WebView):
4246        (WebView::close):
4247        (WebView::initWithFrame):
4248        (WebView::inspector):
4249        * WebView.h:
4250        (WebView):
4251
42522012-04-11  Vivek Galatage  <vivekgalatage@gmail.com>
4253
4254        Web Inspector: Disabling Inspector causes build failure on Windows
4255        https://bugs.webkit.org/show_bug.cgi?id=83557
4256
4257        Reviewed by Pavel Feldman.
4258
4259        The calls to inspector APIs are not put under ENABLE(INSPECTOR) guard.
4260        This change brings all such API calls under the guard.
4261        
4262        * WebCoreSupport/WebInspectorClient.cpp:
4263        * WebInspector.cpp:
4264        * WebNodeHighlight.cpp:
4265        (WebNodeHighlight::WebNodeHighlight):
4266        (WebNodeHighlight::update):
4267        * WebNodeHighlight.h:
4268        (WebNodeHighlight):
4269        * WebView.cpp:
4270        (WebView::WebView):
4271        (WebView::close):
4272        (WebView::initWithFrame):
4273        (WebView::inspector):
4274        * WebView.h:
4275        (WebView):
4276
42772012-03-30  Mark Pilgrim  <pilgrim@chromium.org>
4278
4279        GEOLOCATION should be implemented as Page Supplement
4280        https://bugs.webkit.org/show_bug.cgi?id=82228
4281
4282        Reviewed by Adam Barth.
4283
4284        Geolocation is now a Supplement in Page so the interface
4285        has changed for setting up the page's geolocation client
4286        initially and accessing the controller later.
4287
4288        * WebView.cpp:
4289        (WebView::initWithFrame):
4290        (WebView::geolocationDidChangePosition):
4291        (WebView::geolocationDidFailWithError):
4292
42932012-03-29  Sheriff Bot  <webkit.review.bot@gmail.com>
4294
4295        Unreviewed, rolling out r112553.
4296        http://trac.webkit.org/changeset/112553
4297        https://bugs.webkit.org/show_bug.cgi?id=82638
4298
4299        It made all tests crash on Qt WK2 (Requested by Ossy_away on
4300        #webkit).
4301
4302        * WebView.cpp:
4303        (WebView::initWithFrame):
4304        (WebView::geolocationDidChangePosition):
4305        (WebView::geolocationDidFailWithError):
4306
43072012-03-29  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
4308
4309        HashMap<>::add should return a more descriptive object
4310        https://bugs.webkit.org/show_bug.cgi?id=71063
4311
4312        Reviewed by Ryosuke Niwa.
4313
4314        Update code to use AddResult instead of a pair.
4315
4316        * WebKitCOMAPI.cpp:
4317        (classFactory):
4318
43192012-03-29  Mark Pilgrim  <pilgrim@chromium.org>
4320
4321        GEOLOCATION should be implemented as Page Supplement
4322        https://bugs.webkit.org/show_bug.cgi?id=82228
4323
4324        Reviewed by Adam Barth.
4325
4326        Geolocation is now a Supplement in Page so the interface
4327        has changed for setting up the page's geolocation client
4328        initially and accessing the controller later.
4329
4330        * WebView.cpp:
4331        (WebView::initWithFrame):
4332        (WebView::geolocationDidChangePosition):
4333        (WebView::geolocationDidFailWithError):
4334
43352012-03-28  Nate Chapin  <japhet@chromium.org>
4336
4337        Remove dispatchDidLoadMainResource callback, since no
4338        port implements it.
4339        https://bugs.webkit.org/show_bug.cgi?id=82539
4340
4341        Reviewed by Alexey Proskuryakov.
4342
4343        * WebCoreSupport/WebFrameLoaderClient.cpp:
4344        * WebCoreSupport/WebFrameLoaderClient.h:
4345        (WebFrameLoaderClient):
4346
43472012-03-26  Adam Barth  <abarth@webkit.org>
4348
4349        FrameLoader::shouldAllowNavigation uses Frame for context rather than Document
4350        https://bugs.webkit.org/show_bug.cgi?id=81020
4351
4352        Reviewed by Eric Seidel.
4353
4354        Update call site to new function name.
4355
4356        * WebFrame.cpp:
4357        (WebFrame::dispatchWillSubmitForm):
4358
43592012-03-22  Anders Carlsson  <andersca@apple.com>
4360
4361        ASSERT(!needsLayout) in RenderView.cpp when visiting http://www.panic.com/blog/
4362        https://bugs.webkit.org/show_bug.cgi?id=81953
4363        <rdar://problem/11086998>
4364
4365        Reviewed by Sam Weinig.
4366
4367        Update for changes to WebCore.
4368
4369        * FullscreenVideoController.cpp:
4370        (FullscreenVideoController::LayerClient::platformCALayerDidCreateTiles):
4371
43722012-03-20  Steve Falkenburg  <sfalken@apple.com>
4373
4374        Move WTF-related Windows project files out of JavaScriptCore
4375        https://bugs.webkit.org/show_bug.cgi?id=80680
4376
4377        Reviewed by Jessie Berlin.
4378
4379        * WebKit.vcproj/WebKit.sln:
4380
43812012-03-20  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
4382
4383        Convert hasSpellingMarker to use Internals interface.
4384        https://bugs.webkit.org/show_bug.cgi?id=81300
4385
4386        Reviewed by Ryosuke Niwa.
4387
4388        Remove hasSpellingMarker interface support, since it can support in the cross-port
4389        way through the Internals interface.
4390
4391        * Interfaces/IWebFramePrivate.idl:
4392
43932012-03-19  Adam Barth  <abarth@webkit.org>
4394
4395        Remove support for "magic" iframe
4396        https://bugs.webkit.org/show_bug.cgi?id=81590
4397
4398        Reviewed by Eric Seidel.
4399
4400        Remove FrameLoaderClient methods that no longer exist.
4401
4402        * WebCoreSupport/WebFrameLoaderClient.cpp:
4403        * WebCoreSupport/WebFrameLoaderClient.h:
4404        (WebFrameLoaderClient):
4405
44062012-03-19  Anders Carlsson  <andersca@apple.com>
4407
4408        Fix Windows build.
4409
4410        * FullscreenVideoController.cpp:
4411        (FullscreenVideoController::LayerClient::platformCALayerDeviceScaleFactor):
4412
44132012-03-13  Jon Lee  <jonlee@apple.com>
4414
4415        Separate NOTIFICATIONS and LEGACY_NOTIFICATIONS
4416        https://bugs.webkit.org/show_bug.cgi?id=80922
4417        <rdar://problem/11035082>
4418
4419        Reviewed by Jian Li.
4420
4421        You can include either NOTIFICATIONS or LEGACY_NOTIFICATIONS and have a complete API.
4422        LEGACY_NOTIFICATIONS should cover all of the previous functionality, and NOTIFICATIONS will cover the
4423        new API. Therefore, APIs that are common between the two will have:
4424        #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
4425
4426        This patch initially sets both to be exactly the same. As other bugs with patches begin to migrate to
4427        the new API, the defines will begin to split. This allows ports to decide which set of APIs to include.
4428
4429        Update everything to be #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
4430        * WebCoreSupport/WebChromeClient.cpp:
4431        (WebChromeClient::WebChromeClient):
4432        * WebCoreSupport/WebChromeClient.h:
4433        (WebChromeClient):
4434        * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
4435        * WebCoreSupport/WebDesktopNotificationsDelegate.h:
4436
44372012-03-13  Adam Barth  <abarth@webkit.org> && Benjamin Poulain  <bpoulain@apple.com>
4438
4439        Always enable ENABLE(CLIENT_BASED_GEOLOCATION)
4440        https://bugs.webkit.org/show_bug.cgi?id=78853
4441
4442        Reviewed by Adam Barth.
4443
4444        * WebCoreSupport/WebChromeClient.h:
4445        (WebChromeClient):
4446        * WebCoreSupport/WebGeolocationClient.cpp:
4447        (WebGeolocationClient::lastPosition):
4448        * WebGeolocationPosition.cpp:
4449        (WebGeolocationPosition::initWithTimestamp):
4450        (core):
4451        * WebGeolocationPosition.h:
4452        (WebGeolocationPosition):
4453        (WebGeolocationPosition::impl):
4454        * WebView.cpp:
4455        (WebView::initWithFrame):
4456        (WebView::geolocationDidChangePosition):
4457        (WebView::geolocationDidFailWithError):
4458
44592012-03-12  Jessie Berlin  <jberlin@apple.com>
4460
4461        More Windows build fixing.
4462
4463        * MarshallingHelpers.cpp:
4464        * WebDatabaseManager.cpp:
4465
44662012-03-09  Jon Lee  <jonlee@apple.com>
4467
4468        Rename NotificationPresenter to NotificationClient
4469        https://bugs.webkit.org/show_bug.cgi?id=80488
4470        <rdar://problem/10965558>
4471
4472        Reviewed by Kentaro Hara.
4473
4474        Refactor to use renamed WebCore::NotificationClient.
4475        * WebCoreSupport/WebChromeClient.h:
4476        (WebChromeClient::notificationPresenter):
4477        * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
4478        (WebDesktopNotificationsDelegate::checkPermission):
4479        * WebCoreSupport/WebDesktopNotificationsDelegate.h:
4480        (WebDesktopNotificationsDelegate):
4481
44822012-03-09  Emil A Eklund  <eae@chromium.org>
4483
4484        Add roundedPoint to HitTestResult and change platform code to use it
4485        https://bugs.webkit.org/show_bug.cgi?id=80715
4486
4487        Reviewed by James Robinson.
4488
4489        Change ports to use roundedPoint to avoid exposing subpixel types to
4490        platform code.
4491
4492        * WebView.cpp:
4493        (WebView::handleContextMenuEvent):
4494
44952012-03-08  Steve Falkenburg  <sfalken@apple.com>
4496
4497        Separate WTF parts of JavaScriptCoreGenerated into WTFGenerated for Windows build
4498        https://bugs.webkit.org/show_bug.cgi?id=80657
4499
4500        Preparation for WTF separation from JavaScriptCore.
4501        The "Generated" vcproj files on Windows are necessary so Visual Studio can calculate correct
4502        dependencies for generated files.
4503
4504        Reviewed by Jessie Berlin.
4505
4506        * WebKit.vcproj/WebKit.sln: Add WTFGenerated, update dependent projects.
4507
45082012-03-03  Benjamin Poulain  <benjamin@webkit.org>
4509
4510        Remove the redundant method KURL::protocolInHTTPFamily()
4511        https://bugs.webkit.org/show_bug.cgi?id=80216
4512
4513        Reviewed by Anders Carlsson.
4514
4515        * WebCoreSupport/WebFrameLoaderClient.cpp:
4516        (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
4517        * WebHistory.cpp:
4518        (WebHistory::visitedURL):
4519
45202012-02-26  Hajime Morrita  <morrita@chromium.org>
4521
4522        Move ChromeClient::showContextMenu() to ContextMenuClient
4523        https://bugs.webkit.org/show_bug.cgi?id=79427
4524
4525        Reviewed by Adam Barth.
4526
4527        * WebCoreSupport/WebChromeClient.h:
4528        (WebChromeClient):
4529
45302012-02-24  Shinya Kawanaka  <shinyak@chromium.org>
4531
4532        SpellCheckRequest needs to know the context where the spellcheck happened.
4533        https://bugs.webkit.org/show_bug.cgi?id=79320
4534
4535        Reviewed by Hajime Morita.
4536
4537        * WebCoreSupport/WebEditorClient.h:
4538        (WebEditorClient::requestCheckingOfString):
4539        (WebEditorClient):
4540
45412012-02-21  Ryosuke Niwa  <rniwa@webkit.org>
4542
4543        Remove the remaining uses of CSSStyleDeclaration in Editor
4544        https://bugs.webkit.org/show_bug.cgi?id=78939
4545
4546        Reviewed by Enrica Casucci.
4547
4548        * WebCoreSupport/WebEditorClient.cpp:
4549        (WebEditorClient::shouldApplyStyle):
4550        * WebCoreSupport/WebEditorClient.h:
4551        (WebEditorClient):
4552
45532012-02-22  Ryosuke Niwa  <rniwa@webkit.org>
4554
4555        Remove the remaining uses of CSSStyleDeclaration in Editor
4556        https://bugs.webkit.org/show_bug.cgi?id=78939
4557
4558        Reviewed by Enrica Casucci.
4559
4560        * WebCoreSupport/WebEditorClient.cpp:
4561        (WebEditorClient::shouldApplyStyle):
4562        * WebCoreSupport/WebEditorClient.h:
4563        (WebEditorClient):
4564
45652012-02-17  Kalev Lember  <kalevlember@gmail.com>
4566
4567        Remove unused parameters from WTF threading API
4568        https://bugs.webkit.org/show_bug.cgi?id=78389
4569
4570        Reviewed by Adam Roben.
4571
4572        waitForThreadCompletion() had an out param 'void **result' to get the
4573        'void *' returned by ThreadFunction. However, the implementation in
4574        ThreadingWin.cpp ignored the out param, not filling it in. This had
4575        led to a situation where none of the client code made use of the param
4576        and just ignored it.
4577
4578        To clean this up, the patch changes the signature of ThreadFunction to
4579        return void instead of void* and drops the the unused 'void **result'
4580        parameter from waitForThreadCompletion. Also, all client code is
4581        updated for the API change.
4582
4583        As mentioned in https://bugs.webkit.org/show_bug.cgi?id=78389 , even
4584        though the change only affects internal API, Safari is using it
4585        directly and we'll need to keep the old versions around for ABI
4586        compatibility. For this, the patch adds compatibility wrappers with
4587        the old ABI.
4588
4589        * WebKit.vcproj/WebKit_Cairo.def: Add the new functions.
4590        * WebKit.vcproj/WebKit_Cairo_debug.def: Ditto.
4591
45922012-02-15  Sadrul Habib Chowdhury  <sadrul@chromium.org>
4593
4594        Notify ChromeClient when touch-event handlers are installed/removed.
4595        https://bugs.webkit.org/show_bug.cgi?id=77440
4596
4597        Reviewed by Darin Fisher and Ryosuke Niwa.
4598
4599        * WebCoreSupport/WebChromeClient.h:
4600        (WebChromeClient::numTouchEventHandlersChanged):
4601
46022012-02-14  Alexey Proskuryakov  <ap@apple.com>
4603
4604        [Mac][Win][WK2] Switch to RFC 6455 protocol for WebSockets
4605        https://bugs.webkit.org/show_bug.cgi?id=78541
4606        <rdar://problem/10036695>
4607
4608        Reviewed by Kent Tamura.
4609
4610        * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): Changed default value of
4611        the preference
4612
46132012-02-11  Nikolas Zimmermann  <nzimmermann@rim.com>
4614
4615        Convert svg/animations to use SMIL methods for driving the timeline
4616        https://bugs.webkit.org/show_bug.cgi?id=78422
4617
4618        Reviewed by Dirk Schulze.
4619
4620        Remove SVG animation sampling functionality provided for DRT, which no longer uses it.
4621        Instead we switched the svg/animations tests to use SVGSVGElement.setCurrentTime.
4622
4623        * Interfaces/IWebFramePrivate.idl:
4624        * WebFrame.cpp:
4625        * WebFrame.h:
4626
46272012-02-13  Andy Estes  <aestes@apple.com>
4628
4629        Fix the Windows build.
4630
4631        * WebCoreSupport/WebPlatformStrategies.cpp:
4632        (WebPlatformStrategies::createPasteboardStrategy):
4633        * WebCoreSupport/WebPlatformStrategies.h:
4634        (WebPlatformStrategies):
4635
46362012-02-12  Andy Estes  <aestes@apple.com>
4637
4638        [Windows] Add API to enable inverted color drawing on a WebView
4639        https://bugs.webkit.org/show_bug.cgi?id=77382
4640
4641        Reviewed by Adam Roben.
4642
4643        Add a new private WebPreference key called "WebKitShouldInvertColors"
4644        and add private cover methods to get and set the preference. When this
4645        preference changes on a WebPreference object, all WebViews listening to
4646        that object will repaint to reflect the new value.
4647
4648        * Interfaces/IWebPreferencesPrivate.idl: Add [setS|s]houldInvertColors()
4649        cover methods for WebKitShouldInvertColorsPreferenceKey.
4650        * WebPreferenceKeysPrivate.h: Add WebKitShouldInvertColorsPreferenceKey.
4651        * WebPreferences.cpp:
4652        (WebPreferences::shouldInvertColors):
4653        (WebPreferences::setShouldInvertColors):
4654        * WebPreferences.h:
4655        (WebPreferences):
4656        * WebView.cpp:
4657        (WebView::setShouldInvertColors): If m_shouldInvertColors changes,
4658        update the value on the WebView and in m_layerTreeHost, then repaint
4659        the view.
4660        (WebView::notifyPreferencesChanged):
4661        (WebView::setAcceleratedCompositing): When creating a new layer tree
4662        host, tell it whether it should be inverting colors.
4663        * WebView.h:
4664
46652012-02-07  MORITA Hajime  <morrita@google.com>
4666
4667        Replacement text should be available from the marker.
4668        https://bugs.webkit.org/show_bug.cgi?id=77934
4669
4670        Reviewed by Kent Tamura.
4671
4672        * WebKit.vcproj/WebKit_Cairo.def:
4673        * WebKit.vcproj/WebKit_Cairo_debug.def:
4674
46752012-02-02  Jon Lee  <jonlee@apple.com>
4676
4677        Clear shown notifications when context is no longer active
4678        https://bugs.webkit.org/show_bug.cgi?id=77363
4679        <rdar://problem/10568907>
4680
4681        Reviewed by Darin Adler.
4682
4683        * WebCoreSupport/WebDesktopNotificationsDelegate.h:
4684        (WebDesktopNotificationsDelegate): Add previously missing virtual functions.
4685        * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
4686        (WebDesktopNotificationsDelegate::notificationControllerDestroyed):
4687        (WebDesktopNotificationsDelegate::cancelRequestsForPermission):
4688
46892012-02-01  Anders Carlsson  <andersca@apple.com>
4690
4691        Another attempt to fix the Windows build.
4692
4693        * FullscreenVideoController.cpp:
4694        (FullscreenVideoController::LayerClient::platformCALayerDidCreateTiles):
4695
46962012-01-26  Andy Estes  <aestes@apple.com>
4697
4698        [Windows] Optionally invert colors when drawing to a WebView's backing store.
4699        https://bugs.webkit.org/show_bug.cgi?id=77168
4700
4701        Reviewed by Sam Weinig.
4702
4703        * WebView.cpp:
4704        (WebView::WebView): Initialize m_shouldInvertColors to false.
4705        (WebView::paintIntoBackingStore): If m_shouldInvertColors is true, draw
4706        an opaque white quad using the CompositeDifference blend mode. This
4707        blend operation instructs CoreGraphics to take the difference between
4708        the source pixel (white) and the background pixel, resulting in an
4709        inverted pixel.
4710        * WebView.h: Define m_shouldInvertColors.
4711
47122012-01-23  Simon Fraser  <simon.fraser@apple.com>
4713
4714        Show layer borders for scrollbar layers
4715        https://bugs.webkit.org/show_bug.cgi?id=76888
4716
4717        Reviewed by Beth Dakin.
4718
4719        Update for new signature of GraphicsLayerClient::showDebugBorders()
4720        and GraphicsLayerClient::showRepaintCounter().
4721
4722        * WebView.cpp:
4723        (WebView::showDebugBorders):
4724        (WebView::showRepaintCounter):
4725        * WebView.h:
4726
47272012-01-23  David Levin  <levin@chromium.org>
4728
4729        [windows] Convert usages of GetDC to HWndDC Part 2.
4730        https://bugs.webkit.org/show_bug.cgi?id=76750
4731
4732        Reviewed by Adam Roben.
4733
4734        * FullscreenVideoController.cpp:
4735        (createCompatibleDCForWindow): Moved out the code which creates a DC for a window
4736        to keep the same scope for the DC lifetime.
4737        (FullscreenVideoController::draw):  Switch to using OwnPtr<HDC>
4738        since createCompatibleDCForWindow returns a PassOwnPtr.
4739        * WebNodeHighlight.cpp:
4740        (WebNodeHighlight::update): 
4741          Cleaned up leaks from calling GetDC without release.
4742          Note that there is a potential leak of hdc that previously existed
4743          and still does in an early exit scenario. (This could be easily fixed
4744          by using OwnPtr<HDC> but I was trying to keep this patch focused.)
4745        * WebView.cpp:
4746        (WebView::scrollBackingStore): Typical conversion.
4747        (WebView::updateBackingStore): Reduced the scope of windowDC to be
4748        right where it is being used.
4749        (WebView::performLayeredWindowUpdate): Typical conversion.
4750        (WebView::paintIntoBackingStore): Ditto.
4751
47522012-01-23  David Levin  <levin@chromium.org>
4753
4754        [windows] Convert usages of GetDC to HWndDC Part 1.
4755        https://bugs.webkit.org/show_bug.cgi?id=76744
4756
4757        Reviewed by Adam Roben.
4758
4759        * WebIconDatabase.cpp:
4760        (createDIB): Changed GetDC to HWndDC and removed ReleaseDC.
4761
47622012-01-07  Andreas Kling  <awesomekling@apple.com>
4763
4764        Windows build fix.
4765
4766        * DOMHTMLClasses.cpp:
4767        (DOMHTMLDocument::forms):
4768        (DOMHTMLSelectElement::options):
4769
47702012-01-06  Jessie Berlin  <jberlin@apple.com>
4771
4772        Windows build fix.
4773
4774        * Interfaces/IWebViewPrivate.idl:
4775
47762012-01-05  Adam Roben  <aroben@apple.com>
4777
4778        Add WebKitTestRunnerLauncher to WebKit.sln.
4779
4780        It builds just after WebKitTestRunner.
4781
4782        Part of <http://webkit.org/b/75486> <rdar://problem/10638124> NRWT fails to launch Apple's
4783        Windows port of DumpRenderTree/WebKitTestRunner
4784
4785        Reviewed by Steve Falkenburg.
4786
4787        * WebKit.vcproj/WebKit.sln:
4788
47892012-01-05  Adam Roben  <aroben@apple.com>
4790
4791        Add DumpRenderTreeLauncher to WebKit.sln.
4792
4793        It builds just after DumpRenderTree.
4794
4795        Part of <http://webkit.org/b/75486> <rdar://problem/10638124> NRWT fails to launch Apple's
4796        Windows port of DumpRenderTree/WebKitTestRunner
4797
4798        Reviewed by Steve Falkenburg.
4799
4800        * WebKit.vcproj/WebKit.sln:
4801
48022012-01-04  Adam Roben  <aroben@apple.com>
4803
4804        Add ImageDiffLauncher to WebKit.sln
4805
4806        It builds just after ImageDiff.
4807
4808        Part of <http://webkit.org/b/75572> ImageDiff.exe can't be run without first munging PATH
4809
4810        Reviewed by Anders Carlsson.
4811
4812        * WebKit.vcproj/WebKit.sln:
4813
48142012-01-04  Adam Roben  <aroben@apple.com>
4815
4816        Add MiniBrowserLauncher to WebKit.sln
4817
4818        It builds just after MiniBrowser.
4819
4820        Part of <http://webkit.org/b/68576> <rdar://problem/10163853> MiniBrowser fails to launch
4821        when double-clicked
4822
4823        Reviewed by Anders Carlsson.
4824
4825        * WebKit.vcproj/WebKit.sln: Added MiniBrowserLauncher.
4826
48272012-01-04  Adam Roben  <aroben@apple.com>
4828
4829        Add WinLauncherLauncher to WebKit.sln
4830
4831        It builds just after WinLauncher.
4832
4833        Part of <http://webkit.org/b/68578> <rdar://problem/10163861> WinLauncher fails to launch
4834        when double-clicked
4835
4836        Reviewed by Anders Carlsson.
4837
4838        * WebKit.vcproj/WebKit.sln: Added WinLauncherLauncher.
4839
48402011-12-21  Jessie Berlin  <jberlin@apple.com>
4841
4842        Expose to Windows the way to allow a scheme access to Local Storage and Databases while
4843        Private Browsing is enabled.
4844        https://bugs.webkit.org/show_bug.cgi?id=75056
4845
4846        Reviewed by Sam Weinig.
4847
4848        Add the Windows WebKit API that corresponds to the Mac one added in r99439.
4849
4850        * WebView.cpp:
4851        (WebView::registerURLSchemeAsSecure):
4852        (WebView::registerURLSchemeAsAllowingLocalStorageAccessInPrivateBrowsing):
4853        (WebView::registerURLSchemeAsAllowingDatabaseAccessInPrivateBrowsing):
4854        * WebView.h:
4855
48562011-12-20  Pavel Feldman  <pavel.feldman@gmail.com>
4857
4858        Web Inspector: reproducible crash after closing web inspector and browser window  (iCab)
4859        https://bugs.webkit.org/show_bug.cgi?id=74255
4860
4861        Reviewed by Yury Semikhatsky.
4862
4863        * WebCoreSupport/WebInspectorClient.cpp:
4864        (WebInspectorClient::~WebInspectorClient):
4865        (WebInspectorFrontendClient::destroyInspectorView):
4866        * WebCoreSupport/WebInspectorClient.h:
4867
48682011-12-19  Sam Weinig  <sam@webkit.org>
4869
4870        More PlatformEvent cleanup
4871        https://bugs.webkit.org/show_bug.cgi?id=74831
4872
4873        Reviewed by Dan Bernstein.
4874
4875        * WebView.cpp:
4876        (WebView::handleMouseEvent):
4877        Update to use new names, access style.
4878
48792011-12-16  Ryosuke Niwa  <rniwa@webkit.org>
4880
4881        Rename registerCommandFor(Undo|Redo) to register(Undo|Redo)Step
4882        https://bugs.webkit.org/show_bug.cgi?id=74748
4883
4884        Reviewed by Eric Seidel.
4885
4886        * WebCoreSupport/WebEditorClient.cpp:
4887        (WebEditorClient::registerUndoStep):
4888        (WebEditorClient::registerRedoStep):
4889        * WebCoreSupport/WebEditorClient.h:
4890
48912011-12-16  Sam Weinig  <sam@webkit.org>
4892
4893        Give PlatformEvents a base class
4894        https://bugs.webkit.org/show_bug.cgi?id=74685
4895
4896        Reviewed by Anders Carlsson.
4897
4898        Add a base class for PlatformMouseEvent, PlatformKeyboardEvent, PlatformWheelEvent
4899        and PlatformGestureEvent and move Type enumeration and modifiers down to it.
4900
4901        * AccessibleBase.cpp:
4902        (AccessibleBase::get_accKeyboardShortcut):
4903        * WebDropSource.cpp:
4904        (generateMouseEvent):
4905        * WebView.cpp:
4906        (WebView::keyUp):
4907        (WebView::handleEditingKeyboardEvent):
4908        (WebView::keyDown):
4909        (WebView::keyPress):
4910
49112011-12-16  Ryosuke Niwa  <rniwa@webkit.org>
4912
4913        Only EditCommandComposition should implement unapply and reapply
4914        https://bugs.webkit.org/show_bug.cgi?id=74490
4915
4916        Reviewed by Eric Seidel.
4917
4918        * WebCoreSupport/WebEditorClient.cpp:
4919        (WebEditorUndoCommand::WebEditorUndoCommand):
4920        (WebEditorUndoCommand::execute):
4921        (WebEditorClient::registerCommandForUndo):
4922        (WebEditorClient::registerCommandForRedo):
4923        * WebCoreSupport/WebEditorClient.h:
4924
49252011-12-14  Jing Zhao  <jingzhao@chromium.org>
4926
4927        Opening two popup menus by dispatchEvent() makes problems.
4928        https://bugs.webkit.org/show_bug.cgi?id=73304
4929
4930        Reviewed by Kent Tamura.
4931
4932        * WebCoreSupport/WebChromeClient.cpp:
4933        (WebChromeClient::hasOpenedPopup): Not implemented.
4934        * WebCoreSupport/WebChromeClient.h: Overrides hasOpenedPopup().
4935
49362011-12-14  Sam Weinig  <weinig@apple.com>
4937
4938        Remove whitespace from InheritedPropertySheets attributes in
4939        vsprops files to appease the Visual Studio project migrator.
4940
4941        Reviewed by Adam Roben.
4942
4943        * WebKit.vcproj/InterfacesDebug.vsprops:
4944        * WebKit.vcproj/InterfacesDebugAll.vsprops:
4945        * WebKit.vcproj/InterfacesDebugCairoCFLite.vsprops:
4946        * WebKit.vcproj/InterfacesProduction.vsprops:
4947        * WebKit.vcproj/InterfacesRelease.vsprops:
4948        * WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops:
4949        * WebKit.vcproj/WebKitGUIDDebug.vsprops:
4950        * WebKit.vcproj/WebKitGUIDDebugAll.vsprops:
4951        * WebKit.vcproj/WebKitGUIDDebugCairoCFLite.vsprops:
4952        * WebKit.vcproj/WebKitGUIDProduction.vsprops:
4953        * WebKit.vcproj/WebKitGUIDRelease.vsprops:
4954        * WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops:
4955        * WebKit.vcproj/WebKitLibDebug.vsprops:
4956        * WebKit.vcproj/WebKitLibDebugAll.vsprops:
4957        * WebKit.vcproj/WebKitLibDebugCairoCFLite.vsprops:
4958        * WebKit.vcproj/WebKitLibProduction.vsprops:
4959        * WebKit.vcproj/WebKitLibRelease.vsprops:
4960        * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops:
4961
49622011-12-07  Mary Wu  <mary.wu@torchmobile.com.cn>
4963
4964        Change function name InitializeLoggingChannelsIfNecessary to follow coding style guideline
4965        https://bugs.webkit.org/show_bug.cgi?id=73986
4966
4967        Reviewed by Kenneth Rohde Christiansen.
4968
4969        * WebView.cpp:
4970        (WebView::initWithFrame):
4971
49722011-12-05  Eric Carlson  <eric.carlson@apple.com>
4973
4974        WebKit/mac part of: Add WebKit preferences for text track settings
4975        https://bugs.webkit.org/show_bug.cgi?id=73721
4976
4977        Reviewed by John Sullivan.
4978
4979        * Interfaces/IWebPreferences.idl: Declare getters and setters for new properties.
4980
4981        * WebPreferenceKeysPrivate.h: Added #define for shouldDisplaySubtitles, shouldDisplayCaptions, 
4982        and shouldDisplayTextDescriptions properties.
4983
4984        * WebPreferences.cpp:
4985        (WebPreferences::setShouldDisplaySubtitles): Added.
4986        (WebPreferences::shouldDisplaySubtitles): Ditto.
4987        (WebPreferences::setShouldDisplayCaptions): Ditto.
4988        (WebPreferences::shouldDisplayCaptions): Ditto.
4989        (WebPreferences::setShouldDisplayTextDescriptions): Ditto.
4990        (WebPreferences::shouldDisplayTextDescriptions): Ditto.
4991        * WebPreferences.h: Declare new methods.
4992
4993        * WebView.cpp:
4994        (WebView::notifyPreferencesChanged): Updates WebCore settings from WebKit prefs.
4995
49962011-12-02  Steve Falkenburg  <sfalken@apple.com>
4997
4998        Reviewed by Darin Adler.
4999
5000        Changes to localStorageDatabasePath don't have any effect on Windows
5001        https://bugs.webkit.org/show_bug.cgi?id=73606
5002        <rdar://problem/10491296>
5003
5004        * WebView.cpp:
5005        (WebView::notifyPreferencesChanged): Propagate local storage path change to m_page's settings.
5006
50072011-11-30  Alexey Proskuryakov  <ap@apple.com>
5008
5009        Remove an unneeded argument from FrameLoaderClient::download
5010        https://bugs.webkit.org/show_bug.cgi?id=73486
5011
5012        Reviewed by Andreas Kling.
5013
5014        * WebFrame.cpp:
5015        (WebFrame::download):
5016        * WebFrame.h:
5017        Updated for the change.
5018
50192011-11-26  Pavel Feldman  <pfeldman@google.com>
5020
5021        Web Inspector: remove disconnectFromBackend from the protocol.
5022        https://bugs.webkit.org/show_bug.cgi?id=73127
5023
5024        Reviewed by Yury Semikhatsky.
5025
5026        * WebCoreSupport/WebInspectorClient.cpp:
5027        (WebInspectorClient::inspectorDestroyed):
5028        (WebInspectorClient::closeInspectorFrontend):
5029        * WebCoreSupport/WebInspectorClient.h:
5030
50312011-11-26  Sheriff Bot  <webkit.review.bot@gmail.com>
5032
5033        Unreviewed, rolling out r101193.
5034        http://trac.webkit.org/changeset/101193
5035        https://bugs.webkit.org/show_bug.cgi?id=73158
5036
5037        Breaks Windows and Qt minimal. (Requested by pfeldman on
5038        #webkit).
5039
5040        * WebCoreSupport/WebInspectorClient.cpp:
5041        (WebInspectorClient::inspectorDestroyed):
5042        (WebInspectorFrontendClient::disconnectFromBackend):
5043        * WebCoreSupport/WebInspectorClient.h:
5044
50452011-11-26  Pavel Feldman  <pfeldman@google.com>
5046
5047        Web Inspector: remove disconnectFromBackend from the protocol.
5048        https://bugs.webkit.org/show_bug.cgi?id=73127
5049
5050        Reviewed by Yury Semikhatsky.
5051
5052        * WebCoreSupport/WebInspectorClient.cpp:
5053        (WebInspectorClient::inspectorDestroyed):
5054        (WebInspectorClient::closeInspectorFrontend):
5055        * WebCoreSupport/WebInspectorClient.h:
5056
50572011-11-22  Pavel Feldman  <pfeldman@google.com>
5058
5059        Web Inspector: remove Inspector::bringToFront from the protocol.
5060        https://bugs.webkit.org/show_bug.cgi?id=72937
5061
5062        Reviewed by Yury Semikhatsky.
5063
5064        * WebCoreSupport/WebInspectorClient.cpp:
5065        (WebInspectorClient::bringFrontendToFront):
5066        * WebCoreSupport/WebInspectorClient.h:
5067
50682011-11-21  Pavel Feldman  <pfeldman@google.com>
5069
5070        Not reviewed: an attempt to fix windows build.
5071
5072        * WebInspector.cpp:
5073        (WebInspector::isJavaScriptProfilingEnabled):
5074        (WebInspector::setJavaScriptProfilingEnabled):
5075
50762011-06-20  Pavel Feldman  <pfeldman@chromium.org>
5077
5078        Web Inspector: introduce InspectorFrontendAPI for actions initiated from the application menu.
5079        https://bugs.webkit.org/show_bug.cgi?id=62985
5080
5081        Both: inspector protocol and WebCore/InspectorController have a number of unnecessary
5082        methods for plumbing the menu action handlers through the WebKit and WebCore.
5083        I intend to remove this menu support from the protocol and WebCore/InspectorController API.
5084        I am starting with exposing the new front-end API in the WebCore and using it in the WebKit/mac port.
5085        WebKit/win and WebKit2 to follow.
5086
5087        Reviewed by Yury Semikhatsky.
5088
5089        * WebInspector.cpp:
5090        (WebInspector::createInstance):
5091        (WebInspector::WebInspector):
5092        (WebInspector::webViewClosed):
5093        (WebInspector::showConsole):
5094        (WebInspector::isDebuggingJavaScript):
5095        (WebInspector::toggleDebuggingJavaScript):
5096        (WebInspector::isProfilingJavaScript):
5097        (WebInspector::toggleProfilingJavaScript):
5098        (WebInspector::isJavaScriptProfilingEnabled):
5099        (WebInspector::setJavaScriptProfilingEnabled):
5100        (WebInspector::isTimelineProfilingEnabled):
5101        (WebInspector::setTimelineProfilingEnabled):
5102        * WebInspector.h:
5103        * WebView.cpp:
5104        (WebView::WebView):
5105        (WebView::close):
5106        (WebView::initWithFrame):
5107        (WebView::inspector):
5108        * WebView.h:
5109
51102011-10-17  Antonio Gomes  <agomes@rim.com>
5111
5112        Pass a Frame* parameter in EditorClient::respondToChangedSelection
5113        https://bugs.webkit.org/show_bug.cgi?id=70248
5114
5115        Reviewed by Ryosuke Niwa.
5116
5117        * WebCoreSupport/WebEditorClient.cpp: Make use of the newly added Frame* parameter.
5118        (WebEditorClient::respondToChangedSelection):
5119        * WebCoreSupport/WebEditorClient.h:
5120
51212011-11-15  Jochen Eisinger  <jochen@chromium.org>
5122
5123        Rename ReferrerPolicy to clarify its meaning
5124        https://bugs.webkit.org/show_bug.cgi?id=72420
5125
5126        Reviewed by Nate Chapin.
5127
5128        * WebCoreSupport/WebContextMenuClient.cpp:
5129        (WebContextMenuClient::searchWithGoogle):
5130
51312011-11-15  Anders Carlsson  <andersca@apple.com>
5132
5133        HostWindow screenToWindow/windowToScreen should be screenToRootView/rootViewToScreen
5134        https://bugs.webkit.org/show_bug.cgi?id=72397
5135
5136        Reviewed by Dan Bernstein.
5137
5138        * WebCoreSupport/WebChromeClient.cpp:
5139        (WebChromeClient::rootViewToScreen):
5140        (WebChromeClient::screenToRootView):
5141        * WebCoreSupport/WebChromeClient.h:
5142
51432011-11-14  Anders Carlsson  <andersca@apple.com>
5144
5145        HostWindow invalidation functions should use root view coordinates
5146        https://bugs.webkit.org/show_bug.cgi?id=72338
5147
5148        Reviewed by Dan Bernstein.
5149
5150        * WebCoreSupport/WebChromeClient.cpp:
5151        (WebChromeClient::invalidateRootView):
5152        (WebChromeClient::invalidateContentsAndRootView):
5153        * WebCoreSupport/WebChromeClient.h:
5154
51552011-11-07  Adam Barth  <abarth@webkit.org>
5156
5157        Move static "policy" state from SecurityOrigin.cpp to SecurityPolicy.cpp
5158        https://bugs.webkit.org/show_bug.cgi?id=71755
5159
5160        Reviewed by Eric Seidel.
5161
5162        * WebView.cpp:
5163        (WebView::addOriginAccessWhitelistEntry):
5164        (WebView::removeOriginAccessWhitelistEntry):
5165        (WebView::resetOriginAccessWhitelists):
5166
51672011-11-07  Adam Barth  <abarth@webkit.org>
5168
5169        Move DomainRelaxationForbidden scheme registry to SchemeRegistry
5170        https://bugs.webkit.org/show_bug.cgi?id=71750
5171
5172        Reviewed by Eric Seidel.
5173
5174        * WebView.cpp:
5175        (WebView::setDomainRelaxationForbiddenForURLScheme):
5176
51772011-11-07  Beth Dakin  <bdakin@apple.com>
5178
5179        https://bugs.webkit.org/show_bug.cgi?id=71490
5180        Support uiStateTransitionProgress for scrollbars
5181        -and corresponding-
5182        <rdar://problem/9849612>
5183
5184        Reviewed by Sam Weinig.
5185
5186        Scrollbar::mouseUp() now takes a PlatformMouseEvent as a parameter.
5187        * WebScrollBar.cpp:
5188        (WebScrollBar::handleMouseEvent):
5189
51902011-11-02  Darin Adler  <darin@apple.com>
5191
5192        Change remaining callers of releaseRef to call leakRef
5193        https://bugs.webkit.org/show_bug.cgi?id=71422
5194
5195        Reviewed by Darin Fisher.
5196
5197        * WebCache.cpp:
5198        (WebCache::statistics):
5199        * WebDatabaseManager.cpp:
5200        (WebDatabaseManager::origins):
5201        (WebDatabaseManager::databasesWithOrigin):
5202        * WebHistoryItem.cpp:
5203        (WebHistoryItem::redirectURLs):
5204        * WebKitClassFactory.cpp:
5205        (leakRefFromCreateInstance):
5206        (WebKitClassFactory::CreateInstance):
5207        * WebScriptWorld.cpp:
5208        (WebScriptWorld::standardWorld):
5209        Use leakRef.
5210
52112011-11-02  Jon Lee  <jonlee@apple.com>
5212
5213        Expand DragController to provide more information about the dragging session
5214        https://bugs.webkit.org/show_bug.cgi?id=71324
5215        <rdar://problem/10379175>
5216
5217        Reviewed by Darin Adler.
5218
5219        * WebView.cpp:
5220        (WebView::DragEnter): Minor refactoring because operation is stored in
5221        new DragSession struct.
5222        (WebView::DragOver): Ditto.
5223
52242011-11-02  Tom Sepez  <tsepez@chromium.org>
5225
5226        XSSAuditor is silent
5227        https://bugs.webkit.org/show_bug.cgi?id=70973
5228
5229        Reviewed by Adam Barth.
5230
5231        * WebCoreSupport/WebFrameLoaderClient.cpp:
5232        (WebFrameLoaderClient::didDetectXSS):
5233        * WebCoreSupport/WebFrameLoaderClient.h:
5234
52352011-10-28  Jochen Eisinger  <jochen@chromium.org>
5236
5237        Rename a number of methods mentioning JavaScript to just Script instead
5238        https://bugs.webkit.org/show_bug.cgi?id=71105
5239
5240        Reviewed by Adam Barth.
5241
5242        * WebFrame.cpp:
5243        (WebFrame::dispatchDidClearWindowObjectInWorld):
5244        * WebView.cpp:
5245        (WebView::notifyPreferencesChanged):
5246
52472011-10-24  Geoffrey Garen  <ggaren@apple.com>
5248
5249        Build fix: removed some cases of threadsafeCopy() that I missed in
5250        my previous patch.
5251
5252        * WebDatabaseManager.cpp:
5253        (DidModifyOriginData::dispatchToMainThread):
5254        * WebDownloadCFNet.cpp:
5255        (WebDownload::initToResumeWithBundle):
5256        * WebIconDatabase.cpp:
5257        (WebIconDatabase::didImportIconURLForPageURL):
5258
52592011-10-24  Ryosuke Niwa  <rniwa@webkit.org>
5260
5261        threadsafeCopy has been renamed to isolatedCopy.
5262
5263        * WebDatabaseManager.cpp:
5264        (DidModifyOriginData::dispatchToMainThread):
5265
52662011-10-24  Adam Barth  <abarth@webkit.org>
5267
5268        Attempt to fix Windows build by updating to the new interface.
5269
5270        * DOMEventsClasses.cpp:
5271        (DOMEvent::createInstance):
5272
52732011-10-18  Adam Barth  <abarth@webkit.org>
5274
5275        Always enable ENABLE(XPATH)
5276        https://bugs.webkit.org/show_bug.cgi?id=70217
5277
5278        Reviewed by Eric Seidel.
5279
5280        * Interfaces/DOMWindow.idl:
5281
52822011-10-14  Julien Chaffraix  <jchaffraix@webkit.org>
5283
5284        Remove layerX / layerY from the Windows API
5285        https://bugs.webkit.org/show_bug.cgi?id=70051
5286
5287        Reviewed by Darin Adler.
5288
5289        Renamed layerX to unused1 and layerY to unused2 to keep the
5290        binary compatibility.
5291
5292        * DOMEventsClasses.cpp:
5293        (DOMUIEvent::unused1):
5294        (DOMUIEvent::unused2):
5295        * DOMEventsClasses.h:
5296        (DOMKeyboardEvent::unused1):
5297        (DOMKeyboardEvent::unused2):
5298        (DOMMouseEvent::unused1):
5299        (DOMMouseEvent::unused2):
5300        (DOMWheelEvent::unused1):
5301        (DOMWheelEvent::unused2):
5302        * Interfaces/DOMEvents.idl:
5303
53042011-10-11  Simon Fraser  <simon.fraser@apple.com>
5305
5306        Make custom scrollbar theme for use in DRT, to reduce pixel diffs between platforms
5307        https://bugs.webkit.org/show_bug.cgi?id=68134
5308
5309        Reviewed by Darin Adler.
5310
5311        Use ScrollbarThemeMock when the setting to use mock scrollbars is enabled.
5312        
5313        Make ScrollbarTheme::nativeTheme() private, and add a new static theme() method
5314        that reads the setting, and returns the mock theme if set. All callers now use
5315        theme() rther than nativeTheme(). Add the new ScrollbarTheme.cpp file to the build.
5316
5317        * WebScrollBar.cpp:
5318        (WebScrollBar::requestedWidth):
5319        (WebScrollBar::requestedHeight):
5320        * WebView.cpp:
5321        (WebView::WebViewWndProc):
5322
53232011-10-03  Anders Carlsson  <andersca@apple.com>
5324
5325        Remove custom scrollbar painting hooks
5326        https://bugs.webkit.org/show_bug.cgi?id=69163
5327
5328        Reviewed by Alexey Proskuryakov.
5329
5330        Remove now unused WebPreferences and ChromeClient overrides.
5331
5332        * Interfaces/IWebPreferences.idl:
5333        * WebCoreSupport/WebChromeClient.cpp:
5334        * WebCoreSupport/WebChromeClient.h:
5335        * WebPreferenceKeysPrivate.h:
5336        * WebPreferences.cpp:
5337        (WebPreferences::unused3):
5338        (WebPreferences::unused4):
5339        * WebPreferences.h:
5340        * WebView.cpp:
5341        (WebView::notifyPreferencesChanged):
5342
53432011-09-23  Adam Roben  <aroben@apple.com>
5344
5345        Remove WebKitAPITest
5346
5347        WebKit part of <http://webkit.org/b/66560> WebKitAPITest and TestWebKitAPI have duplicate
5348        functionality (and names!)
5349
5350        Reviewed by Anders Carlsson.
5351
5352        * WebKit.vcproj/WebKit.sln: Removed WebKitAPITest.vcproj. Changed WebKitLauncherWin, which
5353        formerly depended on WebKitAPITest, to now depend on DumpRenderTree, which WebKitAPITest
5354        depended on.
5355
53562011-09-24  Adam Barth  <abarth@webkit.org>
5357
5358        Always enable ENABLE(OFFLINE_WEB_APPLICATIONS)
5359        https://bugs.webkit.org/show_bug.cgi?id=68767
5360
5361        Reviewed by Eric Seidel.
5362
5363        * WebCoreSupport/WebChromeClient.cpp:
5364        (WebChromeClient::reachedApplicationCacheOriginQuota):
5365        * WebCoreSupport/WebChromeClient.h:
5366
53672011-09-22  Adam Roben  <aroben@apple.com>
5368
5369        Remove FindSafari from all our .sln files
5370
5371        It isn't used anymore, so there's no point in building it.
5372
5373        Part of <http://webkit.org/b/68628> Remove FindSafari
5374
5375        Reviewed by Steve Falkenburg.
5376
5377        * WebKit.vcproj/WebKit.sln: Also relinearized the build order while I was at it.
5378
53792011-09-22  Adam Roben  <aroben@apple.com>
5380
5381        Add testRegExp.vcproj to WebKit.sln
5382
5383        Fixes <http://webkit.org/b/68403> Windows bots don't build testRegExp.vcproj
5384
5385        Reviewed by Brian Weinstein.
5386
5387        * WebKit.vcproj/WebKit.sln: Added testRegExp. Made it build just after jsc, just like it
5388        does when built as part of JavaScriptCore.sln.
5389
53902011-09-21  Steve Falkenburg  <sfalken@apple.com>
5391
5392        Branch builds don't launch on Windows when run against trunk WebKit
5393        https://bugs.webkit.org/show_bug.cgi?id=68546
5394
5395        Reviewed by Darin Adler.
5396
5397        * Interfaces/IWebPreferences.idl: Swap avFoundation and pictographicFontFamily
5398        in IDL for binary compatibility between branch and trunk.
5399
54002011-09-21  Andras Becsi  <andras.becsi@nokia.com>
5401
5402        [Qt] Remove Qt specific code from css/SelectorChecker.cpp
5403        https://bugs.webkit.org/show_bug.cgi?id=67702
5404
5405        Reviewed by Csaba Osztrogonác.
5406
5407        * WebCoreSupport/WebPlatformStrategies.cpp: Modify to match new prototype.
5408        (WebPlatformStrategies::isLinkVisited):
5409        * WebCoreSupport/WebPlatformStrategies.h: Ditto.
5410
54112011-09-17  Mihai Parparita  <mihaip@chromium.org>
5412
5413        FrameLoaderClient BackForwardList-related methods are unsued
5414        https://bugs.webkit.org/show_bug.cgi?id=68293
5415
5416        Reviewed by Darin Adler.
5417
5418        Remove FrameLoaderClient methods that were added by r51629, since only        
5419        the old (since-deleted) Android port needed them.
5420
5421        * WebCoreSupport/WebFrameLoaderClient.cpp:
5422        * WebCoreSupport/WebFrameLoaderClient.h:
5423
54242011-09-15  Adam Barth  <abarth@webkit.org>
5425
5426        Rename ENABLE(DATABASE) to ENABLE(SQL_DATABASE)
5427        https://bugs.webkit.org/show_bug.cgi?id=68205
5428
5429        Reviewed by Eric Seidel.
5430
5431        * ForEachCoClass.h:
5432        * WebCoreSupport/WebChromeClient.cpp:
5433        * WebCoreSupport/WebChromeClient.h:
5434        * WebDatabaseManager.cpp:
5435        * WebDatabaseManager.h:
5436        * WebSecurityOrigin.cpp:
5437        (WebSecurityOrigin::usage):
5438        (WebSecurityOrigin::quota):
5439        (WebSecurityOrigin::setQuota):
5440        * WebView.cpp:
5441        (WebView::initWithFrame):
5442        (WebView::notifyPreferencesChanged):
5443
54442011-09-15  Kentaro Hara  <haraken@google.com>
5445
5446        A single line must not be split into two pages.
5447        https://bugs.webkit.org/show_bug.cgi?id=65005
5448
5449        Reviewed by David Hyatt.
5450
5451        When the document width of a page is overflowed, the last line of the page can be
5452        split into the next page. This is the regression caused by r88737. r88737 tried to
5453        fix rounding errors in rendering calculations by expanding and shrinking a page
5454        using one common method, resizePageRectsKeepingRatio(), but overlooked the case where
5455        a document width gets overflowed.
5456
5457        Test: printing/single-line-must-not-be-split-into-two-pages.html
5458
5459        * WebFrame.cpp:
5460        (WebFrame::setPrinting): Passes an original page size to setPrinting().
5461        (WebFrame::setInPrintingMode): Ditto.
5462        * WebFrame.h:
5463
54642011-09-06  Ryosuke Niwa  <rniwa@webkit.org>
5465
5466        Rename confirmCompositionWithoutDisturbingSelection to cancelComposition
5467        https://bugs.webkit.org/show_bug.cgi?id=67569
5468
5469        Reviewed by Antonio Gomes.
5470
5471        * WebView.cpp:
5472        (WebView::resetIME):
5473
54742011-08-29  Alexey Proskuryakov  <ap@apple.com>
5475
5476        DumpRenderTree should begin each test with an empty cookie store
5477        https://bugs.webkit.org/show_bug.cgi?id=63545
5478        <rdar://problem/5666907>
5479
5480        Reviewed by Darin Adler.
5481
5482        * WebCookieManagerCFNet.cpp:
5483        (WebCookieManager::cookieStorage):
5484        (WebCookieManager::setCookieStorage):
5485        Changed the API to work with new functions in WebCore. It's a bit ugly, because cookieStorage()
5486        returns an unretained reference, which we cannot provide any more, but it should not be a
5487        practical issue.
5488
5489        * WebView.cpp: (updateSharedSettingsFromPreferencesIfNeeded): Updated to use currentCFHTTPCookieStorage()
5490        instead of currentCookieStorage().
5491
54922011-08-30  Kaustubh Atrawalkar  <kaustubh@motorola.com>
5493
5494        The unused ScrollView* argument can and should be removed from
5495        scrollRectIntoView.
5496        https://bugs.webkit.org/show_bug.cgi?id=67117
5497
5498        Reviewed by Darin Adler.
5499
5500        * WebCoreSupport/WebChromeClient.h:
5501        (WebChromeClient::scrollRectIntoView):
5502
55032011-08-29  Ryosuke Niwa  <rniwa@webkit.org>
5504
5505        Move setInnerTextValue from RenderTextControl to HTMLTextFormControlElement
5506        https://bugs.webkit.org/show_bug.cgi?id=67152
5507
5508        Reviewed by Darin Adler.
5509
5510        Updated call sites of lastChangeWasUserEdit since it's moved from RenderTextControl
5511        to HTMLTextFormControlElement.
5512
5513        * DOMHTMLClasses.cpp:
5514        (DOMHTMLInputElement::isUserEdited):
5515        (DOMHTMLTextAreaElement::isUserEdited):
5516
55172011-08-29  Sheriff Bot  <webkit.review.bot@gmail.com>
5518
5519        Unreviewed, rolling out r93987, r93992, r93995, r93998, and
5520        r93999.
5521        http://trac.webkit.org/changeset/93987
5522        http://trac.webkit.org/changeset/93992
5523        http://trac.webkit.org/changeset/93995
5524        http://trac.webkit.org/changeset/93998
5525        http://trac.webkit.org/changeset/93999
5526        https://bugs.webkit.org/show_bug.cgi?id=67147
5527
5528        Many failing tests (Requested by ap on #webkit).
5529
5530        * WebCookieManagerCFNet.cpp:
5531        (WebCookieManager::cookieStorage):
5532        (WebCookieManager::setCookieStorage):
5533        * WebView.cpp:
5534        (updateSharedSettingsFromPreferencesIfNeeded):
5535
55362011-08-29  Alexey Proskuryakov  <ap@apple.com>
5537
5538        Windows build fix.
5539
5540        * WebView.cpp:
5541        (updateSharedSettingsFromPreferencesIfNeeded):
5542        Updated for new function name and signature: currentCFHTTPCookieStorage().
5543
55442011-08-26  Alexey Proskuryakov  <ap@apple.com>
5545
5546        DumpRenderTree should begin each test with an empty cookie store
5547        https://bugs.webkit.org/show_bug.cgi?id=63545
5548        <rdar://problem/5666907>
5549
5550        Reviewed by Darin Adler.
5551
5552        * WebCookieManagerCFNet.cpp:
5553        (WebCookieManager::cookieStorage):
5554        (WebCookieManager::setCookieStorage):
5555        Changed the API to work with new functions in WebCore. It's a bit ugly, because cookieStorage()
5556        returns an unretained reference, which we cannot provide any more, but it should not be a
5557        practical issue.
5558
55592011-08-17  Adam Roben  <aroben@apple.com>
5560
5561        Make WebCore keep track of the current device scale factor
5562
5563        Fixes <http://webkit.org/b/66413> WebCore requires every WebKit port to keep track of the
5564        device scale factor
5565
5566        Reviewed by Darin Adler.
5567
5568        * WebCoreSupport/WebChromeClient.cpp:
5569        * WebCoreSupport/WebChromeClient.h:
5570        Removed deviceScaleFactor.
5571
55722011-08-15  Dmitry Titov  <dimich@chromium.org>
5573
5574        FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters
5575        https://bugs.webkit.org/show_bug.cgi?id=66165
5576
5577        Reviewed by Darin Fisher.
5578
5579        * WebCoreSupport/WebFrameLoaderClient.cpp:
5580        (WebFrameLoaderClient::transferLoadingResourceFromPage):
5581        * WebCoreSupport/WebFrameLoaderClient.h:
5582
55832011-08-15  Adam Roben  <aroben@apple.com>
5584
5585        Touch a file to trigger a Windows build
5586
5587        I'm trying to ferret out some issues with our Debug builder.
5588
5589        * WebView.cpp: Sorted #includes.
5590
55912011-08-10  Adam Roben  <aroben@apple.com>
5592
5593        Clear up scale factor terminology
5594
5595        WebKit by and large deals with two scale factors: one intrinsic to the device on which the
5596        software is running, and one that is per-Page and can be controlled via API calls. This
5597        patch names the former "deviceScaleFactor" and the latter "pageScaleFactor", and makes the
5598        code use those names. It should introduce no behavior changes.
5599
5600        Fixes <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to the
5601        device scale factor
5602
5603        Reviewed by Simon Fraser.
5604
5605        * WebCoreSupport/WebChromeClient.cpp:
5606        * WebCoreSupport/WebChromeClient.h:
5607
56082011-08-13  Dan Bernstein  <mitz@apple.com>
5609
5610        Changed the value of WebKitShowsToolTipOverTruncatedTextPreferenceKey to match the naming everywhere else.
5611
5612        Reviewed by Joseph Pecoraro.
5613
5614        * WebPreferenceKeysPrivate.h:
5615
56162011-08-13  Dan Bernstein  <mitz@apple.com>
5617
5618        Build fix.
5619
5620        * WebView.cpp:
5621        (WebView::notifyPreferencesChanged):
5622
56232011-08-12  Dan Bernstein  <mitz@apple.com>
5624
5625        Add an option to automatically show tooltips (with the full text) over truncated text
5626        https://bugs.webkit.org/show_bug.cgi?id=66178
5627
5628        Reviewed by Simon Fraser.
5629
5630        * Interfaces/IWebPreferencesPrivate.idl: Added accessors.
5631        * WebPreferenceKeysPrivate.h: Defined a preference key.
5632        * WebPreferences.cpp:
5633        (WebPreferences::initializeDefaultSettings): Added a default value of
5634        false for the ShowsToolTipOverTruncatedText preference.
5635        (WebPreferences::showsToolTipOverTruncatedText): Added this getter.
5636        (WebPreferences::setShowsToolTipOverTruncatedText): Added this setter.
5637        * WebPreferences.h:
5638        * WebView.cpp:
5639        (WebView::notifyPreferencesChanged): Added call to Settings::setShowsToolTipOverTruncatedText().
5640
56412011-08-05  Brent Fulgham  <bfulgham@webkit.org>
5642
5643        WebView::performLayeredWindowUpdate() crashes with
5644        NULL pointer when using layered window updates.
5645        https://bugs.webkit.org/show_bug.cgi?id=60618
5646
5647        Reviewed by Adam Roben.
5648
5649        During resize operations, the backing store will be destroyed if
5650        the window's size (either height or width) is set to zero. The
5651        bug was identified when a user first resized a WebView to zero
5652        dimensions, then attempted to perform a MoveWindow. The paint
5653        message triggered by the MoveWindow attempted to use the layered
5654        window update logic, which encountered the nulled backing store.
5655
5656        * WebView.cpp:
5657        (WebView::performLayeredWindowUpdate): Add an early
5658         return when there is no backing store to blend with.
5659
56602011-08-05  Anders Carlsson  <andersca@apple.com>
5661
5662        Remove PluginHalter
5663        https://bugs.webkit.org/show_bug.cgi?id=65729
5664
5665        Reviewed by Darin Adler.
5666
5667        Remove plug-in halter and associated classes.
5668
5669        * Interfaces/IWebPluginHalterDelegate.idl: Removed.
5670        * Interfaces/IWebPreferencesPrivate.idl:
5671        * Interfaces/IWebViewPrivate.idl:
5672        * Interfaces/WebKit.idl:
5673        * WebCoreSupport/WebPluginHalterClient.cpp: Removed.
5674        * WebCoreSupport/WebPluginHalterClient.h: Removed.
5675        * WebKit.vcproj/Interfaces.vcproj:
5676        * WebKit.vcproj/WebKit.vcproj:
5677        * WebPreferenceKeysPrivate.h:
5678        * WebPreferences.cpp:
5679        (WebPreferences::initializeDefaultSettings):
5680        * WebPreferences.h:
5681        * WebView.cpp:
5682        (WebView::close):
5683        (WebView::initWithFrame):
5684        (WebView::notifyPreferencesChanged):
5685        (WebView::unused1):
5686        (WebView::unused2):
5687        (WebView::unused3):
5688        (WebView::unused4):
5689        (WebView::unused5):
5690        * WebView.h:
5691
56922011-08-04  Jeff Miller  <jeffm@apple.com>
5693
5694        Add support for setting and getting whether AVFoundation is enabled to IWebPreferences
5695        https://bugs.webkit.org/show_bug.cgi?id=65718
5696
5697        Reviewed by Adam Roben.
5698
5699        * Interfaces/IWebPreferences.idl: Added setAVFoundationEnabled() and avFoundationEnabled().
5700
5701        * WebPreferenceKeysPrivate.h: Added WebKitAVFoundationEnabledPreferenceKey.
5702
5703        * WebPreferences.cpp:
5704        (WebPreferences::avFoundationEnabled): Added.
5705        (WebPreferences::setAVFoundationEnabled): Added.
5706
5707        * WebPreferences.h: Added setAVFoundationEnabled() and avFoundationEnabled().
5708
5709        * WebView.cpp:
5710        (WebView::notifyPreferencesChanged): Keep settings for AVFoundation being enabled in sync.
5711
57122011-08-03  Kent Tamura  <tkent@chromium.org>
5713
5714        [Windows] Fix build without ENABLE_VIDEO.
5715
5716        * WebView.cpp:
5717        (WebView::enterFullscreenForNode):
5718
57192011-08-03  Kent Tamura  <tkent@chromium.org>
5720
5721        Fix incorrect checks for HTMLMediaElement
5722        https://bugs.webkit.org/show_bug.cgi?id=65590
5723
5724        Reviewed by Dimitri Glazkov.
5725
5726        <video> and <audio> can be an HTMLElement instance instead of
5727        HTMLMediaElement if MediaPlayer::isAvailable() returns false or
5728        the media feature is disabled at runtime.
5729
5730        * WebView.cpp:
5731        (WebView::enterFullscreenForNode):
5732
57332011-08-03  Joseph Pecoraro  <joepeck@webkit.org>
5734
5735        Web Inspector: Remove InspectorFrontendHost load/saveSessionSetting
5736        https://bugs.webkit.org/show_bug.cgi?id=65582
5737
5738        Reviewed by Pavel Feldman.
5739
5740        * WebCoreSupport/WebInspectorClient.cpp:
5741        * WebCoreSupport/WebInspectorClient.h:
5742
57432011-08-03  Adam Roben  <aroben@apple.com>
5744
5745        Windows nightly build fix after r91777
5746
5747        * Interfaces/IWebPreferences.idl: Moved [set]PictographFontFamily to the end of the
5748        interface to maintain binary compatibility with Safari 5.1.
5749
57502011-08-03  Pavel Feldman  <pfeldman@google.com>
5751
5752        Web Inspector: [Timeline] Hover on paint events and see rect outline around that area.
5753        https://bugs.webkit.org/show_bug.cgi?id=65510
5754
5755        Reviewed by Yury Semikhatsky.
5756
5757        * WebNodeHighlight.cpp:
5758        (WebNodeHighlight::update):
5759
57602011-08-03  Pavel Feldman  <pfeldman@chromium.org>
5761
5762        Web Inspector: remove Node parameter from the InspectorClient::highlight
5763        https://bugs.webkit.org/show_bug.cgi?id=65549
5764
5765        Reviewed by Yury Semikhatsky.
5766
5767        * WebCoreSupport/WebInspectorClient.cpp:
5768        (WebInspectorClient::highlight):
5769        * WebCoreSupport/WebInspectorClient.h:
5770
57712011-07-31  Daniel Bates  <dbates@webkit.org>
5772
5773        Attempt to fix the WinCairo Debug build after r92059 (https://bugs.webkit.org/show_bug.cgi?id=65419).
5774
5775        * WebKit.vcproj/WebKit_Cairo.def: Export some symbols.
5776        * WebKit.vcproj/WebKit_Cairo_debug.def: Ditto.
5777
57782011-07-30  Patrick Gansterer  <paroga@webkit.org>
5779
5780        Remove inclusion of MainThread.h from Threading.h
5781        https://bugs.webkit.org/show_bug.cgi?id=65081
5782
5783        Reviewed by Darin Adler.
5784
5785        Add missing include statements for MainThread.
5786
5787        * WebKitClassFactory.cpp:
5788        * WebView.cpp:
5789
57902011-07-26  Sadrul Habib Chowdhury  <sadrul@chromium.org>
5791
5792        Add support for download='filename' attribute in anchors.
5793        https://bugs.webkit.org/show_bug.cgi?id=64580
5794
5795        Reviewed by Adam Barth.
5796
5797        * WebFrame.cpp:
5798        (WebFrame::startDownload):
5799        * WebFrame.h:
5800
58012011-07-26  Dan Bernstein  <mitz@apple.com>
5802
5803        <rdar://problem/9842889> Add a generic pictograph font family
5804        https://bugs.webkit.org/show_bug.cgi?id=65197
5805
5806        Reviewed by Anders Carlsson.
5807
5808        * Interfaces/IWebPreferences.idl: Added pictographFontFamily() and
5809        setPictographFontFamily().
5810        * WebPreferenceKeysPrivate.h: Added WebKitPictographFontPreferenceKey.
5811        * WebPreferences.cpp:
5812        (WebPreferences::initializeDefaultSettings): Initialize the pictograph font
5813        preference to "Times New Roman".
5814        (WebPreferences::pictographFontFamily): Added this getter.
5815        (WebPreferences::setPictographFontFamily): Added this setter.
5816        * WebPreferences.h:
5817        * WebView.cpp:
5818        (WebView::notifyPreferencesChanged): Pass the preference value through to
5819        WebCore.
5820
58212011-07-18  Dean Jackson  <dino@apple.com>
5822
5823        https://bugs.webkit.org/show_bug.cgi?id=64742
5824        Expose WebPreferences for media playback requiring user gestures and inline playback
5825
5826        Reviewed by Simon Fraser.
5827
5828        Two new WebPreferences: MediaPlaybackRequiresUserGesture and
5829        MediaPlaybackAllowsInline.
5830
5831        * Interfaces/IWebPreferencesPrivate.idl:
5832        * WebPreferenceKeysPrivate.h:
5833        * WebPreferences.cpp:
5834        (WebPreferences::initializeDefaultSettings):
5835        (WebPreferences::setMediaPlaybackRequiresUserGesture):
5836        (WebPreferences::mediaPlaybackRequiresUserGesture):
5837        (WebPreferences::setMediaPlaybackAllowsInline):
5838        (WebPreferences::mediaPlaybackAllowsInline):
5839        * WebPreferences.h:
5840        * WebView.cpp:
5841        (WebView::notifyPreferencesChanged):
5842
58432011-07-16  Simon Fraser  <simon.fraser@apple.com>
5844
5845        Add code to attempt to align compositing layers to pixel boundaries when page scale changes
5846        https://bugs.webkit.org/show_bug.cgi?id=64658
5847
5848        Reviewed by Dan Bernstein.
5849
5850        Removed implementations of backingScaleFactor() and pageScaleFactor() now
5851        that GraphicsLayerClient has default implementations.
5852
5853        * WebView.h:
5854
58552011-07-15  Simon Fraser  <simon.fraser@apple.com>
5856
5857        Fix Windows build.
5858        
5859        * WebView.h:
5860        (WebView::backingScaleFactor):
5861        (WebView::pageScaleFactor):
5862
58632011-07-15  Dan Bernstein  <mitz@apple.com>
5864
5865        REGRESSION: Mouse cursor doesn’t hide when full screen video HUD hides
5866        https://bugs.webkit.org/show_bug.cgi?id=64615
5867
5868        Reviewed by Anders Carlsson.
5869
5870        * WebCoreSupport/WebChromeClient.cpp:
5871        (WebChromeClient::setCursorHiddenUntilMouseMoves): Added this stub.
5872        * WebCoreSupport/WebChromeClient.h:
5873
58742011-07-12  Joseph Pecoraro  <joepeck@webkit.org>
5875
5876        ApplicationCache update should not immediately fail when reaching per-origin quota
5877        https://bugs.webkit.org/show_bug.cgi?id=64177
5878
5879        Reviewed by Alexey Proskuryakov.
5880
5881        * WebCoreSupport/WebChromeClient.cpp:
5882        (WebChromeClient::reachedApplicationCacheOriginQuota):
5883        * WebCoreSupport/WebChromeClient.h:
5884
58852011-07-11  Hironori Bono  <hbono@chromium.org>
5886
5887        Reviewed by Adam Roben.
5888
5889        Implement layoutTestController.setTextDirection for WebKit2 and Windows.
5890        https://bugs.webkit.org/show_bug.cgi?id=61931
5891
5892        This change implements layoutTextController.setTextDirection for WebKit2
5893        and Windows so we can run a layout test added by r87770 on them. Each
5894        implementation adds a wrapper function for Editor::setBaseWritingDirection()
5895        so LayoutTestController can call it.
5896
5897        * Interfaces/IWebFramePrivate.idl: Added setTextDirection to allow
5898        LayoutTestController to change the text direction.
5899        * WebFrame.cpp: ditto.
5900        (WebFrame::setTextDirection):
5901        * WebFrame.h: ditto.
5902
59032011-07-08  Chang Shu  <cshu@webkit.org>
5904
5905        Update calling sites after function renamed.
5906        https://bugs.webkit.org/show_bug.cgi?id=59114
5907
5908        Reviewed by Alexey Proskuryakov.
5909
5910        * WebKitGraphics.cpp:
5911        (WebDrawText):
5912
59132011-06-30  Anders Carlsson  <andersca@apple.com>
5914
5915        Reviewed by Dan Bernstein.
5916
5917        More ScrollableArea scaffolding
5918        https://bugs.webkit.org/show_bug.cgi?id=63678
5919
5920        * WebScrollBar.h:
5921        (WebScrollBar::enclosingScrollableArea):
5922        Always return 0, WebScrollbar has no concept of an enclosing scrollable area.
5923
59242011-06-28  Ilya Sherman  <isherman@chromium.org>
5925
5926        Reviewed by Adam Barth.
5927
5928        form.autocomplete="off" does not work
5929        https://bugs.webkit.org/show_bug.cgi?id=35823
5930
5931        * WebFrame.cpp:
5932        (WebFrame::elementDoesAutoComplete): Updated callsite.
5933
59342011-06-27  Brent Fulgham  <bfulgham@webkit.org>
5935
5936        Reviewed by Adam Roben.
5937
5938        Avoid attempt to create a zero-size DIB.
5939        https://bugs.webkit.org/show_bug.cgi?id=63484.
5940
5941        * WebNodeHighlight.cpp:
5942        (WebNodeHighlight::update): Check for zero-height (or zero-width)
5943        region for DIB, and exit early if attempting to create a zero-size
5944        DIB/BITMAP.
5945
59462011-06-24  Dan Bernstein  <mitz@apple.com>
5947
5948        Reviewed by Anders Carlsson.
5949
5950        Add an option to enable legacy rounding hacks
5951        https://bugs.webkit.org/show_bug.cgi?id=63363
5952
5953        * WebKitGraphics.cpp:
5954        (CenterTruncateStringToWidth): Enabled rounding hacks in the string truncator.
5955        (RightTruncateStringToWidth): Ditto.
5956
59572011-06-24  Yuta Kitamura  <yutak@chromium.org>
5958
5959        Reviewed by Adam Barth.
5960
5961        WebSocket: Add run-time flag for new HyBi protocol
5962        https://bugs.webkit.org/show_bug.cgi?id=60348
5963
5964        Make a new flag (Setting::m_useHixie76WebSocketProtocol)
5965        switchable from WebView and WebPreferences.
5966
5967        * Interfaces/IWebPreferencesPrivate.idl:
5968        * WebPreferenceKeysPrivate.h:
5969        * WebPreferences.cpp:
5970        (WebPreferences::initializeDefaultSettings):
5971        (WebPreferences::setHixie76WebSocketProtocolEnabled):
5972        (WebPreferences::hixie76WebSocketProtocolEnabled):
5973        * WebPreferences.h:
5974        * WebView.cpp:
5975        (WebView::notifyPreferencesChanged):
5976
59772011-06-22  Dominic Cooney  <dominicc@chromium.org>
5978
5979        Reviewed by Mark Rowe.
5980
5981        Add window.internals to WebKit2's WebKitTestRunner.
5982        https://bugs.webkit.org/show_bug.cgi?id=61073
5983
5984        * WebKit.vcproj/WebKit.sln: InjectedBundle depends on WebCoreTestSupport
5985
59862011-06-20  Dimitri Glazkov  <dglazkov@chromium.org>
5987
5988        Reviewed by Kent Tamura.
5989
5990        FileChooser should be only created when we need to choose files.
5991        https://bugs.webkit.org/show_bug.cgi?id=63039
5992
5993        * WebCoreSupport/WebChromeClient.cpp:
5994        (WebChromeClient::runOpenPanel): Changed to use settings.
5995
59962011-06-21  Sheriff Bot  <webkit.review.bot@gmail.com>
5997
5998        Unreviewed, rolling out r89354.
5999        http://trac.webkit.org/changeset/89354
6000        https://bugs.webkit.org/show_bug.cgi?id=63099
6001
6002        Broke tests on Mac (Requested by rniwa on #webkit).
6003
6004        * WebCoreSupport/WebInspectorClient.cpp:
6005        (WebInspectorClient::WebInspectorClient):
6006        (WebInspectorClient::openInspectorFrontend):
6007        (WebInspectorFrontendClient::destroyInspectorView):
6008        * WebCoreSupport/WebInspectorClient.h:
6009        * WebInspector.cpp:
6010        (WebInspector::createInstance):
6011        (WebInspector::WebInspector):
6012        (WebInspector::webViewClosed):
6013        (WebInspector::showConsole):
6014        (WebInspector::isDebuggingJavaScript):
6015        (WebInspector::toggleDebuggingJavaScript):
6016        (WebInspector::isProfilingJavaScript):
6017        (WebInspector::toggleProfilingJavaScript):
6018        (WebInspector::isJavaScriptProfilingEnabled):
6019        (WebInspector::setJavaScriptProfilingEnabled):
6020        (WebInspector::isTimelineProfilingEnabled):
6021        (WebInspector::setTimelineProfilingEnabled):
6022        * WebInspector.h:
6023        * WebView.cpp:
6024        (WebView::WebView):
6025        (WebView::close):
6026        (WebView::initWithFrame):
6027        (WebView::inspector):
6028        * WebView.h:
6029
60302011-06-20  Pavel Feldman  <pfeldman@chromium.org>
6031
6032        Reviewed by Yury Semikhatsky.
6033
6034        Web Inspector: introduce InspectorFrontendAPI for actions initiated from the application menu.
6035        https://bugs.webkit.org/show_bug.cgi?id=62985
6036
6037        Both: inspector protocol and WebCore/InspectorController have a number of unnecessary
6038        methods for plumbing the menu action handlers through the WebKit and WebCore.
6039        I intend to remove this menu support from the protocol and WebCore/InspectorController API.
6040        I am starting with exposing the new front-end API in the WebCore and using it in the WebKit/mac port.
6041        WebKit/win and WebKit2 to follow.
6042
6043        * WebInspector.cpp:
6044        (WebInspector::createInstance):
6045        (WebInspector::WebInspector):
6046        (WebInspector::webViewClosed):
6047        (WebInspector::showConsole):
6048        (WebInspector::isDebuggingJavaScript):
6049        (WebInspector::toggleDebuggingJavaScript):
6050        (WebInspector::isProfilingJavaScript):
6051        (WebInspector::toggleProfilingJavaScript):
6052        (WebInspector::isJavaScriptProfilingEnabled):
6053        (WebInspector::setJavaScriptProfilingEnabled):
6054        (WebInspector::isTimelineProfilingEnabled):
6055        (WebInspector::setTimelineProfilingEnabled):
6056        * WebInspector.h:
6057        * WebView.cpp:
6058        (WebView::WebView):
6059        (WebView::close):
6060        (WebView::initWithFrame):
6061        (WebView::inspector):
6062        * WebView.h:
6063
60642011-06-18  Dimitri Glazkov  <dglazkov@chromium.org>
6065
6066        Reviewed by Darin Adler.
6067
6068        Separate concerns of loading file icons and choosing files.
6069        https://bugs.webkit.org/show_bug.cgi?id=62931
6070
6071        * WebCoreSupport/WebChromeClient.cpp:
6072        (WebChromeClient::loadIconForFiles): Renamed.
6073        * WebCoreSupport/WebChromeClient.h:
6074
60752011-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>
6076
6077        Unreviewed, rolling out r89026.
6078        http://trac.webkit.org/changeset/89026
6079        https://bugs.webkit.org/show_bug.cgi?id=62804
6080
6081        These patches were likely correct.  I'll investigate the
6082        browser_test failures. (Requested by abarth on #webkit).
6083
6084        * FullscreenVideoController.cpp:
6085        (FullscreenVideoController::play):
6086        (FullscreenVideoController::pause):
6087
60882011-06-16  Vitaly Repeshko  <vitalyr@chromium.org>
6089
6090        Unreviewed.
6091
6092        Revert Adam's user gesture patch series r89002, r89005, r89007, r89018
6093        https://bugs.webkit.org/show_bug.cgi?id=62796
6094
6095        The patches broke chromium browser tests.
6096
6097        * FullscreenVideoController.cpp:
6098        (FullscreenVideoController::play):
6099        (FullscreenVideoController::pause):
6100
61012011-06-16  Adam Barth  <abarth@webkit.org>
6102
6103        Reviewed by Eric Seidel.
6104
6105        Remove HTMLVideoElement::processingUserGesture
6106        https://bugs.webkit.org/show_bug.cgi?id=62784
6107
6108        * FullscreenVideoController.cpp:
6109        (FullscreenVideoController::play):
6110        (FullscreenVideoController::pause):
6111
61122011-06-13  Kentaro Hara  <haraken@google.com>
6113
6114        Reviewed by Alexey Proskuryakov.
6115
6116        Add resizePageRectsKeepingRatio(), which expands/shrinks a page, keeping the ratio of the original page
6117        https://bugs.webkit.org/show_bug.cgi?id=61256
6118
6119        In order to prevent rounding error caused by expanding/shrinking a page
6120        using different calculation here and there, I added a common calculation
6121        method, resizePageRectsKeepingRatio(), which expands/shrinks a page,
6122        keeping the ratio of width and height of the original page.
6123        WebFrame::setInPrintingMode() uses resizePageRectsKeepingRatio() to
6124        expand/shrink a page.
6125
6126        Test: printing/page-count-with-one-word.html
6127
6128        * WebFrame.cpp:
6129        (WebFrame::setPrinting):
6130        (WebFrame::setInPrintingMode):
6131        * WebFrame.h:
6132
61332011-06-12  MORITA Hajime  <morrita@google.com>
6134
6135        Unreviewed, rolling out r88625.
6136        http://trac.webkit.org/changeset/88625
6137        https://bugs.webkit.org/show_bug.cgi?id=61073
6138
6139        Breaks SL Webkit2 Tests
6140
6141        * WebKit.vcproj/WebKit.sln:
6142
61432011-06-12  Adam Barth  <abarth@webkit.org>
6144
6145        Reviewed by Alexey Proskuryakov.
6146
6147        Rename FrameLoaderClient::interruptForPolicyChangeError to use the past tense
6148        https://bugs.webkit.org/show_bug.cgi?id=62516
6149
6150        * WebFrame.cpp:
6151        (WebFrame::interruptedForPolicyChangeError):
6152        * WebFrame.h:
6153
61542011-06-12  Dominic Cooney  <dominicc@chromium.org>
6155
6156        Reviewed by Hajime Morita.
6157
6158        Add window.internals to WebKit2's WebKitTestRunner.
6159        https://bugs.webkit.org/show_bug.cgi?id=61073
6160
6161        * WebKit.vcproj/WebKit.sln: InjectedBundle depends on WebCoreTestSupport
6162
61632011-06-12  Adam Barth  <abarth@webkit.org>
6164
6165        Reviewed by Alexey Proskuryakov.
6166
6167        Remove trival "forward-to-client" member functions from FrameLoader
6168        https://bugs.webkit.org/show_bug.cgi?id=62510
6169
6170        * WebCoreSupport/WebFrameNetworkingContext.cpp:
6171        (WebFrameNetworkingContext::blockedError):
6172
61732011-06-06  Michael Saboff  <msaboff@apple.com>
6174
6175        Reviewed by Geoffrey Garen.
6176
6177        Fonts returned by FontCache::getFontDataForCharacters() are never released
6178        https://bugs.webkit.org/show_bug.cgi?id=61875
6179
6180        This change allows fonts allocated as system fallback fonts to be
6181        released.  Previously, the reference counts for these fonts grew
6182        without bound.  This is implemented as an auto release class that wraps
6183        accesses to the cache for system fallback fonts. All such accesses are
6184        via the method FontCache::getFontDataForCharacters. The new class is
6185        called FontCachePurgePreventer. When such an object exists, it protects
6186        these fonts from deletion.
6187
6188        See more comments for this defect in Source/WebCore/ChangeLog.
6189
6190        * WebKitGraphics.cpp:
6191        (CenterTruncateStringToWidth):
6192        (RightTruncateStringToWidth):
6193        Wrapped code accessing fallback fonts with local
6194        FontCachePurgePreventer in these methods.
6195
61962011-06-04  Dominic Cooney  <dominicc@chromium.org>
6197
6198        Reviewed by Dimitri Glazkov.
6199
6200        Add WebCoreTestSupport project containing window.internals.
6201        https://bugs.webkit.org/show_bug.cgi?id=61076
6202
6203        * WebKit.vcproj/WebKit.sln:
6204
62052011-05-18  Anthony Johnson <anthony.johnson@flexsim.com>
6206
6207        Reviewed by Brent Fulgham.
6208
6209        Implement the ability to add C++ event listeners to html dom
6210        elements and dom window. 
6211        https://bugs.webkit.org/show_bug.cgi?id=60269
6212
6213        * DOMCoreClasses.cpp: Add new DOMWindow class and implementations.
6214        (DOMNode::QueryInterface): Report that the DOMNode implements
6215         the IDomEventTarget interface.
6216        (DOMNode::addEventListener): Add implementation of a COM-based
6217         event listener.
6218        (DOMNode::removeEventListener):
6219        (DOMNode::dispatchEvent): 
6220        (DOMDocument::createInstance):
6221        (DOMWindow::QueryInterface): New implementation.
6222        (DOMWindow::document): New implementation.
6223        (DOMWindow::getComputedStyle): Stub.
6224        (DOMWindow::getMatchedCSSRules): Stub.
6225        (DOMWindow::devicePixelRatio): Stub.
6226        (DOMWindow::addEventListener): New implementation.
6227        (DOMWindow::removeEventListener): New implementation.
6228        (DOMWindow::dispatchEvent): New implementation.
6229        (DOMWindow::DOMWindow): New implementation.
6230        (DOMWindow::~DOMWindow): New implementation.
6231        (DOMWindow::createInstance): New implementation.
6232        * DOMCoreClasses.h: Add new DOMWindow class and declarations.
6233        (DOMWindow::AddRef): New declaration.
6234        (DOMWindow::Release): New declaration.
6235        (DOMWindow::throwException): New declaration.
6236        (DOMWindow::callWebScriptMethod): New declaration.
6237        (DOMWindow::evaluateWebScript): New declaration.
6238        (DOMWindow::removeWebScriptKey): New declaration.
6239        (DOMWindow::stringRepresentation): New declaration.
6240        (DOMWindow::webScriptValueAtIndex): New declaration.
6241        (DOMWindow::setWebScriptValueAtIndex): New declaration.
6242        (DOMWindow::setException): New declaration.
6243        (DOMWindow::window): New declaration.
6244        * DOMEventsClasses.cpp: Add new WebEventListener and implementation.
6245        (DOMEventListener::handleEvent): New implementation.
6246        (WebEventListener::WebEventListener): New implementation.
6247        (WebEventListener::~WebEventListener): New implementation.
6248        (WebEventListener::operator==): New implementation.
6249        (WebEventListener::handleEvent): New implementation.
6250        (WebEventListener::create): New implementation.
6251        * DOMEventsClasses.h: Add new WebEventListener class declaration.
6252        * Interfaces/IWebFrame.idl: Add new DOMWindow accessor to the
6253         main Web Frame interface.
6254        * WebFrame.cpp: Add implementation of new DOMWindow creation method.
6255        (WebFrame::DOMWindow):
6256        * WebFrame.h: Add DOMWindow declaration.
6257
62582011-05-20  Simon Fraser  <simon.fraser@apple.com>
6259
6260        Reviewed by Sam Weinig.
6261
6262        numberOfActiveAnimations() can include animations from documents in the page cache
6263        https://bugs.webkit.org/show_bug.cgi?id=53641
6264
6265        Pass the Frame's document as the one to count animations on.
6266
6267        * WebFrame.cpp:
6268        (WebFrame::numberOfActiveAnimations):
6269
62702011-05-20  Jer Noble  <jer.noble@apple.com>
6271
6272        Reviewed by Maciej Stachowiak.
6273
6274        Win: non-full-screen content is briefly seen when entering full-screen mode (and vice versa)
6275        https://bugs.webkit.org/show_bug.cgi?id=61108
6276
6277        * WebView.cpp:
6278        (WebView::fullScreenClientForceRepaint): Repaint the view and immediately notify the 
6279            full screen controller.
6280        * WebView.h:
6281
62822011-05-13  Jon Lee  <jonlee@apple.com>
6283
6284        Reviewed by Simon Fraser.
6285
6286        Can't horizontally scroll iframes and overflow because wheel events are always accepted
6287        https://bugs.webkit.org/show_bug.cgi?id=60779
6288
6289        * WebCoreSupport/WebChromeClient.h:
6290        (WebChromeClient::shouldRubberBandInDirection): Default impl of new ChromeClient method
6291        (WebChromeClient::numWheelEventHandlersChanged): Default impl of new ChromeClient method
6292
62932011-05-13  Sam Weinig  <sam@webkit.org>
6294
6295        Reviewed by Anders Carlsson.
6296
6297        Prune #includes from FrameView.h (Part 2)
6298        https://bugs.webkit.org/show_bug.cgi?id=60748
6299
6300        - Update files that were depending on FrameView.h #including Frame.h or
6301          Page.h.
6302
6303        * WebCoreSupport/WebChromeClient.cpp:
6304        * WebCoreSupport/WebDragClient.cpp:
6305        * WebCoreSupport/WebFrameLoaderClient.cpp:
6306        * WebFrame.cpp:
6307        (WebFrame::setPrinting):
6308        * WebView.cpp:
6309
63102011-05-12  Patrick Gansterer  <paroga@webkit.org>
6311
6312        Reviewed by Adam Barth.
6313
6314        Enable OwnPtr strict mode in PluginHalter
6315        https://bugs.webkit.org/show_bug.cgi?id=60681
6316
6317        * WebView.cpp:
6318        (WebView::initWithFrame):
6319
63202011-05-12  Adam Roben  <aroben@apple.com>
6321
6322        A little gtest cleanup after r86287
6323
6324        * WebKit.vcproj/WebKit.sln:
6325            - Move gtest into the Tools folder
6326            - Make gtest build just before TestWebKitAPIGenerated
6327            - Use gtest's new Debug_All and Production configurations as appropriate
6328
63292011-05-12  Nikolas Zimmermann  <nzimmermann@rim.com>
6330
6331        Reviewed by Darin Adler.
6332
6333        String operator+ reallocates unnecessarily when concatting > 2 strings
6334        https://bugs.webkit.org/show_bug.cgi?id=58420
6335
6336        Provide a faster String append operator. See Source/JavaScriptCore/ChangeLog for details.
6337
6338        * AccessibleBase.cpp:
6339        (AccessibleBase::get_accKeyboardShortcut): Explicitely cast to Strings first, so operator BString() can be invoked.
6340
63412011-05-11  Dmitry Lomov  <dslomov@google.com>
6342
6343        Reviewed by David Levin.
6344
6345        https://bugs.webkit.org/show_bug.cgi?id=59561
6346        Switch TestWebKitAPI to GTest
6347
6348        Fixes Makefiles and WinCairo build as well
6349
6350        * WebKit.vcproj/WebKit.sln:
6351
63522011-05-11  Jessie Berlin  <jberlin@apple.com>
6353
6354        Reviewed by Steve Falkenburg.
6355
6356        [Windows WebKit2] Use cookies set in WebKit1
6357        https://bugs.webkit.org/show_bug.cgi?id=60274
6358
6359        * WebView.cpp:
6360        (WebView::setCacheModel):
6361        Pass 0 to wkCopyFoundationCacheDirectory so that it uses the default session.
6362
63632011-05-11  Sheriff Bot  <webkit.review.bot@gmail.com>
6364
6365        Unreviewed, rolling out r86255.
6366        http://trac.webkit.org/changeset/86255
6367        https://bugs.webkit.org/show_bug.cgi?id=60660
6368
6369        REGRESSION (r86255): Lots of tests crashing in
6370        CFWriteStreamCreateWithAllocatedBuffers on Windows 7 Release
6371        (WebKit2 Tests) (Requested by aroben on #webkit).
6372
6373        * WebView.cpp:
6374        (WebView::setCacheModel):
6375
63762011-05-11  Jessie Berlin  <jberlin@apple.com>
6377
6378        Reviewed by Steve Falkenburg.
6379
6380        [Windows WebKit2] Use cookies set in WebKit1
6381        https://bugs.webkit.org/show_bug.cgi?id=60274
6382
6383        * WebView.cpp:
6384        (WebView::setCacheModel):
6385        Pass 0 to wkCopyFoundationCacheDirectory so that it uses the default session.
6386
63872011-05-09  Sheriff Bot  <webkit.review.bot@gmail.com>
6388
6389        Unreviewed, rolling out r86108.
6390        http://trac.webkit.org/changeset/86108
6391        https://bugs.webkit.org/show_bug.cgi?id=60533
6392
6393        Broke makefile based builds and Cairo (Requested by weinig on
6394        #webkit).
6395
6396        * WebKit.vcproj/WebKit.sln:
6397
63982011-05-09  Dmitry Lomov  <dslomov@google.com>
6399
6400        Reviewed by Sam Weinig.
6401
6402        Switch TestWebKitAPI to GTest
6403        https://bugs.webkit.org/show_bug.cgi?id=59561
6404
6405        * WebKit.vcproj/WebKit.sln:
6406
64072011-05-07  Sheriff Bot  <webkit.review.bot@gmail.com>
6408
6409        Unreviewed, rolling out r86016.
6410        http://trac.webkit.org/changeset/86016
6411        https://bugs.webkit.org/show_bug.cgi?id=60445
6412
6413        caused crashes on the WK2 Windows bots (Requested by
6414        jessieberlin on #webkit).
6415
6416        * WebView.cpp:
6417        (WebView::setCacheModel):
6418
64192011-05-07  Jessie Berlin  <jberlin@apple.com>
6420
6421        Reviewed by Steve Falkenburg.
6422
6423        [Windows WebKit2] Use cookies set in WebKit1
6424        https://bugs.webkit.org/show_bug.cgi?id=60274
6425
6426        * WebView.cpp:
6427        (WebView::setCacheModel):
6428        Pass 0 to wkCopyFoundationCacheDirectory so that it uses the default session.
6429
64302011-05-06  Adam Roben  <aroben@apple.com>
6431
6432        Touch WebKit.idl to fix the build
6433
6434        I needed this on my own machine. Maybe others will need it, too.
6435
6436        * Interfaces/WebKit.idl:
6437
64382011-05-04  Philippe Normand  <pnormand@igalia.com>
6439
6440        Reviewed by Dimitri Glazkov.
6441
6442        Implement LayoutTestController::pseudoShadowId()
6443        https://bugs.webkit.org/show_bug.cgi?id=60034
6444
6445        * DOMCoreClasses.cpp:
6446        (DOMElement::shadowPseudoId):
6447        * DOMCoreClasses.h:
6448
64492011-05-05  Ryosuke Niwa  <rniwa@webkit.org>
6450
6451        Reviewed by Eric Seidel.
6452
6453        Rename SelectionController to FrameSelection
6454        https://bugs.webkit.org/show_bug.cgi?id=60234
6455
6456        * WebView.cpp:
6457
64582011-05-04  Ryosuke Niwa  <rniwa@webkit.org>
6459
6460        Windows build fix attempt after r85823
6461
6462        * WebCoreSupport/WebChromeClient.h:
6463        (WebChromeClient::webView):
6464        * WebView.cpp:
6465        (kit):
6466
64672011-05-04  Cris Neckar  <cdn@chromium.org>
6468
6469        Reviewed by Adam Barth.
6470
6471        Expose WebView directly through ChromeClient.
6472        https://bugs.webkit.org/show_bug.cgi?id=49902
6473
6474        * WebCoreSupport/WebChromeClient.h:
6475        (WebChromeClient::webView):
6476
64772011-05-04  Tao Bai  <michaelbai@chromium.org>
6478
6479        Reviewed by David Kilzer.
6480
6481        Populate touch-icon url to FrameLoaderClient
6482        https://bugs.webkit.org/show_bug.cgi?id=59143
6483
6484        Respect the interface change in FrameLoaderClient.
6485
6486        * WebCoreSupport/WebFrameLoaderClient.cpp:
6487        (WebFrameLoaderClient::dispatchDidChangeIcons):
6488        * WebCoreSupport/WebFrameLoaderClient.h:
6489
64902011-05-02  Jer Noble  <jer.noble@apple.com>
6491
6492        Reviewed by Adam Roben.
6493
6494        Implement FULLSCREEN_API on Windows, Part 3: WebKit2
6495        https://bugs.webkit.org/show_bug.cgi?id=59845
6496
6497        Implementation of WebFullScreenController has been moved into WebCore, and 
6498        required virutal functions of WebFullScreenControllerClient have been added to
6499        WebView.  These functions are mostly simple accessors of existing ivars, but 
6500        m_fullScreenElement and its accessors have also been added to WebView.
6501
6502        * WebCoreSupport/WebChromeClient.cpp:
6503        (WebChromeClient::enterFullScreenForElement):
6504        * WebFullScreenController.cpp: Removed.
6505        * WebKit.vcproj/WebKit.vcproj:
6506        * WebView.cpp:
6507        (WebView::setFullScreenElement): Added accessor.
6508        (WebVIew::fullScreenElement): Ditto.
6509        (WebView::fullScreenClientWindow): Ditto.
6510        (WebView::fullScreenClientParentWindow): Ditto.
6511        (WebView::fullScreenClientSetParentWindow): Ditto.
6512        (WebView::fullScreenClientWillEnterFullScreen): Pass through to Document.
6513        (WebView::fullScreenClientDidEnterFullScreen): Ditto.
6514        (WebView::fullScreenClientWillExitFullScreen): Ditto.
6515        (WebView::fullScreenClientDidExitFullScreen): Ditto.
6516        * WebView.h:
6517
65182011-05-03  Brian Weinstein  <bweinstein@apple.com>
6519
6520        Reviewed by Steve Falkenburg.
6521
6522        REGRESSION(r84990): Nightly builds don't launch on Windows
6523        https://bugs.webkit.org/show_bug.cgi?id=60081
6524        <rdar://problem/9358635>
6525        
6526        Fix nightlies on Window by moving the layered window functions to the bottom
6527        of IWebViewPrivate and touch WebKit.idl to make sure Interfaces rebuild.
6528
6529        * Interfaces/IWebViewPrivate.idl: Move functions added in r84990 to the bottom of the file.
6530        * Interfaces/WebKit.idl: Touch to force a rebuild.
6531
65322011-05-03  David Kilzer  <ddkilzer@apple.com>
6533
6534        <http://webkit.org/b/59838> Implement HTTP pipelining for CoreFoundation-based networking
6535
6536        Reviewed by Antti Koivisto.
6537
6538        * Interfaces/IWebViewPrivate.idl:
6539        (IWebViewPrivate::httpPipeliningEnabled): Added declaration.
6540        (IWebViewPrivate::setHTTPPipeliningEnabled): Added declaration.
6541        * WebView.cpp:
6542        (WebView::httpPipeliningEnabled): Added.
6543        (WebView::setHTTPPipeliningEnabled): Added.
6544        * WebView.h:
6545        (WebView::httpPipeliningEnabled): Added declaration.
6546        (WebView::setHTTPPipeliningEnabled): Added declaration.
6547
65482011-05-03  Adam Roben  <aroben@apple.com>
6549
6550        Add some missing virtual keywords on derived-class destructors
6551
6552        Darin Adler noticed one, I noticed the other. This doesn't change the generated code; it
6553        just matches our style of explicitly marking overrides "virtual".
6554
6555        * WebCoreSupport/WebInspectorClient.h: Made the WebInspectorClient and
6556        WebInspectorFrontendClient destructors explicitly virtual.
6557
65582011-05-03  Adam Roben  <aroben@apple.com>
6559
6560        Fix most strict PassOwnPtr violations on Windows
6561
6562        Fixes <http://webkit.org/b/60025> Windows should (almost) build with strict PassOwnPtr
6563        enabled
6564
6565        Reviewed by Anders Carlsson.
6566
6567        * WebCoreSupport/WebInspectorClient.h: Made the destructor public, which is required now
6568        that this type is put into a PassOwnPtr. (Previously, only
6569        WebCore::InspectorFrontendClientLocal was put into a [Pass]OwnPtr.)
6570
6571        * FullscreenVideoController.cpp:
6572        * WebCoreSupport/WebFrameLoaderClient.cpp:
6573        * WebCoreSupport/WebInspectorClient.cpp:
6574        * WebHistory.cpp:
6575        * WebHistoryItem.cpp:
6576        * WebView.cpp:
6577
65782011-05-01  Sam Weinig  <sam@webkit.org>
6579
6580        Fix windows build.
6581
6582        * WebFrame.cpp:
6583
65842011-05-01  Patrick Gansterer  <paroga@webkit.org>
6585
6586        Reviewed by Adam Barth.
6587
6588        Fix OwnPtr strict issues in windows build
6589        https://bugs.webkit.org/show_bug.cgi?id=59878
6590
6591        * FullscreenVideoController.cpp:
6592        (FullscreenVideoController::FullscreenVideoController):
6593        (FullscreenVideoController::createHUDWindow):
6594        * WebCoreSupport/WebInspectorClient.cpp:
6595        (WebInspectorClient::highlight):
6596        * WebElementPropertyBag.cpp:
6597        (WebElementPropertyBag::WebElementPropertyBag):
6598        * WebNodeHighlight.cpp:
6599        (WebNodeHighlight::update):
6600        * WebNotificationCenter.cpp:
6601        (WebNotificationCenter::WebNotificationCenter):
6602        * WebView.cpp:
6603        (WebView::close):
6604        (WebView::paint):
6605        (WebView::handleMouseEvent):
6606        (WebView::registerEmbeddedViewMIMEType):
6607
66082011-04-29  Jer Noble  <jer.noble@apple.com>
6609
6610        Reviewed by Adam Roben.
6611
6612        Implement FULLSCREEN_API on Windows, Part 2: WebKit
6613        https://bugs.webkit.org/show_bug.cgi?id=59785
6614
6615        Initial implementation of full screen API on windows.  No animation
6616        occurs when entering or exiting full screen.  Re-use existing window
6617        classes (MediaPlayerPrivateFullscreenWindow) to host the webView.
6618
6619        * WebCoreSupport/WebChromeClient.cpp:
6620        (WebChromeClient::supportsFullScreenForElement): Call into WebView.
6621        (WebChromeClient::enterFullScreenForElement): Call into WebFullScreenController.
6622        (WebChromeClient::exitFullScreenForElement): Ditto.
6623        * WebFullScreenController.cpp: Added.
6624        (WebFullScreenController::Private::Private): Private data storage class.
6625        (WebFullScreenController::Private::~Private):
6626        (WebFullScreenController::Private::fullscreenClientWndProc): Handle window
6627            message for full screen window.
6628        (WebFullScreenController::WebFullScreenController):
6629        (WebFullScreenController::~WebFullScreenController):
6630        (WebFullScreenController::setElement): Added.
6631        (WebFullScreenController::element): Added.
6632        (WebFullScreenController::isFullScreen): Added.
6633        (WebFullScreenController::enterFullScreen): Create and display full screen
6634            window, moving webView as child window.
6635        (WebFullScreenController::exitFullScreen): Destroy full screen window and
6636            move webView back where we found it.
6637        * WebFullScreenController.h: Added.
6638        * WebKit.vcproj/WebKit.vcproj:
6639        * WebView.cpp:
6640        (WebView::keyDown): Handle the ESC key.
6641        (WebView::notifyPreferencesChanged):
6642        (WebView::supportsFullScreenForElement): Do not support full screen if
6643            full screen preference is disabled, or if keyboard access is requested.
6644        (WebView::isFullScreen): Added.
6645        (WebView::fullScreenController): Added.
6646        * WebView.h:
6647
66482011-04-28  Jer Noble  <jer.noble@apple.com>
6649
6650        Reviewed by Jon Honeycutt.
6651
6652        Implement FULLSCREEN_API on Windows, Part 1: Stubs
6653        https://bugs.webkit.org/show_bug.cgi?id=59778
6654
6655        Create all the stubs necessary to for enabling FULLSCREEN_API
6656        on Windows. This includes the COM interfaces for preferences and
6657        for overriding full screen behavior in a UI Delegate.
6658
6659        * Interfaces/IWebPreferencesPrivate.idl: Add functions for enabling
6660            full screen preference.
6661        * Interfaces/IWebUIDelegatePrivate.idl: Add functions for overriding
6662            full screen behavior.
6663        * WebCoreSupport/WebChromeClient.cpp:
6664        (WebChromeClient::supportsFullScreenForElement): Added.
6665        (WebChromeClient::enterFullScreenForElement): Added.
6666        (WebChromeClient::exitFullScreenForElement): Added.
6667        * WebCoreSupport/WebChromeClient.h:
6668        * WebPreferenceKeysPrivate.h: Added WebKitFullScreenEnable key.
6669        * WebPreferences.cpp:
6670        (WebPreferences::isFullScreenEnabled): Added. Implements function
6671           defined in IWebUIDelegatePrivate.
6672        (WebPreferences::setFullScreenEnabled): Ditto.
6673        * WebPreferences.h:
6674
66752011-04-28  Adam Barth  <abarth@webkit.org>
6676
6677        Reviewed by Eric Seidel.
6678
6679        Remove WML
6680        https://bugs.webkit.org/show_bug.cgi?id=59678
6681
6682        Remove WML-related enumeration.
6683
6684        * Interfaces/IWebFramePrivate.idl:
6685
66862011-04-26  Brent Fulgham  <bfulgham@webkit.org>
6687
6688        Reviewed by Adam Roben.
6689
6690        Implement a transparent WebView under Windows.  This feature
6691        allows the user to create small web-based applications, similar
6692        to the dashboard on Mac OS X.
6693        https://bugs.webkit.org/show_bug.cgi?id=58300
6694
6695        * Interfaces/IWebViewPrivate.idl: Add new set/get accessors to
6696        change the state of a WebView into a Layered Window, or back
6697        into a standard window.
6698        * Interfaces/WebKit.idl: touch to force clean build
6699        * WebView.cpp:
6700        (WebView::WebView): Set layered window state in constructor.
6701        (WebView::updateBackingStore): Cleanup old bitmap when finished.
6702        (WebView::performLayeredWindowUpdate): New method to do the work
6703        of calling ::UpdateLayeredWindow for the WebView with proper
6704        alpha blending.
6705        (WebView::paint): Small change to prevent accelerated compositing
6706        when using a layered window.  DirectX is not compatible with
6707        ::UpdateLayeredWindow (at least currently).
6708        (WebView::WebViewWndProc): Adjust main window procedure to avoid
6709        painting a default background on a layered window (this is handled
6710        by Windows during compositing), and to deal with paint messages
6711        properly in the layered window case.
6712        (WebView::active): The layered window is not a child window,
6713        so the active state logic is slightly different.
6714        (WebView::setUsesLayeredWindow): New set method for layered stated.
6715        When called, it will convert a WebView into a Layered Window.
6716        (WebView::usesLayeredWindow): Accessor
6717        * WebView.h:
6718        (WebView::setUsesLayeredWindow): Declare new accessor
6719        (WebView::usesLayeredWindow): Declare new accessor
6720
67212011-04-21  Ryosuke Niwa  <rniwa@webkit.org>
6722
6723        Windows build fix.
6724
6725        * WebCoreSupport/WebEditorClient.h:
6726
67272011-04-21  Ryosuke Niwa  <rniwa@webkit.org>
6728
6729        Reviewed by Sam Weinig.
6730
6731        Add Frame* to the argument lists of canCopyCut and canPaste
6732        https://bugs.webkit.org/show_bug.cgi?id=59153
6733
6734        * WebCoreSupport/WebEditorClient.cpp:
6735        (WebEditorClient::canCopyCut):
6736        (WebEditorClient::canPaste):
6737        * WebCoreSupport/WebEditorClient.h:
6738
67392011-04-20  Brent Fulgham  <bfulgham@webkit.org>
6740
6741        Reviewed by Martin Robinson.
6742
6743        Provide missing implementation of WebMutableURLRequest::mutableCopy.
6744        This was preventing DumpRenderTree from working properly under
6745        the WinCairo port.
6746        https://bugs.webkit.org/show_bug.cgi?id=59034
6747
6748        * WebMutableURLRequest.cpp:
6749        (WebMutableURLRequest::mutableCopy): Implement cURL version of the
6750        copy operation.
6751
67522011-04-19  Vsevolod Vlasov  <vsevik@chromium.org>
6753
6754        Reviewed by Pavel Feldman.
6755
6756        Web Inspector: Rename lengthReceived to encodedDataLength/dataLength
6757        https://bugs.webkit.org/show_bug.cgi?id=58883
6758
6759        * WebCoreSupport/WebFrameLoaderClient.h:
6760
67612011-04-18  Timothy Hatcher  <timothy@apple.com>
6762
6763        Remove the two commands that make en.lproj and copy Localizable.strings.
6764
6765        Rubber-stamped by Adam Roben.
6766
6767        * WebKit.vcproj/WebKitLibPostBuild.cmd:
6768
67692011-04-18  Patrick Gansterer  <paroga@webkit.org>
6770
6771        Reviewed by Adam Roben.
6772
6773        Include <WebCore/COMPtr.h> instead of "COMPtr.h"
6774        https://bugs.webkit.org/show_bug.cgi?id=58744
6775
6776        * DOMCoreClasses.cpp:
6777        * DOMHTMLClasses.cpp:
6778        * WebActionPropertyBag.cpp:
6779        * WebBackForwardList.cpp:
6780        * WebCoreSupport/WebGeolocationClient.h:
6781        * WebDownload.h:
6782        * WebDropSource.h:
6783        * WebFrame.cpp:
6784        * WebHistoryItem.cpp:
6785        * WebIconDatabase.cpp:
6786        * WebNavigationData.h:
6787        * WebPreferences.cpp:
6788        * WebResource.h:
6789        * WebURLAuthenticationChallenge.cpp:
6790        * WebURLAuthenticationChallengeSender.cpp:
6791        * WebURLAuthenticationChallengeSenderCFNet.cpp:
6792        * WebURLAuthenticationChallengeSenderCurl.cpp:
6793        * WebView.h:
6794
67952011-04-17  Patrick Gansterer  <paroga@webkit.org>
6796
6797        Reviewed by Adam Barth.
6798
6799        Rename PLATFORM(CG) to USE(CG)
6800        https://bugs.webkit.org/show_bug.cgi?id=58729
6801
6802        * WebFrame.cpp:
6803        (WebFrame::spoolPages):
6804        * WebFrame.h:
6805        * WebPreferences.cpp:
6806        (WebPreferences::setFontSmoothing):
6807        (WebPreferences::setFontSmoothingContrast):
6808        * WebView.cpp:
6809        (systemParameterChanged):
6810
68112011-04-16  Sam Weinig  <sam@webkit.org>
6812
6813        Reviewed by Simon Fraser.
6814
6815        Windows should use WebCore localized strings
6816        <rdar://problem/9119405>
6817        https://bugs.webkit.org/show_bug.cgi?id=58733
6818
6819        * WebCoreSupport/WebEditorClient.cpp:
6820        (undoNameForEditAction):
6821        (WebEditorClient::registerCommandForUndo):
6822        * WebPreferences.cpp:
6823        (WebPreferences::initializeDefaultSettings):
6824        * WebURLResponse.cpp:
6825        (CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode):
6826        (WebURLResponse::localizedStringForStatusCode):
6827        Change to use WEB_UI_STRING.
6828
6829        * WebCoreSupport/WebPlatformStrategies.cpp:
6830        * WebCoreSupport/WebPlatformStrategies.h:
6831        Remove the localization strategy in favor of using the default one.
6832
68332011-04-16  Patrick Gansterer  <paroga@webkit.org>
6834
6835        Reviewed by Eric Seidel.
6836
6837        Rename PLATFORM(CAIRO) to USE(CAIRO)
6838        https://bugs.webkit.org/show_bug.cgi?id=55192
6839
6840        * WebFrame.cpp:
6841        (WebFrame::spoolPages):
6842        * WebFrame.h:
6843
68442011-04-14  Adam Roben  <aroben@apple.com>
6845
6846        Replace some known-to-fail assertions with FIXMEs
6847
6848        These assertions get hit during various layout tests. They indicate that we're sometimes
6849        doing some extra work when a page goes into accelerated compositing mode, but otherwise
6850        there's no bad effect.
6851
6852        See <http://webkit.org/b/58539> for more details.
6853
6854        Rubber-stamped by John Sullivan.
6855
6856        * WebView.cpp:
6857        (WebView::paintIntoBackingStore):
6858        (WebView::paintIntoWindow):
6859        Replaced assertions with FIXMEs.
6860
68612011-04-13  James Robinson  <jamesr@chromium.org>
6862
6863        Reviewed by Simon Fraser.
6864
6865        Allow setting composited backing stores for scrollbars and scroll corners
6866        https://bugs.webkit.org/show_bug.cgi?id=57202
6867
6868        Update WebScrollBar to reflect ScrollableArea interface changes.
6869
6870        * WebScrollBar.h:
6871        (WebScrollBar::invalidateScrollCornerRect):
6872        (WebScrollBar::scrollCornerPresent):
6873        (WebScrollBar::scrollCornerRect):
6874
68752011-04-12  Alice Liu  <alice.liu@apple.com>
6876
6877        Reviewed by Sam Weinig.
6878
6879        https://bugs.webkit.org/show_bug.cgi?id=58292
6880        Provide new setting to allow site icon loading despite disabling automatic image loading in general.
6881
6882        * Interfaces/IWebPreferencesPrivate.idl: Added prefs. 
6883        * Interfaces/WebKit.idl: Touch file to force autogeneration
6884        * WebPreferenceKeysPrivate.h: Add preference key.
6885        * WebPreferences.cpp:
6886        (WebPreferences::initializeDefaultSettings): Initialize setting to false.
6887        (WebPreferences::setLoadsSiteIconsIgnoringImageLoadingPreference): Added setter
6888        (WebPreferences::loadsSiteIconsIgnoringImageLoadingPreference): Added getter
6889        * WebPreferences.h:
6890        * WebView.cpp:
6891        (WebView::notifyPreferencesChanged): Add to settings that get propagated upon changes.
6892
68932011-04-11  Alexey Proskuryakov  <ap@apple.com>
6894
6895        Reviewed by Maciej Stachowiak.
6896
6897        WebKit2: Cannot use Ctrl-Delete as a custom keyboard shortcut
6898        https://bugs.webkit.org/show_bug.cgi?id=58265
6899        <rdar://problem/9221468>
6900
6901        * WebView.cpp: (WebView::keyDown): Removed special handling of Backspace, which is unnecessary
6902        now that WebCore implements it.
6903
69042011-04-06  Brian Weinstein  <bweinstein@apple.com>
6905
6906        Reviewed by Adam Roben.
6907
6908        WebKit2: Support Windows 7 Gestures
6909        https://bugs.webkit.org/show_bug.cgi?id=49824
6910        <rdar://problem/8689728>
6911        
6912        Move WindowsTouch.h from WebKit/win to WebCore/platform/win, so it can be
6913        used in both WebKit and WebKit2.
6914
6915        * WebKit.vcproj/WebKit.vcproj: Remove WindowsTouch.h.
6916        * WebView.cpp: Include WindowsTouch.h from WebCore instead of WebKit.
6917        * WindowsTouch.h: Removed.
6918
69192011-04-05  Martin Robinson  <mrobinson@igalia.com>
6920
6921        Reviewed by Eric Seidel.
6922
6923        [Cairo] Better separate the concerns of GraphicsContextCairo
6924        https://bugs.webkit.org/show_bug.cgi?id=55150
6925
6926        * WebFrame.cpp:
6927        (hdcFromContext): Modify this method to take PlatformContextCairo
6928        instead of a cairo_t.
6929        (WebFrame::spoolPage): Update to reflect new platform context.
6930        (WebFrame::spoolPages): Ditto.
6931        * WebFrame.h: Ditto.
6932
69332011-04-04  MORITA Hajime  <morrita@google.com>
6934
6935        Reviewed by Ryosuke Niwa.
6936
6937        [Refactoring] SpellCheckingResult should be replaced with TextCheckingResult
6938        https://bugs.webkit.org/show_bug.cgi?id=56085
6939
6940        * WebCoreSupport/WebEditorClient.h:
6941        (WebEditorClient::requestCheckingOfString):
6942
69432011-04-04  Alexey Proskuryakov  <ap@apple.com>
6944
6945        Reviewed by Dan Bernstein.
6946
6947        REGRESSION (WebKit2): Caps-Lock indicator sometimes doesn't appear in WebKit2
6948        https://bugs.webkit.org/show_bug.cgi?id=51230
6949        <rdar://problem/8780989>
6950
6951        * WebView.cpp: (WebView::keyDown): Moved Caps Lock handling from WebKits to WebCore,
6952        because WebKit shouldn't be smart.
6953
69542011-04-04  Steve Falkenburg  <sfalken@apple.com>
6955
6956        Reviewed by Adam Roben.
6957
6958        Remove unused AnalyzeWithLargeStack code from Windows build files
6959        https://bugs.webkit.org/show_bug.cgi?id=57771
6960        
6961        This was used for us to build with prefast automatically,
6962        but it is out-of-date and hasn't been used for some time.
6963        Removing completely for now.
6964
6965        * WebKit.vcproj/WebKitLibPreBuild.cmd:
6966
69672011-04-01  Adam Roben  <aroben@apple.com>
6968
6969        Remove the WebView's "this" pointer from its HWND when WM_DESTROY is received
6970
6971        This will ensure we don't try to process any window messages after the window has been
6972        destroyed.
6973
6974        Covered by existing tests.
6975
6976        Fixes <http://webkit.org/b/55054>.
6977
6978        Reviewed by Steve Falkenburg and John Sullivan.
6979
6980        * WebView.cpp:
6981        (WebView::setIsBeingDestroyed): Moved here from the header file, and added a call to clear
6982        out the this pointer from the HWND.
6983        (WebView::WebViewWndProc): Changed a runtime check into an assertion.
6984
6985        * WebView.h: Moved setIsBeingDestroyed from here to the .cpp file.
6986
69872011-03-31  Evan Martin  <evan@chromium.org>
6988
6989        Reviewed by Eric Seidel.
6990
6991        <title> should support dir attribute
6992        https://bugs.webkit.org/show_bug.cgi?id=50961
6993
6994        Update to new FrameLoaderClient interface.
6995
6996        * WebCoreSupport/WebFrameLoaderClient.cpp:
6997        (WebFrameLoaderClient::dispatchDidReceiveTitle):
6998        * WebCoreSupport/WebFrameLoaderClient.h:
6999
70002011-03-30  Steve Falkenburg  <sfalken@apple.com>
7001
7002        Reviewed by Adam Roben.
7003
7004        Share most vsprops between Release and Production builds in releaseproduction.vsprops
7005        https://bugs.webkit.org/show_bug.cgi?id=57508
7006
7007        * WebKit.vcproj/InterfacesProduction.vsprops:
7008        * WebKit.vcproj/InterfacesRelease.vsprops:
7009        * WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops:
7010        * WebKit.vcproj/WebKitGUIDProduction.vsprops:
7011        * WebKit.vcproj/WebKitGUIDRelease.vsprops:
7012        * WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops:
7013        * WebKit.vcproj/WebKitLibProduction.vsprops:
7014        * WebKit.vcproj/WebKitLibRelease.vsprops:
7015        * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops:
7016
70172011-03-30  Steve Falkenburg  <sfalken@apple.com>
7018
7019        Reviewed by Adam Roben.
7020
7021        Update Windows production build logic for new production configurations
7022        https://bugs.webkit.org/show_bug.cgi?id=57494
7023
7024        * WebKit.vcproj/InterfacesProduction.vsprops:
7025        * WebKit.vcproj/WebKit.make:
7026        * WebKit.vcproj/WebKitGUIDProduction.vsprops:
7027        * WebKit.vcproj/WebKitLibProduction.vsprops:
7028
70292011-03-30  Steve Falkenburg  <sfalken@apple.com>
7030
7031        Reviewed by Adam Roben.
7032
7033        Rename Windows configuration Release_LTCG to Production for clarity
7034        https://bugs.webkit.org/show_bug.cgi?id=57465
7035
7036        * WebKit.vcproj/Interfaces.vcproj:
7037        * WebKit.vcproj/InterfacesProduction.vsprops: Copied from Source/WebKit/win/WebKit.vcproj/InterfacesReleaseLTCG.vsprops.
7038        * WebKit.vcproj/InterfacesReleaseLTCG.vsprops: Removed.
7039        * WebKit.vcproj/WebKit.sln:
7040        * WebKit.vcproj/WebKit.submit.sln:
7041        * WebKit.vcproj/WebKit.vcproj:
7042        * WebKit.vcproj/WebKitGUID.vcproj:
7043        * WebKit.vcproj/WebKitGUIDProduction.vsprops: Copied from Source/WebKit/win/WebKit.vcproj/WebKitGUIDReleaseLTCG.vsprops.
7044        * WebKit.vcproj/WebKitGUIDReleaseLTCG.vsprops: Removed.
7045        * WebKit.vcproj/WebKitLibProduction.vsprops: Copied from Source/WebKit/win/WebKit.vcproj/WebKitLibReleaseLTCG.vsprops.
7046        * WebKit.vcproj/WebKitLibReleaseLTCG.vsprops: Removed.
7047
70482011-03-29  Patrick Gansterer  <paroga@webkit.org>
7049
7050        Reviewed by Adam Roben.
7051
7052        [WIN] Remove unused GEN_DOMObject files
7053        https://bugs.webkit.org/show_bug.cgi?id=57370
7054
7055        * GEN_DOMObject.cpp: Removed.
7056        * GEN_DOMObject.h: Removed.
7057
70582011-03-29  Steve Falkenburg  <sfalken@apple.com>
7059
7060        More build fix.
7061
7062        * WebCoreSupport/WebPlatformStrategies.h:
7063
70642011-03-29  Steve Falkenburg  <sfalken@apple.com>
7065
7066        Build fix.
7067
7068        * WebCoreSupport/WebPlatformStrategies.cpp:
7069        (WebPlatformStrategies::contextMenuItemTagLookUpInDictionary):
7070
70712011-03-29  Patrick Gansterer  <paroga@webkit.org>
7072
7073        Unreviewed. Try to fix Windows build.
7074
7075        * DOMEventsClasses.cpp: Added initguid.h again.
7076
70772011-03-29  Patrick Gansterer  <paroga@webkit.org>
7078
7079        Reviewed by Adam Roben.
7080
7081        [WIN] Cleanup includes in WebKit files
7082        https://bugs.webkit.org/show_bug.cgi?id=57381
7083
7084        Add missing includes to fix build without precompiled header.
7085        Also fix paths in #include statements (e.g. WTF -> wtf).
7086
7087        * AccessibleBase.h:
7088        * AccessibleDocument.h: Replace using statement with a qualified name.
7089        * CFDictionaryPropertyBag.h:
7090        * DOMEventsClasses.cpp:
7091        * DOMHTMLClasses.h:
7092        * DefaultDownloadDelegate.cpp:
7093        * DefaultDownloadDelegate.h:
7094        * DefaultPolicyDelegate.cpp:
7095        * DefaultPolicyDelegate.h:
7096        * WebCoreSupport/EmbeddedWidget.h:
7097        * WebCoreSupport/WebInspectorDelegate.h:
7098        * WebDataSource.h:
7099        * WebDatabaseManager.h:
7100        * WebElementPropertyBag.h:
7101        * WebFramePolicyListener.h:
7102        * WebGeolocationPolicyListener.h:
7103        * WebHistory.h:
7104        * WebKitClassFactory.h:
7105        * WebScriptWorld.h:
7106        * WebSerializedJSValue.h:
7107        * WebUserContentURLPattern.h:
7108
71092011-03-29  Steve Falkenburg  <sfalken@apple.com>
7110
7111        Reviewed by Darin Adler.
7112
7113        Use per-configuration vsprops in WebKit to avoid WebKitVSPropsRedirectionDir removal by MSVC IDE
7114        https://bugs.webkit.org/show_bug.cgi?id=57383
7115
7116        Visual Studio's IDE was removing instances of $(WebKitVSPropsRedirectionDir) from
7117        InheritedPropertySheet rules in our vcproj files when the vcproj was edited from within
7118        the IDE. To avoid this, add a separate vsprops file for each project configuration that
7119        contains the required inherited property sheets.
7120
7121        * WebKit.vcproj/Interfaces.vcproj:
7122        * WebKit.vcproj/InterfacesDebug.vsprops: Added.
7123        * WebKit.vcproj/InterfacesDebugAll.vsprops: Added.
7124        * WebKit.vcproj/InterfacesDebugCairoCFLite.vsprops: Added.
7125        * WebKit.vcproj/InterfacesRelease.vsprops: Added.
7126        * WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops: Added.
7127        * WebKit.vcproj/InterfacesReleaseLTCG.vsprops: Added.
7128        * WebKit.vcproj/WebKit.vcproj:
7129        * WebKit.vcproj/WebKitGUID.vcproj:
7130        * WebKit.vcproj/WebKitGUIDDebug.vsprops: Added.
7131        * WebKit.vcproj/WebKitGUIDDebugAll.vsprops: Added.
7132        * WebKit.vcproj/WebKitGUIDDebugCairoCFLite.vsprops: Added.
7133        * WebKit.vcproj/WebKitGUIDRelease.vsprops: Added.
7134        * WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops: Added.
7135        * WebKit.vcproj/WebKitGUIDReleaseLTCG.vsprops: Added.
7136        * WebKit.vcproj/WebKitLibDebug.vsprops: Added.
7137        * WebKit.vcproj/WebKitLibDebugAll.vsprops: Added.
7138        * WebKit.vcproj/WebKitLibDebugCairoCFLite.vsprops: Added.
7139        * WebKit.vcproj/WebKitLibRelease.vsprops: Added.
7140        * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops: Added.
7141        * WebKit.vcproj/WebKitLibReleaseLTCG.vsprops: Added.
7142
71432011-03-29  Patrick Gansterer  <paroga@webkit.org>
7144
7145        Reviewed by Adam Roben.
7146
7147        Remove #pragma warning push and pop statements
7148        https://bugs.webkit.org/show_bug.cgi?id=57198
7149
7150        We do not need to disable warnings via #pragma since we started
7151        compiling WebCore with the same compiler warnings flags as WebKit.
7152
7153        * DOMCSSClasses.cpp:
7154        * DOMCoreClasses.cpp:
7155        * DOMEventsClasses.cpp:
7156        * DOMHTMLClasses.cpp:
7157        * DefaultDownloadDelegate.cpp:
7158        * DefaultPolicyDelegate.cpp:
7159        * MarshallingHelpers.cpp:
7160        * WebActionPropertyBag.cpp:
7161        * WebActionPropertyBag.h:
7162        * WebCache.cpp:
7163        * WebCoreSupport/WebDragClient.cpp:
7164        * WebCoreSupport/WebEditorClient.cpp:
7165        * WebCoreSupport/WebEditorClient.h:
7166        * WebCoreSupport/WebFrameLoaderClient.cpp:
7167        * WebCoreSupport/WebFrameLoaderClient.h:
7168        * WebCoreSupport/WebInspectorClient.cpp:
7169        * WebDocumentLoader.h:
7170        * WebDownload.cpp:
7171        * WebDownloadCFNet.cpp:
7172        * WebDownloadCurl.cpp:
7173        * WebElementPropertyBag.cpp:
7174        * WebError.cpp:
7175        * WebError.h:
7176        * WebFrame.cpp:
7177        * WebFrame.h:
7178        * WebFramePolicyListener.cpp:
7179        * WebFramePolicyListener.h:
7180        * WebHistory.cpp:
7181        * WebHistoryItem.cpp:
7182        * WebIconDatabase.cpp:
7183        * WebIconDatabase.h:
7184        * WebInspector.cpp:
7185        * WebJavaScriptCollector.cpp:
7186        * WebKitGraphics.cpp:
7187        * WebKitSystemBits.cpp:
7188        * WebLocalizableStrings.cpp:
7189        * WebMutableURLRequest.cpp:
7190        * WebMutableURLRequest.h:
7191        * WebNodeHighlight.cpp:
7192        * WebNodeHighlight.h:
7193        * WebNotificationCenter.cpp:
7194        * WebResource.cpp:
7195        * WebResource.h:
7196        * WebScrollBar.cpp:
7197        * WebScrollBar.h:
7198        * WebURLAuthenticationChallenge.cpp:
7199        * WebURLAuthenticationChallenge.h:
7200        * WebURLAuthenticationChallengeSender.cpp:
7201        * WebURLAuthenticationChallengeSenderCFNet.cpp:
7202        * WebURLAuthenticationChallengeSenderCurl.cpp:
7203        * WebURLCredential.cpp:
7204        * WebURLCredential.h:
7205        * WebURLProtectionSpace.cpp:
7206        * WebURLProtectionSpace.h:
7207        * WebURLResponse.cpp:
7208        * WebURLResponse.h:
7209
72102011-03-29  Brent Fulgham  <bfulgham@webkit.org>
7211
7212        Unreviewed build fix after r82247.
7213
7214        * WebMutableURLRequest.cpp: The new CertificateCFWin routines
7215        are not CFNetwork-specific. All CF-based ports can use them.
7216
72172011-03-29  Patrick Gansterer  <paroga@webkit.org>
7218
7219        Reviewed by Adam Roben.
7220
7221        [WIN] Use WCHAR instead of TCHAR
7222        https://bugs.webkit.org/show_bug.cgi?id=57191
7223
7224        We always use the UNICODE versions of windows functions, so
7225        the usage of TCHAR makes no sense and mixing them is bad style.
7226
7227        * DefaultDownloadDelegate.cpp:
7228        * WebCoreSupport/WebChromeClient.cpp:
7229        * WebCoreSupport/WebContextMenuClient.cpp:
7230        * WebCoreSupport/WebInspectorClient.cpp:
7231        * WebKitDLL.cpp:
7232        * WebNotificationCenter.cpp:
7233        * WebPreferences.cpp:
7234        * WebURLResponse.cpp:
7235        * WebView.cpp:
7236
72372011-03-29  Jeff Miller  <jeffm@apple.com>
7238
7239        Reviewed by Jon Honeycutt.
7240
7241        Add WebCore::copyCertificateToData() on Windows
7242        https://bugs.webkit.org/show_bug.cgi?id=57296
7243
7244        Remove duplicate code that implemented this functionality in WebMutableURLRequest.cpp and use WebCore::copyCertificateToData() instead. 
7245
7246        * WebMutableURLRequest.cpp:
7247        (WebMutableURLRequest::setClientCertificate):  Use WebCore::copyCertificateToData().
7248
72492011-03-28  Patrick Gansterer  <paroga@webkit.org>
7250
7251        Reviewed by Adam Roben.
7252
7253        [WIN] Remove unused DOMCreateInstance files
7254        https://bugs.webkit.org/show_bug.cgi?id=57193
7255
7256        * DOMCreateInstance.cpp: Removed.
7257        * DOMCreateInstance.h: Removed.
7258
72592011-03-28  Adele Peterson  <adele@apple.com>
7260
7261        Build fix.
7262        
7263        * WebFrame.cpp: (WebFrame::hasSpellingMarker):
7264        Call new selectionStartHasMarkerFor method instead of selectionStartHasSpellingMarkerFor.
7265
72662011-03-28  Jeff Miller  <jeffm@apple.com>
7267
7268        Reviewed by Adam Roben.
7269
7270        Include certificate when sending a WebCore::ResourceError to UI process on Windows
7271        https://bugs.webkit.org/show_bug.cgi?id=57195
7272        
7273        Rename callers of wkGetSSLPeerCertificateData() to use wkGetSSLPeerCertificateDataBytePtr(), since it returns a void*.
7274
7275        * WebError.cpp:
7276        (WebError::sslPeerCertificate):
7277        * WebURLResponse.cpp:
7278        (WebURLResponse::sslPeerCertificate):
7279
72802011-03-28  Darin Adler  <darin@apple.com>
7281
7282        Set eol-style to native on more files. I noticed the last check-in had an entire file
7283        changing because of an EOL style change, and setting this property prevents that from
7284        happening in future. We may want to do this systematically for more of WebKit later.
7285
7286        * AccessibleBase.cpp: Added property svn:eol-style.
7287        * AccessibleBase.h: Added property svn:eol-style.
7288        * AccessibleDocument.cpp: Added property svn:eol-style.
7289        * AccessibleDocument.h: Added property svn:eol-style.
7290        * AccessibleImage.cpp: Added property svn:eol-style.
7291        * AccessibleImage.h: Added property svn:eol-style.
7292        * COMVariantSetter.h: Added property svn:eol-style.
7293        * FullscreenVideoController.cpp: Added property svn:eol-style.
7294        * FullscreenVideoController.h: Added property svn:eol-style.
7295        * WebCoreSupport/EmbeddedWidget.cpp: Added property svn:eol-style.
7296        * WebCoreSupport/EmbeddedWidget.h: Added property svn:eol-style.
7297        * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: Added property svn:eol-style.
7298        * WebCoreSupport/WebDesktopNotificationsDelegate.h: Added property svn:eol-style.
7299        * WebCoreSupport/WebFrameLoaderClient.cpp: Added property svn:eol-style.
7300        * WebCoreSupport/WebInspectorDelegate.cpp: Added property svn:eol-style.
7301        * WebCoreSupport/WebInspectorDelegate.h: Added property svn:eol-style.
7302        * WebCoreSupport/WebPlatformStrategies.cpp: Added property svn:eol-style.
7303        * WebCoreSupport/WebPlatformStrategies.h: Added property svn:eol-style.
7304        * WebCoreSupport/WebPluginHalterClient.cpp: Added property svn:eol-style.
7305        * WebCoreSupport/WebPluginHalterClient.h: Added property svn:eol-style.
7306
73072011-03-28  Patrick Gansterer  <paroga@webkit.org>
7308
7309        Unreviewed build fix.
7310
7311        * COMPropertyBag.h: Added missing include.
7312        * WebKitCOMAPI.h: Ditto.
7313        * WebCoreSupport/WebFrameLoaderClient.h: Added missing forward declaration.
7314
73152011-03-25  Sam Weinig  <sam@webkit.org>
7316
7317        Reviewed by Jon Honeycutt.
7318
7319        WebScrollBar not updating when calling WebScrollBar::setValue.
7320        <rdar://problem/9143871>
7321
7322        * WebScrollBar.cpp:
7323        (WebScrollBar::setValue):
7324        Call scrollToOffsetWithoutAnimation to actually update the scroll position.
7325
73262011-03-25  Andy Estes  <aestes@apple.com>
7327
7328        Reviewed by Adele Peterson.
7329
7330        REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
7331        https://bugs.webkit.org/show_bug.cgi?id=49016
7332
7333        Update objectContentType() implementation to handle the
7334        shouldPreferPlugInsForImages flag.
7335
7336        * WebFrame.cpp:
7337        (WebFrame::objectContentType):
7338        * WebFrame.h:
7339
73402011-03-24  Sheriff Bot  <webkit.review.bot@gmail.com>
7341
7342        Unreviewed, rolling out r81916 and r81917.
7343        http://trac.webkit.org/changeset/81916
7344        http://trac.webkit.org/changeset/81917
7345        https://bugs.webkit.org/show_bug.cgi?id=57071
7346
7347        broke a test on platforms that do not have QuickTime installed
7348        (Requested by estes on #webkit).
7349
7350        * WebFrame.cpp:
7351        (WebFrame::objectContentType):
7352        * WebFrame.h:
7353
73542011-03-24  Andy Estes  <aestes@apple.com>
7355
7356        Reviewed by Darin Adler.
7357
7358        REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
7359        https://bugs.webkit.org/show_bug.cgi?id=49016
7360
7361        Update objectContentType() implementation to handle the
7362        shouldPreferPlugInsForImages flag.
7363
7364        * WebFrame.cpp:
7365        (WebFrame::objectContentType):
7366        * WebFrame.h:
7367
73682011-03-23  Brady Eidson  <beidson@apple.com>
7369
7370        Reviewed by Sam Weinig.
7371
7372        Change IconDatabase opening to allow for arbitrary filenames
7373        https://bugs.webkit.org/show_bug.cgi?id=56977
7374
7375        * WebIconDatabase.cpp:
7376        (WebIconDatabase::startUpIconDatabase):
7377
73782011-03-22  Brady Eidson  <beidson@apple.com>
7379
7380        Reviewed by Sam Weinig.
7381
7382        <rdar://problem/8648311> and https://bugs.webkit.org/show_bug.cgi?id=56876
7383        WK2 Icon DB: Expand IconDatabaseClient interface and move it to the main thread
7384
7385        Note that while the new client calls always come through on the main thread, our mechanisms to
7386        route dispatches to the main thread are still valid and will still work.
7387
7388        Update to the new IconDatabaseClient interface:
7389        * WebIconDatabase.cpp:
7390        (WebIconDatabase::performImport):
7391        (WebIconDatabase::didRemoveAllIcons):
7392        (WebIconDatabase::didImportIconURLForPageURL):
7393        (WebIconDatabase::didImportIconDataForPageURL):
7394        (WebIconDatabase::didChangeIconForPageURL):
7395        (WebIconDatabase::didFinishURLImport):
7396        * WebIconDatabase.h:
7397
73982011-03-17  Brady Eidson  <beidson@apple.com>
7399
7400        Reviewed by Sam Weinig.
7401
7402        https://bugs.webkit.org/show_bug.cgi?id=56425
7403        More groundwork for WebKit2 IconDatabase
7404
7405        Update already-used function names:
7406        * WebIconDatabase.cpp:
7407        (WebIconDatabase::iconForURL):
7408        (WebIconDatabase::iconURLForURL):
7409        (WebIconDatabase::hasIconForURL):
7410
74112011-03-18  Pavel Podivilov  <podivilov@chromium.org>
7412
7413        Reviewed by Yury Semikhatsky.
7414
7415        Web Inspector: implement inspector session storage.
7416        https://bugs.webkit.org/show_bug.cgi?id=56643
7417
7418        * WebCoreSupport/WebInspectorClient.cpp:
7419        (WebInspectorClient::saveSessionSetting):
7420        (WebInspectorClient::loadSessionSetting):
7421        (WebInspectorFrontendClient::saveSessionSetting):
7422        (WebInspectorFrontendClient::loadSessionSetting):
7423        * WebCoreSupport/WebInspectorClient.h:
7424
74252011-03-11  Brady Eidson  <beidson@apple.com>
7426
7427        More Windows build fix for https://bugs.webkit.org/show_bug.cgi?id=56216
7428
7429        * WebCoreStatistics.cpp:
7430        * WebIconDatabase.cpp:
7431
74322011-03-09  Peter Kasting  <pkasting@google.com>
7433
7434        Reviewed by Mihai Parparita.
7435
7436        Unify Windows version checks.
7437        https://bugs.webkit.org/show_bug.cgi?id=55979
7438
7439        * WebView.cpp:
7440        (WebView::standardUserAgentWithApplicationName):
7441        (webKitVersionString):
7442
74432011-03-07  Sam Weinig  <sam@webkit.org>
7444
7445        Reviewed by Anders Carlsson.
7446
7447        Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse
7448        https://bugs.webkit.org/show_bug.cgi?id=55827
7449
7450        Renamed FrameLoaderClient::dispatchDecidePolicyForMIMEType to dispatchDecidePolicyForResponse
7451        and pass the entire response, instead of just the MIMEType.
7452
7453        * WebFrame.cpp:
7454        (WebFrame::dispatchDecidePolicyForResponse):
7455        * WebFrame.h:
7456
74572011-03-04  Steve Falkenburg  <sfalken@apple.com>
7458
7459        Reviewed by Darin Adler.
7460
7461        Adopt VersionStamper tool for Windows WebKit DLLs
7462        https://bugs.webkit.org/show_bug.cgi?id=55784
7463
7464        Calculate the WebKit version for the useragent via autoversion.h
7465        instead of reading it back from the DLL.
7466        
7467        We now use a tool to stamp the version number onto the Apple WebKit DLLs
7468        during the post-build step.
7469
7470        * WebKit.vcproj/WebKit.rc: Removed. This file wasn't used.
7471        * WebKit.vcproj/WebKitLibCommon.vsprops: Fetch version from a string resource.
7472        * WebView.cpp:
7473        (WebView::standardUserAgentWithApplicationName): Use __BUILD_NUMBER_SHORT__ for the version.
7474        (osVersion): Removed
7475
74762011-03-03  Anders Carlsson  <andersca@apple.com>
7477
7478        Reviewed by Sam Weinig.
7479
7480        Get rid of Page::globalHistoryItem
7481        https://bugs.webkit.org/show_bug.cgi?id=55738
7482
7483        * WebCoreSupport/WebFrameLoaderClient.cpp:
7484        (WebFrameLoaderClient::updateGlobalHistoryItemForPage):
7485        Get the current history item and update it using WebView::setGlobalHistoryItem.
7486        
7487        * WebCoreSupport/WebFrameLoaderClient.h:
7488        * WebView.cpp:
7489        (WebView::globalHistoryItem):
7490        (WebView::setGlobalHistoryItem):
7491        * WebView.h:
7492
74932011-03-03  Brent Fulgham  <bfulgham@webkit.org>
7494
7495        Unreviewed build correction.
7496
7497        * WebFrame.cpp:
7498        (scaleFactor): Update after 77286 to replace right/bottom
7499        with new maxX/maxY terminology.
7500
75012011-03-03  Brady Eidson  <beidson@apple.com>
7502
7503        Reviewed by Darin Adler.
7504
7505        https://bugs.webkit.org/show_bug.cgi?id=55721
7506        Global IconDatabase should be returned by reference, not as a pointer
7507
7508        * WebCoreStatistics.cpp:
7509        (WebCoreStatistics::iconPageURLMappingCount):
7510        (WebCoreStatistics::iconRetainedPageURLCount):
7511        (WebCoreStatistics::iconRecordCount):
7512        (WebCoreStatistics::iconsWithDataCount):
7513        * WebIconDatabase.cpp:
7514        (WebIconDatabase::init):
7515        (WebIconDatabase::startUpIconDatabase):
7516        (WebIconDatabase::iconForURL):
7517        (WebIconDatabase::retainIconForURL):
7518        (WebIconDatabase::releaseIconForURL):
7519        (WebIconDatabase::removeAllIcons):
7520        (WebIconDatabase::iconURLForURL):
7521        (WebIconDatabase::isEnabled):
7522        (WebIconDatabase::setEnabled):
7523        (WebIconDatabase::hasIconForURL):
7524        (WebIconDatabase::getOrCreateDefaultIconBitmap):
7525        * WebKitDLL.cpp:
7526        (shutDownWebKit):
7527
75282011-03-03  Alexey Proskuryakov  <ap@apple.com>
7529
7530        Removing an include of WebCoreKeyboardUIMode.h that Ive just added. It's already included
7531        via ChromeClient.h
7532
7533        * WebCoreSupport/WebChromeClient.h:
7534
75352011-03-02  Alexey Proskuryakov  <ap@apple.com>
7536
7537        Reviewed by Darin Adler.
7538
7539        REGRESSION (WebKit2): Tab keys no longer observe Full Keyboard Access
7540        https://bugs.webkit.org/show_bug.cgi?id=55633
7541        <rdar://problem/8963023>
7542
7543        * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::keyboardUIMode):
7544        * WebCoreSupport/WebChromeClient.h:
7545        Implement keyboardUIMode() instead of tabsToLinks(). No change in functionality, since
7546        this platform doesn't observe or have full keyboard access state.
7547
75482011-03-03  Peter Kasting  <pkasting@google.com>
7549
7550        Reviewed by James Robinson.
7551
7552        Drop redundant "Windows; " from the Windows-specific User Agent string.
7553        https://bugs.webkit.org/show_bug.cgi?id=54567
7554
7555        * WebView.cpp:
7556        (WebView::standardUserAgentWithApplicationName):
7557
75582011-03-01  Brian Weinstein  <bweinstein@apple.com>
7559
7560        Reviewed by Adam Roben.
7561
7562        Part of WebKit2: Need a way to send notifications to client when cookies change
7563        https://bugs.webkit.org/show_bug.cgi?id=55427
7564        <rdar://problem/9056027>
7565        
7566        Add stubs for CookiesStrategy on Windows WebKit1.
7567
7568        * WebCoreSupport/WebPlatformStrategies.cpp:
7569        (WebPlatformStrategies::createCookiesStrategy):
7570        (WebPlatformStrategies::notifyCookiesChanged):
7571        * WebCoreSupport/WebPlatformStrategies.h:
7572
75732011-02-28  Chang Shu  <cshu@webkit.org>
7574
7575        Reviewed by Ryosuke Niwa.
7576
7577        Remove the support of Frame::isContentEditable and its dependencies.
7578        https://bugs.webkit.org/show_bug.cgi?id=54292
7579
7580        Remove the WebKit side implementation.
7581
7582        * WebCoreSupport/WebEditorClient.cpp:
7583        * WebCoreSupport/WebEditorClient.h:
7584
75852011-02-28  Adam Roben  <aroben@apple.com>
7586
7587        Build TestWebKitAPIInjectedBundle on Windows
7588
7589        Fixes <http://webkit.org/b/55420> run-api-tests doesn't run injected bundle tests on Windows
7590
7591        Reviewed by Darin Adler.
7592
7593        * WebKit.vcproj/WebKit.sln: Added TestWebKitAPIInjectedBundle. Let VS simplify the paths to
7594        the project files.
7595
75962011-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
7597
7598        Unreviewed, rolling out r78789.
7599        http://trac.webkit.org/changeset/78789
7600        https://bugs.webkit.org/show_bug.cgi?id=55409
7601
7602        Incorrect canvas fallback implementation (Requested by
7603        inferno-sec on #webkit).
7604
7605        * AccessibleBase.cpp:
7606        (MSAARole):
7607
76082011-02-26  Vsevolod Vlasov  <vsevik@chromium.org>
7609
7610        Reviewed by Pavel Feldman.
7611
7612        DumpRenderTree should reset frame opener between tests.
7613        https://bugs.webkit.org/show_bug.cgi?id=54874
7614
7615        Added clearOpener method to IWebFramePrivate.
7616        Touched WebKit.idl to trigger build scripts.
7617
7618        * Interfaces/IWebFramePrivate.idl:
7619        * Interfaces/WebKit.idl:
7620        * WebFrame.cpp:
7621        (WebFrame::clearOpener):
7622        * WebFrame.h:
7623
76242011-02-26  Sheriff Bot  <webkit.review.bot@gmail.com>
7625
7626        Unreviewed, rolling out r79764.
7627        http://trac.webkit.org/changeset/79764
7628        https://bugs.webkit.org/show_bug.cgi?id=55295
7629
7630        "broke Chromium builds" (Requested by rniwa on #webkit).
7631
7632        * Interfaces/IWebFramePrivate.idl:
7633        * Interfaces/WebKit.idl:
7634        * WebFrame.cpp:
7635        * WebFrame.h:
7636
76372011-02-26  Vsevolod Vlasov  <vsevik@chromium.org>
7638
7639        Reviewed by Pavel Feldman.
7640
7641        DumpRenderTree should reset frame opener between tests.
7642        https://bugs.webkit.org/show_bug.cgi?id=54874
7643
7644        Added clearOpener method to IWebFramePrivate.
7645        Touched WebKit.idl to trigger build scripts.
7646
7647        * Interfaces/IWebFramePrivate.idl:
7648        * Interfaces/WebKit.idl:
7649        * WebFrame.cpp:
7650        (WebFrame::clearOpener):
7651        * WebFrame.h:
7652
76532011-02-24  Peter Kasting  <pkasting@google.com>
7654
7655        Reviewed by Eric Seidel.
7656
7657        Drop the "U; " encryption level from the User Agent string.
7658        https://bugs.webkit.org/show_bug.cgi?id=54566
7659
7660        * WebView.cpp:
7661        (WebView::standardUserAgentWithApplicationName):
7662
76632011-02-24  Andrew Wilson  <atwilson@chromium.org>
7664
7665        Unreviewed, rolling out r79570.
7666        http://trac.webkit.org/changeset/79570
7667        https://bugs.webkit.org/show_bug.cgi?id=54874
7668
7669        Breaks chromium build because glue/mocks/mock_web_frame.h/cc
7670        was not updated
7671
7672        * Interfaces/IWebFramePrivate.idl:
7673        * Interfaces/WebKit.idl:
7674        * WebFrame.cpp:
7675        * WebFrame.h:
7676
76772011-02-24  Vsevolod Vlasov  <vsevik@chromium.org>
7678
7679        Reviewed by Alexey Proskuryakov.
7680
7681        DumpRenderTree should reset frame opener between tests.
7682        https://bugs.webkit.org/show_bug.cgi?id=54874
7683
7684        Added clearOpener method to IWebFramePrivate.
7685        Touched WebKit.idl to trigger build scripts.
7686
7687        * Interfaces/IWebFramePrivate.idl:
7688        * Interfaces/WebKit.idl:
7689        * WebFrame.cpp:
7690        (WebFrame::clearOpener):
7691        * WebFrame.h:
7692
76932011-02-23  Patrick Gansterer  <paroga@webkit.org>
7694
7695        Reviewed by Darin Adler.
7696
7697        Rename PLATFORM(CF) to USE(CF)
7698        https://bugs.webkit.org/show_bug.cgi?id=53540
7699
7700        * WebView.cpp:
7701
77022011-02-22  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
7703
7704        Reviewed by Alexey Proskuryakov.
7705
7706        Drop the language tag part from the User Agent string
7707        https://bugs.webkit.org/show_bug.cgi?id=54560
7708
7709        * WebView.cpp:
7710        (WebView::standardUserAgentWithApplicationName):
7711
77122011-02-19  Charlie Reis  <creis@chromium.org>
7713
7714        Reviewed by Mihai Parparita.
7715
7716        Ensure loading has stopped in HistoryController::goToItem
7717        https://bugs.webkit.org/show_bug.cgi?id=54517
7718
7719        Add a FrameLoaderClient callback for whether to stop loading before goToItem.
7720
7721        Test: http/tests/navigation/forward-to-fragment-fires-onload.html
7722
7723        * WebCoreSupport/WebFrameLoaderClient.cpp:
7724        (WebFrameLoaderClient::shouldStopLoadingForHistoryItem): Added.
7725        * WebCoreSupport/WebFrameLoaderClient.h:
7726
77272011-02-16  David Hyatt  <hyatt@apple.com>
7728
7729        Reviewed by Dan Bernstein.
7730
7731        https://bugs.webkit.org/show_bug.cgi?id=54244
7732        
7733        Convert the line box tree to floating point and eliminate font rounding hacks.  This patch removes all of the rounding
7734        hacks from the Font code and makes sure all Font APIs involving width measurement and width offsets use floats.
7735        
7736        The line box tree's x, y and logicalWidth members have all been converted to floats and all of the line box APIs have
7737        been changed as well.
7738        
7739        In terms of pixel adjustments, overflow is using an enclosing model (so it will be enclosingIntRect of a line box's x/y/width/height).
7740        
7741        Background and border painting is using a rounding model, so borders and backgrounds will round to the nearest pixel when painting.
7742        
7743        Replaced elements still snap to integer positions on lines, and they use a rounding model as well, although their underlying line boxes
7744        still have a precise floating point position.
7745
7746        Justification will now allow subpixel positioning to occur as well.  Platforms that don't support subpixel positioning should already
7747        be rounding justification spacing in their font code.
7748
7749        Many layout test results change on Mac, since rounding hacks were used there and are now gone.
7750
7751        * WebKitGraphics.cpp:
7752        (CenterTruncateStringToWidth):
7753        (RightTruncateStringToWidth):
7754
77552011-02-10  Luiz Agostini  <luiz.agostini@openbossa.org>
7756
7757        Reviewed by Adam Roben.
7758
7759        HTML5 <details> and <summary>: localized text
7760        https://bugs.webkit.org/show_bug.cgi?id=54260
7761
7762        The method defaultDetailsSummaryText was added to LocalizationStrategy class. It is used to
7763        provide the default label to be used by a <details> tag that has no <summary> child.
7764
7765        * WebCoreSupport/WebPlatformStrategies.cpp:
7766        (WebPlatformStrategies::defaultDetailsSummaryText):
7767        * WebCoreSupport/WebPlatformStrategies.h:
7768
77692011-02-16  Dominic Mazzoni  <dmazzoni@google.com>
7770
7771        Reviewed by Chris Fleizach.
7772
7773        Add new role for canvas elements.
7774
7775        https://bugs.webkit.org/show_bug.cgi?id=50126
7776
7777        Test: accessibility/canvas-fallback-content.html
7778
7779        * AccessibleBase.cpp:
7780        (MSAARole):
7781
77822011-02-15  Kenneth Russell  <kbr@google.com>
7783
7784        Unreviewed. Remove whitespace-only change from
7785        http://trac.webkit.org/changeset/78620 (https://bugs.webkit.org/show_bug.cgi?id=54312)
7786        now that the patch has passed the Windows build bots.
7787
7788        * Interfaces/WebKit.idl:
7789
77902011-02-15  Kenneth Russell  <kbr@google.com>
7791
7792        Reviewed by Darin Fisher.
7793
7794        Allow controlling minimum DOMTimer interval on a per-page basis
7795        https://bugs.webkit.org/show_bug.cgi?id=54312
7796
7797        Added needed methods to implement LayoutTestController's new
7798        setMinimumTimerInterval method. Includes whitespace-only change to
7799        WebKit.idl to trigger proper rebuild on bots; will be removed in
7800        subsequent checkin.
7801
7802        * Interfaces/IWebViewPrivate.idl:
7803        * Interfaces/WebKit.idl:
7804        * WebView.cpp:
7805        (WebView::initWithFrame):
7806        (WebView::defaultMinimumTimerInterval):
7807        (WebView::setMinimumTimerInterval):
7808        * WebView.h:
7809
78102011-01-26  MORITA Hajime  <morrita@google.com>
7811
7812        Reviewed by Ryosuke Niwa.
7813
7814        Refactoring: Extract TextCheckerClient from EditorClient
7815        https://bugs.webkit.org/show_bug.cgi?id=53213
7816
7817        * WebCoreSupport/WebEditorClient.h:
7818        (WebEditorClient::textChecker):
7819
78202011-02-07  Ryosuke Niwa  <rniwa@webkit.org>
7821
7822        Reviewed by Adam Barth.
7823
7824        Add EditorClient callbacks to override isDOMPasteAllowed and javaScriptCanAccessClipboard
7825        https://bugs.webkit.org/show_bug.cgi?id=52417
7826
7827        Added two callback functions, canCopyCut and canPaste to EditorClient. They are currently
7828        not implemented.
7829
7830        * WebCoreSupport/WebEditorClient.cpp:
7831        (WebEditorClient::canCopyCut): Added.
7832        (WebEditorClient::canPaste): Added.
7833        * WebCoreSupport/WebEditorClient.h:
7834
78352011-02-14  Brian Weinstein  <bweinstein@apple.com>
7836
7837        Reviewed by Brady Eidson.
7838
7839        Need WebKit API to determine whether we have a site icon for a given URL
7840        https://bugs.webkit.org/show_bug.cgi?id=54400
7841        
7842        This patch implements IWebIconDatabase::hasIconForURL which tells us whether or not
7843        we have a site icon for the given URL.
7844
7845        * Interfaces/IWebIconDatabase.idl: Added new function.
7846        * Interfaces/WebKit.idl: Touched to make sure Interfaces rebuilds.
7847        * WebIconDatabase.cpp:
7848        (WebIconDatabase::hasIconForURL): Call IconDatabase::iconForPageURL to make sure we
7849            load the icon from disk, and call iconURLForPageURL to determine whether or not
7850            we actually have an icon.
7851        * WebIconDatabase.h:
7852
78532011-02-11  Geoffrey Garen  <ggaren@apple.com>
7854
7855        Reviewed by Oliver Hunt.
7856
7857        A little more encapsulation for the heap: Removed CollectorHeapIterator
7858        https://bugs.webkit.org/show_bug.cgi?id=54298
7859
7860        * WebCoreStatistics.cpp:
7861        (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
7862
78632011-02-09  Pavel Feldman  <pfeldman@chromium.org>
7864
7865        Reviewed by Yury Semikhatsky.
7866
7867        Web Inspector: follow up on InspectorAgent split -
7868        removing unnecessary methods from InspectorController.
7869        https://bugs.webkit.org/show_bug.cgi?id=54093
7870
7871        * WebInspector.cpp:
7872        (WebInspector::showConsole):
7873        (WebInspector::toggleProfilingJavaScript):
7874
78752011-02-08  Adam Barth  <abarth@webkit.org>
7876
7877        Reviewed by Eric Seidel.
7878
7879        Remove orphan code from old parser
7880        https://bugs.webkit.org/show_bug.cgi?id=53984
7881
7882        * WebCoreSupport/WebChromeClient.h:
7883
78842011-02-08  David Hyatt  <hyatt@apple.com>
7885
7886        Reviewed by Adam Roben.
7887
7888        <rdar://problem/8932077> REGRESSION (5.0.3-ToT): United boarding pass has wrong layout when printed
7889        
7890        Windows never got patched to pass in the page height to WebCore, so when WebCore's pagination got re-written to depend on this
7891        value, Windows got broken.  Patch setPrinting to be identical to WebKit1 on OS X and to have it take an extra minimum page height
7892        argument.
7893
7894        * WebFrame.cpp:
7895        (WebFrame::setPrinting):
7896        (WebFrame::setInPrintingMode):
7897        * WebFrame.h:
7898
78992011-02-02  Ilya Tikhonovsky  <loislo@chromium.org>
7900
7901        Reviewed by Yury Semikhatsky.
7902
7903        Web Inspector: move InspectorController's methods from InspectorAgent to InspectorController.
7904
7905        https://bugs.webkit.org/show_bug.cgi?id=53169
7906
7907        Minor change enforced by major changes in WebCore/inspector/InspectorController.
7908
7909        * WebInspector.cpp:
7910        (WebInspector::isTimelineProfilingEnabled):
7911
79122011-02-07  Enrica Casucci  <enrica@apple.com>
7913
7914        Reviewed Adam Roben and Darin Adler.
7915
7916        WebKit2: drag and drop support on Windows.
7917        https://bugs.webkit.org/show_bug.cgi?id=52775
7918
7919        Removed createDragImageForLink from DragClient.
7920
7921        * WebCoreSupport/WebDragClient.cpp:
7922        (WebDragClient::startDrag):
7923        * WebCoreSupport/WebDragClient.h:
7924
79252011-02-06  Ryosuke Niwa  <rniwa@webkit.org>
7926
7927        Reviewed by Darin Adler.
7928
7929        OwnArraryPtr.h uses deleteOwnedPtr but doesn’t include OwnPtrCommon.h
7930        https://bugs.webkit.org/show_bug.cgi?id=52867
7931
7932        * WebHistory.cpp:
7933        (WebHistory::orderedLastVisitedDays): Calls adoptArrayPtr.
7934        * WebPreferences.cpp:
7935        (WebPreferences::copyWebKitPreferencesToCFPreferences): Ditto.
7936
79372011-02-03  Yury Semikhatsky  <yurys@chromium.org>
7938
7939        Reviewed by Pavel Feldman.
7940
7941        Web Inspector: remove settings related methods from InspectorClient
7942        https://bugs.webkit.org/show_bug.cgi?id=53686
7943
7944        * WebCoreSupport/WebInspectorClient.cpp:
7945        (WebInspectorClient::openInspectorFrontend):
7946        (WebInspectorFrontendClient::WebInspectorFrontendClient):
7947        * WebCoreSupport/WebInspectorClient.h:
7948
79492011-02-03  Adam Langley  <agl@chromium.org>
7950
7951        Reviewed by Adam Barth.
7952
7953        Plumb mixed script URL to FrameLoaderClient
7954        https://bugs.webkit.org/show_bug.cgi?id=52384
7955
7956        Regressions covered by http/tests/security/mixedContent/*
7957
7958        * WebCoreSupport/WebFrameLoaderClient.cpp:
7959        (WebFrameLoaderClient::didRunInsecureContent):
7960        * WebCoreSupport/WebFrameLoaderClient.h:
7961
79622011-02-02  David Hyatt  <hyatt@apple.com>
7963
7964        Reviewed by Darin Adler.
7965
7966        Removal of right()/bottom(), converting to maxX()/maxY().
7967
7968        * DOMHTMLClasses.cpp:
7969        (DOMHTMLInputElement::rectOnScreen):
7970        * WebCoreSupport/EmbeddedWidget.cpp:
7971        (EmbeddedWidget::frameRectsChanged):
7972        * WebFrame.cpp:
7973        (WebFrame::computePageRects):
7974        * WebScrollBar.cpp:
7975        (WebScrollBar::frameRect):
7976        * WebView.cpp:
7977        (WebView::addToDirtyRegion):
7978        (WebView::visibleContentRect):
7979        (WebView::prepareCandidateWindow):
7980
79812011-01-31  Brady Eidson  <beidson@apple.com>
7982
7983        Reviewed by Adam Roben.
7984
7985        Fix the clean Windows build.
7986
7987        * WebKitGraphics.cpp:
7988        (WebDrawText):
7989
79902011-01-28  Jon Honeycutt  <jhoneycutt@apple.com>
7991
7992        Downloads in WK2 on Windows should write resume data to bundle
7993        https://bugs.webkit.org/show_bug.cgi?id=53282
7994        <rdar://problem/8753077>
7995
7996        Reviewed by Alice Liu.
7997
7998        * WebDownload.cpp:
7999        (WebDownload::bundlePathForTargetPath):
8000        Use the new WebCore::DownloadBundle function.
8001        (WebDownload::request):
8002
8003        * WebDownload.h:
8004        Removed declarations for functions that were moved to a new location.
8005
8006        * WebDownloadCFNet.cpp:
8007        (WebDownload::initToResumeWithBundle):
8008        Use the new WebCore::DownloadBundle function.
8009        (WebDownload::cancelForResume):
8010        Fix a leak of the resume data CFDataRef by using adoptCF(). Use the new
8011        WebCore::DownloadBundle function.
8012
80132011-01-28  Dan Bernstein  <mitz@apple.com>
8014
8015        Reviewed by Sam Weinig.
8016
8017        <select> can't display right-to-left (rtl) languages
8018        https://bugs.webkit.org/show_bug.cgi?id=19785
8019
8020        * WebCoreSupport/WebChromeClient.cpp:
8021        (WebChromeClient::selectItemAlignmentFollowsMenuWritingDirection): Added.
8022        * WebCoreSupport/WebChromeClient.h:
8023
80242011-01-27  Nate Chapin  <japhet@chromium.org>
8025
8026        Reviewed by Adam Barth.
8027
8028        Use Document::url() instead of FrameLoader::url().
8029        https://bugs.webkit.org/show_bug.cgi?id=41165
8030
8031        * WebFrame.cpp:
8032        (WebFrame::url):
8033
80342011-01-27  Sam Weinig  <sam@webkit.org>
8035
8036        Reviewed by Adam Roben.
8037
8038        Fix scrollbars in Safari's Downloads window and Bookmarks view by
8039        implementing two needed functions from ScrollableArea.
8040
8041        * WebScrollBar.cpp:
8042        (WebScrollBar::horizontalScrollbar): Return the WebCore::Scrollbar if
8043        we are a horizontal scrollbar.
8044        (WebScrollBar::verticalScrollbar): Return the WebCore::Scrollbar if we
8045        are a vertical scrollbar.
8046        * WebScrollBar.h:
8047
80482011-01-27  Adam Roben  <aroben@apple.com>
8049
8050        Trim down #includes in WebView.h
8051
8052        Rubber-stamped by Steve Falkenburg.
8053
8054        * WebView.cpp: Moved some #includes here from the header file.
8055
8056        * WebView.h: Replaced some broader #includes with more specific ones, plus a
8057        forward-declaration.
8058
80592011-01-25  Steve Falkenburg  <sfalken@apple.com>
8060
8061        Windows production build fix.
8062        Build correct configuration of Interfaces for Debug_All.
8063
8064        * WebKit.vcproj/WebKit.submit.sln:
8065
80662011-01-25  Steve Falkenburg  <sfalken@apple.com>
8067
8068        Rubber-stamped by Adam Roben.
8069
8070        Windows production build fix.
8071        Use correct environment variable escaping
8072
8073        * WebKit.vcproj/WebKit.make:
8074
80752011-01-24  Chris Marrin  <cmarrin@apple.com>
8076
8077        Reviewed by Eric Seidel.
8078
8079        Change ENABLE_3D_CANVAS to ENABLE_WEBGL
8080        https://bugs.webkit.org/show_bug.cgi?id=53041
8081
8082        * WebView.cpp:
8083        (WebView::notifyPreferencesChanged):
8084
80852011-01-25  Yury Semikhatsky  <yurys@chromium.org>
8086
8087        Reviewed by Pavel Feldman.
8088
8089        Web Inspector: remove "attached" state related methods from InspectorAgent
8090        https://bugs.webkit.org/show_bug.cgi?id=53086
8091
8092        * WebCoreSupport/WebInspectorClient.cpp:
8093        (WebInspectorFrontendClient::attachWindow):
8094        (WebInspectorFrontendClient::detachWindow):
8095        (WebInspectorFrontendClient::showWindowWithoutNotifications):
8096        * WebCoreSupport/WebInspectorClient.h:
8097
80982011-01-24  Adam Roben  <aroben@apple.com>
8099
8100        Windows Production build fix
8101
8102        * WebKit.vcproj/WebKit.make: Update for move of WebKit into Source.
8103
81042011-01-21  Nikolas Zimmermann  <nzimmermann@rim.com>
8105
8106        Reviewed by Dirk Schulze.
8107
8108        Introduce FontMetrics abstraction
8109        https://bugs.webkit.org/show_bug.cgi?id=51456
8110
8111        * FullscreenVideoController.cpp: Use FontMetrics instead of Font to access the metrics.
8112        (FullscreenVideoController::draw):
8113        * WebCoreSupport/WebDragClient.cpp: Ditto.
8114        (WebDragClient::createDragImageForLink):
8115        * WebKitGraphics.cpp: Ditto.
8116        (FontMetrics):
8117
81182011-01-21  Chris Rogers  <crogers@google.com>
8119
8120        Reviewed by Darin Fisher.
8121
8122        Add run-time enable support for the web audio API
8123        https://bugs.webkit.org/show_bug.cgi?id=52741
8124
8125        * WebPreferenceKeysPrivate.h:
8126        * WebView.cpp:
8127        (WebView::notifyPreferencesChanged):
8128
81292011-01-21  Sam Weinig  <sam@webkit.org>
8130
8131        Fix windows build.
8132
8133        * WebScrollBar.h:
8134
81352011-01-21  Sam Weinig  <sam@webkit.org>
8136
8137        Reviewed by Anders Carlsson.
8138
8139        Part 2 of "Cleanup Scrollbar/ScrollbarClient relationship"
8140        https://bugs.webkit.org/show_bug.cgi?id=52779
8141
8142        Rename ScrollbarClient -> ScrollableArea.
8143
8144        * WebScrollBar.cpp:
8145        (WebScrollBar::scroll):
8146        * WebScrollBar.h:
8147
81482011-01-20  Adam Roben  <aroben@apple.com>
8149
8150        Update for CACFLayerTreeHost changes
8151
8152        Fixes <http://webkit.org/b/52852> Flushing layer changes and rendering are intertwined in
8153        CACFLayerTreeHost, but shouldn't be
8154
8155        Reviewed by Simon Fraser.
8156
8157        * WebView.cpp:
8158        (WebView::paint): Changed to flush layer changes via CACFLayerTreeHost, which will call back
8159        to our own flushing function if needed.
8160
8161        * WebView.h: Removed shouldRender, which is no longer used or needed.
8162
81632011-01-21  Adam Roben  <aroben@apple.com>
8164
8165        Update for WKCACFLayerRenderer -> CACFLayerTreeHost rename
8166
8167        Also renamed WebView::m_layerRenderer to WebView::m_layerTreeHost to match.
8168
8169        Fixes <http://webkit.org/b/52898> WKCACFLayerRenderer sounds like a render object, but isn't
8170
8171        Reviewed by Simon Fraser.
8172
8173        * WebPreferences.cpp:
8174        * WebView.cpp:
8175        (WebView::setAcceleratedCompositing): Also made sure to remove our HWND from the layer tree
8176        host before we get rid of the layer tree host itself.
8177        * WebView.h:
8178
81792011-01-21  Adam Roben  <aroben@apple.com>
8180
8181        Replace some "sync compositing state" terminology with "flush pending GraphicsLayer changes"
8182
8183        This seems to be the direction in which our code is moving. I chose "GraphicsLayer" as
8184        opposed to just "layer" because there are cases where we flush changes to CACFLayers that
8185        don't have a corresponding GraphicsLayer.
8186
8187        Fixes <http://webkit.org/b/52894> "Sync compositing state" terminology in
8188        WKCACFLayerRenderer and friends is confusing
8189
8190        Reviewed by Simon Fraser.
8191
8192        * WebCoreSupport/WebChromeClient.cpp:
8193        (WebChromeClient::scheduleCompositingLayerSync): Updated for WebView changes.
8194
8195        * WebView.cpp:
8196        (WebView::paint): Updated for rename.
8197        (WebView::flushPendingGraphicsLayerChangesSoon): Renamed from scheduleCompositingLayerSync.
8198        (WebView::notifySyncRequired): Updated for rename.
8199        (WebView::flushPendingGraphicsLayerChanges): Renamed from syncCompositingState.
8200
8201        * WebView.h: Did the renames.
8202
82032011-01-20  Sam Weinig  <sam@webkit.org>
8204
8205        Reviewed by Dave Hyatt.
8206
8207        Cleanup Scrollbar/ScrollbarClient relationship
8208        https://bugs.webkit.org/show_bug.cgi?id=52779
8209
8210        * WebScrollBar.cpp:
8211        (WebScrollBar::WebScrollBar):
8212        (WebScrollBar::setValue):
8213        (WebScrollBar::value):
8214        (WebScrollBar::scroll):
8215        (WebScrollBar::scrollPosition):
8216        (WebScrollBar::setScrollOffset):
8217        * WebScrollBar.h:
8218
82192011-01-19  Adam Roben  <aroben@apple.com>
8220
8221        Update for WKCACFLayerRenderer changes
8222
8223        Fixes <http://webkit.org/b/52749> WKCACFLayerRenderer should be
8224        ref-counted
8225
8226        Reviewed by Simon Fraser.
8227
8228        * WebView.cpp:
8229        (WebView::~WebView): Added some assertions to make sure we've gotten rid of our
8230        compositing-related members. My biggest concern was making sure that m_layerRenderer was
8231        gone, which would also mean we had nulled out its client pointer.
8232        (WebView::setAcceleratedCompositing): Changed to call WKCACFLayerRenderer::setClient instead
8233        of passing the client into create(), and to clear out the client before nulling out
8234        m_layerRenderer.
8235
8236        * WebView.h: Changed m_layerRenderer from an OwnPtr to a RefPtr.
8237
82382011-01-19  Adam Roben  <aroben@apple.com>
8239
8240        Teach WebView::scrollBackingStore about compositing mode
8241
8242        Test:
8243            compositing/scroll-painted-composited-content.html
8244
8245        Fixes <http://webkit.org/b/52720> REGRESSION (r75987): Assertion failure in
8246        WebView::scrollBackingStore when scrolling page with composited content
8247
8248        Reviewed by Anders Carlsson.
8249
8250        * WebView.cpp:
8251        (WebView::scrollBackingStore): Do something sensible (though naive) when in compositing
8252        mode, rather than incorrectly asserting that this function is never called in that case. For
8253        now we just repaint the entire scrolled region; someday hopefully we can avoid having to
8254        repaint the areas that have just been moved.
8255
82562011-01-19  Simon Fraser  <simon.fraser@apple.com>
8257
8258        Reviewed by Sam Weinig.
8259
8260        GraphicsLayers in subframes can get sync'd multiple times
8261        https://bugs.webkit.org/show_bug.cgi?id=52489
8262
8263        * WebView.cpp:
8264        (WebView::syncCompositingState): syncCompositingStateRecursive()
8265        was renamed to syncCompositingStateIncludingSubframes().
8266
82672011-01-17  Adam Roben  <aroben@apple.com>
8268
8269        Update for WKCACFLayerRenderer changes
8270
8271        Fixes <http://webkit.org/b/52587> WKCACFLayerRenderer is hard to use
8272
8273        Reviewed by Chris Marrin.
8274
8275        * WebView.cpp:
8276        (WebView::WebViewWndProc): Removed call to layerRendererBecameVisible
8277        when handling WM_SHOWWINDOW. All this did was try to create the
8278        renderer, but it had already been created in setAcceleratedCompositing,
8279        so wasn't needed.
8280        (WebView::setAcceleratedCompositing): Removed call to createRenderer;
8281        setHostWindow does this for us now.
8282
8283        * WebView.h: Removed animationsStarted and layerRendererBecameVisible.
8284
82852011-01-17  Adam Roben  <aroben@apple.com>
8286
8287        Paint directly into a GraphicsLayer when using accelerated compositing
8288
8289        Before this patch, we were painting into our normal backing store
8290        HBITMAP, wrapping it in a CGImage, and handing it off to Core
8291        Animation. This had at least two disadvantages:
8292           1) The bitmap could be modified while Core Animation was using it.
8293           2) It introduced extra complexity.
8294
8295        When entering accelerated compositing mode, WebView now creates a
8296        GraphicsLayer to draw into. This GraphicsLayer sits between the root
8297        layer (owned by WKCACFLayerRenderer) and the RenderView's layer. When
8298        WebView invalidates, it just calls setNeedsDisplayInRect on its
8299        GraphicsLayer. When WebView paints, it just tells its
8300        WKCACFLayerRenderer to paint, which will call back to WebView to draw
8301        into the GraphicsLayer if it has a dirty region. This is very similar
8302        to the current implementation of LayerBackedDrawingArea in WebKit2.
8303
8304        Fixes <http://webkit.org/b/52582> WebView should paint directly into a
8305        GraphicsLayer when in accelerated compositing mode
8306
8307        Reviewed by Simon Fraser and Chris Marrin.
8308
8309        * WebCoreSupport/WebChromeClient.cpp:
8310        (WebChromeClient::attachRootGraphicsLayer):
8311        (WebChromeClient::scheduleCompositingLayerSync):
8312        Updated for WebView changes.
8313
8314        * WebView.cpp:
8315        (WebView::repaint): When using accelerated compositing, just invalidate
8316        our backing layer. This matches the behavior of LayerBackedDrawingArea.
8317        (WebView::deleteBackingStore): Removed accelerated compositing code.
8318        The WKCACFLayerRenderer doesn't need to know about our backing store
8319        anymore; we don't use it at all when in accelerated compositing mode.
8320        (WebView::addToDirtyRegion): When using accelerated compositing, just
8321        invalidate our backing layer.
8322        (WebView::scrollBackingStore): Added an assertion that this isn't
8323        called in accelerated compositing mode.
8324        (WebView::sizeChanged): Update our backing layer's size, too, and
8325        invalidate it.
8326        (WebView::updateBackingStore): Added an assertion that this isn't
8327        called in accelerated compositing mode.
8328        (WebView::paint): If we're in accelerated compositing mode, sync our
8329        compositing state. If we're *still* in accelerated compositing mode,
8330        just tell our WKCACFLayerRenderer to paint and clear our dirty region.
8331        (The later changes in this function are just un-indenting code that
8332        used to be inside an if.)
8333
8334        (WebView::paintIntoBackingStore):
8335        (WebView::paintIntoWindow):
8336        Added assertions that these aren't called in accelerated compositing
8337        mode.
8338
8339        (WebView::WebViewWndProc): Updated WM_XP_THEMECHANGED handling for
8340        removal of setRootLayerNeedsDisplay.
8341        (WebView::setRootChildLayer): Changed to take a GraphicsLayer. We now
8342        set the layer as a child of our own backing layer.
8343        (WebView::scheduleCompositingLayerSync): Just call through to
8344        WKCACFLayerRenderer.
8345        (WebView::setAcceleratedCompositing): Create our backing layer and set
8346        it as the child of WKCACFLayerRenderer's root layer.
8347        (WebView::notifyAnimationStarted): Added. We never expect this
8348        GraphicsLayerClient override to be called, as we don't use animations
8349        on our backing layer.
8350        (WebView::notifySyncRequired): Added. Just schedule a sync.
8351        (WebView::paintContents): Added. Just clip and paint!
8352
8353        (WebView::showDebugBorders):
8354        (WebView::showRepaintCounter):
8355        Added. These just call through to Settings.
8356
8357        (WebView::syncCompositingState): Changed to first update layout, then
8358        sync state for our backing layer, then sync WebCore's state. This
8359        matches LayerBackedDrawingArea.
8360
8361        * WebView.h: WebView now implements the GraphicsLayerClient interface.
8362        Removed setRootLayerNeedsDisplay; it's been replaced by calling
8363        setNeedsDisplay on our backing layer and calling
8364        syncCompositingStateSoon on WKCACFLayerRenderer as needed. Removed
8365        updateRootLayerContents; that function was used to pass our backing
8366        store to Core Animation, which we no longer do. Added m_backingLayer.
8367
83682011-01-17  Tony Gentilcore  <tonyg@chromium.org>
8369
8370        Reviewed by Alexey Proskuryakov.
8371
8372        Fix some headers with missing or misspelled #ifndef guards
8373        https://bugs.webkit.org/show_bug.cgi?id=52545
8374
8375        * WebKitStatistics.h:
8376
83772011-01-17  Pavel Feldman  <pfeldman@chromium.org>
8378
8379        Reviewed by Yury Semikhatsky.
8380
8381        Web Inspector: simplify debugger enabling routine.
8382        https://bugs.webkit.org/show_bug.cgi?id=52472
8383
8384        * WebInspector.cpp:
8385        (WebInspector::toggleDebuggingJavaScript):
8386
83872011-01-16  Adam Barth  <abarth@webkit.org>
8388
8389        Rubber-stamped by Eric Seidel.
8390
8391        Move WebKit into Source
8392        https://bugs.webkit.org/show_bug.cgi?id=52530
8393
8394        * WebKit.vcproj/Interfaces.vcproj:
8395        * WebKit.vcproj/WebKit.sln:
8396        * WebKit.vcproj/WebKit.vcproj:
8397        * WebKit.vcproj/WebKitGUID.vcproj:
8398
83992011-01-15  Adam Barth  <abarth@webkit.org>
8400
8401        Rubber-stamped by Eric Seidel.
8402
8403        Move WebKit2 into Source
8404        https://bugs.webkit.org/show_bug.cgi?id=52438
8405
8406        Update reference to WebKit2.
8407
8408        * WebKit.vcproj/WebKit.sln:
8409
84102011-01-14  Yuzo Fujishima  <yuzo@google.com>
8411
8412        Reviewed by Antti Koivisto.
8413
8414        Rename cache() to memoryCache()
8415        https://bugs.webkit.org/show_bug.cgi?id=52433
8416
8417        * WebCache.cpp:
8418        (WebCache::statistics):
8419        (WebCache::empty):
8420        (WebCache::setDisabled):
8421        (WebCache::disabled):
8422        * WebView.cpp:
8423        (WebView::setCacheModel):
8424
84252011-01-10  Geoffrey Garen  <ggaren@apple.com>
8426
8427        Try to fix Windows build.
8428
8429        * WebJavaScriptCollector.cpp: Updated for rename to Heap.*. (Didn't catch
8430        this one before because it was miscapitalized.)
8431
84322011-01-09  Xianzhu Wang <phnixwxz@gmail.com>
8433
8434        Reviewed by Darin Fisher.
8435
8436        https://bugs.webkit.org/show_bug.cgi?id=41441
8437        createWindow method should only do window-creating without URL navigation
8438
8439        * WebCoreSupport/WebChromeClient.cpp:
8440        (WebChromeClient::createWindow):
8441
84422011-01-07  Adam Barth  <abarth@webkit.org>
8443
8444        Rubber-stamped by Eric Seidel.
8445
8446        Move WebCore to Source
8447        https://bugs.webkit.org/show_bug.cgi?id=52050
8448
8449        * WebKit.vcproj/WebKit.sln:
8450
84512011-01-06  Gavin Barraclough  <barraclough@apple.com>
8452
8453        Reviewed by Geoff Garen.
8454
8455        Bug 52035 - Unregistering DOMWrapperWorlds is unsafe
8456
8457        The method DOMWrapperWorld::unregisterWorld() effectively calls the DOMWrapperWorld's
8458        destructor early, in order to release wrappers once we know we no longer intend to use them.
8459        Whilst it is okay to have a method to throw away wrappers (assuming we know we're willing to
8460        lose any state stored on them) it is not okay to deregister the world from the JSGlobalData.
8461        A sequence of events that triggers the bug would look like this:
8462
8463        (1) Create a DOMWrapperWorld.
8464        (2) Register a timer in the world.
8465        (3) Call unregisterWorld() on the world.
8466        (4) Timer goes off, code is executed in the world, creates a Node not attached to a Document.
8467        (5) We attempt to lookup a wrapper map for the world on the JSGlobalData, but because we've
8468            called forgetWorld() none exists.
8469        (6) Attempt to add a wrapper to a NULL map.
8470
8471        Fix the problem by not removing the JSGlobalData's wrapper map until the world really goes away.
8472
8473        * WebScriptWorld.cpp:
8474        (WebScriptWorld::unregisterWorld):
8475
84762011-01-07  Chris Marrin  <cmarrin@apple.com>
8477
8478        Rubber-stamped by Simon Fraser.
8479
8480        Share code between Mac (CA) and Windows (CACF) GraphicsLayer implementations
8481        https://bugs.webkit.org/show_bug.cgi?id=49388
8482
8483        Change client API for the fullscreen video controller. It now uses a 
8484        PlatformCALayerClient so it can use a PlaformCALayer directly. Also
8485        updated how to connect the layer tree to the view to reflect the updated
8486        hardware compositing logic.
8487
8488        * FullscreenVideoController.cpp:
8489        (FullscreenVideoController::LayerClient::LayerClient):
8490        (FullscreenVideoController::LayerClient::platformCALayerRespondsToLayoutChanges):
8491        (FullscreenVideoController::LayerClient::platformCALayerAnimationStarted):
8492        (FullscreenVideoController::LayerClient::platformCALayerContentsOrientation):
8493        (FullscreenVideoController::LayerClient::platformCALayerPaintContents):
8494        (FullscreenVideoController::LayerClient::platformCALayerShowDebugBorders):
8495        (FullscreenVideoController::LayerClient::platformCALayerShowRepaintCounter):
8496        (FullscreenVideoController::LayerClient::platformCALayerIncrementRepaintCount):
8497        (FullscreenVideoController::LayerClient::platformCALayerContentsOpaque):
8498        (FullscreenVideoController::LayerClient::platformCALayerDrawsContent):
8499        (FullscreenVideoController::LayerClient::platformCALayerLayerDidDisplay):
8500        (FullscreenVideoController::LayerClient::platformCALayerLayoutSublayersOfLayer):
8501        (FullscreenVideoController::FullscreenVideoController):
8502        (FullscreenVideoController::~FullscreenVideoController):
8503        (FullscreenVideoController::enterFullscreen):
8504        * FullscreenVideoController.h:
8505        * WebCoreSupport/WebChromeClient.cpp:
8506        (WebChromeClient::attachRootGraphicsLayer):
8507        (WebChromeClient::scheduleCompositingLayerSync):
8508        * WebView.cpp:
8509        (WebView::setRootChildLayer):
8510        (WebView::animationsStarted):
8511        (WebView::syncCompositingState):
8512        * WebView.h:
8513        (WebView::setRootLayerNeedsDisplay):
8514
85152011-01-05  Steve Falkenburg  <sfalken@apple.com>
8516
8517        Reviewed by Darin Adler.
8518
8519        Debug and Release builds on Windows clobber each other
8520        https://bugs.webkit.org/show_bug.cgi?id=49185
8521
8522        Changes the structure of WebKitBuild build products directory so we
8523        completely separate each build configuration into independent directories.
8524        
8525        Although we previously had per-configuration directories for obj, this change adds
8526        per-configuration directories for bin, lib, obj, and include. Each configuration's
8527        build products are stored within a directory inside of WebKitBuild.
8528        
8529        Most use of $(WebKitOutputDir) in the build files has been replaced by $(ConfigurationBuildDir),
8530        defined in common.vsprops to be $(WebKitOutputDir)\$(ConfigurationName).
8531
8532        * WebKit.vcproj/InterfacesCommon.vsprops:
8533        * WebKit.vcproj/InterfacesPostBuild.cmd:
8534        * WebKit.vcproj/InterfacesPreBuild.cmd:
8535        * WebKit.vcproj/WebKit.make:
8536        * WebKit.vcproj/WebKitGUID.vcproj:
8537        * WebKit.vcproj/WebKitGUIDCommon.vsprops:
8538        * WebKit.vcproj/WebKitGUIDPostBuild.cmd:
8539        * WebKit.vcproj/WebKitGUIDPreBuild.cmd:
8540        * WebKit.vcproj/WebKitLibCommon.vsprops:
8541        * WebKit.vcproj/WebKitLibPostBuild.cmd:
8542        * WebKit.vcproj/WebKitLibPreBuild.cmd:
8543
85442011-01-04  Chris Fleizach  <cfleizach@apple.com>
8545
8546        Reviewed by Sam Weinig.
8547
8548        WK2: Support Accessibility
8549        https://bugs.webkit.org/show_bug.cgi?id=51859
8550
8551        Use rootObject() method to get the top of the AX tree.
8552
8553        * AccessibleDocument.cpp:
8554        (AccessibleDocument::AccessibleDocument):
8555
85562011-01-01  Adam Barth  <abarth@webkit.org>
8557
8558        Reviewed by Eric Seidel.
8559
8560        Move JavaScriptCore to Source
8561        https://bugs.webkit.org/show_bug.cgi?id=51604
8562
8563        * WebKit.vcproj/WebKit.sln:
8564          - Point to JavaScriptCore in its new location.
8565
85662010-12-22  Sam Weinig  <sam@webkit.org>
8567
8568        Reviewed by Darin Adler.
8569
8570        WebKit2 needs to mirror the frame tree in the UIProcess
8571        https://bugs.webkit.org/show_bug.cgi?id=51546
8572
8573        - Add client functions to notify that a frame has been added or
8574          removed from the page cache.
8575
8576        * WebCoreSupport/WebFrameLoaderClient.cpp:
8577        (WebFrameLoaderClient::didSaveToPageCache):
8578        (WebFrameLoaderClient::didRestoreFromPageCache):
8579        * WebCoreSupport/WebFrameLoaderClient.h:
8580
85812010-12-22  Dan Bernstein  <mitz@apple.com>
8582
8583        Changed WebKitTools to Tools.
8584
8585        * WebKit.vcproj/WebKit.sln:
8586
85872010-12-14  Adam Roben  <aroben@apple.com>
8588
8589        Always record the last-set cursor, even when the UI delegate is
8590        setting the cursor for us
8591
8592        Prior to r63339, the last-set cursor was recorded in Widget::setCursor.
8593        r63339 moved that code up to WebChromeClient, but failed to call it
8594        when the UI delegate was the one setting the cursor.
8595
8596        Fixes <http://webkit.org/b/45692> <rdar://problem/8423464> REGRESSION
8597        (r63339): Mouse cursor disappears when holding mouse button down on
8598        page
8599
8600        Reviewed by Ada Chan.
8601
8602        * WebCoreSupport/WebChromeClient.cpp:
8603        (WebChromeClient::setCursor): After the cursor is set, regardless of
8604        whether the UI delegate sets it or we set it, record the cursor that
8605        was just set. That way we'll be able to use the cursor later when
8606        responding to the WM_SETCURSOR message.
8607
86082010-12-13  Alexey Proskuryakov  <ap@apple.com>
8609
8610        Reviewed by Adam Barth.
8611
8612        https://bugs.webkit.org/show_bug.cgi?id=50953
8613        DNS Prefetch should be an opt-in feature
8614
8615        * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): Changed default to NO.
8616
86172010-10-28  MORITA Hajime  <morrita@google.com>
8618
8619        Reviewed by Ojan Vafai.
8620
8621        spellcheck does not check pasted text
8622        https://bugs.webkit.org/show_bug.cgi?id=40092
8623
8624        Added a stub implememntation.
8625
8626        * WebCoreSupport/WebEditorClient.h:
8627        (WebEditorClient::requestCheckingOfString):
8628
86292010-12-10  Chris Fleizach  <cfleizach@apple.com>
8630
8631        Reviewed by Darin Adler.
8632
8633        AX: refactor AccessibilityRenderObject::doAccessibilityHitTest
8634        https://bugs.webkit.org/show_bug.cgi?id=50574
8635
8636        * AccessibleBase.cpp:
8637        (AccessibleBase::accHitTest):
8638
86392010-12-09  Brian Weinstein  <bweinstein@apple.com>
8640
8641        Reviewed by Adam Roben.
8642
8643        Prep for WebKit2: Context menu support on Windows
8644        https://bugs.webkit.org/show_bug.cgi?id=50514
8645        
8646        Update WebKit for the new CROSS_PLATFORM_CONTEXT_MENUS flag, and define customizeMenu
8647        instead of getCustomMenuFromDefaultItems.
8648
8649        * WebCoreSupport/WebContextMenuClient.cpp:
8650        (WebContextMenuClient::customizeMenu): getCustomMenuFromDefaultItems was turned into
8651            this function, with refactoring using nativeMenu instead of platformDescription.
8652        (WebContextMenuClient::contextMenuItemSelected):  Use nativeMenu instead of platformDescription.
8653        * WebCoreSupport/WebContextMenuClient.h:
8654        * WebView.cpp:
8655        (WebView::handleContextMenuEvent): Call nativeMenu instead of platformDescription.
8656        (WebView::performContextMenuAction): Only call itemAtIndex with one argument, no need
8657            for the second.
8658
86592010-12-07  Brian Weinstein  <bweinstein@apple.com>
8660
8661        Reviewed by John Sullivan.
8662
8663        Layering Violation in ContextMenu - member variable of type HitTestResult
8664        https://bugs.webkit.org/show_bug.cgi?id=50586
8665        
8666        Update users of ContextMenu and ContextMenuController to match where the new functions 
8667        are located.
8668
8669        * WebCoreSupport/WebContextMenuClient.cpp:
8670        (WebContextMenuClient::getCustomMenuFromDefaultItems): Get the HitTestResult and ContextMenu from the 
8671            ContextMenuController (from the page).
8672        (WebContextMenuClient::contextMenuItemSelected): Get the HitTestResult from the ContextMenuController.
8673        * WebView.cpp:
8674        (WebView::handleContextMenuEvent): Ditto.
8675
86762010-12-07  Jessie Berlin  <jberlin@apple.com>
8677
8678        Build fix. Unreviewed.
8679
8680        * WebCoreSupport/WebContextMenuClient.cpp:
8681        (WebContextMenuClient::searchWithGoogle):
8682        FrameLoader::urlSelected does not take a SecurityOrigin as a parameter.
8683
86842010-12-06  Darin Adler  <darin@apple.com>
8685
8686        Reviewed by Sam Weinig.
8687
8688        Pass security origin to make local file decision correctly
8689        https://bugs.webkit.org/show_bug.cgi?id=48603
8690
8691        * WebCoreSupport/WebContextMenuClient.cpp:
8692        (WebContextMenuClient::searchWithGoogle): Pass security origin.
8693
86942010-12-07  Kenichi Ishibashi  <bashi@google.com>
8695
8696        Reviewed by Kent Tamura.
8697
8698        Let HTMLObjectElement be a form associated element
8699        https://bugs.webkit.org/show_bug.cgi?id=48821
8700
8701        Modified to use FormAssociatedElement instead of HTMLFormControlElement.
8702
8703        * WebFrame.cpp:
8704        (WebFrame::elementWithName): Modified to use FormAssociatedElement
8705        instead of HTMLFormControlElement.
8706        (WebFrame::controlsInForm): Ditto.
8707
87082010-12-05  Adam Roben  <aroben@apple.com>
8709
8710        Windows production build fix
8711
8712        Put spaces after trailing backslashes when setting
8713        %WebKitVSPropsRedirectionDir%. According to MSDN
8714        <http://msdn.microsoft.com/en-us/library/2kzfk8c7(v=VS.80).aspx>:
8715
8716           A backslash ( \ ) followed by a newline character is interpreted as
8717           a space in the command; use a backslash at the end of a line to
8718           continue a command onto the next line. NMAKE interprets the
8719           backslash literally if any other character, including a space or
8720           tab, follows the backslash.
8721
8722        * WebKit.vcproj/WebKit.make:
8723
87242010-12-03  Sam Weinig  <sam@webkit.org>
8725
8726        Reviewed by Maciej Stachowiak.
8727
8728        Enable <a ping> for Mac/Windows/WebKit2 builds
8729        <rdar://problem/8504473>
8730        https://bugs.webkit.org/show_bug.cgi?id=50488
8731
8732        * WebPreferences.cpp:
8733        (WebPreferences::initializeDefaultSettings): Enable "HyperlinkAuditing" by default.
8734
87352010-12-03  Brian Weinstein  <bweinstein@apple.com>
8736
8737        Reviewed by Brady Eidson.
8738
8739        WebContextMenuClient::fixMenuReceivedFromOldSafari is no longer needed on Windows
8740        https://bugs.webkit.org/show_bug.cgi?id=50486
8741        
8742        Remove the static fixMenuReceivedFromOldSafari and isPreInspectElementTagSafari methods 
8743        from WebContextMenuClient. There were there for when WebKit had the Inspect Element context menu
8744        item, but Safari didn't support it. We don't support that old Safari, so that code can go.
8745
8746        * WebCoreSupport/WebContextMenuClient.cpp:
8747        (WebContextMenuClient::getCustomMenuFromDefaultItems):
8748
87492010-12-02  John Knottenbelt  <jknotten@chromium.org>
8750
8751        Reviewed by Steve Block.
8752
8753        Move requestGeolocationPermissionForFrame to GeolocationClient
8754        https://bugs.webkit.org/show_bug.cgi?id=50061
8755
8756        This change facilitates client-based geolocation implementation by
8757        bringing together permission control into the geolocation client
8758        interface.
8759
8760        Move method ChromeClient::requestGeolocationPermissionForFrame to
8761        GeolocationClient::requestPermission. The moved code is unchanged
8762        except that requestPermission now takes only one argument (Geolocation*),
8763        the Frame parameter is retrieved from the Geolocation object and we need to
8764        call m_webView.get() as it is a COMPtr in GeolocationClient.
8765
8766        * WebCoreSupport/WebChromeClient.cpp:
8767        * WebCoreSupport/WebChromeClient.h:
8768        * WebCoreSupport/WebGeolocationClient.cpp:
8769        (WebGeolocationClient::requestPermission):
8770        * WebCoreSupport/WebGeolocationClient.h:
8771        (WebGeolocationClient::cancelPermissionRequest):
8772
87732010-12-01  Jia Pu  <jpu@apple.com>
8774
8775        Reviewed by Darin Adler.
8776
8777        Support multiple correction candidates panel for misspelled word on Mac OS X.
8778        https://bugs.webkit.org/show_bug.cgi?id=50137
8779        <rdar://problem/8568059>
8780
8781        Adopted new function signature defined in base class.
8782
8783        * WebCoreSupport/WebEditorClient.cpp:
8784        (WebEditorClient::getGuessesForWord):
8785        * WebCoreSupport/WebEditorClient.h:
8786
87872010-12-01  Steve Falkenburg  <sfalken@apple.com>
8788
8789        Reviewed by Adam Roben.
8790
8791        WinCairo build should not use link-time code generation (LTCG)
8792        https://bugs.webkit.org/show_bug.cgi?id=50353
8793
8794        * WebKit.vcproj/Interfaces.vcproj:
8795        * WebKit.vcproj/WebKit.vcproj:
8796        * WebKit.vcproj/WebKitGUID.vcproj:
8797
87982010-12-01  Steve Falkenburg  <sfalken@apple.com>
8799
8800        Reviewed by Adam Roben.
8801
8802        vcproj changes can't be applied cleanly by the Windows EWS bot
8803        https://bugs.webkit.org/show_bug.cgi?id=50328
8804
8805        * WebKit.vcproj/Interfaces.vcproj: Modified property svn:eol-style.
8806        * WebKit.vcproj/InterfacesCommon.vsprops: Added property svn:eol-style.
8807        * WebKit.vcproj/WebKit.sln: Modified property svn:eol-style.
8808        * WebKit.vcproj/WebKit.submit.sln: Modified property svn:eol-style.
8809        * WebKit.vcproj/WebKit.vcproj: Modified property svn:eol-style.
8810        * WebKit.vcproj/WebKitGUID.vcproj: Modified property svn:eol-style.
8811        * WebKit.vcproj/WebKitGUIDCommon.vsprops: Added property svn:eol-style.
8812        * WebKit.vcproj/WebKitLibCommon.vsprops: Added property svn:eol-style.
8813
88142010-11-30  Steve Falkenburg  <sfalken@apple.com>
8815
8816        Reviewed by Adam Roben.
8817
8818        All projects on Windows should use cmd files for build events
8819        https://bugs.webkit.org/show_bug.cgi?id=50213
8820
8821        * WebKit.vcproj/InterfacesCommon.vsprops:
8822        * WebKit.vcproj/InterfacesPostBuild.cmd: Added.
8823        * WebKit.vcproj/InterfacesPreBuild.cmd: Added.
8824        * WebKit.vcproj/WebKitGUIDCommon.vsprops:
8825        * WebKit.vcproj/WebKitGUIDPostBuild.cmd: Added.
8826        * WebKit.vcproj/WebKitGUIDPreBuild.cmd: Added.
8827        * WebKit.vcproj/WebKitLibCommon.vsprops:
8828        * WebKit.vcproj/WebKitLibPostBuild.cmd: Added.
8829        * WebKit.vcproj/WebKitLibPreBuild.cmd: Added.
8830
88312010-11-29  Brent Fulgham  <bfulgham@webkit.org>
8832
8833        Unreviewed build correction.
8834
8835        * WebKit.vcproj/WebKit.vcproj: Update WebKit project to
8836          use WinCairo.vsprops definition for appropriate build targets.
8837
88382010-11-22  Adam Roben  <aroben@apple.com>
8839
8840        Use paths relative to $WebKitVSPropsRedirectionDir to access shared .vsprops files
8841
8842        Apple's Windows build allows placing header files and import libraries for WebKit's
8843        dependencies (CoreGraphics, CFNetwork, SQLite, etc.) outside the source tree via the
8844        $WebKitLibrariesDir environment variable. This is both required for production builds and
8845        convenient for Apple-internal developer builds. Apple's production builds also require that
8846        WebKit's shared .vsprops files be accessed relative to $WebKitLibrariesDir. In production
8847        builds, the files are copied into that directory tree by the
8848        WebKitLibraries/win/tools/WinTools.make file. In Apple-internal developer builds, the
8849        copying is done by
8850        JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.make.
8851
8852        This .vsprops copying is problematic in one very important case: when a developer updates
8853        their source tree and then tries to build. Visual Studio only reads .vsprops files when a
8854        project is first loaded. So, when Visual Studio is first opened after the .vsprops files are
8855        updated, it reads in the old files that were already residing in $WebKitLibrariesDir. When a
8856        build is started, JavaScriptCoreGenerated.make copies the new .vsprops files into
8857        $WebKitLibrariesDir, but Visual Studio will not pick up the changes.  The rest of the build
8858        will proceed with out-of-date .vsprops files, which will likely result in a build failure.
8859
8860        To fix this, we now use normal relative paths to access the .vsprops files in the source
8861        tree rather than in $WebKitLibrariesDir, but prefix those paths with a new environment
8862        variable, $WebKitVSPropsRedirectionDir. In developer builds, this environment variable is
8863        unset, so the normal relative paths are used to read the .vsprops files out of the source
8864        tree directly. In production builds, this environment variable is set to a fake directory
8865        that will cause the .vsprops files in $WebKitLibrariesDir to be found when the relative path
8866        is resolved.
8867        
8868        For example, JavaScriptCore.vcproj uses this path for FeatureDefines.vsprops:
8869
8870        $(WebKitVSPropsRedirectionDir)..\..\..\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops
8871
8872        In developer builds, where $WebKitVSPropsRedirectionDir is unset, this will point to the
8873        files in WebKitLibraries\win\tools\vsprops in the source tree. In production builds,
8874        JavaScriptCore.make sets $WebKitVSPropsRedirectionDir to
8875        "$(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\1\2\3\", so the full path for
8876        FeatureDefines.vsprops becomes:
8877
8878        $(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\1\2\3\..\..\..\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops
8879
8880        which resolves to:
8881
8882        $(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops
8883
8884        (We rely on the fact that Windows doesn't care whether the directories "1", "2", and "3"
8885        actually exist since they are matched by an equal number of ".." path components.)
8886
8887        Note that Visual Studio still won't pick up changes made to .vsprops files while Visual
8888        Studio is open, but that problem hasn't seemed to cause developers many headaches so far.
8889
8890        Fixes <http://webkit.org/b/49181> Windows build fails mysteriously when .vsprops files are
8891        updated
8892
8893        Reviewed by Dave Hyatt.
8894
8895        * WebKit.vcproj/WebKit.make: Set $WebKitVSPropsRedirectionDir so that production builds can
8896        find the .vsprops files.
8897
8898        * WebKit.vcproj/WebKit.vcproj:
8899        * WebKit.vcproj/Interfaces.vcproj:
8900        * WebKit.vcproj/WebKitGUID.vcproj:
8901        Changed to use paths relative to $WebKitVSPropsRedirectionDir to access shared .vsprops
8902        files.
8903
89042010-11-19  Steve Falkenburg  <sfalken@apple.com>
8905
8906        Reviewed by Adam Roben.
8907
8908        Add Debug_Cairo_CFLite and Release_Cairo_CFLite configurations for all vcproj files
8909        https://bugs.webkit.org/show_bug.cgi?id=49819
8910
8911        * WebKit.vcproj/Interfaces.vcproj:
8912        * WebKit.vcproj/WebKit.sln:
8913        * WebKit.vcproj/WebKit.vcproj:
8914        * WebKit.vcproj/WebKitGUID.vcproj:
8915
89162010-11-19  Steve Falkenburg  <sfalken@apple.com>
8917
8918        Reviewed by Darin Adler.
8919
8920        Normalize Cairo/CFLite project/solution configuration names
8921        https://bugs.webkit.org/show_bug.cgi?id=49818
8922
8923        * WebKit.vcproj/WebKit.sln:
8924        * WebKit.vcproj/WebKit.vcproj:
8925
89262010-11-18  Steve Falkenburg  <sfalken@apple.com>
8927
8928        Reviewed by Adam Roben.
8929
8930        Windows vcproj configuration names should be normalized across projects
8931        https://bugs.webkit.org/show_bug.cgi?id=49776
8932
8933        * WebKit.vcproj/Interfaces.vcproj:
8934        * WebKit.vcproj/WebKit.sln:
8935
89362010-11-18  Steve Falkenburg  <sfalken@apple.com>
8937
8938        Reviewed by Adam Roben.
8939
8940        Remove leftover Windows Debug_Internal configurations
8941        https://bugs.webkit.org/show_bug.cgi?id=49758
8942
8943        * WebKit.vcproj/WebKit.vcproj:
8944        * WebKit.vcproj/WebKitGUID.vcproj:
8945
89462010-11-18  Steve Falkenburg  <sfalken@apple.com>
8947
8948        Reviewed by Adam Roben.
8949
8950        Debug_Internal Windows configuration is unnecessary, should be removed
8951        https://bugs.webkit.org/show_bug.cgi?id=49753
8952
8953        * WebKitPrefix.h:
8954
89552010-11-17  Steve Falkenburg  <sfalken@apple.com>
8956
8957        Reviewed by Adam Roben.
8958
8959        WebKit Interfaces project should use vsprops file for common build settings
8960        https://bugs.webkit.org/show_bug.cgi?id=49713
8961        
8962        * WebKit.vcproj/Interfaces.vcproj:
8963        * WebKit.vcproj/InterfacesCommon.vsprops: Added.
8964
89652010-11-16  Steve Falkenburg  <sfalken@apple.com>
8966
8967        Reviewed by Adam Roben.
8968
8969        Disable LTCG for Windows Release builds. Add new Release_LTCG configuration.
8970        https://bugs.webkit.org/show_bug.cgi?id=49632
8971
8972        * WebKit.vcproj/Interfaces.vcproj:
8973        * WebKit.vcproj/WebKit.make:
8974        * WebKit.vcproj/WebKit.sln:
8975        * WebKit.vcproj/WebKit.submit.sln:
8976        * WebKit.vcproj/WebKit.vcproj:
8977        * WebKit.vcproj/WebKitGUID.vcproj:
8978
89792010-11-16  Dave Hyatt  <hyatt@apple.com>
8980
8981        Reviewed by Dan Bernstein.
8982
8983        https://bugs.webkit.org/show_bug.cgi?id=11004
8984        
8985        font-size:0 is ignored.  Remove the minimum font size of 1 in CSSStyleSelector.
8986        Change the pref value for minimum font size from 1 to 0.  Make sure to never use the NSFont's size,
8987        since it doesn't honor a size of 0.  Instead pass the size in to the FontPlatformData(NSFont*) version
8988        of the constructor rather than using [NSFont pointSize].
8989
8990        https://bugs.webkit.org/show_bug.cgi?id=49582
8991        
8992        Negative leading is not handled correctly.  There are two bugs here.  The first is that
8993        maxAscent and maxDescent can be negative, so we need a notion of whether or not we have
8994        set them before so that we can allow them to be < 0.
8995        
8996        The second issue is that we should understand where fonts will end up relative to
8997        our baseline (excluding line height), and only allow those boxes to impact ascent and
8998        descent if the actual font box (without factoring in line height) is above or below the
8999        root line box baseline.
9000
9001        Added fast/css/negative-leading.html
9002        
9003        These two bug fixes have to land together to keep the Acid 3 test rendering correctly.
9004
9005        * WebPreferences.cpp:
9006        (WebPreferences::initializeDefaultSettings):
9007
90082010-11-16  Steve Falkenburg  <sfalken@apple.com>
9009
9010        Reviewed by Adam Roben.
9011
9012        Use vsprops files for common settings in Windows WebKit
9013        https://bugs.webkit.org/show_bug.cgi?id=49622
9014
9015        * WebKit.vcproj/WebKit.vcproj:
9016        * WebKit.vcproj/WebKitCommon.vsprops: Added.
9017
90182010-11-16  Steve Falkenburg  <sfalken@apple.com>
9019
9020        Rubber stamped by Adam Roben.
9021
9022        Remove unnecessary def file, remove outdated def files from vcproj.
9023
9024        * WebKit.vcproj/WebKit.vcproj:
9025        * WebKit.vcproj/WebKit_debug.def: Removed.
9026
90272010-11-12  John Knottenbelt  <jknotten@chromium.org>
9028
9029        Reviewed by Steve Block.
9030
9031        Rename GeolocationControllerClient to GeolocationClient.
9032        https://bugs.webkit.org/show_bug.cgi?id=49259
9033
9034        * WebCoreSupport/WebGeolocationClient.cpp: Renamed from WebKit/win/WebCoreSupport/WebGeolocationControllerClient.cpp.
9035        (WebGeolocationClient::WebGeolocationClient):
9036        (WebGeolocationClient::geolocationDestroyed):
9037        (WebGeolocationClient::startUpdating):
9038        (WebGeolocationClient::stopUpdating):
9039        (WebGeolocationClient::lastPosition):
9040        * WebCoreSupport/WebGeolocationClient.h: Renamed from WebKit/win/WebCoreSupport/WebGeolocationControllerClient.h.
9041        (WebGeolocationClient::setEnableHighAccuracy):
9042        * WebKit.vcproj/WebKit.vcproj:
9043        * WebView.cpp:
9044        (WebView::initWithFrame):
9045
90462010-11-10  Csaba Osztrogonác  <ossy@webkit.org>
9047
9048        Reviewed by David Hyatt.
9049
9050        HTML5 Ruby support should be mandatory feature
9051        https://bugs.webkit.org/show_bug.cgi?id=49272
9052
9053        * WebKitPrefix.h: Touch it to avoid incremental build failure on Windows.
9054
90552010-11-08  Alexey Proskuryakov  <ap@apple.com>
9056
9057        Windows build fix.
9058
9059        * WebCoreSupport/WebChromeClient.h: Added namespace prefix.
9060
90612010-11-08  Alexey Proskuryakov  <ap@apple.com>
9062
9063        Reviewed by Darin Adler.
9064
9065        https://bugs.webkit.org/show_bug.cgi?id=48685
9066        Notify UI process about focused frame
9067
9068        Added an empty implementation of the new ChromeClient method.
9069
9070        * WebCoreSupport/WebChromeClient.cpp:
9071        (WebChromeClient::focusedFrameChanged):
9072        * WebCoreSupport/WebChromeClient.h:
9073
90742010-11-07  Adam Barth  <abarth@webkit.org>
9075
9076        Reviewed by Eric Seidel.
9077
9078        Rename Cache to MemoryCache
9079        https://bugs.webkit.org/show_bug.cgi?id=49159
9080
9081        * WebCache.cpp:
9082        (WebCache::statistics):
9083        * WebFrame.cpp:
9084        * WebView.cpp:
9085
90862010-11-05  Chris Marrin  <cmarrin@apple.com>
9087
9088        Reviewed by Simon Fraser.
9089
9090        Move resumeAnimations/suspendAnimations from Frame to AnimationController.
9091        https://bugs.webkit.org/show_bug.cgi?id=49073
9092
9093        * WebFrame.cpp:
9094        (WebFrame::suspendAnimations):
9095        (WebFrame::resumeAnimations):
9096
90972010-11-05  Brian Weinstein  <bweinstein@apple.com>
9098
9099        Reviewed by Anders Carlsson.
9100
9101        Assertion failure in PluginStream::~PluginStream when running userscripts/user-script-plugin-document.html
9102        https://bugs.webkit.org/show_bug.cgi?id=48751
9103        <rdar://problem/8615536>
9104        
9105        Always call committedLoad in WebFrameLoaderClient::finishedLoading, even if we have a manual loader. We were
9106        running into a case where we were trying to load an empty plugin document, which uses a manual loader, and
9107        PluginStream::didFinishLoading was never being called. The stream was never being stopped, making us fire
9108        an assert in the PluginStream destructor.
9109
9110        * WebCoreSupport/WebFrameLoaderClient.cpp:
9111        (WebFrameLoaderClient::finishedLoading):
9112
91132010-11-05  Chris Marrin  <cmarrin@apple.com>
9114
9115        Reviewed by Simon Fraser.
9116
9117        Make suspendAnimations/resumeAnimations and setCSSAnimations traverse through subframes and remember state
9118        https://bugs.webkit.org/show_bug.cgi?id=46945
9119
9120        * WebFrame.cpp:
9121        (WebFrame::suspendAnimations):
9122        (WebFrame::resumeAnimations):
9123
91242010-11-05  Patrick Gansterer  <paroga@webkit.org>
9125
9126        Reviewed by David Kilzer.
9127
9128        Replace ARRAYSIZE with WTF_ARRAY_LENGTH
9129        https://bugs.webkit.org/show_bug.cgi?id=48903
9130
9131        * WebCoreSupport/WebChromeClient.cpp:
9132        (WebChromeClient::exceededDatabaseQuota):
9133        * WebKitDLL.cpp:
9134        (DllGetClassObject):
9135        * WebView.cpp:
9136        (WebView::mouseWheel):
9137
91382010-11-02  Daniel Bates  <dbates@rim.com>
9139
9140        Reviewed by Adam Barth.
9141
9142        For unnamed frames, window.name returns a generated name
9143        https://bugs.webkit.org/show_bug.cgi?id=6751
9144
9145        Part 1 of 2.
9146
9147        Substitute FrameTree::uniqueName() for FrameTree::name() in the Apple Windows port.
9148
9149        * WebFrame.cpp:
9150        (WebFrame::name):
9151
91522010-11-02  Brady Eidson  <beidson@apple.com>
9153
9154        Reviewed by Anders Carlsson.
9155
9156        <rdar://problem/8346191> and https://bugs.webkit.org/show_bug.cgi?id=48868
9157        Implement IMutableWebRequest::setTimeoutInterval
9158
9159        * WebMutableURLRequest.cpp:
9160        (WebMutableURLRequest::setTimeoutInterval):
9161
91622010-11-02  Daniel Bates  <dbates@rim.com>
9163
9164        Reviewed by Martin Robinson.
9165
9166        Set frame name before appending it to the frame tree in the Apple Windows,
9167        GTK, and EFL ports
9168        https://bugs.webkit.org/show_bug.cgi?id=48806
9169
9170        Make the frame creation process in the Apple Windows-port consistent
9171        with the Mac, Qt, and Haiku ports. In particular, set the name of
9172        the new frame before it's appended to the frame tree.
9173
9174        At this time we cannot test this change since it is being masked by
9175        HTMLFrameElementBase::setName() <http://trac.webkit.org/browser/trunk/WebCore/html/HTMLFrameElementBase.cpp?rev=70976#L160>.
9176        We'll be able to test this once we fix bug #6751.
9177
9178        * WebCoreSupport/WebFrameLoaderClient.cpp:
9179        (WebFrameLoaderClient::createFrame):
9180
91812010-11-01  Jenn Braithwaite  <jennb@chromium.org>
9182
9183        Reviewed by Adam Roben.
9184
9185        Windows: Update resource tracking when moving a frame between documents
9186        https://bugs.webkit.org/show_bug.cgi?id=48364
9187
9188        * Interfaces/IWebResourceLoadDelegatePrivate2.idl:Added
9189        Added removeIdentifierForRequest.
9190        * Interfaces/WebKit.idl:
9191        Added IWebResourceLoadDelegatePrivate2.idl.
9192        * WebCoreSupport/WebFrameLoaderClient.cpp:
9193        (WebFrameLoaderClient::transferLoadingResourceFromPage):
9194
91952010-11-01  Brady Eidson  <beidson@apple.com>
9196
9197        Reviewed by Anders Carlsson.
9198
9199        <rdar://problem/7660547> and https://bugs.webkit.org/show_bug.cgi?id=48699
9200        Context menu support for WebKit 2.
9201
9202        * WebCoreSupport/WebChromeClient.h:
9203        (WebChromeClient::showContextMenu):
9204
92052010-11-01  Adam Roben  <aroben@apple.com>
9206
9207        Cancel main resource loads after we hand them off to the media engine
9208
9209        This is the Windows equivalent of r51104. Clearly this code should be
9210        moved to a cross-platform location someday.
9211
9212        Fixes <http://webkit.org/b/48531> <rdar://problem/8606635> Assertion
9213        failure in DocumentLoader::commitData when loading a media document in
9214        WebKit1 on Windows
9215
9216        Reviewed by Dan Bernstein.
9217
9218        * WebCoreSupport/WebFrameLoaderClient.cpp:
9219        (WebFrameLoaderClient::committedLoad): Cancel the main resource load
9220        after handing off the load to the media engine. This code originally
9221        came from -[WebHTMLRepresentation receivedData:withDataSource:].
9222
9223        * WebFrame.cpp:
9224        (WebFrame::shouldFallBack): Don't fall back when handing the resource
9225        load off to the media engine or a plugin. Added error domain checking
9226        so that we don't rely on error codes being unique.
9227
92282010-10-29  Daniel Bates  <dbates@rim.com>
9229
9230        No review, rolling out 70971.
9231        http://trac.webkit.org/changeset/70971
9232        https://bugs.webkit.org/show_bug.cgi?id=6751
9233
9234        Rolling out changeset 70971 <http://trac.webkit.org/changeset/70971> since
9235        it caused layout test failures on all bots. In particular, the
9236        child count in a generated frame name differs after this patch. We need
9237        to look into this further.
9238
9239        * WebFrame.cpp:
9240        (WebFrame::name):
9241
92422010-10-28  Antonio Gomes  <agomes@rim.com>
9243
9244        Reviewed by Ojan Vafai.
9245
9246        Needs a "LinuxEditingBehavior", perhaps with a better name
9247        https://bugs.webkit.org/show_bug.cgi?id=36627
9248
9249        Added the corresponding GTK+ setting to WebCore's EditingUnixBehavior: WebKitEditingUnixBehavior.
9250
9251        * Interfaces/IWebPreferences.idl:
9252
92532010-10-29  Daniel Bates  <dbates@rim.com>
9254
9255        Reviewed by Adam Barth.
9256
9257        For unnamed frames, window.name returns a generated name
9258        https://bugs.webkit.org/show_bug.cgi?id=6751
9259
9260        Modified Apple Windows-port to use FrameTree::uniqueName().
9261
9262        * WebFrame.cpp:
9263        (WebFrame::name):
9264
92652010-10-29  Darin Adler  <darin@apple.com>
9266
9267        Reviewed by Sam Weinig.
9268
9269        Change BackForwardList clients to use BackForwardListImpl to prepare for further refactoring
9270        https://bugs.webkit.org/show_bug.cgi?id=48574
9271
9272        * WebBackForwardList.cpp:
9273        (backForwardListWrappers):
9274        (WebBackForwardList::WebBackForwardList):
9275        (WebBackForwardList::createInstance):
9276        * WebBackForwardList.h:
9277        * WebView.cpp:
9278        (WebView::backForwardList):
9279        Use BackForwardListImpl.
9280
92812010-10-29  Adam Roben  <aroben@apple.com>
9282
9283        Windows build fix
9284
9285        * WebKitPrefix.h: Touched to force a rebuild.
9286
92872010-10-29  Alexey Proskuryakov  <ap@apple.com>
9288
9289        Reviewed by Darin Adler.
9290
9291        https://bugs.webkit.org/show_bug.cgi?id=48576
9292        Let WebKit2 client know when a frame is a frameset
9293
9294        Added a blank implementation of the new FrameLoaderClient method.
9295
9296        * WebCoreSupport/WebFrameLoaderClient.h:
9297        * WebCoreSupport/WebFrameLoaderClient.cpp:
9298        (WebFrameLoaderClient::dispatchDidBecomeFrameset):
9299
93002010-10-26  Brent Fulgham  <bfulgham@webkit.org>
9301
9302        Unreviewed build fix.
9303
9304        * WebView.cpp: Conditionalize includes for CFNetwork-specific
9305        Cookie implementation.
9306        * WebView.h: Conditionalize includes for ACCELERATED_COMPOSITION.
9307        WinCairo doesn't use CoreAnimation.
9308
93092010-10-26  Jenn Braithwaite  <jennb@chromium.org>
9310
9311        Reviewed by Dmitry Titov.
9312
9313        Resource tracking failure when trying to move a frame between documents
9314        https://bugs.webkit.org/show_bug.cgi?id=44713
9315
9316        * WebCoreSupport/WebFrameLoaderClient.cpp:
9317        (WebFrameLoaderClient::transferLoadingResourceFromPage):
9318        Empty method.
9319        * WebCoreSupport/WebFrameLoaderClient.h:
9320
93212010-10-25  Patrick Gansterer  <paroga@webkit.org>
9322
9323        Reviewed by David Kilzer.
9324
9325        Replace _countof with WTF_ARRAY_LENGTH
9326        https://bugs.webkit.org/show_bug.cgi?id=48229
9327
9328        * WebCoreSupport/WebContextMenuClient.cpp:
9329        (isPreInspectElementTagSafari):
9330        * WebView.cpp:
9331        (WebView::interpretKeyEvent):
9332
93332010-10-24  Dan Bernstein  <mitz@apple.com>
9334
9335        Build fix.
9336
9337        * Interfaces/WebKit.idl: Touched.
9338
93392010-10-24  Dan Bernstein  <mitz@apple.com>
9340
9341        Reviewed by Anders Carlsson.
9342
9343        Expose HitTestResult::absoluteMediaURL() via WebKit API
9344        https://bugs.webkit.org/show_bug.cgi?id=48219
9345
9346        * Interfaces/IWebView.idl: Added WebElementMediaURLKey.
9347        * WebElementPropertyBag.cpp:
9348        (WebElementPropertyBag::Read): Map WebElementMediaURLKey to absoluteMediaURL().
9349
93502010-10-22  Andy Estes  <aestes@apple.com>
9351
9352        Fix the Windows build.
9353
9354        * WebCookieManagerCFNet.cpp: Rename CookieStorageWin.h to CookieStorageCFNet.h.
9355        * WebView.cpp: Ditto.
9356
93572010-10-22  Jenn Braithwaite  <jennb@chromium.org>
9358
9359        Reviewed by Adam Roben.
9360
9361        Windows client needs updating when live iframe element is moved between pages
9362        https://bugs.webkit.org/show_bug.cgi?id=46915
9363
9364        * WebCoreSupport/WebFrameLoaderClient.cpp:
9365        (WebFrameLoaderClient::didTransferChildFrameToNewDocument):
9366        Update WebView in WebFrame to match that of the current page.
9367        * WebFrame.cpp:
9368        (WebFrame::setWebView):
9369        Added.
9370        * WebFrame.h:
9371
93722010-10-22  Sam Weinig  <sam@webkit.org>
9373
9374        Fix windows build.
9375
9376        * WebCoreSupport/WebChromeClient.h:
9377
93782010-10-22  Sam Weinig  <sam@webkit.org>
9379
9380        Reviewed by Anders Carlsson.
9381
9382        WebKit2 needs to pass the current event modifier flags when requesting a new window
9383        https://bugs.webkit.org/show_bug.cgi?id=48140
9384
9385        * WebCoreSupport/WebChromeClient.cpp:
9386        (WebChromeClient::createWindow):
9387        * WebCoreSupport/WebFrameLoaderClient.cpp:
9388        (WebFrameLoaderClient::dispatchCreatePage):
9389        * WebCoreSupport/WebFrameLoaderClient.h:
9390        Add NavigationAction parameter.
9391
93922010-10-21 MORITA Hajime  <morrita@google.com>
9393
9394        Unreviewed, touched it to fix the build.
9395
9396        * Interfaces/WebKit.idl:
9397
93982010-10-21  MORITA Hajime  <morrita@google.com>
9399
9400        Reviewed by Kent Tamura.
9401
9402        [Win][DRT] should have LayoutTestController.hasSpellingMarker()
9403        https://bugs.webkit.org/show_bug.cgi?id=47885
9404
9405        Added IWebFramePrivate::hasSpellingMarker() and impelmented it for
9406        LayoutTestController.
9407
9408        * Interfaces/IWebFramePrivate.idl:
9409        * WebFrame.cpp:
9410        (WebFrame::hasSpellingMarker):
9411        * WebFrame.h:
9412
94132010-10-20  Dumitru Daniliuc  <dumi@chromium.org>
9414
9415        Reviewed by David Levin.
9416
9417        Repost the DatabaseTracker notifications to the main thread, if needed.
9418        https://bugs.webkit.org/show_bug.cgi?id=40655
9419
9420        * WebDatabaseManager.cpp:
9421        (DidModifyOriginData::dispatchToMainThread):
9422        (DidModifyOriginData::DidModifyOriginData):
9423        (DidModifyOriginData::dispatchDidModifyOriginOnMainThread):
9424        (WebDatabaseManager::dispatchDidModifyOrigin):
9425        (WebDatabaseManager::dispatchDidModifyDatabase):
9426
94272010-10-20  Dirk Schulze  <krit@webkit.org>
9428
9429        Reviewed by Nikolas Zimmermann.
9430
9431        Merge ColorSpace and ImageColorSpace enums
9432        https://bugs.webkit.org/show_bug.cgi?id=47922
9433
9434        Renamed ColorSpace enum entries DeviceColorSpace and sRGBColorSpace to ColorSpaceDeviceRGB and ColorSpaceSRGB
9435        to follow webkit style rules.
9436
9437        * FullscreenVideoController.cpp:
9438        (HUDButton::draw):
9439        (HUDSlider::draw):
9440        (FullscreenVideoController::draw):
9441        * WebCoreSupport/WebDragClient.cpp:
9442        (WebDragClient::createDragImageForLink):
9443        * WebKitGraphics.cpp:
9444        (WebDrawText):
9445
94462010-10-18  Pavel Podivilov  <podivilov@chromium.org>
9447
9448        Reviewed by Timothy Hatcher.
9449
9450        Web Inspector: disable private browsing for inspector
9451        https://bugs.webkit.org/show_bug.cgi?id=47827
9452
9453        * WebCoreSupport/WebInspectorClient.cpp:
9454        (WebInspectorClient::openInspectorFrontend):
9455
94562010-10-17  Adam Barth  <abarth@webkit.org>
9457
9458        Reviewed by Dimitri Glazkov.
9459
9460        FrameLoader doesn't need an explicit userGesture parameter
9461        https://bugs.webkit.org/show_bug.cgi?id=47777
9462
9463        Update for the new API.
9464
9465        * WebCoreSupport/WebContextMenuClient.cpp:
9466        (WebContextMenuClient::searchWithGoogle):
9467
94682010-10-15  Brian Weinstein  <bweinstein@apple.com>
9469
9470        Reviewed by Sam Weinig.
9471
9472        REGRESSION(r69850) Loading apple.com/startpage in WebKit on Windows gets a bad request.
9473        https://bugs.webkit.org/show_bug.cgi?id=47753
9474        <rdar://problem/8558242>
9475        
9476        VerQueryValue returns a null terminated string, but we need to strip off the null terminating character
9477        when we turn it into a WebCore string, or else concatenation using this string will break.
9478
9479        * WebView.cpp:
9480
94812010-10-15  Jessie Berlin  <jberlin@apple.com>
9482
9483        Windows build fix. Unreviewed.
9484
9485        * WebCoreSupport/WebInspectorClient.cpp:
9486        Add a missing include.
9487
94882010-10-15  Nikolas Zimmermann  <nzimmermann@rim.com>
9489
9490        Reviewed by Dirk Schulze.
9491
9492        Replace some String::format() usages by StringConcatenate in WebKit
9493        https://bugs.webkit.org/show_bug.cgi?id=47714
9494
9495        * WebCoreSupport/WebInspectorClient.cpp:
9496        (WebInspectorFrontendClient::updateWindowTitle):
9497        * WebView.cpp:
9498        (WebView::standardUserAgentWithApplicationName):
9499        (osVersion):
9500
95012010-10-14  Ilya Tikhonovsky  <loislo@chromium.org>
9502
9503        Reviewed by Pavel Feldman.
9504
9505        Web Inspector: inspector settings/properties/states management
9506        should be extracted into separate class.
9507
9508        We have a lot of flags/values in InspectorController.
9509        Some flags are persisting into profile.
9510        Others are part of inspector state for frontend.
9511        All these flags should keep their values after navigation.
9512        It'd be better to extract these flags/values into separate
9513        class which will care about theirs lifetime.
9514
9515        https://bugs.webkit.org/show_bug.cgi?id=47275
9516
9517        * WebCoreSupport/WebInspectorClient.cpp:
9518        (WebInspectorFrontendClient::attachWindow):
9519        (WebInspectorFrontendClient::detachWindow):
9520        (WebInspectorFrontendClient::showWindowWithoutNotifications):
9521
95222010-10-13  Gavin Barraclough  <barraclough@apple.com>
9523
9524        Reviewed by Oliver Hunt.
9525
9526        https://bugs.webkit.org/show_bug.cgi?id=43987
9527        Switch XMLHttpRequest, FileReader, and FileReaderSync to use a Stringbuilder
9528        to construct their internal result string.  Remove ScriptString (this is now
9529        redundant).
9530
9531        * WebCoreSupport/WebFrameLoaderClient.cpp:
9532
95332010-10-12  Adam Roben  <aroben@apple.com>
9534
9535        Build TestWebKitAPI on Windows
9536
9537        Fixes <http://webkit.org/b/47552> <rdar://problem/8541708> Make
9538        TestWebKitAPI work on Windows
9539
9540        Reviewed by Sam Weinig.
9541
9542        * WebKit.vcproj/WebKit.sln: Added TestWebKitAPI and
9543        TestWebKitAPIGenerated and made them build just after
9544        WebKitTestRunner.
9545
95462010-10-11  Shinichiro Hamaji  <hamaji@chromium.org>
9547
9548        Attempt to fix windows build failure.
9549
9550        Remove WebIconFetcher from WebKit and IconFetcher from WebCore
9551        https://bugs.webkit.org/show_bug.cgi?id=47523
9552
9553        * Interfaces/IWebFramePrivate.idl: s/unused1/unused2/
9554        * Interfaces/WebKit.idl: Touched.
9555        * WebFrame.cpp: s/unused1/unused2/
9556        (WebFrame::unused2):
9557        * WebFrame.h: s/unused1/unused2/
9558
95592010-10-11  Anders Carlsson  <andersca@apple.com>
9560
9561        Reviewed by Darin Adler.
9562
9563        Remove WebIconFetcher from WebKit and IconFetcher from WebCore
9564        https://bugs.webkit.org/show_bug.cgi?id=47523
9565
9566        Remove all traces of the WebKit WebIconFetcher class. It's SPI that nobody uses.
9567
9568        * Interfaces/IWebFramePrivate.idl:
9569        * Interfaces/IWebIconFetcher.idl: Removed.
9570        * Interfaces/WebKit.idl:
9571        * WebFrame.cpp:
9572        (WebFrame::unused1):
9573        * WebFrame.h:
9574        * WebIconFetcher.cpp: Removed.
9575        * WebIconFetcher.h: Removed.
9576        * WebKit.vcproj/Interfaces.vcproj:
9577        * WebKit.vcproj/WebKit.vcproj:
9578
95792010-10-11  Jessie Berlin  <jberlin@apple.com>
9580
9581        Reviewed by Darin Adler.
9582
9583        Add Private API for creating a WebKit2 WebSerializedScriptValue from the internal
9584        representation of a WebKit1 WebSerializedJSValue.
9585        https://bugs.webkit.org/show_bug.cgi?id=47439
9586
9587        * Interfaces/IWebSerializedJSValuePrivate.idl:
9588        Because it is taking a void** parameter, getInternalRepresentation must be declared [local].
9589
9590        * WebSerializedJSValue.cpp:
9591        (WebSerializedJSValue::getInternalRepresentation):
9592        * WebSerializedJSValue.h:
9593
95942010-10-07  Jessie Berlin  <jberlin@apple.com>
9595
9596        Reviewed by Sam Weinig.
9597
9598        Add Private API for creating a WebKit1 WebSerializedJSValue from the internal
9599        representation of a WebKit2 WebSerializedScriptValue.
9600        https://bugs.webkit.org/show_bug.cgi?id=47390
9601
9602        * Interfaces/WebKit.idl:
9603        Generate IWebSerializedJSValuePrivate.
9604        
9605        * Interfaces/IWebSerializedJSValuePrivate.idl: Added.
9606        Because it is taking a void* parameter, setInternalRepresentation must be declared [local].
9607
9608        * WebKit.vcproj/Interfaces.vcproj:
9609        Add IWebSerializedJSValue.idl and IWebSerializedJSValuePrivate.idl.
9610
9611        * WebSerializedJSValue.cpp:
9612        (WebSerializedJSValue::QueryInterface):
9613        Since there are now two interfaces that inherit from IUnknown, do not try to cast to
9614        IUnknown* anymore. Cast to IWebSerializedJSValue* instead.
9615        (WebSerializedJSValue::setInternalRepresentation):
9616        Only set the internal representation if it hasn't already been set.
9617        * WebSerializedJSValue.h:
9618
96192010-10-04  Jon Honeycutt  <jhoneycutt@apple.com>
9620
9621        Prevent an assertion failure when trying to create a protection space
9622        for file/data URLs.
9623
9624        Reviewed by Sam Weinig.
9625
9626        * WebURLProtectionSpace.cpp:
9627        (WebURLProtectionSpace::initWithHost):
9628        Remove the ASSERT_NOT_REACHED().
9629
96302010-10-05  Brent Fulgham  <bfulgham@webkit.org>
9631
9632        Unreviewed build correction.
9633
9634        * WebKit.vcproj/WebKit.sln: Turn the QTMovieWin project
9635        off for WinCairo release builds.  Somehow this was
9636        incorrectly turned on.
9637
96382010-10-01  Mark Rowe  <mrowe@apple.com>
9639
9640        Build fix.
9641
9642        Clear the executable bit from a number of source files.
9643
9644        * WebView.cpp:
9645        * WebView.h:
9646
96472010-09-30  Darin Adler  <darin@apple.com>
9648
9649        Reviewed by Sam Weinig.
9650
9651        Remove remaining calls to deprecatedParseURL
9652        https://bugs.webkit.org/show_bug.cgi?id=26599
9653
9654        * WebCoreSupport/WebFrameLoaderClient.cpp:
9655        (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
9656        Call stripLeadingAndTrailingHTMLSpaces instead of deprecatedParseURL.
9657
96582010-09-28  Jenn Braithwaite  <jennb@chromium.org>
9659
9660        Reviewed by Dmitry Titov.
9661
9662        Added oldPage param to FrameLoaderClient::didTransferChildFrameToNewDocument.
9663        https://bugs.webkit.org/show_bug.cgi?id=46663
9664
9665        * WebCoreSupport/WebFrameLoaderClient.cpp:
9666        (WebFrameLoaderClient::didTransferChildFrameToNewDocument):
9667        * WebCoreSupport/WebFrameLoaderClient.h:
9668
96692010-09-27  Andrey Kosyakov  <caseq@chromium.org>
9670
9671        Unreviewed build fix (win; broken in r68371)
9672
9673        * WebFrame.cpp: remove include <WebCore/ResourceHandleWin.h>
9674
96752010-09-23  Matthew Delaney  <mdelaney@apple.com>
9676
9677        Reviewed by Simon Fraser.
9678
9679        Reduce minimum DOMTimer interval
9680        https://bugs.webkit.org/show_bug.cgi?id=45362
9681
9682        * WebView.cpp:
9683        Updating set interval call to use Settings' static version inside
9684        one time init block.
9685
96862010-09-23  Nate Chapin  <japhet@chromium.org>
9687
9688        Unreviewed, build fix.
9689
9690        Move hyperlinkAuditingEnabled to IWebPreferencesPrivate.idl
9691        and touch WebKit.idl
9692
9693        * Interfaces/IWebPreferences.idl:
9694        * Interfaces/IWebPreferencesPrivate.idl:
9695        * Interfaces/WebKit.idl:
9696        * WebView.cpp:
9697        (WebView::notifyPreferencesChanged):
9698
96992010-09-23  Nate Chapin  <japhet@chromium.org>
9700
9701        Unreviewed, build fix.
9702
9703        Look for hyperlinkAuditingEnabled in the right set of preferences.
9704
9705        * WebView.cpp:
9706        (WebView::notifyPreferencesChanged):
9707
97082010-09-23  Nate Chapin  <japhet@chromium.org>
9709
9710        Reviewed by Darin Fisher.
9711
9712        Add hyperlink auditing settings (i.e., <a ping>).
9713        https://bugs.webkit.org/show_bug.cgi?id=30458
9714
9715        * Interfaces/IWebPreferences.idl:
9716        * WebPreferenceKeysPrivate.h:
9717        * WebPreferences.cpp:
9718        (WebPreferences::initializeDefaultSettings):
9719        (WebPreferences::hyperlinkAuditingEnabled):
9720        (WebPreferences::setHyperlinkAuditingEnabled):
9721        * WebPreferences.h:
9722        * WebView.cpp:
9723        (WebView::notifyPreferencesChanged):
9724
97252010-09-23  Matthew Delaney  <mdelaney@apple.com>
9726
9727        Reviewed by Adam Roben.
9728
9729        Create one time initialization block for WebView's initWithFrame
9730        https://bugs.webkit.org/show_bug.cgi?id=46307
9731
9732        * WebView.cpp: Added one time initialization block for webview code
9733        that needs only be run once and not for each webview. This is just as
9734        the mac version WebView.mm does.
9735
97362010-09-22  Brent Fulgham  <bfulgham@webkit.org>
9737
9738        Reviewed by Martin Robinson.
9739
9740        [WinCairo] Part 2: Update WebKitTestRunner and DumpRenderTree Build.
9741        https://bugs.webkit.org/show_bug.cgi?id=46303.
9742
9743        * WebKit.vcproj/WebKit.sln: Update overall Debug_Cairo and
9744        Release_Cairo configurations to select appropriate build
9745        targets for WebKitTestRunner and MiniBrowser.
9746
97472010-09-22  Brent Fulgham  <bfulgham@webkit.org>
9748
9749        Reviewed by Martin Robinson.
9750
9751        [WinCairo] Update WebKitTestRunner and DumpRenderTree Build.rt
9752        https://bugs.webkit.org/show_bug.cgi?id=46303.
9753
9754        * WebKit.vcproj/WebKit.sln: Update overall Debug_Cairo and
9755        Release_Cairo configurations to select appropriate build
9756        targets for InjectionBundle.
9757
97582010-09-22  Balazs Kelemen  <kb@inf.u-szeged.hu>
9759
9760        Reviewed by Kenneth Rohde Christiansen.
9761
9762        PluginStrategy should satisfy the needs of Qt
9763        https://bugs.webkit.org/show_bug.cgi?id=45857
9764        No new functionality so no new tests.
9765
9766        * WebCoreSupport/WebPlatformStrategies.cpp:
9767        (WebPlatformStrategies::getPluginInfo):
9768        * WebCoreSupport/WebPlatformStrategies.h:
9769
97702010-09-20  Philippe Normand  <pnormand@igalia.com>
9771
9772        Reviewed by Eric Carlson.
9773
9774        [GTK] enhanced context menu for media elements
9775        https://bugs.webkit.org/show_bug.cgi?id=45021
9776
9777        New localized strings for the media element context-menu.
9778
9779        * WebCoreSupport/WebPlatformStrategies.cpp:
9780        (WebPlatformStrategies::contextMenuItemTagOpenVideoInNewWindow):
9781        (WebPlatformStrategies::contextMenuItemTagOpenAudioInNewWindow):
9782        (WebPlatformStrategies::contextMenuItemTagCopyVideoLinkToClipboard):
9783        (WebPlatformStrategies::contextMenuItemTagCopyAudioLinkToClipboard):
9784        (WebPlatformStrategies::contextMenuItemTagToggleMediaControls):
9785        (WebPlatformStrategies::contextMenuItemTagToggleMediaLoop):
9786        (WebPlatformStrategies::contextMenuItemTagEnterVideoFullscreen):
9787        (WebPlatformStrategies::contextMenuItemTagMediaPlay):
9788        (WebPlatformStrategies::contextMenuItemTagMediaPause):
9789        (WebPlatformStrategies::contextMenuItemTagMediaMute):
9790        * WebCoreSupport/WebPlatformStrategies.h:
9791
97922010-09-17  Darin Adler  <darin@apple.com>
9793
9794        Reviewed by Sam Weinig.
9795
9796        REGRESSION (r60104): Zoom level is unexpectedly reset on page reload
9797        https://bugs.webkit.org/show_bug.cgi?id=42863
9798
9799        * WebView.cpp:
9800        (WebView::setZoomMultiplier):
9801        Call functions on Frame instead of FrameView.
9802
98032010-09-17  Matthew Delaney  <mdelaney@apple.com>
9804
9805        Reviewed by Simon Fraser.
9806
9807        Reduce minimum DOMTimer interval
9808        https://bugs.webkit.org/show_bug.cgi?id=45362
9809
9810        * WebView.cpp: Added in a call to set the mimimum allowed DOMTimer to 4ms.
9811
98122010-09-17  Simon Fraser  <simon.fraser@apple.com>
9813
9814        Reviewed by Chris Marrin.
9815
9816        Remove scroll and clip layers for WKCACFLayerRenderer
9817        https://bugs.webkit.org/show_bug.cgi?id=45922
9818
9819        WKCACFLayerRenderer no longer needs its own layers for managing scrolling
9820        and clipping, because RenderLayerCompositor provides this functionality.
9821
9822        * WebView.cpp:
9823        (WebView::sizeChanged): Moved code that handles the WM_SIZE message
9824        into this method. Use it to resize the layer renderer.
9825        (WebView::WebViewWndProc): Call sizeChanged().
9826        (WebView::updateRootLayerContents): No need to call setScrollFrame() any more.
9827        (WebView::layerRendererBecameVisible): Move this from the header (no need to be inline).
9828        * WebView.h:
9829
98302010-09-16  Darin Adler  <darin@apple.com>
9831
9832        Reviewed by Andreas Kling.
9833
9834        Reduce use of HTMLInputElement::inputType so we can remove it later
9835        https://bugs.webkit.org/show_bug.cgi?id=45903
9836
9837        * WebFrame.cpp:
9838        (WebFrame::elementDoesAutoComplete): Use isPasswordField.
9839        (WebFrame::elementIsPassword): Use isPasswordField.
9840
98412010-09-14  Ada Chan  <adachan@apple.com>
9842
9843        Reviewed by Adam Roben.
9844
9845        Add an IWebFramePrivate API to load string as plain text into the WebFrame.
9846        https://bugs.webkit.org/show_bug.cgi?id=45782
9847
9848        * Interfaces/IWebFramePrivate.idl:
9849        * Interfaces/WebKit.idl: Touch the file.
9850        * WebFrame.cpp:
9851        (WebFrame::loadPlainTextString):
9852        * WebFrame.h:
9853
98542010-09-13  Enrica Casucci  <enrica@apple.com>
9855
9856        Reviewed by Sam Weinig.
9857
9858        Paste should be implemented in WebCore like Copy and Cut for Mac also.
9859        https://bugs.webkit.org/show_bug.cgi?id=45494
9860        <rdar://problem/7660537>
9861
9862        On the Mac platform, the implementation of the paste operation is all done
9863        at the WebKit level. In order to support it on WebKit2 it is necessary to
9864        refactor the code and move this functionality at the level of WebCore like
9865        we already have on Windows.
9866        The original code relies on some in AppKit functions that call back into
9867        WebKit causing problems in WebKit2. All this functionality has been moved
9868        at the level of the editor client where it can be dealt with appropriately.
9869
9870        * WebFrame.cpp:
9871        (WebFrame::canShowMIMETypeASHTML): Added.
9872
98732010-09-11  Adam Barth  <abarth@webkit.org>
9874
9875        Reviewed by Sam Weinig.
9876
9877        Make SecurityOrigin::canDisplay an instance function
9878        https://bugs.webkit.org/show_bug.cgi?id=45219
9879
9880        * WebFrame.cpp:
9881        (WebFrame::allowsFollowingLink):
9882
98832010-09-10  Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
9884
9885        Reviewed by Darin Adler.
9886
9887        Add NetworkingContext to avoid layer violations
9888        https://bugs.webkit.org/show_bug.cgi?id=42292
9889
9890        * WebCoreSupport/WebFrameNetworkingContext.cpp:
9891        (WebFrameNetworkingContext::blockedError):
9892        * WebCoreSupport/WebFrameNetworkingContext.h:
9893
98942010-09-10  Jer Noble  <jer.noble@apple.com>
9895
9896        Reviewed by Simon Fraser.
9897
9898        Movies with track or movie matrices don't display in <video> elements (Safari 5/Windows)
9899        https://bugs.webkit.org/show_bug.cgi?id=45333
9900        
9901        The rootChild layer must be set as flipped, otherwise transformed movies will appear
9902        incorrectly rotated.
9903
9904        * FullscreenVideoController.cpp:
9905        (FullscreenVideoController::enterFullscreen):
9906
99072010-09-10  Sam Weinig  <sam@webkit.org>
9908
9909        Reviewed by Darin Adler.
9910
9911        Remove unnecessary constraint in WebCore of choosing either text zoom or full page zoom.
9912        Precursor to <rdar://problem/7660657>
9913        https://bugs.webkit.org/show_bug.cgi?id=45522
9914
9915        * WebFrame.cpp:
9916        * WebFrame.h:
9917        Remove dead code.
9918
9919        * WebView.cpp:
9920        (WebView::WebView):
9921        (WebView::setZoomMultiplier):
9922        (WebView::zoomMultiplier):
9923        (WebView::canMakeTextLarger):
9924        (WebView::makeTextLarger):
9925        (WebView::canMakeTextSmaller):
9926        (WebView::makeTextSmaller):
9927        (WebView::notifyPreferencesChanged):
9928        * WebView.h:
9929        Move tracking of text only zoom here from WebCore.
9930
99312010-09-10  Brian Weinstein  <bweinstein@apple.com>
9932
9933        Windows Build Fix. Fix some fallout from r67238, currentForm is now off of 
9934        SelectionController instead of frame. Also fix a style issue.
9935
9936        * WebFrame.cpp:
9937        (WebFrame::currentForm):
9938
99392010-09-10  Adam Barth  <abarth@webkit.org>
9940
9941        Reviewed by Darin Fisher.
9942
9943        Move code from WebKit-layer to DocumentLoader
9944        https://bugs.webkit.org/show_bug.cgi?id=45569
9945
9946        * WebCoreSupport/WebFrameLoaderClient.cpp:
9947        (WebFrameLoaderClient::committedLoad):
9948        * WebCoreSupport/WebFrameLoaderClient.h:
9949
99502010-09-09  Darin Adler  <darin@apple.com>
9951
9952        Reviewed by Adam Barth.
9953
9954        Move functions from Frame to SelectionController as planned
9955        https://bugs.webkit.org/show_bug.cgi?id=45508
9956
9957        * WebView.cpp:
9958        (WebView::selectionRect):
9959        (WebView::centerSelectionInVisibleArea):
9960        Call functions on selection().
9961
99622010-09-10  Adam Barth  <abarth@webkit.org>
9963
9964        Reviewed by Eric Seidel.
9965
9966        Main resource bytes shouldn't bounce through FrameLoader
9967        https://bugs.webkit.org/show_bug.cgi?id=45496
9968
9969        Now return the bytes to the DocumentLoader.
9970
9971        * WebCoreSupport/WebFrameLoaderClient.cpp:
9972        (WebFrameLoaderClient::receivedData):
9973
99742010-09-09  Simon Fraser  <simon.fraser@apple.com>
9975
9976        Reviewed by Adam Roben.
9977
9978        Scrollbars fail to render in composited iframes.
9979        https://bugs.webkit.org/show_bug.cgi?id=45335
9980
9981        Use LocalWindowsContext when painting scrollbars.
9982
9983        * WebCoreSupport/WebChromeClient.cpp:
9984        (WebChromeClient::paintCustomScrollbar):
9985        (WebChromeClient::paintCustomScrollCorner):
9986
99872010-09-08  Darin Adler  <darin@apple.com>
9988
9989        Reviewed by Adam Barth.
9990
9991        Move functions from Frame to Editor as planned
9992        https://bugs.webkit.org/show_bug.cgi?id=45218
9993
9994        * WebCoreSupport/WebContextMenuClient.cpp:
9995        (WebContextMenuClient::searchWithGoogle):
9996        * WebFrame.cpp:
9997        (WebFrame::selectedString):
9998        * WebView.cpp:
9999        (WebView::selectedText):
10000        (WebView::prepareCandidateWindow):
10001        (WebView::onIMERequestCharPosition):
10002        Changed call sites to use editor().
10003
100042010-09-08  Peter Kasting  <pkasting@google.com>
10005
10006        Not reviewed, build fix.
10007
10008        * WebScrollBar.cpp:
10009        (WebScrollBar::setScrollOffsetFromAnimation):
10010
100112010-09-08  Peter Kasting  <pkasting@google.com>
10012
10013        Not reviewed, build fix.
10014
10015        * WebScrollBar.cpp:
10016        (WebScrollBar::scrollSize):
10017        (WebScrollBar::setScrollOffsetFromAnimation):
10018
100192010-09-08  Peter Kasting  <pkasting@google.com>
10020
10021        Not reviewed, build fix.
10022
10023        * WebScrollBar.cpp:
10024        (WebScrollBar::setValue):
10025        (WebScrollBar::scrollSize):
10026        (WebScrollBar::setScrollOffsetFromAnimation):
10027        * WebScrollBar.h:
10028
100292010-09-08  Adam Barth  <abarth@webkit.org>
10030
10031        Attempted Window build fix.
10032
10033        * WebDataSource.cpp:
10034        (WebDataSource::subresourceForURL):
10035
100362010-09-08  Adam Barth  <abarth@webkit.org>
10037
10038        Rubber-stamped by Eric Seidel.
10039
10040        Rename DocLoader to CachedResourceLoader because that's what it does.
10041
10042        * WebDataSource.cpp:
10043
100442010-09-07  Brent Fulgham  <bfulgham@webkit.org>
10045
10046        Reviewed by Adam Roben.
10047
10048        Clean up a potential resource leak.
10049        https://bugs.webkit.org/show_bug.cgi?id=45198
10050
10051        Several bitmap device context were being created and used,
10052        and destroyed without returning the context to its original
10053        state.  This showed up as bitmap leaks in BoundsChecker.
10054
10055        * FullscreenVideoController.cpp:
10056        * WebView.cpp:
10057        (WebView::scrollBackingStore):
10058        (WebView::paint):
10059
100602010-09-06  Adam Barth  <abarth@webkit.org>
10061
10062        Reviewed by Darin Adler.
10063
10064        Rename SecurityOrigin::canLoad to canDisplay
10065        https://bugs.webkit.org/show_bug.cgi?id=45214
10066
10067        Propagate name change.
10068
10069        * WebFrame.cpp:
10070        (WebFrame::allowsFollowingLink):
10071
100722010-09-03  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
10073
10074        Reviewed by Darin Adler.
10075
10076        Add NetworkingContext to avoid layer violations
10077        https://bugs.webkit.org/show_bug.cgi?id=42292
10078
10079        Add Win's specific implementation of NetworkingContext.
10080
10081        * WebCoreSupport/WebFrameNetworkingContext.cpp:
10082        (WebFrameNetworkingContext::create):
10083        (WebFrameNetworkingContext::userAgent):
10084        (WebFrameNetworkingContext::referrer):
10085        * WebFrame.cpp:
10086        (WebFrame::createNetworkingContext):
10087        * WebFrame.h:
10088
100892010-09-03  Adam Roben  <aroben@apple.com>
10090
10091        Attempt to fixing Windows nightlies again
10092
10093        The fix in r66438 should be sufficient, but we have to touch
10094        WebKit.idl to force that change to be picked up by the build.
10095
10096        * Interfaces/WebKit.idl: Touched this file to force a build.
10097
100982010-09-02  Yury Semikhatsky  <yurys@chromium.org>
10099
10100        Reviewed by PavelFeldman.
10101
10102        REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
10103        https://bugs.webkit.org/show_bug.cgi?id=44230
10104
10105        * WebCoreSupport/WebInspectorClient.cpp:
10106        (WebInspectorFrontendClient::~WebInspectorFrontendClient):
10107        (WebInspectorFrontendClient::closeWindow):
10108        (WebInspectorFrontendClient::disconnectFromBackend):
10109        (WebInspectorFrontendClient::closeWindowWithoutNotifications):
10110        (WebInspectorFrontendClient::destroyInspectorView):
10111        * WebCoreSupport/WebInspectorClient.h:
10112
101132010-09-01  Jessie Berlin  <jberlin@apple.com>
10114
10115        Reviewed by Adam Roben.
10116
10117        WebViews should allow their parent windows to handle WM_MOUSEACTIVATE messages.
10118        https://bugs.webkit.org/show_bug.cgi?id=45047
10119
10120        * WebView.cpp:
10121        (WebView::WebViewWndProc):
10122
101232010-08-31  Dave Hyatt  <hyatt@apple.com>
10124
10125        Reviewed by Sam Weinig.
10126
10127        https://bugs.webkit.org/show_bug.cgi?id=44863, disentangle style recalc from layout, so that
10128        the former can occur in more places without having to do the latter.
10129
10130        * WebFrame.cpp:
10131        (WebFrame::paintDocumentRectToContext):
10132        * WebView.cpp:
10133        (WebView::updateBackingStore):
10134
101352010-08-30  Adam Roben  <aroben@apple.com>
10136
10137        Fix crash on launch on Windows due to changing IWebFramePrivate's
10138        vtable
10139
10140        This regressed in r65107.
10141
10142        Fixes <http://webkit.org/b/44755>.
10143
10144        Rubber-stamped by Jon Honeycutt.
10145
10146        * Interfaces/IWebFramePrivate.idl: Moved suspendAnimations and
10147        resumeAnimations to the end of the interface so that the vtable will
10148        match what Safari expects.
10149
101502010-08-30  Sheriff Bot  <webkit.review.bot@gmail.com>
10151
10152        Unreviewed, rolling out r66198.
10153        http://trac.webkit.org/changeset/66198
10154        https://bugs.webkit.org/show_bug.cgi?id=44856
10155
10156        It made tests crash on Qt bot (Requested by Ossy_ on #webkit).
10157
10158        * WebCoreSupport/WebInspectorClient.cpp:
10159        (WebInspectorFrontendClient::~WebInspectorFrontendClient):
10160        (WebInspectorFrontendClient::closeWindow):
10161        (WebInspectorFrontendClient::closeWindowWithoutNotifications):
10162        (WebInspectorFrontendClient::destroyInspectorView):
10163        * WebCoreSupport/WebInspectorClient.h:
10164
101652010-08-27  Yury Semikhatsky  <yurys@chromium.org>
10166
10167        Reviewed by Pavel Feldman.
10168
10169        REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
10170        https://bugs.webkit.org/show_bug.cgi?id=44230
10171
10172        * WebCoreSupport/WebInspectorClient.cpp:
10173        (WebInspectorFrontendClient::~WebInspectorFrontendClient):
10174        (WebInspectorFrontendClient::closeWindow):
10175        (WebInspectorFrontendClient::disconnectFromBackend):
10176        (WebInspectorFrontendClient::closeWindowWithoutNotifications):
10177        (WebInspectorFrontendClient::destroyInspectorView):
10178        * WebCoreSupport/WebInspectorClient.h:
10179
101802010-08-26  Yury Semikhatsky  <yurys@chromium.org>
10181
10182        Unreviewed. Revert r66103 since Qt tests are failing.
10183
10184        * WebCoreSupport/WebInspectorClient.cpp:
10185        (WebInspectorFrontendClient::~WebInspectorFrontendClient):
10186        (WebInspectorFrontendClient::closeWindow):
10187        (WebInspectorFrontendClient::closeWindowWithoutNotifications):
10188        (WebInspectorFrontendClient::destroyInspectorView):
10189        * WebCoreSupport/WebInspectorClient.h:
10190
101912010-08-26  Yury Semikhatsky  <yurys@chromium.org>
10192
10193        Reviewed by Pavel Feldman.
10194
10195        REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
10196        https://bugs.webkit.org/show_bug.cgi?id=44230
10197
10198        * WebCoreSupport/WebInspectorClient.cpp:
10199        (WebInspectorFrontendClient::~WebInspectorFrontendClient):
10200        (WebInspectorFrontendClient::closeWindow):
10201        (WebInspectorFrontendClient::disconnectFromBackend):
10202        (WebInspectorFrontendClient::closeWindowWithoutNotifications):
10203        (WebInspectorFrontendClient::destroyInspectorView):
10204        * WebCoreSupport/WebInspectorClient.h:
10205
102062010-08-24  Ada Chan  <adachan@apple.com>
10207
10208        Reviewed by Steve Falkenburg.
10209
10210        <rdar://problem/8185379> Possible null dereference in WebView::canShowMIMEType.
10211        https://bugs.webkit.org/show_bug.cgi?id=44564
10212
10213        * WebView.cpp:
10214        (WebView::canShowMIMEType): Null check m_page->pluginData() since that can return NULL
10215        if plugins are disabled.
10216
102172010-08-22  Daniel Bates  <dbates@rim.com>
10218
10219        Reviewed by Eric Seidel.
10220
10221        Encapsulate document marker management into DocumentMarkerController
10222        https://bugs.webkit.org/show_bug.cgi?id=44383
10223
10224        Modify call sites in the Apple Windows port to use DocumentMarkerController.
10225
10226        No functionality was changed, so no new tests.
10227
10228        * WebFrame.cpp:
10229        (WebFrame::unmarkAllMisspellings):
10230        (WebFrame::unmarkAllBadGrammar):
10231        * WebView.cpp:
10232        (WebView::rectsForTextMatches):
10233
102342010-08-18  Jessie Berlin  <jberlin@apple.com>
10235
10236        Reviewed by Adam Roben.
10237
10238        Bug 44180 - WebView::paint fails to paint a child WebView of a Layered Window.
10239        https://bugs.webkit.org/show_bug.cgi?id=44180
10240        
10241        Decide to end painting if the m_backingStoreBitmap is null after the call to
10242        ensureBackingStore() instead of when the rcPaint rect filled by BeginPaint is empty.
10243        The rcPaint rect filled by BeginPaint is always empty for a child WebView of a Layered 
10244        Window, even if GetUpdateRect and GetUpdateRgn report a non-empty region that needs
10245        painting.
10246
10247        * WebView.cpp:
10248        (WebView::paint):
10249
102502010-08-17  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
10251
10252        Reviewed by Darin Adler.
10253
10254        Add NetworkingContext to avoid layer violations
10255        https://bugs.webkit.org/show_bug.cgi?id=42292
10256
10257        Preparation: Just add the files to the build system.
10258
10259        * WebCoreSupport/WebFrameNetworkingContext.cpp: Added.
10260        Empty placeholder for now.
10261        * WebCoreSupport/WebFrameNetworkingContext.h: Added.
10262        Placeholder with tentative code that might be changed when landing
10263        the rest of it.
10264        * WebKit.vcproj/WebKit.vcproj: Added new files.
10265
102662010-08-17  Brady Eidson  <beidson@apple.com>
10267
10268        Reviewed by Sam Weinig.
10269
10270        Navigating back/forward during a modal dialog causes a crash when the modal dialog is dismissed.
10271        <rdar://problem/8313579> and https://bugs.webkit.org/show_bug.cgi?id=44131
10272
10273        * WebView.cpp:
10274        (WebView::canGoBack): Return false if loads are deferred.
10275        (WebView::canGoForward): Ditto.
10276
102772010-08-16  Kinuko Yasuda  <kinuko@chromium.org>
10278
10279        Unreviewed; build fix attempt for Windows.
10280
10281        * DefaultDownloadDelegate.cpp:
10282
102832010-08-12  Jeremy Orlow  <jorlow@chromium.org>
10284
10285        Revert for now
10286        https://bugs.webkit.org/show_bug.cgi?id=43794 
10287
10288        * WebView.cpp:
10289        (WebView::initWithFrame):
10290
102912010-08-12  Jeremy Orlow  <jorlow@chromium.org>
10292
10293        Build fix.  Matches solutions in qt and mac ports for
10294        https://bugs.webkit.org/show_bug.cgi?id=43794 
10295
10296        * WebView.cpp:
10297        (WebView::initWithFrame):
10298
102992010-08-10  Gavin Barraclough  <barraclough@apple.com>
10300
10301        Build fix (update more includes)
10302
10303        * WebKitDLL.h:
10304        * WebLocalizableStrings.cpp:
10305        * WebNotificationCenter.cpp:
10306        * WebPreferences.cpp:
10307
103082010-08-10  Chris Marrin  <cmarrin@apple.com>
10309
10310        Reviewed by Oliver Hunt.
10311
10312        Add suspendAnimations/resumeAnimation API to DRT
10313        https://bugs.webkit.org/show_bug.cgi?id=43733
10314
10315        Win specific API
10316
10317        * Interfaces/IWebFramePrivate.idl:
10318        * WebFrame.cpp:
10319        (WebFrame::suspendAnimations):
10320        (WebFrame::resumeAnimations):
10321        * WebFrame.h:
10322
103232010-08-06  Gavin Barraclough  <barraclough@apple.com>
10324
10325        Rubber stamped by Sam Weinig
10326
10327        Bug 43594 - Add string forwards to Forward.h
10328        This allows us to remove forward declarations for these classes from
10329        WebCore/WebKit (a step in moving these class from WebCore:: to WTF::).
10330
10331        * COMVariantSetter.h:
10332        * MarshallingHelpers.h:
10333        * WebCoreSupport/WebContextMenuClient.h:
10334        * WebCoreSupport/WebPluginHalterClient.h:
10335        * WebHistory.h:
10336
103372010-08-06  Jessie Berlin  <jberlin@apple.com>
10338
10339        Roll out http://trac.webkit.org/changeset/64801, which broke the Safari Windows Build.
10340        Unreviewed.
10341
10342        * COMVariantSetter.h:
10343        * MarshallingHelpers.h:
10344        * WebCoreSupport/WebContextMenuClient.h:
10345        * WebCoreSupport/WebPluginHalterClient.h:
10346        * WebHistory.h:
10347
103482010-08-05  Jessie Berlin  <jberlin@apple.com>
10349
10350        Reviewed by Jon Honeycutt.
10351
10352        Bug 43593 - WebView::backingStore should check if m_backingStoreBitmap is NULL.
10353        https://bugs.webkit.org/show_bug.cgi?id=43593
10354
10355        * WebView.cpp:
10356        (WebView::backingStore):
10357        If m_backingStoreBitmap is NULL, return E_FAIL.
10358
103592010-08-05  Gavin Barraclough  <barraclough@apple.com>
10360
10361        Rubber stamped by Sam Weinig
10362
10363        Bug 43594 - Add string forwards to Forward.h
10364        This allows us to remove forward declarations for these classes from
10365        WebCore/WebKit (a step in moving these class from WebCore:: to WTF::).
10366
10367        * COMVariantSetter.h:
10368        * MarshallingHelpers.h:
10369        * WebCoreSupport/WebContextMenuClient.h:
10370        * WebCoreSupport/WebPluginHalterClient.h:
10371        * WebHistory.h:
10372
103732010-08-03  Adam Roben  <aroben@apple.com>
10374
10375        Turn on PLATFORM_STRATEGIES on Windows
10376
10377        Fixes <http://webkit.org/b/43431>.
10378
10379        Reviewed by Anders Carlsson.
10380
10381        * WebCoreLocalizedStrings.cpp: Removed.
10382        * WebCoreSupport/WebPlatformStrategies.cpp: Added. Based on the Mac
10383        equivalent.
10384        (WebPlatformStrategies::initialize): Creates the singleton instance.
10385        (WebPlatformStrategies::WebPlatformStrategies): Registers the
10386        singleton instance as the PlatformStrategies instance for WebCore.
10387
10388        (WebPlatformStrategies::createPluginStrategy):
10389        (WebPlatformStrategies::createLocalizationStrategy):
10390        (WebPlatformStrategies::createVisitedLinkStrategy):
10391        Return ourselves as the strategy.
10392
10393        (WebPlatformStrategies::refreshPlugins):
10394        (WebPlatformStrategies::getPluginInfo):
10395        Moved code here from WebCore's PluginDataWin.cpp file.
10396
10397        (WebPlatformStrategies::searchableIndexIntroduction):
10398        (WebPlatformStrategies::submitButtonDefaultLabel):
10399        (WebPlatformStrategies::inputElementAltText):
10400        (WebPlatformStrategies::resetButtonDefaultLabel):
10401        (WebPlatformStrategies::fileButtonChooseFileLabel):
10402        (WebPlatformStrategies::fileButtonNoFileSelectedLabel):
10403        (WebPlatformStrategies::contextMenuItemTagOpenLinkInNewWindow):
10404        (WebPlatformStrategies::contextMenuItemTagDownloadLinkToDisk):
10405        (WebPlatformStrategies::contextMenuItemTagCopyLinkToClipboard):
10406        (WebPlatformStrategies::contextMenuItemTagOpenImageInNewWindow):
10407        (WebPlatformStrategies::contextMenuItemTagDownloadImageToDisk):
10408        (WebPlatformStrategies::contextMenuItemTagCopyImageToClipboard):
10409        (WebPlatformStrategies::contextMenuItemTagOpenFrameInNewWindow):
10410        (WebPlatformStrategies::contextMenuItemTagCopy):
10411        (WebPlatformStrategies::contextMenuItemTagGoBack):
10412        (WebPlatformStrategies::contextMenuItemTagGoForward):
10413        (WebPlatformStrategies::contextMenuItemTagStop):
10414        (WebPlatformStrategies::contextMenuItemTagReload):
10415        (WebPlatformStrategies::contextMenuItemTagCut):
10416        (WebPlatformStrategies::contextMenuItemTagPaste):
10417        (WebPlatformStrategies::contextMenuItemTagNoGuessesFound):
10418        (WebPlatformStrategies::contextMenuItemTagIgnoreSpelling):
10419        (WebPlatformStrategies::contextMenuItemTagLearnSpelling):
10420        (WebPlatformStrategies::contextMenuItemTagSearchWeb):
10421        (WebPlatformStrategies::contextMenuItemTagLookUpInDictionary):
10422        (WebPlatformStrategies::contextMenuItemTagOpenLink):
10423        (WebPlatformStrategies::contextMenuItemTagIgnoreGrammar):
10424        (WebPlatformStrategies::contextMenuItemTagSpellingMenu):
10425        (WebPlatformStrategies::contextMenuItemTagCheckSpelling):
10426        (WebPlatformStrategies::contextMenuItemTagCheckSpellingWhileTyping):
10427        (WebPlatformStrategies::contextMenuItemTagCheckGrammarWithSpelling):
10428        (WebPlatformStrategies::contextMenuItemTagFontMenu):
10429        (WebPlatformStrategies::contextMenuItemTagBold):
10430        (WebPlatformStrategies::contextMenuItemTagItalic):
10431        (WebPlatformStrategies::contextMenuItemTagUnderline):
10432        (WebPlatformStrategies::contextMenuItemTagOutline):
10433        (WebPlatformStrategies::contextMenuItemTagWritingDirectionMenu):
10434        (WebPlatformStrategies::contextMenuItemTagTextDirectionMenu):
10435        (WebPlatformStrategies::contextMenuItemTagDefaultDirection):
10436        (WebPlatformStrategies::contextMenuItemTagLeftToRight):
10437        (WebPlatformStrategies::contextMenuItemTagRightToLeft):
10438        (WebPlatformStrategies::contextMenuItemTagShowSpellingPanel):
10439        (WebPlatformStrategies::contextMenuItemTagInspectElement):
10440        (WebPlatformStrategies::searchMenuNoRecentSearchesText):
10441        (WebPlatformStrategies::searchMenuRecentSearchesText):
10442        (WebPlatformStrategies::searchMenuClearRecentSearchesText):
10443        (WebPlatformStrategies::AXWebAreaText):
10444        (WebPlatformStrategies::AXLinkText):
10445        (WebPlatformStrategies::AXListMarkerText):
10446        (WebPlatformStrategies::AXImageMapText):
10447        (WebPlatformStrategies::AXHeadingText):
10448        (WebPlatformStrategies::AXDefinitionListTermText):
10449        (WebPlatformStrategies::AXDefinitionListDefinitionText):
10450        (WebPlatformStrategies::AXButtonActionVerb):
10451        (WebPlatformStrategies::AXRadioButtonActionVerb):
10452        (WebPlatformStrategies::AXTextFieldActionVerb):
10453        (WebPlatformStrategies::AXCheckedCheckBoxActionVerb):
10454        (WebPlatformStrategies::AXUncheckedCheckBoxActionVerb):
10455        (WebPlatformStrategies::AXLinkActionVerb):
10456        (WebPlatformStrategies::AXMenuListActionVerb):
10457        (WebPlatformStrategies::AXMenuListPopupActionVerb):
10458        (WebPlatformStrategies::unknownFileSizeText):
10459        (WebPlatformStrategies::uploadFileText):
10460        (WebPlatformStrategies::allFilesText):
10461        (WebPlatformStrategies::missingPluginText):
10462        (WebPlatformStrategies::crashedPluginText):
10463        (WebPlatformStrategies::imageTitle):
10464        (WebPlatformStrategies::multipleFileUploadText):
10465        (WebPlatformStrategies::mediaElementLoadingStateText):
10466        (WebPlatformStrategies::mediaElementLiveBroadcastStateText):
10467        (WebPlatformStrategies::localizedMediaControlElementString):
10468        (WebPlatformStrategies::localizedMediaControlElementHelpText):
10469        (WebPlatformStrategies::localizedMediaTimeDescription):
10470        (WebPlatformStrategies::validationMessageValueMissingText):
10471        (WebPlatformStrategies::validationMessageTypeMismatchText):
10472        (WebPlatformStrategies::validationMessagePatternMismatchText):
10473        (WebPlatformStrategies::validationMessageTooLongText):
10474        (WebPlatformStrategies::validationMessageRangeUnderflowText):
10475        (WebPlatformStrategies::validationMessageRangeOverflowText):
10476        (WebPlatformStrategies::validationMessageStepMismatchText):
10477        Moved code here from WebCoreLocalizedStrings.cpp (and slightly cleaned
10478        it up).
10479
10480        (WebPlatformStrategies::isLinkVisited):
10481        (WebPlatformStrategies::addVisitedLink):
10482        Copied code from WebKit/mac/WebCoreSupport/WebPlatformStrategies.mm.
10483
10484        * WebCoreSupport/WebPlatformStrategies.h: Added.
10485
10486        * WebKit.vcproj/WebKit.vcproj: Removed WebCoreLocalizedStrings, added
10487        WebPlatformStrategies.
10488
10489        * WebView.cpp:
10490        (WebView::initWithFrame): Initialize WebPlatformStrategies.
10491
104922010-08-03  Alexey Proskuryakov  <ap@apple.com>
10493
10494        Reviewed by Sam Weinig.
10495
10496        https://bugs.webkit.org/show_bug.cgi?id=42939
10497        WebEditorClient::didBeginEditing is never called in WebKit2
10498
10499        * WebView.cpp: (WebView::WebViewWndProc): Removed a call to setFocusedFrame. WebCore will
10500        now set it to main frame, and besides, this call should have been before setFocused(), not
10501        after it. My understanding is that we weren't getting all the same editing delegates on Windows,
10502        so this change may make WebKit1 on Windows behave more like Mac - but I haven't tested it.
10503
105042010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>
10505
10506        Reviewed by Darin Fisher.
10507
10508        PopupMenu refactoring in preparation to WebKit2
10509        https://bugs.webkit.org/show_bug.cgi?id=42592
10510
10511        As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
10512        instances, concrete classes that inherit from ChromeClient needed to be changed to
10513        implement the new methods.
10514
10515        * WebCoreSupport/WebChromeClient.cpp:
10516        (WebChromeClient::selectItemWritingDirectionIsNatural):
10517        (WebChromeClient::createPopupMenu):
10518        (WebChromeClient::createSearchPopupMenu):
10519        * WebCoreSupport/WebChromeClient.h:
10520
105212010-08-02  Jon Honeycutt  <jhoneycutt@apple.com>
10522
10523        Move InjectedBundle.vcproj to where the other WebKitTestRunner vcprojs live.
10524
10525        Reviewed by Sam Weinig.
10526
10527        * WebKit.vcproj/WebKit.sln:
10528
105292010-08-02  Jeremy Orlow  <jorlow@chromium.org>
10530
10531        Speculative revert of 64425 due to Chromium instability
10532        https://bugs.webkit.org/show_bug.cgi?id=43347
10533
10534        * WebCoreSupport/WebChromeClient.cpp:
10535        * WebCoreSupport/WebChromeClient.h:
10536        * WebView.cpp:
10537        (WebView::mouseWheel):
10538
105392010-07-31  Luiz Agostini  <luiz.agostini@openbossa.org>
10540
10541        Build fix: Windows.
10542
10543        * WebView.cpp:
10544        (WebView::mouseWheel):
10545
105462010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>
10547
10548        Reviewed by Darin Fisher.
10549
10550        PopupMenu refactoring in preparation to WebKit2
10551        https://bugs.webkit.org/show_bug.cgi?id=42592
10552
10553        As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
10554        instances, concrete classes that inherit from ChromeClient needed to be changed to
10555        implement the new methods.
10556
10557        * WebCoreSupport/WebChromeClient.cpp:
10558        (WebChromeClient::selectItemWritingDirectionIsNatural):
10559        (WebChromeClient::createPopupMenu):
10560        (WebChromeClient::createSearchPopupMenu):
10561        * WebCoreSupport/WebChromeClient.h:
10562
105632010-07-31  Sheriff Bot  <webkit.review.bot@gmail.com>
10564
10565        Unreviewed, rolling out r64422.
10566        http://trac.webkit.org/changeset/64422
10567        https://bugs.webkit.org/show_bug.cgi?id=43304
10568
10569        Build fixes are needed for Snow Leopard and Windows.
10570        (Requested by lca on #webkit).
10571
10572        * WebCoreSupport/WebChromeClient.cpp:
10573        * WebCoreSupport/WebChromeClient.h:
10574
105752010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>
10576
10577        Reviewed by Darin Fisher.
10578
10579        PopupMenu refactoring in preparation to WebKit2
10580        https://bugs.webkit.org/show_bug.cgi?id=42592
10581
10582        As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
10583        instances, concrete classes that inherit from ChromeClient needed to be changed to
10584        implement the new methods.
10585
10586        * WebCoreSupport/WebChromeClient.cpp:
10587        (WebChromeClient::selectItemWritingDirectionIsNatural):
10588        (WebChromeClient::createPopupMenu):
10589        (WebChromeClient::createSearchPopupMenu):
10590        * WebCoreSupport/WebChromeClient.h:
10591
105922010-07-31  Daniel Bates  <dbates@rim.com>
10593
10594        Attempt to fix the Windows build after changeset 64409 <http://trac.webkit.org/changeset/64409>.
10595
10596        * WebFrame.cpp:
10597        (WebFrame::setPrinting):
10598
105992010-07-30  Dan Bernstein  <mitz@apple.com>
10600
10601        Reviewed by Darin Adler.
10602
10603        <rdar://problem/8257783> Short documents may print a second blank page
10604        https://bugs.webkit.org/show_bug.cgi?id=43271
10605
10606        * WebFrame.cpp:
10607        (WebFrame::setPrinting): Updated for changes to Frame::setPrinting(). Passing 0 for the
10608        page height, which maintains existing behavior.
10609
106102010-07-30  Joseph Pecoraro  <joepeck@webkit.org>
10611
10612        Reviewed by David Kilzer.
10613
10614        Limit ApplicationCache Total and Per-Origin Storage Capacity (Quotas)
10615        https://bugs.webkit.org/show_bug.cgi?id=40627
10616
10617        * WebCoreSupport/WebChromeClient.cpp:
10618        (WebChromeClient::reachedApplicationCacheOriginQuota):
10619        * WebCoreSupport/WebChromeClient.h:
10620
106212010-07-26  Steve Block  <steveblock@google.com>
10622
10623        Reviewed by Jeremy Orlow.
10624
10625        Page clients should be passed to Page constructor via structure of pointers
10626        https://bugs.webkit.org/show_bug.cgi?id=42834
10627
10628        * WebView.cpp:
10629        (WebView::initWithFrame):
10630
106312010-07-27  Steve Block  <steveblock@google.com>
10632
10633        Reviewed by Alexey Proskuryakov.
10634
10635        Client-based Geolocation does not pass enableHighAccuracy option to controller and client
10636        https://bugs.webkit.org/show_bug.cgi?id=40374
10637
10638        Stub out setEnableHighAccuracy method for the Win port.
10639
10640        * WebCoreSupport/WebGeolocationControllerClient.h:
10641        (WebGeolocationControllerClient::setEnableHighAccuracy):
10642
106432010-07-22  Sam Weinig  <sam@webkit.org>
10644
10645        Reviewed by Maciej Stachowiak.
10646
10647        Fix for <rdar://problem/8222626>
10648        Send textDidChangeInTextField delegate callback only in response to typing or other forms of user text input.
10649
10650        The function name no longer perfectly matches the behavior, but I didn't want to break any existing clients. Maybe we
10651        should migrate to a new function name eventually
10652
10653        * WebCoreSupport/WebEditorClient.cpp:
10654        (WebEditorClient::textDidChangeInTextField):
10655
106562010-07-21  Brady Eidson  <beidson@apple.com>
10657
10658        Reviewed by Geoffrey Garen.
10659
10660        Break out "scheme registration" functionality from SecurityOrigin to a SchemeRegistry
10661        https://bugs.webkit.org/show_bug.cgi?id=42783
10662
10663        * WebView.cpp:
10664        (WebView::registerURLSchemeAsLocal):
10665        (WebView::registerURLSchemeAsSecure):
10666
106672010-07-20  Steve Falkenburg  <sfalken@apple.com>
10668
10669        Reviewed by Adam Roben.
10670
10671        WebKit on Windows should build optionally with an unversioned ICU DLL
10672        https://bugs.webkit.org/show_bug.cgi?id=42722
10673        <rdar://problem/8211767> WebKit needs to link against unversioned ICU
10674
10675        To get the proper value for U_DISABLE_RENAMING into all source files, we force
10676        the include of ICUVersion.h (our generated header) via the compiler options.
10677
10678        * WebKit.vcproj/WebKit.vcproj: Add forced include of ICUVersion.h.        
10679
106802010-07-21  Adam Roben  <aroben@apple.com>
10681
10682        Update WebKit.sln for InjectedBundle's Debug_Internal configuration
10683
10684        Fixes <http://webkit.org/b/42749> InjectedBundle's build
10685        configurations are screwy
10686
10687        Reviewed by Darin Adler.
10688
10689        * WebKit.vcproj/WebKit.sln: Build the Debug_Internal variant of
10690        InjectedBundle when we're using the Debug_Internal solution
10691        configuration.
10692
106932010-07-21  Adam Roben  <aroben@apple.com>
10694
10695        Add MiniBrowser to WebKit.sln
10696
10697        It is the last project to build.
10698
10699        Fixes <http://webkit.org/b/42747> build-webkit should build
10700        MiniBrowser
10701
10702        Reviewed by Darin Adler.
10703
10704        * WebKit.vcproj/WebKit.sln: Added MiniBrowser, and made it depend on
10705        WebKitTestRunner.
10706
107072010-07-20  Adam Roben  <aroben@apple.com>
10708
10709        Add WebKitTestRunner and friends to WebKit.sln
10710
10711        We added these projects to WebKit2.sln in r63585, but removed them
10712        again in r63600 because WebKitTestRunner required getopt, which
10713        doesn't exist in WebKitAuxiliaryLibrary. r63700 and r63788 removed the
10714        use of getopt in WebKitTestRunner, so we can now add it to WebKit.sln
10715        (which has replaced WebKit2.sln).
10716
10717        Fixes <http://webkit.org/b/42711> WebKit.sln should build
10718        WebKitTestRunner
10719
10720        Reviewed by Steve Falkenburg.
10721
10722        * WebKit.vcproj/WebKit.sln: Added the following projects to the end of
10723        the build order (in first-built to last-built order):
10724        InjectedBundleGenerated, InjectedBundle, WebKitTestRunner. Also
10725        removed an unnecessary dependency from testapi on WebKit2WebProcess.
10726
107272010-07-19  Daniel Bates  <dbates@rim.com>
10728
10729        Reviewed by Adam Roben.
10730
10731        [Win] Implement LayoutTestController::markerTextForListItem()
10732        https://bugs.webkit.org/show_bug.cgi?id=37930
10733
10734        Implements support for markerTextForListItem in the Windows port.
10735
10736        * DOMCoreClasses.cpp:
10737        (DOMElement::markerTextForListItem): Added.
10738        * DOMCoreClasses.h:
10739        * Interfaces/DOMPrivate.idl: Added declaration for markerTextForListItem().
10740        * Interfaces/IWebViewPrivate.idl: Added declaration for elementFromJS().
10741        * Interfaces/WebKit.idl: Touch it to force a rebuild (and for good luck :-)).
10742        * WebView.cpp:
10743        (WebView::elementFromJS): Added.
10744        * WebView.h:
10745
107462010-07-16  Zhe Su  <suzhe@chromium.org>
10747
10748        Reviewed by Darin Adler.
10749
10750        REGRESSION(r61484): Broke focus behaviour on Qt and probably other platforms
10751        https://bugs.webkit.org/show_bug.cgi?id=42253
10752
10753        Dummy implementation of EditorClient::willSetInputMethodState.
10754
10755        * WebCoreSupport/WebEditorClient.cpp:
10756        (WebEditorClient::willSetInputMethodState):
10757        * WebCoreSupport/WebEditorClient.h:
10758
107592010-07-16  Mikhail Naganov  <mnaganov@chromium.org>
10760
10761        Reviewed by Pavel Feldman.
10762
10763        Make JS memory stats available via 'Performance' object (Web Timing).
10764        This statistics is populated only if 'WebKitMemoryInfoEnabled'
10765        preference is set.
10766
10767        'console.memory' is kept until Web Timing object becomes visible by
10768        default (currently it is hidden under compile-time flag).  These stats
10769        are guarded with the same preference.
10770
10771        https://bugs.webkit.org/show_bug.cgi?id=41617
10772
10773        * Interfaces/IWebPreferencesPrivate.idl:
10774        * WebPreferenceKeysPrivate.h:
10775        * WebPreferences.cpp:
10776        (WebPreferences::initializeDefaultSettings):
10777        (WebPreferences::memoryInfoEnabled):
10778        (WebPreferences::setMemoryInfoEnabled):
10779        * WebPreferences.h:
10780        * WebView.cpp:
10781        (WebView::notifyPreferencesChanged):
10782
107832010-07-14  Brent Fulgham  <bfulgham@webkit.org>
10784
10785        Reviewed by Steve Falkenburg.
10786
10787        Patch for https://bugs.webkit.org/show_bug.cgi?id=42299
10788        Correct WinCairo build for new WebKit2 project structure.
10789
10790        * WebKit.vcproj/WebKit.sln:
10791
107922010-07-14  Sam Weinig  <sam@webkit.org>
10793
10794        Reviewed by Darin Adler.
10795
10796        Patch for https://bugs.webkit.org/show_bug.cgi?id=42232
10797        Make changing Cursors work in WebKit2.
10798
10799        * WebCoreSupport/WebChromeClient.cpp:
10800        (WebChromeClient::setCursor):
10801        We now need to grab the native cursor out of the WebCore cursor.
10802
10803        (WebChromeClient::setLastSetCursorToCurrentCursor):
10804        Sets the WebView's "last set cursor" to be the current cursor so that
10805        the cursor is set correctly for plugins.
10806        * WebCoreSupport/WebChromeClient.h:
10807        * WebView.cpp:
10808        (WebView::WebView):
10809        (WebView::WebViewWndProc):
10810        * WebView.h:
10811        (WebView::setLastCursor):
10812        Change the "last set cursor" to be stored as a member instead of a global.
10813
108142010-07-13  Steve Falkenburg  <sfalken@apple.com>
10815
10816        Windows build fix.
10817        Make WebKit.sln build WebKit.dll as it used to in the past.
10818        (sln is updated to include necessary projects)
10819
10820        * WebKit.vcproj/WebKit.sln:
10821
108222010-07-13  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
10823
10824        Windows build fix
10825
10826        * Interfaces/WebKit.idl: Touched to force a build
10827
108282010-07-07  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
10829
10830        Reviewed by Darin Adler.
10831
10832        Prevent assertion/duplicate loads for non-deferred subtitute-data loads
10833
10834        https://bugs.webkit.org/show_bug.cgi?id=30879
10835
10836        MainResourceLoader uses the member m_initialRequest to store requests for future
10837        deferred loads. When doing the actual load in handleDataLoadNow(), we therefore
10838        have to clear this request so that subsequent entries into the loader will not
10839        start yet another load.
10840
10841        This can happen as a result of a PageGroupLoadDeferrer going out of scope when
10842        returning from Chrome::runJavaScriptAlert(), which calls setDeferredLoading(false),
10843        but only in the case of using both substitute-data and non-deferred main resource
10844        load together. That's why two new DRT functions were added:
10845
10846         * queueLoadHTMLString()
10847         * setDeferMainResourceLoad()
10848
10849        The change adds DRT hooks for Mac, Win and Qt for these two functions. For Mac
10850        and Win the hook uses new SPI in WebDataSource. For Qt a new static member was
10851        added to the FrameLoaderClientQt and accessed though DumpRenderTreeSupportQt.
10852
10853        * Interfaces/IWebDataSource.idl:
10854        * WebDataSource.cpp:
10855        (WebDataSource::setDeferMainResourceDataLoad):
10856        * WebDataSource.h:
10857
108582010-07-12  Steve Falkenburg  <sfalken@apple.com>
10859
10860        Reviewed by Alice Liu.
10861
10862        <rdar://problem/8113038> WebKit1 and WebKit2 should build as a single DLL
10863        https://bugs.webkit.org/show_bug.cgi?id=40921
10864
10865        Pre-WebKit2 WebKit now builds into a static library named WebKitLib.lib.
10866        WebKit.dll now links in WebCore.lib, WebKitLib.lib and WebKit2 code.
10867        
10868        This is a first step. We'll likely want to migrate the remainder of
10869        the non-deprecated WebKit code (strings, DLLMain, resources) into WebKit2.
10870
10871        * WebKit.vcproj/WebKit.def: Removed.
10872        * WebKit.vcproj/WebKit.make: Don't fail if WebKit doesn't produce a DLL.
10873        * WebKit.vcproj/WebKit.vcproj: Build WebKit as a static lib.
10874        Renamed project name to WebKitLib to avoid confusion and naming conflicts.
10875        Generate intermediate pdb file for debuggability of static lib.
10876        Removed DLL-related options.        
10877        * WebKit.vcproj/deleteButton.png: Removed.
10878        * WebKit.vcproj/deleteButtonPressed.png: Removed.
10879        * WebKit.vcproj/fsVideoAudioVolumeHigh.png: Removed.
10880        * WebKit.vcproj/fsVideoAudioVolumeLow.png: Removed.
10881        * WebKit.vcproj/fsVideoExitFullscreen.png: Removed.
10882        * WebKit.vcproj/fsVideoPause.png: Removed.
10883        * WebKit.vcproj/fsVideoPlay.png: Removed.
10884        * WebKit.vcproj/missingImage.png: Removed.
10885        * WebKit.vcproj/nullplugin.png: Removed.
10886        * WebKit.vcproj/panEastCursor.png: Removed.
10887        * WebKit.vcproj/panIcon.png: Removed.
10888        * WebKit.vcproj/panNorthCursor.png: Removed.
10889        * WebKit.vcproj/panNorthEastCursor.png: Removed.
10890        * WebKit.vcproj/panNorthWestCursor.png: Removed.
10891        * WebKit.vcproj/panSouthCursor.png: Removed.
10892        * WebKit.vcproj/panSouthEastCursor.png: Removed.
10893        * WebKit.vcproj/panSouthWestCursor.png: Removed.
10894        * WebKit.vcproj/panWestCursor.png: Removed.
10895        * WebKit.vcproj/searchCancel.png: Removed.
10896        * WebKit.vcproj/searchCancelPressed.png: Removed.
10897        * WebKit.vcproj/searchMagnifier.png: Removed.
10898        * WebKit.vcproj/searchMagnifierResults.png: Removed.
10899        * WebKit.vcproj/textAreaResizeCorner.png: Removed.
10900        * WebKit.vcproj/verticalTextCursor.png: Removed.
10901        * WebKit.vcproj/zoomInCursor.png: Removed.
10902        * WebKit.vcproj/zoomOutCursor.png: Removed.
10903
109042010-07-08  Aaron Boodman  <aa@chromium.org>
10905
10906        Reviewed by Timothy Hatcher.
10907
10908        Add the ability for user scripts and user styles to affect just the top frame.
10909
10910        https://bugs.webkit.org/show_bug.cgi?id=41529
10911
10912        * WebView.cpp:
10913        (WebView::addUserScriptToGroup):
10914        (WebView::addUserStyleSheetToGroup):
10915
109162010-07-08  Adele Peterson  <adele@apple.com>
10917
10918        Reviewed by Jon Honeycutt, Adam Roben, and Darin Adler.
10919
10920        Fix for https://bugs.webkit.org/show_bug.cgi?id=41721
10921        <rdar://problem/8158561> Missing plug-in indicator should have a pressed state
10922
10923        Implement shouldMissingPluginMessageBeButton.
10924
10925        * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::shouldMissingPluginMessageBeButton):
10926        * WebCoreSupport/WebChromeClient.h:
10927
109282010-07-07  Anders Carlsson  <andersca@apple.com>
10929
10930        Reviewed by Simon Fraser.
10931
10932        Rename TestNetscapePlugin.subproj and move platform specific files to subdirectories
10933        https://bugs.webkit.org/show_bug.cgi?id=41781
10934
10935        * WebKit.vcproj/WebKit.sln:
10936
109372010-07-07  Sam Weinig  <sam@webkit.org>
10938
10939        Reviewed by Anders Carlsson.
10940
10941        Patch for https://bugs.webkit.org/show_bug.cgi?id=41772
10942        Add basic piping for BackForwardControllerClient.
10943
10944        * WebView.cpp:
10945        (WebView::initWithFrame):
10946
109472010-07-07  Adam Roben  <aroben@apple.com>
10948
10949        Windows build fix
10950
10951        * Interfaces/WebKit.idl: Touched to force a build.
10952
109532010-07-06  Steve Falkenburg  <sfalken@apple.com>
10954
10955        Reviewed by Simon Fraser.
10956
10957        Expose URL matching from WebUserContentURLPattern
10958        https://bugs.webkit.org/show_bug.cgi?id=41726
10959        <rdar://problem/7910144>
10960        
10961        We previously had a way to construct WebUserContentURLPattern
10962        instances via WebKit, but no way for callers to perform matching.
10963        This patch adds the matchesURL functionality to allow for this.
10964
10965        * Interfaces/IWebUserContentURLPattern.idl: Added matchesURL.
10966        * Interfaces/IWebView.idl: Touch to force a build.
10967        * WebUserContentURLPattern.cpp:
10968        (WebUserContentURLPattern::matchesURL): Added. Calls through to WebCore::UserContentURLPattern::matches.
10969        * WebUserContentURLPattern.h: Added matchesURL.
10970
109712010-07-03  Jon Honeycutt  <jhoneycutt@apple.com>
10972
10973        The missing plug-in indicator should be clickable
10974
10975        https://bugs.webkit.org/show_bug.cgi?id=41550
10976        <rdar://problem/8132162>
10977
10978        From an original patch by Kevin Decker.
10979
10980        Reviewed by Darin Adler.
10981
10982        * Interfaces/IWebUIDelegatePrivate.idl:
10983        Added a new delegate interface, and declare a function
10984        didPressMissingPluginButton().
10985
10986        * Interfaces/WebKit.idl:
10987        Touch this file to force interfaces to be rebuilt.
10988
10989        * WebCoreSupport/WebChromeClient.cpp:
10990        (WebChromeClient::missingPluginButtonClicked):
10991        Get the UI delegate, and query it for IWebUIDelegatePrivate3. Call its
10992        didPressMissingPluginButton() function.
10993
10994        * WebCoreSupport/WebChromeClient.h:
10995        Declare an override of missingPluginButtonClicked().
10996
109972010-07-03  Erik Arvidsson  <arv@chromium.org>
10998
10999        Reviewed by Ojan Vafai.
11000
11001        Fix issue where a contextmenu event was reporting the wrong target
11002        if the context menu was shown due to pressing the context menu key
11003        (or Shift+F10).
11004
11005        * WebView.cpp:
11006        (WebView::handleContextMenuEvent):
11007
110082010-07-01  Steve Falkenburg  <sfalken@apple.com>
11009
11010        Reviewed by Adele Peterson.
11011
11012        Provide a WebView preference to disable DNS prefetching on Windows
11013        https://bugs.webkit.org/show_bug.cgi?id=41504
11014        <rdar://problem/8151939>
11015
11016        * Interfaces/IWebPreferencesPrivate.idl: Added isDNSPrefetchingEnabled, setDNSPrefetchingEnabled.
11017        * Interfaces/WebKit.idl: Touched to force IDL build.
11018        * WebPreferenceKeysPrivate.h: Added WebKitDNSPrefetchingEnabledPreferenceKey.
11019        * WebPreferences.cpp:
11020        (WebPreferences::initializeDefaultSettings): Default prefetch to true.
11021        (WebPreferences::setDNSPrefetchingEnabled): Added.
11022        (WebPreferences::isDNSPrefetchingEnabled): Added.
11023        * WebPreferences.h: Added isDNSPrefetchingEnabled, setDNSPrefetchingEnabled.
11024        * WebView.cpp:
11025        (WebView::notifyPreferencesChanged): Propagate prefetch pref into settings.
11026
110272010-06-21  Nate Chapin  <japhet@chromium.org>
11028
11029        Unreviewed, Windows build fix.
11030
11031        Update WebFrame to use FrameLoaderStateMachine in
11032         firstLayoutDone().
11033
11034        * WebFrame.cpp:
11035        (WebFrame::firstLayoutDone):
11036
110372010-06-15  Dumitru Daniliuc  <dumi@chromium.org>
11038
11039        Reviewed by Adam Barth.
11040
11041        Move isAvailable()/setIsAvailable() from Database/DatabaseSync to AbstractDatabase.
11042        https://bugs.webkit.org/show_bug.cgi?id=39041
11043
11044        * WebView.cpp:
11045        (WebView::notifyPreferencesChanged):
11046
110472010-06-16  Adam Roben  <aroben@apple.com>
11048
11049        Add a "forPrinting" boolean parameter to
11050        IWebFramePrivate::renderTreeAsExternalRepresentation
11051
11052        Fixes <http://webkit.org/b/40727> Respect
11053        LayoutTestController::isPrinting on Windows.
11054
11055        Reviewed by Dan Bernstein.
11056
11057        * Interfaces/IWebFramePrivate.idl: Renamed the current
11058        renderTreeAsExternalRepresentation to unused1, and added a new version
11059        that takes a boolean "forPrinting" parameter.
11060
11061        * Interfaces/WebKit.idl: Touched to force a build.
11062
11063        * WebFrame.cpp:
11064        (WebFrame::renderTreeAsExternalRepresentation): Added a boolean
11065        "forPrinting" parameter, and used it to tell externalRepresentation
11066        what kind of behavior to use.
11067
11068        * WebFrame.h: Renamed the old renderTreeAsExternalRepresentation and
11069        added the new one.
11070
110712010-06-15  Darin Adler  <darin@apple.com>
11072
11073        Reviewed by Adam Barth.
11074
11075        Move functions out of Frame class that were marked "move to Chrome"
11076        https://bugs.webkit.org/show_bug.cgi?id=39636
11077
11078        * WebView.cpp:
11079        (WebView::shouldClose): Call shouldClose on FrameLoader instead of
11080        going through Frame.
11081
110822010-06-14  Adam Roben  <aroben@apple.com>
11083
11084        Add WebKitLauncherWin to WebKit.sln
11085
11086        Fixes <http://webkit.org/b/40583>.
11087
11088        Reviewed by Darin Adler.
11089
11090        * WebKit.vcproj/WebKit.sln: Added WebKitLauncherWin.vcproj. It depends
11091        on WebKitAPITest, so is the last project to build. (Also removed
11092        QTMovieWin's direct dependency on JavaScriptCore, since it already has
11093        an indirect dependency on it.)
11094
110952010-06-14  Chang Shu  <chang.shu@nokia.com>
11096
11097        Reviewed by Kenneth Rohde Christiansen.
11098
11099        [win] Make windows compile after API changes.
11100
11101        https://bugs.webkit.org/show_bug.cgi?id=40434
11102
11103        * WebKitGraphics.cpp:
11104        (WebDrawText):
11105
111062010-06-14  Ilya Tikhonovsky  <loislo@chromium.org>
11107
11108        Reviewed by Pavel Feldman.
11109
11110        WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc
11111        data from inspected page to WebInspector as JSON string via http. The native
11112        serialization to JSON string is supported by InspectorValue's classes. This patch
11113        has the implementation of sendMessageToFrontend function. WebKit version of it still
11114        uses ScriptFunctionCall and will be switched to another transport a little bit later.
11115        https://bugs.webkit.org/show_bug.cgi?id=40134
11116
11117        * WebCoreSupport/WebInspectorClient.cpp:
11118        (WebInspectorClient::WebInspectorClient):
11119        (WebInspectorClient::~WebInspectorClient):
11120        (WebInspectorClient::openInspectorFrontend):
11121        * WebCoreSupport/WebInspectorClient.h:
11122
111232010-06-10  Eric Seidel  <eric@webkit.org>
11124
11125        Reviewed by Adam Barth.
11126
11127        Reduce FrameView.h includes to speed up build times
11128        https://bugs.webkit.org/show_bug.cgi?id=40408
11129
11130        Another fix for Windows.
11131
11132        * WebView.cpp:
11133
111342010-06-09  Sheriff Bot  <webkit.review.bot@gmail.com>
11135
11136        Unreviewed, rolling out r60889.
11137        http://trac.webkit.org/changeset/60889
11138        https://bugs.webkit.org/show_bug.cgi?id=40365
11139
11140        gtk bot has some kind of memory corruption (Requested by
11141        loislo on #webkit).
11142
11143        * WebCoreSupport/WebInspectorClient.cpp:
11144        (WebInspectorClient::WebInspectorClient):
11145        (WebInspectorClient::~WebInspectorClient):
11146        (WebInspectorClient::openInspectorFrontend):
11147        * WebCoreSupport/WebInspectorClient.h:
11148        (WebInspectorClient::frontendClosing):
11149
111502010-06-07  Ilya Tikhonovsky  <loislo@chromium.org>
11151
11152        Reviewed by Pavel Feldman.
11153
11154        WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc
11155        data from inspected page to WebInspector as JSON string via http. The native
11156        serialization to JSON string is supported by InspectorValue's classes. This patch
11157        has the implementation of sendMessageToFrontend function. WebKit version of it still
11158        uses ScriptFunctionCall and will be switched to another transport a little bit later.
11159        https://bugs.webkit.org/show_bug.cgi?id=40134
11160
11161        * WebCoreSupport/WebInspectorClient.cpp:
11162        (WebInspectorClient::WebInspectorClient):
11163        (WebInspectorClient::~WebInspectorClient):
11164        (WebInspectorClient::openInspectorFrontend):
11165        * WebCoreSupport/WebInspectorClient.h:
11166
111672010-06-08  Antonio Gomes  <tonikitoo@webkit.org>
11168
11169        Reviewed by Ojan Vafai and Darin Adler.
11170
11171        Refactor platform dependent editing behavior code out of Settings
11172        https://bugs.webkit.org/show_bug.cgi?id=39854
11173
11174        EditingBehavior enum was renamed to EditingBehaviorTypes and moved out from Settings.h to
11175        EditingBehaviorTypes.h . Call sites in WebKit/ adjusted accordingly.
11176
11177        * WebView.cpp:
11178        (WebView::notifyPreferencesChanged):
11179
111802010-06-04  Alice Liu  <alice.liu@apple.com>
11181
11182        Reviewed by Jon Honeycutt.
11183
11184        WebFrame::paintDocumentRectToContextAtPoint doesn't paint scrollbars
11185        https://bugs.webkit.org/show_bug.cgi?id=40034
11186        <rdar://problem/7799848>
11187
11188        * WebFrame.cpp:
11189        (WebFrame::paintScrollViewRectToContextAtPoint): Renamed from paintDocumentRectToContextAtPoint. 
11190        Call paint() instead of paintContents(). Also move the dirtyRect to counteract the moving that happens in paint().
11191
11192        Just renaming changes:
11193        * Interfaces/IWebFramePrivate.idl:
11194        * Interfaces/IWebViewPrivate.idl:
11195        * WebFrame.h:
11196        * WebView.cpp:
11197        (WebView::paintScrollViewRectToContextAtPoint):
11198        * WebView.h:
11199
11200        * Interfaces/WebKit.idl: Touched for rebuild.
11201
112022010-05-30  Daniel Bates  <dbates@rim.com>
11203
11204        Unreviewed, attempt to fix the build after http://trac.webkit.org/changeset/60418.
11205
11206        * WebFrame.cpp:
11207        (WebFrame::elementWithName):
11208        (WebFrame::controlsInForm):
11209
112102010-05-22  Jer Noble  <jer.noble@apple.com>
11211
11212        Reviewed by Adam Roben.
11213
11214        Full screen doesn't work for video elements
11215        https://bugs.webkit.org/show_bug.cgi?id=39557
11216        rdar://problem/8011813
11217        
11218        Modified FullscreenVideoController to work with MediaPlayerPrivateFullscreenWindow.  The FullscreenVideoController
11219        is now MediaPlayerPrivate agnostic..
11220
11221        * FullscreenVideoController.cpp:
11222        (FullscreenVideoController::LayoutClient::LayoutClient): New helper class which implements WKCACFLayerLayoutClient.
11223        (FullscreenVideoController::LayoutClient::layoutSublayersOfLayer):
11224        (FullscreenVideoController::FullscreenVideoController):
11225        (FullscreenVideoController::~FullscreenVideoController):
11226        (FullscreenVideoController::enterFullscreen):
11227        (FullscreenVideoController::exitFullscreen):
11228        (FullscreenVideoController::fullscreenClientWndProc): Handle WM_KEYDOWN.
11229        (FullscreenVideoController::createHUDWindow):
11230        (FullscreenVideoController::hudWndProc):  Handle WM_KEYDOWN.
11231        (FullscreenVideoController::onChar):
11232        (FullscreenVideoController::onKeyDown):  New function: handles the VK_ESCAPE case more reliably than WM_CHAR.
11233        * FullscreenVideoController.h:
11234        * WebView.h: 
11235        (WebView::viewWindow): Added a simple viewWindow() accessor.
11236
112372010-05-25  Brady Eidson  <beidson@apple.com>
11238
11239        Reviewed by Darin Adler.
11240
11241        Database origins aren't populated at launch (missing db in prefs sheet, possible other symptoms)
11242        <rdar://problem/8013233> and https://bugs.webkit.org/show_bug.cgi?id=39486
11243
11244        * WebDatabaseManager.cpp:
11245        (WebKitInitializeWebDatabasesIfNecessary): Call initializeTracker() instead of trying to set the path on
11246          an already created tracker that already has its origins populated.
11247        * WebDatabaseManager.h:
11248
11249        * WebView.cpp:
11250        (WebView::initWithFrame): Call a renamed method instead.
11251
112522010-05-25  Ada Chan  <adachan@apple.com>
11253
11254        Reviewed by Steve Falkenburg.
11255
11256        https://bugs.webkit.org/show_bug.cgi?id=39651
11257        
11258        Make m_closeWindowTimer a SuspendableTimer, so it is properly suspended
11259        when page loading is deferred.
11260
11261        * WebView.cpp:
11262        (WebView::WebView): m_closeWindowTimer is now a pointer to a SuspendableTimer.
11263        (WindowCloseTimer::create):
11264        (WindowCloseTimer::WindowCloseTimer):
11265        (WindowCloseTimer::contextDestroyed): Make sure we delete the WindowCloseTimer in the end.
11266        (WindowCloseTimer::fired):
11267        (WebView::closeWindowSoon):
11268        (WebView::closeWindowTimerFired):
11269        (WebView::notifyPreferencesChanged): Can just check for the existence m_closeWindowTimer, since
11270        we only create it when we need to start the timer.
11271        * WebView.h:
11272
112732010-05-24  Darin Adler  <darin@apple.com>
11274
11275        Reviewed by Eric Seidel.
11276
11277        Move view-related functions from Frame to FrameView
11278        https://bugs.webkit.org/show_bug.cgi?id=39366
11279
11280        * WebFrame.cpp:
11281        (WebFrame::setTextSizeMultiplier): Call function on FrameView.
11282        * WebView.cpp:
11283        (WebView::setZoomMultiplier): Ditto.
11284
112852010-05-24  Anders Carlsson  <andersca@apple.com>
11286
11287        Yet another Windows build fix.
11288        
11289        * WebView.cpp:
11290        (WebView::canShowMIMEType):
11291        Use the right capitalizatinon of 'MIME' (which also happens to be incorrect according to our guidelines).
11292
112932010-05-24  Anders Carlsson  <andersca@apple.com>
11294
11295        Another Windows build fix.
11296
11297        * WebView.cpp:
11298        Don't include PlugInInfoStore.h, instead include PluginData.h
11299
113002010-05-24  Anders Carlsson  <andersca@apple.com>
11301
11302        Fix Windows build.
11303
11304        * WebView.cpp:
11305        (WebView::canShowMIMEType):
11306
113072010-05-21  Steve Block  <steveblock@google.com>
11308
11309        Reviewed by Jeremy Orlow.
11310
11311        Add DeviceOrientation and DeviceOrientationClient
11312        https://bugs.webkit.org/show_bug.cgi?id=39479
11313
11314        * WebView.cpp:
11315        (WebView::initWithFrame):
11316
113172010-05-20  Simon Fraser  <simon.fraser@apple.com>
11318
11319        Build fix, no review.
11320
11321        Fix the non-accelerated-compositing Windows build with some
11322        #if USE(ACCELERATED_COMPOSITING) loving.
11323
11324        * WebView.cpp:
11325        * WebView.h:
11326
113272010-05-20  Simon Fraser  <simon.fraser@apple.com>
11328
11329        Reviewed by Adam Roben.
11330
11331        Avoid flushing CA layers when a layout is pending
11332        https://bugs.webkit.org/show_bug.cgi?id=39463
11333
11334        <rdar://problem/7999463>
11335
11336        Avoid rendering the compositing layers to the screen if there's a layout pending,
11337        since the layer tree not in a state that should be presented to the user.
11338        
11339        This fixes flashes in some types of content that dynamically add and remove layers.
11340
11341        Have the WebView implement WKCACFLayerRendererClient so that the
11342        WKCACFLayerRenderer can ask whether it's a good time to render. If the FrameView
11343        has a layout pending, say no.
11344
11345        * WebView.h: 
11346        * WebView.cpp:
11347        (WebView::setAcceleratedCompositing):
11348        (WebView::shouldRender):
11349
113502010-05-18  Brent Fulgham  <bfulgham@webkit.org>
11351
11352        Reviewed by Adam Roben.
11353
11354        [WinCairo] Correct scaling for print preview
11355        https://bugs.webkit.org/show_bug.cgi?id=39329
11356
11357        Cairo does not properly deal with Windows HDCs that have been
11358        scaled using MM_ANISOTROPIC mapping mode, and a WindowExt and
11359        ViewportExt setting.
11360        (see http://bugs.freedesktop.org/show_bug.cgi?id=28161)
11361
11362        Instead, reset the HDC's WorldTransform to be unscaled, then
11363        scale the cairo context to the desired scaling, and perform
11364        the drawing operation.
11365
11366        * WebFrame.cpp:
11367        (WebFrame::drawHeader): Use pre-positioned context to simplify 
11368          this method.
11369        (WebFrame::drawFooter): Use pre-positioned context to simplify
11370          this method.
11371        (WebFrame::spoolPage): Revise scaling logic to turn off HDC
11372          scaling, and scale using only Cairo.  Revert scaling at end
11373          so that user-defined GDI-based routines (e.g., header/footer)
11374          will draw in the right position.
11375        (WebFrame::spoolPages): Identify print preview case, and
11376          retrieve scaling factors from preview context.  Set the
11377          Cairo context to use these factors during the spoolPage
11378          operation.
11379
113802010-05-20  Martin Robinson  <mrobinson@igalia.com>
11381
11382        Unreviewed.
11383
11384        Touch WebKit.idl to ensure that interfaces rebuild.
11385
11386        * Interfaces/WebKit.idl: Touched.
11387
113882010-05-20  Martin Robinson  <mrobinson@igalia.com>
11389
11390        Reviewed by Adam Roben.
11391
11392        Fix the Windows build and move new IDL declarations to the bottom of the file.
11393
11394        * Interfaces/IWebPreferences.idl: Move new API to the bottom of the IDL file to prevent vtable mismatch.
11395        * WebPreferences.cpp: 
11396        (WebPreferences::setEditingBehavior): Change the type of the parameter to setEditingBehavior to the proper type.
11397
113982010-05-20  Martin Robinson  <mrobinson@igalia.com>
11399
11400        Unreviewed.
11401
11402        Fix the Windows build.
11403
11404        * WebView.cpp:
11405        (WebView::notifyPreferencesChanged): Change behavior to 'editingBehavior'.
11406
114072010-05-20  Martin Robinson  <mrobinson@webkit.org>
11408
11409        Reviewed by Ojan Vafai.
11410
11411        Expose the editing behavior setting in DRT to test all editing code paths
11412        https://bugs.webkit.org/show_bug.cgi?id=38603
11413
11414        Expose the EditingBehavior setting in the Windows API.
11415
11416        * Interfaces/IWebPreferences.idl: Add the API point for setting the editing behavior.
11417        * WebPreferenceKeysPrivate.h: Add a key for the editing behavior setting.
11418        * WebPreferences.cpp:
11419        (WebPreferences::editingBehavior): Added.
11420        (WebPreferences::setEditingBehavior): Added.
11421        * WebPreferences.h: Add method declarations.
11422        * WebView.cpp:
11423        (WebView::notifyPreferencesChanged): Update the WebCore setting based on the WebPreferences setting.
11424
114252010-05-20  Chris Jerdonek  <cjerdonek@webkit.org>
11426
11427        Reviewed by Eric Seidel.
11428
11429        Modified FrameLoader::urlSelected() to accept a KURL instead of a
11430        ResourceRequest.
11431
11432        https://bugs.webkit.org/show_bug.cgi?id=39320
11433
11434        Since ResourceRequest has non-explicit single-parameter constructors for
11435        String and KURL, urlSelected() previously accepted any of String, KURL,
11436        and ResourceRequest.  This revision changes urlSelected() to accept only
11437        a KURL to make the API tighter and easier to refactor.
11438
11439        * WebCoreSupport/WebContextMenuClient.cpp:
11440        (WebContextMenuClient::searchWithGoogle):
11441          - Updated the call to urlSelected().
11442
114432010-05-13  Brian Weinstein  <bweinstein@apple.com>
11444
11445        Reviewed by Tim Hatcher.
11446
11447        <rdar://problem/7982652>
11448
11449        Allow reporting exceptions that occur when using JavaScriptCore APIs to the Web Inspector.
11450
11451        * Interfaces/IWebViewPrivate.idl: Add a reportException function off of IWebViewPrivate.
11452        * Interfaces/WebKit.idl: Touch WebKit.idl to make sure Interfaces rebuild.
11453        * WebView.cpp:
11454        (WebView::reportException): Make sure the function was called with a context from a WebView, and call
11455            WebCore::reportException.
11456        * WebView.h:
11457
114582010-05-12  Jer Noble  <jer.noble@apple.com>
11459
11460        Reviewed by Darin Adler.
11461
11462        Bug 38689: #34005 will break fullscreen video playback
11463        https://bugs.webkit.org/show_bug.cgi?id=38689
11464
11465        Use the new definition of PlatformMedia to check the actual type 
11466        returned by MediaPlayer.
11467
11468        * FullscreenVideoController.cpp:
11469        (FullscreenVideoController::movie):
11470
114712010-05-11  Jer Noble  <jer.noble@apple.com>
11472
11473        No Review.
11474
11475        Fix build error: The QTMovieWin project is dependent on the JavaScriptCore project.
11476
11477        * WebKit.vcproj/WebKit.sln:
11478
114792010-05-11  Alice Liu  <alice.liu@apple.com>
11480
11481        Rubber-stamped by Gavin Barraclough.
11482
11483        Fix build error when enabling debugging block in WebKit win painting code
11484
11485        * WebView.cpp:
11486        (WebView::paintIntoBackingStore):
11487
114882010-05-11  Alice Liu  <alice.liu@apple.com>
11489
11490        Reviewed by Steve Falkenburg.
11491
11492        https://bugs.webkit.org/show_bug.cgi?id=38937        
11493        W7 window preview paints content at the wrong location
11494
11495        * WebFrame.cpp:
11496        (WebFrame::paintDocumentRectToContext): Revert r58895
11497        (WebFrame::paintDocumentRectToContextAtPoint): Added
11498
11499        * Interfaces/IWebFramePrivate.idl: Added paintDocumentRectToContextAtPoint
11500        * Interfaces/IWebViewPrivate.idl: ditto
11501        * Interfaces/WebKit.idl: touch to rebuild
11502        * WebFrame.h: ditto
11503        * WebView.cpp: ditto
11504        (WebView::paintDocumentRectToContextAtPoint): ditto
11505        * WebView.h: ditto
11506
115072010-05-07  Jer Noble  <jer.noble@apple.com>
11508
11509        Reviewed by Adele Peterson.
11510
11511        Safari pegs CPU and drops tons of frames using HTML5 Vimeo player
11512        https://bugs.webkit.org/show_bug.cgi?id=34005
11513        
11514        QTMovieWin is now QTMovieGWorld.  
11515        * FullscreenVideoController.cpp:
11516        (FullscreenVideoController::movie):
11517        * FullscreenVideoController.h:
11518
115192010-05-06  Adam Roben  <aroben@apple.com>
11520
11521        Bail out of WebView::paint when there's nothing to paint
11522
11523        Fixes <http://webkit.org/b/38670> <rdar://problem/7947105> REGRESSION
11524        (r58067): Crash in WebView::paint when Web Inspector is docked and
11525        window is resized so small that WebView disappears
11526
11527        When the WebView is 0-sized, ensureBackingStore() bails out without
11528        creating a bitmap, leaving m_backingStoreBitmap null. Before r58067,
11529        m_backingStoreBitmap was an HBITMAP, so we were happily passing along
11530        a null HBITMAP to various Windows APIs. These calls would fail but not
11531        crash. r58067 changed m_backingStoreBitmap to a RefCountedHBITMAP, and
11532        dereferencing a null RefCountedHBITMAP* of course crashes.
11533
11534        Reviewed by Steve Falkenburg.
11535
11536        * WebView.cpp:
11537        (WebView::paint): Bail if the rect to paint is empty.
11538
115392010-05-06  Steve Falkenburg  <sfalken@apple.com>
11540
11541        Reviewed by Adam Roben.
11542
11543        WebFrame::paintDocumentRectToContext paints content at the wrong location
11544        https://bugs.webkit.org/show_bug.cgi?id=38651
11545
11546        * WebFrame.cpp:
11547        (WebFrame::paintDocumentRectToContext):
11548
115492010-05-05  Stuart Morgan  <stuartmorgan@chromium.org>
11550
11551        Reviewed by Darin Fisher.
11552
11553        Update setFocus for the new boolean argument; no behavioral change.
11554
11555        https://bugs.webkit.org/show_bug.cgi?id=37961
11556
11557        * WebCoreSupport/EmbeddedWidget.cpp:
11558        (EmbeddedWidget::setFocus):
11559        * WebCoreSupport/EmbeddedWidget.h:
11560
115612010-05-03  Abhishek Arya  <inferno@chromium.org>
11562
11563        Reviewed by Adam Barth.
11564
11565        Add support for controlling clipboard access from javascript.
11566        Clipboard access from javascript is disabled by default.
11567        https://bugs.webkit.org/show_bug.cgi?id=27751
11568
11569        * Interfaces/IWebPreferencesPrivate.idl:
11570        * WebPreferenceKeysPrivate.h:
11571        * WebPreferences.cpp:
11572        (WebPreferences::initializeDefaultSettings):
11573        (WebPreferences::javaScriptCanAccessClipboard):
11574        (WebPreferences::setJavaScriptCanAccessClipboard):
11575        * WebPreferences.h:
11576        * WebView.cpp:
11577        (WebView::notifyPreferencesChanged):
11578
115792010-05-03  Jens Alfke  <snej@chromium.org>
11580
11581        Reviewed by Darin Fisher.
11582
11583        [chromium] Add "willSendSubmitEvent" hook to WebFrameClient and FrameLoaderClient
11584        https://bugs.webkit.org/show_bug.cgi?id=38397
11585
11586        No tests (functionality is exposed only through native WebKit API.)
11587
11588        * WebFrame.h:
11589
115902010-04-30  Jon Honeycutt  <jhoneycutt@apple.com>
11591
11592        Caret may fail to blink if a focus handler brings up a modal dialog 
11593        https://bugs.webkit.org/show_bug.cgi?id=38372
11594
11595        Reviewed by Darin Adler.
11596
11597        * WebView.cpp:
11598        (WebView::handleMouseEvent):
11599        If the message is WM_CANCELMODE, which indicates that we our capturing
11600        of mouse events has been cancelled, tell the EventHandler.
11601        It's possible to re-enter this function if handling a mouse event allows
11602        the message loop to run; moved up the call to setMouseActivated(), so
11603        that if we do re-enter this function, the later mouse event will not be
11604        considered as activating the window.
11605        (WebView::WebViewWndProc):
11606        Handle WM_CANCELMODE by calling handleMouseEvent().
11607
116082010-04-29  Anders Carlsson  <andersca@apple.com>
11609
11610        Reviewed by Dan Bernstein.
11611
11612        First part of
11613        https://bugs.webkit.org/show_bug.cgi?id=20784
11614        move npapi.h to C99 integer types.
11615
11616        * WebKit.vcproj/WebKit.vcproj:
11617
116182010-04-28  Beth Dakin  <bdakin@apple.com>
11619
11620        Reviewed by Darin Adler.
11621
11622        Fix for <rdar://problem/7474349>
11623
11624        Add a synchronous display mechanism for WKCACFLayerRenderer. 
11625
11626        * Interfaces/IWebViewPrivate.idl:
11627        * Interfaces/WebKit.idl:
11628        * WebView.cpp:
11629        (WebView::WebView):
11630        (WebView::updateRootLayerContents):
11631        (WebView::nextDisplayIsSynchronous):
11632        * WebView.h:
11633
116342010-04-28  Steve Falkenburg  <sfalken@apple.com>
11635
11636        Reviewed by Maciej Stachowiak.
11637
11638        WebView drawing code may access null backing store dirty region
11639        https://bugs.webkit.org/show_bug.cgi?id=38245
11640        <rdar://problem/7916101> REGRESSION (r58067): All loaded pages fail to display after running iBench HTML test (intermittent)
11641        
11642        * WebView.cpp:
11643        (WebView::updateBackingStore): Add null check for m_backingStoreDirtyRegion.
11644
116452010-04-27  Jon Honeycutt  <jhoneycutt@apple.com>
11646
11647        <rdar://problem/7911140> Hitting the "delete" key goes back twice
11648
11649        Reviewed by Maciej Stachowiak.
11650
11651        * WebView.cpp:
11652        (WebView::keyDown):
11653        Return true if we navigated back or forward from the key event to
11654        prevent the event from being propagated further.
11655
116562010-04-25  Sam Weinig  <sam@webkit.org>
11657
11658        Reviewed by Maciej Stachowiak.
11659
11660        Fix for https://bugs.webkit.org/show_bug.cgi?id=38097
11661        Disentangle initializing the main thread from initializing threading
11662
11663        * WebKitClassFactory.cpp:
11664        (WebKitClassFactory::WebKitClassFactory): Add call to initializeMainThread.
11665        * WebView.cpp:
11666        (WebView::WebView): Ditto.
11667
116682010-04-25  Yury Semikhatsky  <yurys@chromium.org>
11669
11670        Reviewed by Pavel Feldman.
11671
11672        Web Inspector: inspector client shouldn't check if it can be opened
11673        docked if it is already in that state.
11674
11675        https://bugs.webkit.org/show_bug.cgi?id=37946
11676
11677        * WebCoreSupport/WebInspectorClient.cpp:
11678        (WebInspectorFrontendClient::WebInspectorFrontendClient):
11679        (WebInspectorFrontendClient::showWindowWithoutNotifications):
11680        * WebCoreSupport/WebInspectorClient.h:
11681
116822010-04-24  Steve Falkenburg  <sfalken@apple.com>
11683
11684        Reviewed by Sam Weinig.
11685
11686        Typo in Geolocation code causes crashes when updates are stopped
11687        https://bugs.webkit.org/show_bug.cgi?id=38089
11688        <rdar://problem/7904104> Crash closing geolocation tab after allowing to use geolocation
11689
11690        * WebCoreSupport/WebGeolocationControllerClient.cpp:
11691        (WebGeolocationControllerClient::stopUpdating): Call unregister instead of register.
11692
116932010-04-23  Andy Estes  <aestes@apple.com>
11694
11695        Rubber stamped by Steve Falkenburg.
11696
11697        Roll out http://trac.webkit.org/changeset/55385.
11698
11699        <rdar://problem/7884444>
11700
11701        * Interfaces/IWebUIDelegatePrivate.idl:
11702        * Interfaces/WebKit.idl:
11703        * WebCoreSupport/WebFrameLoaderClient.cpp:
11704        (WebFrameLoaderClient::createPlugin):
11705
117062010-04-22  Dave Moore  <davemoore@chromium.org>
11707
11708        Reviewed by Dimitri Glazkov.
11709
11710        Added notification when the favicons for a page are changed
11711        from a script.
11712        The Document object will notify the frame loader, which will
11713        notify the client. Implementations of FrameLoaderClient will
11714        have to add one method; dispatchDidChangeIcons().
11715
11716        https://bugs.webkit.org/show_bug.cgi?id=33812
11717
11718        * Interfaces/IWebFrameLoadDelegatePrivate2.idl:
11719        * WebCoreSupport/WebFrameLoaderClient.cpp:
11720        (WebFrameLoaderClient::dispatchDidChangeIcons):
11721        * WebCoreSupport/WebFrameLoaderClient.h:
11722        * WebFrame.cpp:
11723        (WebFrame::didChangeIcons):
11724        * WebFrame.h:
11725
117262010-04-22  Adam Barth  <abarth@webkit.org>
11727
11728        Unreviewed, rolling out r58069.
11729        http://trac.webkit.org/changeset/58069
11730        https://bugs.webkit.org/show_bug.cgi?id=27751
11731
11732        Broke compile on Windows.
11733
11734        * Interfaces/IWebPreferencesPrivate.idl:
11735        * WebPreferenceKeysPrivate.h:
11736        * WebPreferences.cpp:
11737        (WebPreferences::initializeDefaultSettings):
11738        * WebPreferences.h:
11739        * WebView.cpp:
11740        (WebView::notifyPreferencesChanged):
11741
117422010-04-22  Abhishek Arya  <inferno@chromium.org>
11743
11744        Reviewed by Adam Barth.
11745
11746        Add support for controlling clipboard access from javascript.
11747        Clipboard access from javascript is disabled by default.
11748        https://bugs.webkit.org/show_bug.cgi?id=27751
11749
11750        * Interfaces/IWebPreferencesPrivate.idl:
11751        * WebPreferenceKeysPrivate.h:
11752        * WebPreferences.cpp:
11753        (WebPreferences::initializeDefaultSettings):
11754        (WebPreferences::javaScriptCanAccessClipboard):
11755        (WebPreferences::setJavaScriptCanAccessClipboard):
11756        * WebPreferences.h:
11757        * WebView.cpp:
11758        (WebView::notifyPreferencesChanged):
11759
117602010-04-21  Andy Estes  <aestes@apple.com>
11761
11762        Reviewed by Maciej Stachowiak.
11763
11764        Reference count WebView's backing store bitmap to prevent
11765        deleteBackingStore() from freeing the bitmap while it is still being
11766        referenced by Core Animation.
11767
11768        https://bugs.webkit.org/show_bug.cgi?id=37954
11769
11770        * WebView.cpp:
11771        (WebView::ensureBackingStore):
11772        (WebView::addToDirtyRegion):
11773        (WebView::scrollBackingStore):
11774        (WebView::updateBackingStore):
11775        (WebView::paint):
11776        (WebView::backingStore):
11777        (releaseBackingStoreCallback): deref m_backingStoreBitmap once Core
11778        Animation has dropeed its reference to the memory.
11779        (WebView::updateRootLayerContents): ref m_backingStoreBitmap before
11780        passing the memory to Core Animation to prevent deleteBackingStore()
11781        from freeing it while it is still referenced by CA.
11782        * WebView.h: Make m_backingStoreBitmap a RefCountedGDIHandle<HBITMAP>,
11783        and make m_backingStoreDirtyRegion a RefCountedGDIHandle<HRGN>.
11784
117852010-04-20  Adam Barth  <abarth@webkit.org>
11786
11787        Reviewed by Eric Seidel.
11788
11789        Factor DocumentWriter out of FrameLoader
11790        https://bugs.webkit.org/show_bug.cgi?id=37175
11791
11792        Update these callsites because the method moved to DocumentWriter.
11793
11794        * WebCoreSupport/WebFrameLoaderClient.cpp:
11795        (WebFrameLoaderClient::receivedData):
11796
117972010-04-20  Kent Tamura  <tkent@chromium.org>
11798
11799        Reviewed by Darin Adler.
11800
11801        Change a parameter type of chooseIconForFiles()
11802        https://bugs.webkit.org/show_bug.cgi?id=37504
11803
11804        * WebCoreSupport/WebChromeClient.cpp:
11805        (WebChromeClient::chooseIconForFiles):
11806        * WebCoreSupport/WebChromeClient.h:
11807
118082010-04-16  Gavin Barraclough  <barraclough@apple.com>
11809
11810        Reviewed by NOBODY (Windows build fix).
11811
11812        * WebFrame.cpp:
11813        (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
11814        * WebView.cpp:
11815        (WebView::stringByEvaluatingJavaScriptFromString):
11816
118172010-04-16  Adam Roben  <aroben@apple.com>
11818
11819        Make it possible for clients to instantiate a WebUserContentURLPattern
11820
11821        Reviewed by Tim Hatcher.
11822
11823        * ForEachCoClass.h: Added WebUserContentURLPattern to the FOR_EACH_COCLASS macro, which
11824        lists all our instantiatable classes.
11825
11826        * WebKitClassFactory.cpp: Added a now-required #include.
11827
118282010-04-15  Adam Roben  <aroben@apple.com>
11829
11830        Expose UserContentURLPattern as WebKit SPI
11831
11832        Fixes <http://webkit.org/b/37354>.
11833
11834        Reviewed by Tim Hatcher.
11835
11836        * Interfaces/IWebUserContentURLPattern.idl: Added.
11837
11838        * Interfaces/WebKit.idl: Added WebUserContentURLPattern.
11839
11840        * WebKit.vcproj/Interfaces.vcproj: Added IWebUserContentURLPattern.
11841
11842        * WebKit.vcproj/WebKit.vcproj: Added WebUserContentURLPattern.
11843
11844        * WebUserContentURLPattern.cpp: Added.
11845        (WebUserContentURLPattern::WebUserContentURLPattern):
11846        (WebUserContentURLPattern::~WebUserContentURLPattern):
11847        (WebUserContentURLPattern::createInstance):
11848        (WebUserContentURLPattern::AddRef):
11849        (WebUserContentURLPattern::Release):
11850        (WebUserContentURLPattern::QueryInterface):
11851        Standard COM implementations.
11852
11853        (WebUserContentURLPattern::parse): Parse the string into a
11854        UserContentURLPattern and store it.
11855
11856        (WebUserContentURLPattern::isValid):
11857        (WebUserContentURLPattern::scheme):
11858        (WebUserContentURLPattern::host):
11859        (WebUserContentURLPattern::matchesSubdomains):
11860        Call through to UserContentURLPattern.
11861
11862        * WebUserContentURLPattern.h: Added.
11863
118642010-04-14  Adam Roben  <aroben@apple.com>
11865
11866        Expose DOMWrapperWorld::unregisterWorld as WebKit SPI on Windows
11867
11868        Fixes <http://webkit.org/b/37619>.
11869
11870        Reviewed by Steve Falkenburg.
11871
11872        * Interfaces/IWebScriptWorld.idl: Added unregisterWorld.
11873
11874        * Interfaces/WebKit.idl: Touched to force a build.
11875
11876        * WebScriptWorld.cpp:
11877        (WebScriptWorld::unregisterWorld):
11878        * WebScriptWorld.h:
11879        Added. Just calls through to DOMWrapperWorld::unregisterWorld.
11880
118812010-04-12  Timothy Hatcher  <timothy@apple.com>
11882
11883        SecurityOrigin needs a way to remove individual OriginAccessEntries
11884        https://bugs.webkit.org/show_bug.cgi?id=37449
11885
11886        Reviewed by Dave Hyatt.
11887
11888        * Interfaces/IWebViewPrivate.idl:
11889        * WebView.cpp:
11890        (WebView::removeOriginAccessWhitelistEntry): Call SecurityOrigin::removeOriginAccessWhitelistEntry.
11891        * WebView.h: Added removeOriginAccessWhitelistEntry.
11892
118932010-04-13  Timothy Hatcher  <timothy@apple.com>
11894
11895        Rename SecurityOrigin::whiteListAccessFromOrigin to addOriginAccessWhitelistEntry.
11896        And SecurityOrigin::resetOriginAccessWhiteLists to resetOriginAccessWhitelists.
11897
11898        SecurityOrigin needs a way to remove individual OriginAccessEntries
11899        https://bugs.webkit.org/show_bug.cgi?id=37449
11900
11901        Reviewed by Dave Hyatt.
11902
11903        * Interfaces/IWebViewPrivate.idl:
11904        * WebView.cpp:
11905        (WebView::addOriginAccessWhitelistEntry):
11906        (WebView::resetOriginAccessWhitelists):
11907        * WebView.h:
11908
119092010-04-11  Sheriff Bot  <webkit.review.bot@gmail.com>
11910
11911        Unreviewed, rolling out r57468.
11912        http://trac.webkit.org/changeset/57468
11913        https://bugs.webkit.org/show_bug.cgi?id=37433
11914
11915        Broke the world...  Must have applied the patch wrong
11916        (Requested by abarth on #webkit).
11917
11918        * WebCoreSupport/WebFrameLoaderClient.cpp:
11919        (WebFrameLoaderClient::receivedData):
11920
119212010-04-11  Adam Barth  <abarth@webkit.org>
11922
11923        Reviewed by Eric Seidel.
11924
11925        Factor DocumentWriter out of FrameLoader
11926        https://bugs.webkit.org/show_bug.cgi?id=37175
11927
11928        Update these callsites because the method moved to DocumentWriter.
11929
11930        * WebCoreSupport/WebFrameLoaderClient.cpp:
11931        (WebFrameLoaderClient::receivedData):
11932
119332010-04-09  Adam Roben  <aroben@apple.com>
11934
11935        Windows Debug/Release build fix after r57244
11936
11937        * WebKit.vcproj/WebKit.vcproj: Don't delay-load QuartzCore.dll or
11938        QuartzCoreInterface.dll in any configurations. r57244 made this change
11939        only for Debug_Internal.
11940
119412010-04-08  Steve Falkenburg  <sfalken@apple.com>
11942
11943        Reviewed by Darin Adler.
11944
11945        WebView::isLoading should null check m_mainFrame
11946        https://bugs.webkit.org/show_bug.cgi?id=37294
11947
11948        * WebView.cpp:
11949        (WebView::isLoading):
11950
119512010-04-07  Chris Marrin  <cmarrin@apple.com>
11952
11953        Reviewed by Steve Falkenburg.
11954
11955        Remove QuartzCoreInterface from the build
11956        
11957        No longer needed since QuartzCore.dll is now included in  the latest Safari release (4.0.5).
11958
11959        * WebKit.vcproj/WebKit.vcproj:Removed delay load for QuartzCore and QuartzCoreInterface
11960
119612010-04-07  Andrey Kosyakov  <caseq@chromium.org>
11962
11963        Reviewed by Yury Semikhatsky.
11964
11965        Removed redundant FrameLoaderClient::dispatchDidLoadResourceByXMLHttpRequest()
11966        https://bugs.webkit.org/show_bug.cgi?id=36949
11967
11968        * WebCoreSupport/WebFrameLoaderClient.cpp:
11969        * WebCoreSupport/WebFrameLoaderClient.h:
11970
119712010-04-05  Peter Nelson  <charn.opcode@gmail.com>
11972
11973        Reviewed by Eric Seidel.
11974
11975        Fixed style errors in DOMCoreClasses.h to bring it up to scratch
11976        for https://bugs.webkit.org/show_bug.cgi?id=34979.
11977
11978        * DOMCoreClasses.h:
11979        (DOMObject::throwException):
11980        (DOMObject::callWebScriptMethod):
11981        (DOMObject::evaluateWebScript):
11982        (DOMObject::removeWebScriptKey):
11983        (DOMObject::stringRepresentation):
11984        (DOMObject::webScriptValueAtIndex):
11985        (DOMObject::setWebScriptValueAtIndex):
11986        (DOMObject::setException):
11987        (DOMNodeList::throwException):
11988        (DOMNodeList::callWebScriptMethod):
11989        (DOMNodeList::evaluateWebScript):
11990        (DOMNodeList::removeWebScriptKey):
11991        (DOMNodeList::stringRepresentation):
11992        (DOMNodeList::webScriptValueAtIndex):
11993        (DOMNodeList::setWebScriptValueAtIndex):
11994        (DOMNodeList::setException):
11995        (DOMDocument::throwException):
11996        (DOMDocument::callWebScriptMethod):
11997        (DOMDocument::evaluateWebScript):
11998        (DOMDocument::removeWebScriptKey):
11999        (DOMDocument::stringRepresentation):
12000        (DOMDocument::webScriptValueAtIndex):
12001        (DOMDocument::setWebScriptValueAtIndex):
12002        (DOMDocument::setException):
12003        (DOMDocument::nodeName):
12004        (DOMDocument::nodeValue):
12005        (DOMDocument::setNodeValue):
12006        (DOMDocument::nodeType):
12007        (DOMDocument::parentNode):
12008        (DOMDocument::childNodes):
12009        (DOMDocument::firstChild):
12010        (DOMDocument::lastChild):
12011        (DOMDocument::previousSibling):
12012        (DOMDocument::nextSibling):
12013        (DOMDocument::attributes):
12014        (DOMDocument::ownerDocument):
12015        (DOMDocument::insertBefore):
12016        (DOMDocument::replaceChild):
12017        (DOMDocument::removeChild):
12018        (DOMDocument::appendChild):
12019        (DOMDocument::hasChildNodes):
12020        (DOMDocument::cloneNode):
12021        (DOMDocument::isSupported):
12022        (DOMDocument::namespaceURI):
12023        (DOMDocument::prefix):
12024        (DOMDocument::setPrefix):
12025        (DOMDocument::localName):
12026        (DOMDocument::hasAttributes):
12027        (DOMDocument::isSameNode):
12028        (DOMDocument::isEqualNode):
12029        (DOMDocument::textContent):
12030        (DOMDocument::setTextContent):
12031        (DOMElement::throwException):
12032        (DOMElement::callWebScriptMethod):
12033        (DOMElement::evaluateWebScript):
12034        (DOMElement::removeWebScriptKey):
12035        (DOMElement::stringRepresentation):
12036        (DOMElement::webScriptValueAtIndex):
12037        (DOMElement::setWebScriptValueAtIndex):
12038        (DOMElement::setException):
12039        (DOMElement::nodeName):
12040        (DOMElement::nodeValue):
12041        (DOMElement::setNodeValue):
12042        (DOMElement::nodeType):
12043        (DOMElement::parentNode):
12044        (DOMElement::childNodes):
12045        (DOMElement::firstChild):
12046        (DOMElement::lastChild):
12047        (DOMElement::previousSibling):
12048        (DOMElement::nextSibling):
12049        (DOMElement::attributes):
12050        (DOMElement::ownerDocument):
12051        (DOMElement::insertBefore):
12052        (DOMElement::replaceChild):
12053        (DOMElement::removeChild):
12054        (DOMElement::appendChild):
12055        (DOMElement::hasChildNodes):
12056        (DOMElement::cloneNode):
12057        (DOMElement::isSupported):
12058        (DOMElement::namespaceURI):
12059        (DOMElement::prefix):
12060        (DOMElement::setPrefix):
12061        (DOMElement::localName):
12062        (DOMElement::hasAttributes):
12063        (DOMElement::isSameNode):
12064        (DOMElement::isEqualNode):
12065        (DOMElement::textContent):
12066        (DOMElement::setTextContent):
12067
120682010-04-05  Alexey Proskuryakov  <ap@apple.com>
12069
12070        Reviewed by Darin Adler.
12071
12072        https://bugs.webkit.org/show_bug.cgi?id=37111
12073        <rdar://problem/7790327> Draw replacement text when plug-in host crashes
12074
12075        * WebCoreLocalizedStrings.cpp: (WebCore::crashedPluginText): Added a stub string for plug-in
12076        failure.
12077
120782010-04-02  Rafael Weinstein  <rafaelw@chromium.org>
12079
12080        Reviewed by Adam Barth.
12081
12082        Clean up unused calls after changes to checkPermission and requestPermission argument lists.
12083
12084        * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
12085        (WebDesktopNotificationsDelegate::requestPermission):
12086        * WebCoreSupport/WebDesktopNotificationsDelegate.h:
12087
120882010-04-01  Chris Marrin  <cmarrin@apple.com>
12089
12090        Reviewed by Simon Fraser.
12091
12092        Added layerTreeAsText function to DRT (for Mac)
12093        https://bugs.webkit.org/show_bug.cgi?id=36782
12094
12095        This is the WebKit side for Windows. It plumbs the
12096        call from WebCore to DRT.
12097
12098        * Interfaces/IWebFramePrivate.idl:
12099        * WebFrame.cpp:WebKit (Windows) side of plumbing
12100        (WebFrame::layerTreeAsText):
12101        * WebFrame.h:
12102
121032010-03-31  Marcus Bulach  <bulach@chromium.org>
12104
12105        Reviewed by Jeremy Orlow.
12106
12107        Adds Geolocation param for cancelGeolocationPermissionRequestForFrame.
12108        https://bugs.webkit.org/show_bug.cgi?id=35031
12109
12110        * WebCoreSupport/WebChromeClient.h:
12111        (WebChromeClient::cancelGeolocationPermissionRequestForFrame):
12112
121132010-03-30  Gavin Barraclough  <barraclough@apple.com>
12114
12115        Rubber stamped by Sam Weinig.
12116
12117        https://bugs.webkit.org/show_bug.cgi?id=36866
12118        Move CString to WTF
12119
12120        * WebDownload.cpp:
12121        * WebDownloadCFNet.cpp:
12122        * WebDownloadCurl.cpp:
12123        * WebHistoryItem.cpp:
12124        * WebLocalizableStrings.cpp:
12125        * WebMutableURLRequest.cpp:
12126        * WebPreferences.cpp:
12127        (WebPreferences::migrateWebKitPreferencesToCFPreferences):
12128        * WebView.cpp:
12129
121302010-03-30  Adam Roben  <aroben@apple.com>
12131
12132        Windows build fix
12133
12134        * Interfaces/WebKit.idl: Touched this to force a build.
12135
121362010-03-29  Steve Falkenburg  <sfalken@apple.com>
12137
12138        Reviewed by Adele Peterson.
12139
12140        Default value of accelerated compositing should be false for Windows
12141        https://bugs.webkit.org/show_bug.cgi?id=36805
12142
12143        * WebPreferences.cpp:
12144        (WebPreferences::initializeDefaultSettings):
12145
121462010-03-29  Rafael Weinstein  <rafaelw@chromium.org>
12147
12148        Reviewed by Adam Barth.
12149
12150        Change NotificationPresenter::checkPermission() to take the source frames full KURL,
12151        rather than its SecurityOrigin. This will aid chromium in having more fine grained
12152        permissions to control notification spam.
12153
12154        * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
12155        (WebDesktopNotificationsDelegate::checkPermission):
12156        * WebCoreSupport/WebDesktopNotificationsDelegate.h:
12157
121582010-03-26  Kenneth Rohde Christiansen  <kenneth@webkit.org>
12159
12160        Reviewed by Antti Koivisto.
12161
12162        Change method name due to it dealing with both flattening
12163        of frame sets and inner frames.
12164
12165        * Interfaces/IWebPreferencesPrivate.idl:
12166        * WebPreferenceKeysPrivate.h:
12167        * WebPreferences.cpp:
12168        (WebPreferences::initializeDefaultSettings):
12169        (WebPreferences::isFrameFlatteningEnabled):
12170        (WebPreferences::setFrameFlatteningEnabled):
12171        * WebPreferences.h:
12172        * WebView.cpp:
12173        (WebView::notifyPreferencesChanged):
12174
121752010-03-24  Jon Honeycutt  <jhoneycutt@apple.com>
12176
12177        <rdar://problem/7780798> Missing plug-ins should be represented by text
12178        only, instead of lego block
12179
12180        https://bugs.webkit.org/show_bug.cgi?id=36583
12181
12182        Reviewed by Dan Bernstein.
12183
12184        * WebCoreSupport/WebFrameLoaderClient.cpp:
12185        (WebFrameLoaderClient::createPlugin):
12186        Return 0 if we failed to initialize the plug-in, which causes the new
12187        "missing plug-in" text to draw.
12188
121892010-03-24  Kent Tamura  <tkent@chromium.org>
12190
12191        Reviewed by Darin Adler.
12192
12193        Make Icon::createIconForFiles() optional.
12194        https://bugs.webkit.org/show_bug.cgi?id=35072
12195
12196        - Rename iconForFiles() to chooseIconForFiles().
12197        - Call Icon::createIconForFiles() from chooseIconForFiles().
12198
12199        * WebCoreSupport/WebChromeClient.cpp:
12200        (WebChromeClient::chooseIconForFiles):
12201        * WebCoreSupport/WebChromeClient.h:
12202
122032010-03-22  Darin Adler  <darin@apple.com>
12204
12205        * WebCoreLocalizedStrings.cpp:
12206        (WebCore::missingPluginText): Fixed localization helper text to match the same
12207        string from Mac WebKit.
12208
122092010-03-22  Kevin Decker  <kdecker@apple.com>
12210
12211        Reviewed by John Sullivan.
12212
12213        https://bugs.webkit.org/show_bug.cgi?id=36328
12214        
12215        * WebCoreLocalizedStrings.cpp:
12216        (WebCore::missingPluginText): Added.
12217
122182010-03-17  Enrica Casucci  <enrica@apple.com>
12219
12220        Reviewed by Darin Adler.
12221
12222        Missing support for showing compositing layers borders and repaint count on Windows.
12223        <rdar://problem/7760736>
12224        <https://bugs.webkit.org/show_bug.cgi?id=36197>
12225
12226        * Interfaces/IWebPreferencesPrivate.idl:
12227        * WebPreferenceKeysPrivate.h:
12228        * WebPreferences.cpp:
12229        (WebPreferences::initializeDefaultSettings):
12230        (WebPreferences::showDebugBorders):
12231        (WebPreferences::setShowDebugBorders):
12232        (WebPreferences::showRepaintCounter):
12233        (WebPreferences::setShowRepaintCounter):
12234        * WebPreferences.h:
12235        * WebView.cpp:
12236        (WebView::notifyPreferencesChanged):
12237
122382010-03-16  Yury Semikhatsky <yurys@chromium.org>
12239
12240        Reviewed by Pavel Feldman.
12241
12242        Introduce InspectorFrontendClient that provides InspectorFrontend with an interface to the embedder. InspectorClient now serves as a delegate for InspectorController and does not contain methods for managing inspector frontend window. That allows to create remote InspectorFrontendHost.
12243
12244        Introduce InspectorFrontendClient that would provide InspectorFrontend with an interface to the embedder
12245        https://bugs.webkit.org/show_bug.cgi?id=35036
12246
12247        * WebCoreSupport/WebInspectorClient.cpp:
12248        (WebInspectorClient::WebInspectorClient):
12249        (WebInspectorClient::~WebInspectorClient):
12250        (WebInspectorClient::openInspectorFrontend):
12251        (WebInspectorClient::highlight):
12252        (WebInspectorClient::hideHighlight):
12253        (WebInspectorClient::updateHighlight):
12254        (WebInspectorFrontendClient::WebInspectorFrontendClient):
12255        (WebInspectorFrontendClient::~WebInspectorFrontendClient):
12256        (WebInspectorFrontendClient::frontendLoaded):
12257        (WebInspectorFrontendClient::localizedStringsURL):
12258        (WebInspectorFrontendClient::hiddenPanels):
12259        (WebInspectorFrontendClient::bringToFront):
12260        (WebInspectorFrontendClient::closeWindow):
12261        (WebInspectorFrontendClient::attachWindow):
12262        (WebInspectorFrontendClient::detachWindow):
12263        (WebInspectorFrontendClient::setAttachedWindowHeight):
12264        (WebInspectorFrontendClient::inspectedURLChanged):
12265        (WebInspectorFrontendClient::closeWindowWithoutNotifications):
12266        (WebInspectorFrontendClient::showWindowWithoutNotifications):
12267        (WebInspectorFrontendClient::destroyInspectorView):
12268        (WebInspectorFrontendClient::updateWindowTitle):
12269        (WebInspectorFrontendClient::onGetMinMaxInfo):
12270        (WebInspectorFrontendClient::onSize):
12271        (WebInspectorFrontendClient::onClose):
12272        (WebInspectorFrontendClient::onSetFocus):
12273        (WebInspectorFrontendClient::onWebViewWindowPosChanging):
12274        (WebInspectorWndProc):
12275        (WebInspectorFrontendClient::windowReceivedMessage):
12276        * WebCoreSupport/WebInspectorClient.h:
12277        (WebInspectorClient::frontendClosing):
12278        * WebInspector.cpp:
12279        (WebInspector::attach):
12280        (WebInspector::detach):
12281
122822010-03-14  Dan Bernstein  <mitz@apple.com>
12283
12284        Reviewed by Darin Adler.
12285
12286        WebKit part of removing support for legacy versions of Core Graphics
12287
12288        * WebKitClassFactory.cpp:
12289        (WebKitClassFactory::WebKitClassFactory): Removed call to populateFontDatabase().
12290        * WebKitGraphics.cpp:
12291        (makeFont): Ditto.
12292        * WebTextRenderer.cpp:
12293        (WebTextRenderer::registerPrivateFont): Removed call to wkAddFontsAtPath().
12294
122952010-03-12  Enrica Casucci  <enrica@apple.com>
12296
12297        Fixed broken build on Windows.
12298        Added contditional compilation for accelerated compositing.
12299
12300        * WebView.cpp:
12301        (WebView::deleteBackingStore):
12302        (WebView::addToDirtyRegion):
12303        (WebView::updateBackingStore):
12304
123052010-03-12  Beth Dakin  <bdakin@apple.com>
12306
12307        Reviewed by Simon Fraser.
12308
12309        Fix for https://bugs.webkit.org/show_bug.cgi?id=34942 Fullscreen 
12310        API naming is inconsistent
12311        -and corresponding-
12312        <rdar://problem/7729165>
12313
12314        This patch changes all occurrences of "fullScreen" to the more 
12315        popular "fullscreen."
12316
12317        * FullscreenVideoController.cpp:
12318        (FullscreenVideoController::onMouseDown):
12319        (FullscreenVideoController::onMouseMove):
12320        (FullscreenVideoController::onMouseUp):
12321        * FullscreenVideoController.h:
12322        (FullscreenVideoController::fullscreenToHUDCoordinates):
12323
123242010-03-12  Beth Dakin  <bdakin@apple.com>
12325
12326        Reviewed by Adam Roben.
12327
12328        Fix for https://bugs.webkit.org/show_bug.cgi?id=33739 Fullscreen 
12329        video HUD stays on top when switching to another window (e.g. via 
12330        Alt-Tab)
12331        -and corresponding-
12332        <rdar://problem/7547574>
12333
12334        The HUD was always on top because it had the WS_EX_TOPMOST style. 
12335        So I removed the style and made m_videoWindow the owner of 
12336        m_hudWindow. This keeps m_hudWindow on top only when m_videoWindow 
12337        is the focused window.
12338
12339        * FullscreenVideoController.cpp:
12340        (FullscreenVideoController::exitFullscreen): ASSERT that movie()->exitFullscreen() also destroyed the hud.
12341        (FullscreenVideoController::createHUDWindow):
12342
123432010-03-12  Enrica Casucci  <enrica@apple.com>
12344
12345        Reviewed by Simon Fraser.
12346
12347        Content of 3D tests appears at the bottom right corner sometimes.
12348        <rdar://problem/7556244>
12349        <https://bugs.webkit.org/show_bug.cgi?id=36027>
12350
12351        See detailed comments in WebCore/ChangeLog.
12352
12353        * WebView.cpp:
12354        (WebView::deleteBackingStore): Reset the dirty flag when deleting the backing store.
12355        (WebView::addToDirtyRegion): Set the dirty flag when adding dirty rectangles to the
12356        backing store dirty region.
12357        (WebView::updateBackingStore): Reset the dirty flag after painting into the backing store.
12358        (WebView::setAcceleratedCompositing): Removed unnecessary call to updateRootLayerContents.
12359        (WebView::updateRootLayerContents): Changed the way we pass parameters to setScrollFrame.
12360        We are passing width and height of the view content together with the offset for the scrolling.
12361        It was confusing to pass it all as a rectangle, when it is not a rectangle.
12362        
123632010-03-11  Aaron Boodman  <aa@chromium.org>
12364
12365        Kill WebDocument::applicationID() (part 1).
12366
12367        Modify interface to WebCore::NotificationPresenter::checkPermission()
12368        and remove implementation of WebDocument::applicationID(). Breaking
12369        API changes will be in a subsequent change.
12370        https://bugs.webkit.org/show_bug.cgi?id=35846
12371
12372        * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
12373        (WebDesktopNotificationsDelegate::checkPermission):
12374        * WebCoreSupport/WebDesktopNotificationsDelegate.h:
12375
123762010-03-11  Anders Carlsson  <andersca@apple.com>
12377
12378        Reviewed by David Hyatt.
12379
12380        Remove invalidateContents, it isn't used and it never makes sense to only invalidate the contents.
12381
12382        * WebCoreSupport/WebChromeClient.cpp:
12383        * WebCoreSupport/WebChromeClient.h:
12384
123852010-03-10  Eric Uhrhane  <ericu@chromium.org>
12386
12387        Reviewed by David Levin.
12388
12389        The build fix for my patch on bug #35763 wasn't quite right--it removed
12390        the call entirely, instead of replacing it with the new API.  This adds
12391        the call to Database::setIsAvailable.
12392
12393        https://bugs.webkit.org/show_bug.cgi?id=35763
12394
12395        * WebView.cpp: Added a call to Database::setIsAvailable where change 55667 removed the old Settings API call <http://trac.webkit.org/changeset/55667>.
12396        (WebView::notifyPreferencesChanged):
12397
123982010-03-10  John Sullivan  <sullivan@apple.com>
12399
12400        Reviewed by Tim Hatcher.
12401        
12402        <rdar://problem/7735387> input type other than text won't work with autofill
12403        <https://bugs.webkit.org/show_bug.cgi?id=35963>
12404
12405        * WebFrame.cpp:
12406        (WebFrame::elementDoesAutoComplete):
12407        Return true for any text field that's not a password, rather than only
12408        for TEXT type.
12409
124102010-03-09  Brady Eidson  <beidson@apple.com>
12411
12412        Reviewed by Tim Hatcher.
12413
12414        REGRESSION: WebInspector docking busted on Windows
12415        <rdar://problem/7728433> and https://bugs.webkit.org/show_bug.cgi?id=35953
12416
12417        * WebCoreSupport/WebInspectorClient.cpp:
12418        (WebInspectorClient::attachWindow): Use the InspectorController:: copy of the should attach settings key.
12419        (WebInspectorClient::detachWindow): Ditto.
12420        (WebInspectorClient::showWindowWithoutNotifications): Ditto.
12421
124222010-03-09  John Sullivan  <sullivan@apple.com>
12423
12424        Fixed localized string key collision. update-webkit-localized-strings now
12425        runs without errors.
12426
12427        Reviewed by Adam Roben.
12428
12429        * WebCoreLocalizedStrings.cpp:
12430        (WebCore::AXMenuListPopupActionVerb):
12431        Used LPCTSTR_UI_STRING_KEY for the 2nd use of "press".
12432
124332010-03-08  Adam Treat  <atreat@rim.com>
12434
12435        Unreviewed build fix for Windows.
12436
12437        * WebCoreSupport/WebChromeClient.cpp:
12438        (WebChromeClient::invalidateContents):
12439
124402010-03-02  Adam Treat  <atreat@rim.com>
12441
12442        Reviewed by Dave Hyatt.
12443
12444        Adapt the win port to the refactoring of repaint methods.
12445
12446        https://bugs.webkit.org/show_bug.cgi?id=34214
12447
12448        * WebCoreSupport/WebChromeClient.cpp:
12449        (WebChromeClient::invalidateContents):
12450        (WebChromeClient::invalidateWindow):
12451        (WebChromeClient::invalidateContentsAndWindow):
12452        (WebChromeClient::invalidateContentsForSlowScroll):
12453        * WebCoreSupport/WebChromeClient.h:
12454
124552010-03-08  Daniel Bates  <dbates@rim.com>
12456
12457        Unreviewed, build fix.
12458
12459        Attempt to fix the Windows builds by applying the corresponding change
12460        made in bug #35763 <https://bugs.webkit.org/show_bug.cgi?id=35763>.
12461
12462        * WebView.cpp: Removed call to settings->setDatabasesEnabled since this
12463        setting no longer exists following changeset 55666 <http://trac.webkit.org/changeset/55666>.
12464        (WebView::notifyPreferencesChanged):
12465
124662010-03-07  Mark Rowe  <mrowe@apple.com>
12467
12468        Windows build fix.
12469
12470        * WebKitPrefix.h: Include CoreFoundation/CoreFoundation.h from the Windows prefix header
12471        since some WebCore headers rely on the types declared within being available via the prefix
12472        header.
12473
124742010-03-05  Chris Marrin  <cmarrin@apple.com>
12475
12476        Reviewed by Simon Fraser.
12477
12478        Got rid of platformLayer use in WebView.
12479        https://bugs.webkit.org/show_bug.cgi?id=35798
12480        
12481        WKCACFLayer no longer depends on GraphicsLayer, so I got rid of
12482        that dependency on WebView. Now WebChromeClient casts platformLayer
12483        to WKCACFLayer which will always be the case on Windows.
12484
12485        * WebCoreSupport/WebChromeClient.cpp:
12486        (WebChromeClient::attachRootGraphicsLayer):
12487        * WebView.cpp:
12488        (WebView::setRootChildLayer):
12489        * WebView.h:
12490
124912010-03-04  Beth Dakin  <bdakin@apple.com>
12492
12493        Reviewed by Anders Carlsson.
12494
12495        WebCore::Page::setInstanceHandle() is now just 
12496        WebCore::setInstanceHandle()
12497
12498        * WebKitDLL.cpp:
12499        (DllMain):
12500
125012010-03-03  Alice Liu  <alice.liu@apple.com>
12502
12503        Reviewed by Jon Honeycutt.
12504
12505        Add a way to get an iframe's content frame
12506
12507        * DOMCoreClasses.cpp:
12508        (DOMElement::createInstance):
12509        Added case for DOMHTMLIFrameElement
12510        * DOMHTMLClasses.cpp:
12511        Adding the few DOMHTMLIFrameElement functions definitions that have 
12512        distinct implementations (all others just call parent implementation)
12513        (DOMHTMLIFrameElement::QueryInterface):
12514        (DOMHTMLIFrameElement::contentFrame):
12515        * DOMHTMLClasses.h:
12516        Most of these function declarations have definitions that just call the parent implementation
12517        (DOMHTMLIFrameElement::DOMHTMLIFrameElement):
12518        (DOMHTMLIFrameElement::AddRef):
12519        (DOMHTMLIFrameElement::Release):
12520        (DOMHTMLIFrameElement::throwException):
12521        (DOMHTMLIFrameElement::callWebScriptMethod):
12522        (DOMHTMLIFrameElement::evaluateWebScript):
12523        (DOMHTMLIFrameElement::removeWebScriptKey):
12524        (DOMHTMLIFrameElement::stringRepresentation):
12525        (DOMHTMLIFrameElement::webScriptValueAtIndex):
12526        (DOMHTMLIFrameElement::setWebScriptValueAtIndex):
12527        (DOMHTMLIFrameElement::setException):
12528        (DOMHTMLIFrameElement::nodeName):
12529        (DOMHTMLIFrameElement::nodeValue):
12530        (DOMHTMLIFrameElement::setNodeValue):
12531        (DOMHTMLIFrameElement::nodeType):
12532        (DOMHTMLIFrameElement::parentNode):
12533        (DOMHTMLIFrameElement::childNodes):
12534        (DOMHTMLIFrameElement::firstChild):
12535        (DOMHTMLIFrameElement::lastChild):
12536        (DOMHTMLIFrameElement::previousSibling):
12537        (DOMHTMLIFrameElement::nextSibling):
12538        (DOMHTMLIFrameElement::attributes):
12539        (DOMHTMLIFrameElement::ownerDocument):
12540        (DOMHTMLIFrameElement::insertBefore):
12541        (DOMHTMLIFrameElement::replaceChild):
12542        (DOMHTMLIFrameElement::removeChild):
12543        (DOMHTMLIFrameElement::appendChild):
12544        (DOMHTMLIFrameElement::hasChildNodes):
12545        (DOMHTMLIFrameElement::cloneNode):
12546        (DOMHTMLIFrameElement::normalize):
12547        (DOMHTMLIFrameElement::isSupported):
12548        (DOMHTMLIFrameElement::namespaceURI):
12549        (DOMHTMLIFrameElement::prefix):
12550        (DOMHTMLIFrameElement::setPrefix):
12551        (DOMHTMLIFrameElement::localName):
12552        (DOMHTMLIFrameElement::hasAttributes):
12553        (DOMHTMLIFrameElement::isSameNode):
12554        (DOMHTMLIFrameElement::isEqualNode):
12555        (DOMHTMLIFrameElement::textContent):
12556        (DOMHTMLIFrameElement::setTextContent):
12557        (DOMHTMLIFrameElement::tagName):
12558        (DOMHTMLIFrameElement::getAttribute):
12559        (DOMHTMLIFrameElement::setAttribute):
12560        (DOMHTMLIFrameElement::removeAttribute):
12561        (DOMHTMLIFrameElement::getAttributeNode):
12562        (DOMHTMLIFrameElement::setAttributeNode):
12563        (DOMHTMLIFrameElement::removeAttributeNode):
12564        (DOMHTMLIFrameElement::getElementsByTagName):
12565        (DOMHTMLIFrameElement::getAttributeNS):
12566        (DOMHTMLIFrameElement::setAttributeNS):
12567        (DOMHTMLIFrameElement::removeAttributeNS):
12568        (DOMHTMLIFrameElement::getAttributeNodeNS):
12569        (DOMHTMLIFrameElement::setAttributeNodeNS):
12570        (DOMHTMLIFrameElement::getElementsByTagNameNS):
12571        (DOMHTMLIFrameElement::hasAttribute):
12572        (DOMHTMLIFrameElement::hasAttributeNS):
12573        (DOMHTMLIFrameElement::focus):
12574        (DOMHTMLIFrameElement::blur):
12575        (DOMHTMLIFrameElement::idName):
12576        (DOMHTMLIFrameElement::setIdName):
12577        (DOMHTMLIFrameElement::title):
12578        (DOMHTMLIFrameElement::setTitle):
12579        (DOMHTMLIFrameElement::lang):
12580        (DOMHTMLIFrameElement::setLang):
12581        (DOMHTMLIFrameElement::dir):
12582        (DOMHTMLIFrameElement::setDir):
12583        (DOMHTMLIFrameElement::className):
12584        (DOMHTMLIFrameElement::setClassName):
12585        (DOMHTMLIFrameElement::innerHTML):
12586        (DOMHTMLIFrameElement::setInnerHTML):
12587        (DOMHTMLIFrameElement::innerText):
12588        (DOMHTMLIFrameElement::setInnerText):
12589        * Interfaces/DOMHTML.idl:
12590        Added IDOMHTMLIFrameElement interface
12591
125922010-03-03  Chris Marrin  <cmarrin@apple.com>
12593
12594        Reviewed by Simon Fraser.
12595
12596        Export acceleratedCompositing flag in IWebPreferences.
12597        https://bugs.webkit.org/show_bug.cgi?id=35610
12598
12599        * Interfaces/IWebPreferences.idl:
12600
126012010-03-02  Beth Dakin  <bdakin@apple.com>
12602
12603        Reviewed by Darin Adler and Adam Roben.
12604
12605        Tiny WebKit portion of fix for <rdar://problem/7485289> WebKit 
12606        crashes on systems that don't support CoreAnimation
12607
12608        setHostWindow() no longer calls createRenderer(), so now that has 
12609        to be called manually.
12610
12611        * WebView.cpp:
12612        (WebView::setAcceleratedCompositing):
12613
126142010-03-02  Adam Roben  <aroben@apple.com>
12615
12616        Add IWebViewPrivate::registerURLSchemeAsSecure
12617
12618        Fixes <http://webkit.org/b/35580> <rdar://problem/7706407> Expose
12619        SecurityOrigin::registerURLSchemeAsSecure as WebKit SPI
12620
12621        Reviewed by Tim Hatcher.
12622
12623        * Interfaces/WebKit.idl: Touched to force a build.
12624
12625        * Interfaces/IWebViewPrivate.idl:
12626        * WebView.cpp:
12627        (WebView::registerURLSchemeAsSecure):
12628        * WebView.h:
12629        Added. Calls through to SecurityOrigin::registerURLSchemeAsSecure.
12630
126312010-03-01  Jon Honeycutt  <jhoneycutt@apple.com>
12632
12633        Remove Windows line endings from some files.
12634
12635        Rubber-stamped by Alice Liu.
12636
12637        * Interfaces/IWebEmbeddedView.idl:
12638
12639        * WebCoreSupport/EmbeddedWidget.cpp:
12640        (EmbeddedWidget::create):
12641        (EmbeddedWidget::~EmbeddedWidget):
12642        (EmbeddedWidget::createWindow):
12643        (EmbeddedWidget::invalidateRect):
12644        (EmbeddedWidget::setFrameRect):
12645        (EmbeddedWidget::frameRectsChanged):
12646        (EmbeddedWidget::setFocus):
12647        (EmbeddedWidget::show):
12648        (EmbeddedWidget::hide):
12649        (EmbeddedWidget::windowClipRect):
12650        (EmbeddedWidget::setParent):
12651        (EmbeddedWidget::attachToWindow):
12652        (EmbeddedWidget::detachFromWindow):
12653        (EmbeddedWidget::didReceiveResponse):
12654        (EmbeddedWidget::didReceiveData):
12655        (EmbeddedWidget::didFinishLoading):
12656        (EmbeddedWidget::didFail):
12657
12658        * WebCoreSupport/EmbeddedWidget.h:
12659        (EmbeddedWidget::EmbeddedWidget):
12660
126612010-03-01  Jon Honeycutt  <jhoneycutt@apple.com>
12662
12663        Some WebKit DOMNode API is unimplemented.
12664        https://bugs.webkit.org/show_bug.cgi?id=35554
12665
12666        Reviewed by Alice Liu.
12667
12668        * DOMCoreClasses.cpp:
12669        (DOMNode::nextSibling):
12670        Create a DOMNode to wrap m_node's next sibling, and assign it to the
12671        out param 'result'.
12672        (DOMNode::insertBefore):
12673        Query for the DOMNode for newChild, and return early if we fail. Query
12674        refChild for DOMNode. Call insertBefore(), passing the newChild's
12675        WebCore node and refChild's WebCore node (if refChild is non-null). If
12676        we successfully insert the child, fill the result out param with
12677        newChild, ref it, and return S_OK. Otherwise, return E_FAIL.
12678        (DOMNode::removeChild):
12679        Query oldChild for DOMNode. If we fail, return E_FAIL. Call
12680        removeChild(), passing the node's WebCore node. If this fails, return
12681        E_FAIL. Otherwise, fill the result out param with oldChild, ref it, and
12682        return S_OK.
12683
126842010-03-01  Jakob Petsovits  <jpetsovits@rim.com>
12685
12686        Reviewed by Adam Barth.
12687
12688        Adapt to the new ZoomMode enum.
12689        https://bugs.webkit.org/show_bug.cgi?id=35347
12690
12691        * WebFrame.cpp:
12692        (WebFrame::setTextSizeMultiplier):
12693        * WebView.cpp:
12694        (WebView::setZoomMultiplier):
12695        (WebView::zoomMultiplier):
12696        (WebView::canMakeTextLarger):
12697        (WebView::makeTextLarger):
12698        (WebView::canMakeTextSmaller):
12699        (WebView::makeTextSmaller):
12700        (WebView::notifyPreferencesChanged):
12701
127022010-02-26  Jon Honeycutt  <jhoneycutt@apple.com>
12703
12704        <rdar://problem/7703368> IWebUIDelegatePrivate::embeddedViewWithArguments
12705        is passed wrong arguments
12706
12707        Reviewed by Adam Roben.
12708
12709        * Interfaces/IWebUIDelegatePrivate.idl:
12710        Update copyright strings. Added a new key for the plug-in source URL.
12711
12712        * Interfaces/WebKit.idl:
12713        Update copyright strings.
12714
12715        * WebCoreSupport/WebFrameLoaderClient.cpp:
12716        (WebFrameLoaderClient::createPlugin):
12717        Pass the URL of the plug-in as the source URL. Pass the document's
12718        base URI for the base URL.
12719
127202010-02-23  Brady Eidson  <beidson@apple.com>
12721
12722        Reviewed by Tim Hatcher and Pavel Feldman.
12723
12724        Regression (r55107) - WebInspector docking is busted.
12725        https://bugs.webkit.org/show_bug.cgi?id=35274
12726
12727        * WebCoreSupport/WebInspectorClient.cpp:
12728        (WebInspectorClient::showWindowWithoutNotifications): Swap the order of the "should attach?" check
12729          to get the expected behavior.
12730
127312010-02-23  Steve Block  <steveblock@google.com>
12732
12733        Reviewed by Darin Adler.
12734
12735        Adds ChromeClient::cancelGeolocationPermissionRequestForFrame
12736        https://bugs.webkit.org/show_bug.cgi?id=34962
12737
12738        This method is required so that a Geolocation object can cancel an
12739        asynchronous permission request. This allows the chrome client to cancel
12740        any UI it is showing for the permission request.
12741
12742        * WebCoreSupport/WebChromeClient.h:
12743        (WebChromeClient::cancelGeolocationPermissionRequestForFrame):
12744
127452010-02-22  Steve Falkenburg  <sfalken@apple.com>
12746
12747        Reviewed by Darin Adler.
12748
12749        WebKit on Windows should pick up system setting changes without requiring explicit API calls
12750        https://bugs.webkit.org/show_bug.cgi?id=35269
12751
12752        * WebKit.vcproj/WebKit.def: Removed WebKitSystemParameterChanged.
12753        * WebKit.vcproj/WebKit_debug.def: Removed WebKitSystemParameterChanged.
12754        * WebKitGraphics.cpp: Removed WebKitSystemParameterChanged.
12755        * WebKitGraphics.h: Removed WebKitSystemParameterChanged.
12756        * WebView.cpp:
12757        (systemParameterChanged): Call through to wkSystemFontSmoothingChanged for font changes.
12758        (WebView::windowReceivedMessage): Pick up WM_SETTINGCHANGE from windowReceivedMessage.
12759
127602010-02-22  Brady Eidson  <beidson@apple.com>
12761
12762        Reviewed by Tim Hatcher.
12763
12764        Disable WebView docking to views that are too small.
12765        <rdar://problem/7248409> and https://bugs.webkit.org/show_bug.cgi?id=35254
12766
12767        * WebCoreSupport/WebInspectorClient.cpp:
12768        (WebInspectorClient::showWindowWithoutNotifications): No matter the preference, don't open the inspector 
12769          window attached if WebCore says it shouldn't be attached.
12770
127712010-02-17  Steve Falkenburg  <sfalken@apple.com>
12772
12773        Reviewed by Dan Bernstein.
12774
12775        WebKit on Windows needs a mechanism to listen for WM_SETTINGCHANGED messages
12776        https://bugs.webkit.org/show_bug.cgi?id=35076
12777
12778        * WebKit.vcproj/WebKit.def: Added WebKitSystemParameterChanged.
12779        * WebKit.vcproj/WebKit_debug.def: Added WebKitSystemParameterChanged.
12780        * WebKitGraphics.cpp:
12781        (WebKitSystemParameterChanged): Call through to wkSystemFontSmoothingChanged for font smoothing changes.
12782        * WebKitGraphics.h: Added WebKitSystemParameterChanged.
12783
127842010-02-17  Dmitry Titov  <dimich@chromium.org>
12785
12786        Reviewed by David Levin, Darin Fisher, Simon Hausmann.
12787
12788        When a live iframe element is moved between pages, it still depends on the old page.
12789        https://bugs.webkit.org/show_bug.cgi?id=34382
12790
12791        * WebCoreSupport/WebFrameLoaderClient.cpp:
12792        (WebFrameLoaderClient::didTransferChildFrameToNewDocument):
12793        Added empty implementation of a new virtual method.
12794
12795        * WebCoreSupport/WebFrameLoaderClient.h:
12796
127972010-02-17  Kent Tamura  <tkent@chromium.org>
12798
12799        Reviewed by Eric Seidel.
12800
12801        Introduces new Icon loading interface in order to support
12802        asynchronous loading.
12803        https://bugs.webkit.org/show_bug.cgi?id=32054
12804
12805        Add an empty implementation of ChromeClient::iconForFiles().
12806
12807        * WebCoreSupport/WebChromeClient.cpp:
12808        (WebChromeClient::iconForFiles):
12809        * WebCoreSupport/WebChromeClient.h:
12810
128112010-02-17  Shinichiro Hamaji  <hamaji@chromium.org>
12812
12813        Unreviewed. Touch WebKit.idl to fix the build.
12814
12815        [Win] Implement test functions for printing
12816        https://bugs.webkit.org/show_bug.cgi?id=34570
12817
12818        * Interfaces/WebKit.idl:
12819
128202010-02-17  Shinichiro Hamaji  <hamaji@chromium.org>
12821
12822        Reviewed by Eric Seidel.
12823
12824        [Win] Implement test functions for printing
12825        https://bugs.webkit.org/show_bug.cgi?id=34570
12826
12827        * Interfaces/IWebFramePrivate.idl:
12828        * WebFrame.cpp:
12829        (WebFrame::pageNumberForElementById):
12830        (WebFrame::numberOfPages):
12831        * WebFrame.h:
12832
128332010-02-16  Darin Adler  <darin@apple.com>
12834
12835        Reviewed by Sam Weinig.
12836
12837        Generalize delayed plug-in start for background tabs for use for other media
12838        https://bugs.webkit.org/show_bug.cgi?id=34981
12839
12840        * WebView.cpp:
12841        (WebView::setCanStartPlugins): Change to call setCanStartMedia.
12842        In a later patch we can change the of the public function in the IDL file too,
12843        but for now this should be enough.
12844
128452010-02-15  Adam Roben  <aroben@apple.com>
12846
12847        Add IWebFramePrivate::visibleContentRect
12848
12849        Fixes <http://webkit.org/b/34956> Add API to get a WebFrame's visible
12850        content rect
12851
12852        Reviewed by Jon Honeycutt.
12853
12854        * Interfaces/IWebFramePrivate.idl: Added visibleContentRect.
12855
12856        * Interfaces/WebKit.idl: Touched to force a build.
12857
12858        * WebFrame.cpp:
12859        (WebFrame::visibleContentRect):
12860        * WebFrame.h:
12861        Added. Calls through to FrameView::visibleContentRect.
12862
128632010-02-12  Brian Weinstein  <bweinstein@apple.com>
12864
12865        Reviewed by Adam Roben.
12866
12867        onmouseout fired when moving over tooltip on Windows
12868        https://bugs.webkit.org/show_bug.cgi?id=16794
12869        <rdar://5762038>.
12870        
12871        Add WS_EX_TRANSPARENT to out tooltip HWND so it isn't subject to hit testing, and when
12872        you mouse over the tooltip, it doesn't send a mouseout to the web content.
12873
12874        * WebView.cpp:
12875        (WebView::initializeToolTipWindow): Add WS_EX_TRANSPARENT.
12876
128772010-02-10  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
12878
12879        Reviewed by Kenneth Rohde Christiansen.
12880
12881        Support frameset flattening
12882        https://bugs.webkit.org/show_bug.cgi?id=32717
12883
12884        Add support for enabling/disabling FrameSet Flattening on the Windows port.
12885
12886        * Interfaces/IWebPreferencesPrivate.idl:
12887        * WebPreferenceKeysPrivate.h:
12888        * WebPreferences.cpp:
12889        (WebPreferences::initializeDefaultSettings):
12890        (WebPreferences::isFrameSetFlatteningEnabled):
12891        (WebPreferences::setFrameSetFlatteningEnabled):
12892        * WebPreferences.h:
12893        * WebView.cpp:
12894        (WebView::notifyPreferencesChanged):
12895
128962010-02-10  Adam Roben  <aroben@apple.com>
12897
12898        Remove unnecessary #include of shfolder.h
12899
12900        shfolder.h has been deprecated in newer versions of the Windows SDK.
12901
12902        Fixes <http://webkit.org/b/34803> WebPreferences.cpp fails to compile
12903        under VS2010 RC due to #include of shfolder.h.
12904
12905        Reviewed by Darin Adler.
12906
12907        * WebPreferences.cpp: Removed #include.
12908
129092010-02-08  Charlie Reis  <creis@chromium.org>
12910
12911        Reviewed by Darin Adler.
12912
12913        onbeforeunload not called at window close + frame or iframe focused
12914        https://bugs.webkit.org/show_bug.cgi?id=27481
12915        
12916        Chromium and WebKit on Windows will now fire beforeunload handlers
12917        even if an inner frame is focused.  
12918
12919        Layout tests aren't able to test this bug, since it requires closing
12920        the actual browser window, not calling window.close().  Instead,
12921        test with WebCore/manual-tests/onbeforeunload-focused-iframe.html.
12922
12923        * WebView.cpp:
12924        (WebView::shouldClose):
12925
129262010-02-08  Brent Fulgham  <bfulgham@webkit.org>
12927
12928        Reviewed by Adam Roben.
12929
12930        Include header position in World Transform used for plugin positioning.
12931        https://bugs.webkit.org/show_bug.cgi?id=34709
12932
12933        * WebFrame.cpp:
12934        (WebFrame::spoolPage): Correct WinCairo plugin print positioning to
12935          account for header size.  Existing code ignored this, causing
12936          plugins to overlay other elements.
12937
129382010-02-04  Alice Liu  <alice.liu@apple.com>
12939
12940        Reviewed by Jon Honeycutt.
12941
12942        https://bugs.webkit.org/show_bug.cgi?id=34612 " MSAA: accSelect returns error 
12943        codes for most elements that arent listbox or menupopup related"
12944        <rdar://problem/7436861>
12945
12946        * AccessibleBase.cpp:
12947        (AccessibleBase::accSelect):
12948        - Stop sending E_INVALIDARG for elements that request TAKE_SELECTION that 
12949          aren't beneath listboxes or menupopups.  This was too restrictive since 
12950          any element can be selectable.
12951        - Correct the misinterpretation of MSDN's stipulation of situations involving 
12952          adding, removing, and extending selection on single-select elements
12953
129542010-02-04  Brent Fulgham  <bfulgham@webkit.org>
12955
12956        Reviewed by Adam Roben.
12957
12958        Properly handle margin settings when printing Plugins in WinCairo.
12959        https://bugs.webkit.org/show_bug.cgi?id=34613
12960
12961        * WebFrame.cpp:
12962        (WebFrame::spoolPage): Adjust the GraphicsContext passed to the
12963          paintContents method so that the World Transform is properly
12964          positioned to account for margin settings at the time that
12965          PluginViewWin.cpp processes the drawing operations.
12966
129672010-02-04  Brent Fulgham  <bfulgham@webkit.org>
12968
12969        Reviewed by Adam Roben.
12970
12971        Properly handle margin settings in WinCairo.
12972        https://bugs.webkit.org/show_bug.cgi?id=34545
12973
12974        * WebFrame.cpp:
12975        (scaleFactor): Require the margin information as an input
12976          parameter, and use them when computing the scaling factor.
12977        (WebFrame::drawHeader): Pass margin size to scaleFactor.
12978        (WebFrame::drawFooter): Pass margin size to scaleFactor.
12979        (WebFrame::spoolPage):
12980          1. Pass margin size to scaleFactor.
12981          2. Recognize that the return value of printerMarginRect is
12982             already in device units, and therefore scale it so that
12983             the Cairo drawing is correct.
12984          3. Remove scaling call for margins in GDI code, as it is
12985             already in scaled units.
12986
129872010-02-03  Brian Weinstein  <bweinstein@apple.com>
12988
12989        Reviewed by Steve Falkenburg.
12990
12991        Scroll does not work with IBM Thinkpad.
12992        <https://bugs.webkit.org/show_bug.cgi?id=14227>
12993        <rdar://7142545>
12994        
12995        When initializing the WebView, add two scrollbar Windows inside of
12996        our WebView, to allow it to receive WM_VSCROLL and WM_HSCROLL events.
12997        (similar to what Firefox did in: <https://bugzilla.mozilla.org/show_bug.cgi?id=507222>.
12998        
12999        Only do this if the user has installed some kind of Trackpoint driver, using an algorithm
13000        like <https://bugzilla.mozilla.org/show_bug.cgi?id=514927>.
13001        
13002        Also, add code to handle WM_HSCROLL and WM_VSCROLL messages to scroll
13003        the WebView.
13004
13005        * WebView.cpp:
13006        (WebView::verticalScroll): Handle the WM_VSCROLL messages, and scroll up and down
13007            by lines or pages.
13008        (WebView::horizontalScroll): Handle the WM_HSCROLL messages, and scroll left or right
13009            by lines or pages.
13010        (WebView::WebViewWndProc): Add cases for WM_VSCROLL and WM_HSCROLL.
13011        (WebView::initWithFrame): Call shouldInitializeTrackPointHack, and if we should, create
13012            vertical and horizontal scrollbars to receive WM_VSCROLL and WM_HSCROLL messages.
13013        (WebView::shouldInitializeTrackPointHack): Check if there is a registry key for
13014            the some kind of IBM Trackpoint driver.
13015        * WebView.h:
13016
130172010-02-02  Steve Falkenburg  <sfalken@apple.com>
13018
13019        Reviewed by Darin Adler.
13020
13021        Copyright year updating for Windows version resources should be automatic
13022        https://bugs.webkit.org/show_bug.cgi?id=34503
13023
13024        * WebKit.vcproj/WebKit.rc:
13025
130262010-02-02  Adam Roben  <aroben@apple.com>
13027
13028        Stop copying WebCore's IDL files from SRCROOT to OBJROOT
13029
13030        WebKit doesn't use these anymore (as of r52921).
13031
13032        Part of Bug 34496: Clean up WebCore's IDL/script copying
13033        <https://bugs.webkit.org/show_bug.cgi?id=34496>
13034
13035        Reviewed by Steve Falkenburg.
13036
13037        * WebKit.vcproj/WebKit.make:
13038
130392010-01-29  Gavin Barraclough  <barraclough@apple.com>
13040
13041        Reviewed by Sam Weinig + Oliver Hunt.
13042
13043        Bug 34346 - With JSC bindings, make processingUserGesture work with events in Isolated Worlds
13044
13045        Pass processeing user gensture flag to media play/pause methods.
13046
13047        * FullscreenVideoController.cpp:
13048        (FullscreenVideoController::play):
13049        (FullscreenVideoController::pause):
13050
130512010-01-29  Brian Weinstein  <bweinstein@apple.com>
13052
13053        Reviewed by Adam Roben.
13054
13055        Drag and Drop: Windows uses "stop" sign as cursor when dragging
13056        https://bugs.webkit.org/show_bug.cgi?id=34305
13057        <rdar://problem/7589672>
13058        
13059        Add a preference in WebKit (that defaults to false), for whether or not
13060        we should show the custom cursors during drag and drop. However, this is
13061        currently only used on Windows, and only used to hide the "drop not allowed"
13062        icon inside the WebView is the preference is set to true.
13063
13064        This will be off by default, so no change in behavior.
13065
13066        * Interfaces/IWebPreferencesPrivate.idl: Added new functions.
13067        * Interfaces/WebKit.idl: Touched to force Interfaces build.
13068        * WebDropSource.cpp:
13069        (WebDropSource::GiveFeedback): Implementation of conditional showing cursor
13070            logic.
13071        * WebPreferenceKeysPrivate.h: Added new preference key.
13072        * WebPreferences.cpp: Added new functions.
13073        (WebPreferences::setCustomDragCursorsEnabled):
13074        (WebPreferences::customDragCursorsEnabled):
13075        * WebPreferences.h: Added new functions.
13076
130772010-01-28  Jon Honeycutt  <jhoneycutt@apple.com>
13078
13079        MSAA: Crash when posting a notification for a detached object
13080
13081        https://bugs.webkit.org/show_bug.cgi?id=34309
13082        <rdar://problem/7409759>
13083
13084        Reviewed by Darin Adler.
13085
13086        * AccessibleBase.cpp:
13087        (AccessibleBase::QueryService):
13088        If an unrecognized service ID is passed, return early. Otherwise, return
13089        the result of QueryInterface.
13090        (AccessibleBase::QueryInterface):
13091        Add static_casts. Check for new UUIDs.
13092        (AccessibleBase::isSameObject):
13093        Query the object for AccessibleBase. Return whether the pointers or the
13094        wrapped objects match.
13095
13096        * AccessibleBase.h:
13097        Give the class a UUID so we can query for it in isSameObject(). Inherit
13098        from IAccessibleComparable; inherit from IServiceProvider so clients can
13099        use QueryService to query for a custom interface.
13100
13101        * Interfaces/AccessibleComparable.idl: Added. Declares a function that
13102        can be called to compare to accessible objects.
13103
13104        * Interfaces/WebKit.idl:
13105        Include the new IDL.
13106
13107        * WebKit.vcproj/Interfaces.vcproj:
13108        Add the new IDL to the project.
13109
131102010-01-27  Aaron Boodman  <aa@chromium.org>
13111
13112        Expand NotificationCenter::checkPermission() interface.
13113        It now passes the full URL instead of just the origin.
13114
13115        https://bugs.webkit.org/show_bug.cgi?id=34238
13116
13117        * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
13118        (WebDesktopNotificationsDelegate::checkPermission):
13119        * WebCoreSupport/WebDesktopNotificationsDelegate.h:
13120
131212010-01-27  Adam Roben  <aroben@apple.com>
13122
13123        Make it possible to instantiate WebSerializedJSValue using
13124        WebKitCreateInstance
13125
13126        Reviewed by Dave Hyatt.
13127
13128        * ForEachCoClass.h:
13129        * WebKitClassFactory.cpp:
13130        Added WebSerializedJSValue.
13131
131322010-01-26  Steve Falkenburg  <sfalken@apple.com>
13133
13134        Reviewed by Oliver Hunt.
13135
13136        Windows build references non-existent include paths
13137        https://bugs.webkit.org/show_bug.cgi?id=34175
13138
13139        * WebKit.vcproj/WebKit.vcproj:
13140
131412010-01-25  Steve Falkenburg  <sfalken@apple.com>
13142
13143        Reviewed by Simon Fraser.
13144
13145        A WebGeolocationControllerClient is leaked for every WebView
13146        https://bugs.webkit.org/show_bug.cgi?id=34145
13147
13148        * WebCoreSupport/WebGeolocationControllerClient.cpp:
13149        (WebGeolocationControllerClient::geolocationDestroyed): Added.
13150        * WebCoreSupport/WebGeolocationControllerClient.h:
13151
131522010-01-23  Dan Bernstein  <mitz@apple.com>
13153
13154        Reviewed by Maciej Stachowiak.
13155
13156        <rdar://problem/7569820> svg/custom/text-zoom.xhtml fails on Windows
13157        https://bugs.webkit.org/show_bug.cgi?id=34006
13158
13159        * WebPreferences.cpp:
13160        (WebPreferences::initializeDefaultSettings): Added WebKitZoomsTextOnlyPreferenceKey
13161        with a default value of true.
13162
131632010-01-20  Steve Falkenburg  <sfalken@apple.com>
13164
13165        Reviewed by Sam Weinig.
13166
13167        Add missing implementation for WebGeolocationPosition::initWithTimestamp.
13168
13169        * WebGeolocationPosition.cpp:
13170        (WebGeolocationPosition::initWithTimestamp): Implemented.
13171
131722010-01-20  Jon Honeycutt  <jhoneycutt@apple.com>
13173
13174        MSAA: accSelect() is not implemented
13175
13176        https://bugs.webkit.org/show_bug.cgi?id=33918
13177        <rdar://problem/7436861>
13178
13179        Reviewed by Darin Adler.
13180
13181        * AccessibleBase.cpp:
13182        (AccessibleBase::accSelect):
13183        If there is an invalid combination of state flags, return early. If the
13184        caller passed the "take focus" flag, focus the object. If the "take
13185        selection" flag was passed, check whether the parent object is an
13186        AccessibilityListBox; if so, call the object's setSelectedChildren()
13187        function. If the parent is an AccessibilityMenuListPopup, call the
13188        child object's setSelected() function. Otherwise, if the parent is some
13189        other, unsupported object, return early.
13190        If the selection flags include "add", "remove", or "extend" selection,
13191        and the parent object is not multi-selectable, return early. Otherwise,
13192        set or unset the child's selected flag based on the passed flag.
13193
131942010-01-20  Steve Falkenburg  <sfalken@apple.com>
13195
13196        Reviewed by Darin Adler and Adam Roben.
13197
13198        Feature defines are difficult to maintain on Windows builds
13199        https://bugs.webkit.org/show_bug.cgi?id=33883
13200
13201        FeatureDefines.vsprops are now maintained in a way similar to
13202        Configurations/FeatureDefines.xcconfig, with the added advantage
13203        of having a single FeatureDefines file across all projects.
13204
13205        * WebKit.vcproj/Interfaces.vcproj: Add FeatureDefines.vsprops inherited property sheet.
13206        * WebKit.vcproj/WebKit.sln: Set up Cairo configuration for WebCoreGenerated.
13207        * WebKit.vcproj/WebKit.vcproj: Remove ENABLE_ preprocessor definitions.
13208        Add FeatureDefines.vsprops inherited property sheet.
13209        * WebKit.vcproj/WebKitGUID.vcproj: Add FeatureDefines.vsprops inherited property sheet.
13210
132112010-01-17  Jon Honeycutt  <jhoneycutt@apple.com>
13212
13213        MSAA: The child <option> elements of a non-multiple <select> are not
13214        exposed
13215
13216        https://bugs.webkit.org/show_bug.cgi?id=33773
13217        <rdar://problem/7550556>
13218
13219        Reviewed by Alice Liu.
13220
13221        * AccessibleBase.cpp:
13222        (AccessibleBase::get_accState):
13223        If the object is invisible, set the invisible state flag. If the object
13224        is collapsed, set the collapsed state. If the object is a combo box,
13225        set the has popup flag, and if it's not collapsed, set the expanded
13226        flag.
13227        (MSAARole):
13228        Add new WebCore to MSAA role mappings.
13229
13230        * WebCoreLocalizedStrings.cpp:
13231        (WebCore::AXMenuListActionVerb):
13232        Return the action verb that Firefox uses for <select> elements with
13233        popups.
13234        (WebCore::AXMenuListPopupActionVerb):
13235        Return the verb that Firefox uses for a popup list.
13236
132372010-01-19  John Sullivan  <sullivan@apple.com>
13238
13239        https://bugs.webkit.org/show_bug.cgi?id=33854
13240        Would like a variant of WebHTMLRepresentation's searchForLabelsBeforeElement that returns 
13241        more info about where the result was found
13242
13243        Reviewed by Darin Adler
13244
13245        * Interfaces/IWebHTMLRepresentation.idl:
13246        Created variant of searchForLabels that includes additional in/out parameters resultDistance and resultIsInCellAbove.
13247        
13248        * Interfaces/WebKit.idl:
13249        Touched in order to get other idl change to propagate correctly.
13250
13251        * WebHTMLRepresentation.cpp:
13252        (WebHTMLRepresentation::deprecatedSearchForLabels):
13253        Renamed since iDL doesn't support two functions with the same name but different signatures.
13254        (WebHTMLRepresentation::searchForLabels):
13255        Implemented variant of searchForLabels that includes additional in/out parameters resultDistance and resultIsInCellAbove.
13256
13257        * WebHTMLRepresentation.h:
13258        Declared variant of searchForLabels that includes additional in/out parameters resultDistance and resultIsInCellAbove.
13259
132602010-01-19  Adam Roben  <aroben@apple.com>
13261
13262        Windows build fix
13263
13264        * WebScriptWorld.cpp: Added missing #include.
13265
132662010-01-19  Dave Hyatt  <hyatt@apple.com>
13267
13268        Build bustage fix. Make sure the newly added scriptWorldForGlobalContext function is [local] in the IDL.
13269
13270        * Interfaces/IWebScriptWorld.idl:
13271
132722010-01-19  Dave Hyatt  <hyatt@apple.com>
13273
13274        Reviewed by Adam Roben.
13275
13276        Add an API to obtain a WebScriptWorld from a JSGlobalContextRef.
13277
13278        * Interfaces/IWebScriptWorld.idl:
13279        * WebScriptWorld.cpp:
13280        (WebScriptWorld::scriptWorldForGlobalContext):
13281        * WebScriptWorld.h:
13282
132832010-01-18  Adam Roben  <aroben@apple.com>
13284
13285        Add IWebViewPrivate::setDomainRelaxationForbiddenForURLScheme
13286
13287        WebKit/win part of fixing <http://webkit.org/b/33806>
13288        <rdar://problem/7552837> Would like API to disallow setting of
13289        document.domain for pages with certain URL schemes
13290
13291        Reviewed by Sam Weinig.
13292
13293        * Interfaces/IWebViewPrivate.idl: Added
13294        setDomainRelaxationForbiddenForURLScheme.
13295
13296        * Interfaces/WebKit.idl: Touched to force a build.
13297
13298        * WebView.cpp:
13299        (WebView::setDomainRelaxationForbiddenForURLScheme):
13300        * WebView.h:
13301        Added. Calls through to SecurityOrigin.
13302
133032010-01-18  Chris Marrin  <cmarrin@apple.com>
13304
13305        Reviewed by Darin Adler.
13306
13307        Use new setScrollFrame API
13308        https://bugs.webkit.org/show_bug.cgi?id=32279
13309
13310        * WebView.cpp:
13311        (WebView::updateRootLayerContents):
13312
133132010-01-15  Jon Honeycutt  <jhoneycutt@apple.com>
13314
13315        MSAA: Screen rect for <option> elements is always the zero rect
13316
13317        https://bugs.webkit.org/show_bug.cgi?id=33758
13318
13319        Reviewed by Oliver Hunt.
13320
13321        * AccessibleBase.cpp:
13322        (AccessibleBase::accLocation):
13323        Use elementRect() rather than boundingBoxRect(), which
13324        AccessibilityListBoxOption overrides.
13325
133262010-01-15  Jon Honeycutt  <jhoneycutt@apple.com>
13327
13328        get_accParent should try to retrieve parent AccessibilityObject, before
13329        calling upon window
13330
13331        https://bugs.webkit.org/show_bug.cgi?id=22893
13332
13333        Reviewed by Darin Adler.
13334
13335        * AccessibleBase.cpp:
13336        (AccessibleBase::get_accParent):
13337        If the object has a parent object, return it. If not, return the
13338        accessible for the WebView window.
13339
133402010-01-12  Jon Honeycutt  <jhoneycutt@apple.com>
13341
13342        MSAA: selected, selectable, extended selectable, and multiple
13343        selectable states are not reported
13344
13345        https://bugs.webkit.org/show_bug.cgi?id=33574
13346        <rdar://problem/7536826>
13347
13348        Reviewed by Darin Adler.
13349
13350        * AccessibleBase.cpp:
13351        (AccessibleBase::get_accState):
13352        Remove the call to isMultiSelect(). Call the correctly-named
13353        isMultiSelectable(), and if it returns true, set both the "extended
13354        selectable" and "multiple selectable" states. Check whether the object
13355        is selected or selectable, and report those states.
13356
133572010-01-13  Steve Falkenburg  <sfalken@apple.com>
13358
13359        Reviewed by Adam Roben.
13360
13361        Add additional Geolocation interfaces in WebKit for Windows.
13362
13363        * Interfaces/IWebGeolocationPolicyListener.idl: Added.
13364        * Interfaces/IWebUIDelegatePrivate.idl: Add decidePolicyForGeolocationRequest to IWebUIDelegatePrivate2.
13365        Append since this version hasn't shipped.
13366        * Interfaces/WebKit.idl: Add include of IWebGeolocationPolicyListener.idl.
13367        * WebCoreSupport/WebChromeClient.cpp:
13368        (WebChromeClient::requestGeolocationPermissionForFrame): Call into decidePolicyForGeolocationRequest.
13369        * WebCoreSupport/WebGeolocationControllerClient.cpp:
13370        (WebGeolocationControllerClient::WebGeolocationControllerClient): Moved *.
13371        * WebGeolocationPolicyListener.cpp: Added.
13372        * WebGeolocationPolicyListener.h: Added.
13373        * WebKit.vcproj/Interfaces.vcproj: Added IWebGeolocationPolicyListener.
13374        * WebKit.vcproj/WebKit.vcproj: Added WebGeolocationPolicyListener, WebGeolocationPolicyListener.
13375        * WebView.cpp:
13376        (WebView::setGeolocationProvider): Removed extraneous STDMETHODCALLTYPE.
13377        (WebView::geolocationProvider): Removed extraneous STDMETHODCALLTYPE.
13378        (WebView::geolocationDidChangePosition): Removed extraneous STDMETHODCALLTYPE.
13379        (WebView::geolocationDidFailWithError): Removed extraneous STDMETHODCALLTYPE.
13380
133812010-01-12  Steve Falkenburg  <sfalken@apple.com>
13382
13383        Reviewed by Adam Roben, Sam Weinig.
13384
13385        Add Geolocation interfaces in WebKit for Windows.
13386
13387        * ForEachCoClass.h: Added WebGeolocationPosition.
13388        * Interfaces/IWebError.idl:
13389        * Interfaces/IWebGeolocationPosition.idl: Added.
13390        * Interfaces/IWebGeolocationProvider.idl: Added.
13391        * Interfaces/IWebViewPrivate.idl:
13392        * Interfaces/WebKit.idl:
13393        * WebCoreSupport/WebGeolocationControllerClient.cpp: Added.
13394        (WebGeolocationControllerClient::WebGeolocationControllerClient):
13395        (WebGeolocationControllerClient::startUpdating):
13396        (WebGeolocationControllerClient::stopUpdating):
13397        (WebGeolocationControllerClient::lastPosition):
13398        * WebCoreSupport/WebGeolocationControllerClient.h: Added.
13399        * WebGeolocationPosition.cpp: Added IWebGeolocationPosition implementation.
13400        * WebGeolocationPosition.h: Added IWebGeolocationPosition implementation.
13401        * WebKit.vcproj/Interfaces.vcproj: Added IWebGeolocationPosition.idl, IWebGeolocationProvider.idl,
13402        relocated JavaScriptCoreAPITypes.idl, WebScrollbarTypes.idl
13403        * WebKit.vcproj/WebKit.vcproj: Added WebGeolocationPosition.h/.cpp, WebGeolocationControllerClient.h/cpp,        
13404        * WebKitClassFactory.cpp: Add WebGeolocationPosition include.
13405        * WebView.cpp:
13406        (WebView::initWithFrame): Create WebGeolocationControllerClient if Geolocation is enabled.
13407        (WebView::setGeolocationProvider): Added Geolocation-specific method.
13408        (WebView::geolocationProvider): Added Geolocation-specific method.
13409        (WebView::geolocationDidChangePosition): Added Geolocation-specific method.
13410        (WebView::geolocationDidFailWithError): Added Geolocation-specific method.
13411        * WebView.h: Added setGeolocationProvider, geolocationProvider, geolocationDidChangePosition, geolocationDidFailWithError.
13412
134132010-01-11  Jon Honeycutt  <jhoneycutt@apple.com>
13414
13415        MSAA: Accessibility role of <select multiple> elements is wrong
13416
13417        https://bugs.webkit.org/show_bug.cgi?id=33522
13418
13419        Reviewed by Darin Adler.
13420
13421        * AccessibleBase.cpp:
13422        (MSAARole):
13423        Map the WebCore::ListBox and WebCore::ListBoxOption roles to the MSAA
13424        "list" and "list item" roles.
13425
134262010-01-08  Brent Fulgham  <bfulgham@webkit.org>
13427
13428        Build fix, no review.
13429
13430        Protect video control logic inside ENABLE(VIDEO).
13431
13432        * WebView.cpp:
13433        (WebView::enterFullscreenForNode):
13434        (WebView::exitFullscreen):
13435        * WebView.h:
13436
134372010-01-08  Chris Marrin  <cmarrin@apple.com>
13438
13439        Reviewed by Adam Roben.
13440
13441        Implement full-screen video for Windows
13442        https://bugs.webkit.org/show_bug.cgi?id=31318
13443        
13444        This adds a full-screen controller, FullscreenVideoController, 
13445        which manages going in and out of full-screen. The actual 
13446        full-screen window is created and managed by logic added 
13447        to QTMovieWin. FullscreenVideoController also creates and
13448        manages a HUD. The HUD renders and manages events to
13449        control the playing video. Movie controller events go to 
13450        FullscreenVideoController which then sends them to HTMLMediaElement, 
13451        which is passed to the controller by WebView, which gets the call 
13452        to go into full-screen mode from HTMLMediaElement via 
13453        ChromeClient.
13454        
13455        I've also updated the icons so the related sets (Play/Pause and
13456        volume high/volume low/exit fullscreen) are the same size. This 
13457        allows me to position them using common code.
13458
13459        * WebCoreSupport/WebChromeClient.cpp:
13460        (WebChromeClient::supportsFullscreenForNode):
13461        (WebChromeClient::enterFullscreenForNode):
13462        (WebChromeClient::exitFullscreenForNode):
13463        * WebCoreSupport/WebChromeClient.h:
13464        * WebKit.vcproj/WebKit.vcproj:
13465        * WebKit.vcproj/fsVideoAudioVolumeHigh.png:
13466        * WebKit.vcproj/fsVideoAudioVolumeLow.png:
13467        * WebKit.vcproj/fsVideoExitFullscreen.png:
13468        * WebKit.vcproj/fsVideoPause.png:
13469        * WebKit.vcproj/fsVideoPlay.png:
13470        * WebKitDLL.cpp:
13471        (loadResourceIntoBuffer):
13472        * FullscreenVideoController.cpp: Added.
13473        * FullscreenVideoController.h: Added.
13474        * WebView.cpp:
13475        (WebView::enterFullscreenForNode):
13476        (WebView::exitFullscreen):
13477        * WebView.h:
13478
134792010-01-08  Brent Fulgham  <bfulgham@webkit.org>
13480
13481        Unreviewed correction. 
13482
13483        Accidentally left unnecessary modification to hdcFromContext
13484        in when landing r52995.
13485
13486        * WebFrame.cpp:
13487        (hdcFromContext): Back out unneeded modification.
13488
134892010-01-08  Brent Fulgham  <bfulgham@webkit.org>
13490
13491        Reviewed by Adam Roben.
13492
13493        Use correct cairo surface data type for handling print operations.
13494        https://bugs.webkit.org/show_bug.cgi?id=33022.
13495
13496        * WebFrame.cpp:
13497        (scaleFactor): Handle 'scale = 0' case.
13498        (WebFrame::spoolPage): Use scaleFactor helper function.  Account for
13499         margin size in region passed to header/footer routines.
13500        (WebFrame::spoolPages): Properly clean up Cairo surface.
13501
135022010-01-07  Kent Tamura  <tkent@chromium.org>
13503
13504        Reviewed by Maciej Stachowiak.
13505
13506        Remove COM code generation files.
13507        https://bugs.webkit.org/show_bug.cgi?id=32854
13508
13509        * WebKit.vcproj/DerivedSources.make: Removed.
13510        * WebKit.vcproj/build-generated-files.sh: Removed.
13511
135122010-01-05  Adam Roben  <aroben@apple.com>
13513
13514        Make IWebView::close and destroying a WebView's HWND optional for
13515        WebKit clients
13516
13517        WebView will now take care of these operations itself when its last
13518        reference is released, if they haven't already been done.
13519
13520        IWebView::close now also destroys the WebView's HWND. All WebKit
13521        clients were already performing these operations in succession anyway,
13522        or were attempting to by calling IWebView::close then destroying the
13523        WebView's host window (which actually resulted in the WebView's HWND
13524        leaking, and the crash in the below bug).
13525
13526        Fixes <rdar://problem/7374218> <http://webkit.org/b/32827> Crash when
13527        calling IWebView::close, then releasing the WebView, without calling
13528        DestroyWindow
13529
13530        Fixes a few WebViewDestruction tests, too.
13531
13532        Reviewed by Steve Falkenburg.
13533
13534        * WebView.cpp:
13535        (WebView::~WebView): Don't try to destroy m_viewWindow here. That
13536        should already have happened. Assert that this is the case.
13537        (WebView::close): If m_viewWindow isn't already being destroyed,
13538        destroy it now. Moved the call to revokeDragDrop() here from our
13539        WM_DESTROY handler because it needs to be done before m_viewWindow is
13540        nulled out.
13541        (WebView::WebViewWndProc): Removed call to revokeDragDrop() that
13542        close() now performs.
13543        (WebView::Release): If our last reference is being released, call
13544        close() so that clients don't have to. (It's harmless to call close()
13545        multiple times.) We do this here instead of in the destructor because
13546        close() can cause AddRef() and Release() to be called, and calling
13547        those from within the destructor leads to double-destruction.
13548        (WebView::setHostWindow): Removed an unnecessary (and now harmful)
13549        null-check.
13550        (WebView::revokeDragDrop): Changed an assertion into a run-time check,
13551        since this will now sometimes be called when m_viewWindow hasn't been
13552        created yet. Changed the IsWindow call to a null-check because we
13553        never hold onto a destroyed m_viewWindow.
13554        (WebView::windowAncestryDidChange): If we don't have a view window,
13555        stop tracking changes to our parent's active state.
13556
135572010-01-05  Adam Roben  <aroben@apple.com>
13558
13559        Make it safe to call IWebView::close when IWebView::initWithFrame
13560        hasn't been called
13561
13562        Part of <rdar://problem/7374218> <http://webkit.org/b/32827> Crash
13563        when IWebView::close, then releasing the WebView, without calling
13564        DestroyWindow
13565
13566        Reviewed by Steve Falkenburg.
13567
13568        * WebView.cpp:
13569        (WebView::close): Null-check m_page and m_preferences before using
13570        them. They will be null if initWithFrame was never called.
13571
135722010-01-05  Adam Roben  <aroben@apple.com>
13573
13574        Add assertions to catch double-destruction of WebViews earlier
13575
13576        I basically copied the m_deletionHasBegun logic from WTF::RefCounted.
13577
13578        Fixes <http://webkit.org/b/33219>.
13579
13580        Reviewed by Darin Adler.
13581
13582        * WebView.cpp:
13583        (WebView::WebView): Initialize m_deletionHasBegun
13584        (WebView::AddRef): Assert that deletion hasn't already begun.
13585        (WebView::Release): Assert that deletion hasn't already begun, then
13586        record when deletion *does* begin.
13587
13588        * WebView.h: Added m_deletionHasBegun.
13589
135902010-01-05  Adam Roben  <aroben@apple.com>
13591
13592        Remove dead code in WebViewWndProc
13593
13594        Fixes <http://webkit.org/b/33218>.
13595
13596        Reviewed by Darin Adler.
13597
13598        * WebView.cpp:
13599        (WebView::WebViewWndProc): Removed a redundant isBeingDestroyed check.
13600        We bail out much earlier in this function if isBeingDestroyed is true.
13601
136022010-01-04  Jon Honeycutt  <jhoneycutt@apple.com>
13603
13604        MSAA: Accessibility role of <select> elements is wrong
13605
13606        https://bugs.webkit.org/show_bug.cgi?id=33192
13607
13608        Reviewed by Sam Weinig.
13609
13610        * AccessibleBase.cpp:
13611        (MSAARole):
13612        Map WebCore::PopUpButtonRole to MSAA's ROLE_SYSTEM_COMBOBOX.
13613
136142010-01-04  Alexey Proskuryakov  <ap@apple.com>
13615
13616        Reviewed by Darin Adler.
13617
13618        https://bugs.webkit.org/show_bug.cgi?id=33181
13619        The first letter is not removed properly from inline input hole
13620
13621        * WebView.cpp: (WebView::onIMEEndComposition): If composition is ended before it was
13622        confirmed, cancel it.
13623
136242010-01-04  Alexey Proskuryakov  <ap@apple.com>
13625
13626        Reviewed by Darin Adler.
13627
13628        https://bugs.webkit.org/show_bug.cgi?id=33161
13629        Assertion failure in WebView when using Chinese Simplified IME
13630
13631        * WebView.cpp: (WebView::onIMERequestCharPosition): Changed the assertion into release mode
13632        check. We can't make assertions about arguments passed from outside WebKit.
13633
136342010-01-04  Alexey Proskuryakov  <ap@apple.com>
13635
13636        Reviewed by Darin Adler.
13637
13638        https://bugs.webkit.org/show_bug.cgi?id=33157
13639        Implement TextInput logging channel on Windows
13640
13641        * WebKitLogging.cpp: (WebKitInitializeLoggingChannelsIfNecessary):
13642        * WebKitLogging.h:
13643        Added a TextInput channel in place of unused Network one.
13644
13645        * WebView.cpp:
13646        (WebView::WebViewWndProc): Changed onIMERequest to return result directly. We never forward
13647        it to DefWindowProc, so there is no need to return an unused boolean result for "handled".
13648        (WebView::onIMEStartComposition): Added logging.
13649        (imeCompositionArgumentNames): A helper function for detailed logging in onIMEComposition.
13650        (imeNotificationName): A helper function for detailed logging in onIMENotify.
13651        (imeRequestName): A helper function for detailed logging in onIMERequest.
13652        (WebView::onIMEComposition): Added logging.
13653        (WebView::onIMEEndComposition): Ditto.
13654        (WebView::onIMEChar): Ditto.
13655        (WebView::onIMENotify): Ditto.
13656        (WebView::onIMERequestCharPosition): Changed to return result directly.
13657        (WebView::onIMERequestReconvertString): Ditto.
13658        (WebView::onIMERequest): Changed to return result directly. Added logging.
13659        (WebView::onIMESelect): Added logging.
13660        (WebView::onIMESetContext): Added logging.
13661
13662        * WebView.h: onIMERequest functions now return result directly.
13663
13664
136652010-01-04  Adam Roben  <aroben@apple.com>
13666
13667        Add WebKitAPITest
13668
13669        Fixes <http://webkit.org/b/33167>.
13670
13671        Reviewed by Sam Weinig.
13672
13673        * WebKit.vcproj/WebKit.sln: Added WebKitAPITest.vcproj. It builds just
13674        after DumpRenderTree.vcproj.
13675
136762010-01-04  Dan Bernstein  <mitz@apple.com>
13677
13678        Reviewed by Ada Chan and Mark Rowe.
13679
13680        Updated copyright string
13681
13682        * WebKit.vcproj/WebKit.rc:
13683
136842009-12-22  Darin Adler  <darin@apple.com>
13685
13686        Another try at fixing Windows build.
13687
13688        * WebKitPrefix.cpp: Touch it.
13689
136902009-12-22  Darin Adler  <darin@apple.com>
13691
13692        Reviewed by Mark Rowe.
13693
13694        Turn off datagrid by default, at least for all platforms Apple ships.
13695        The datagrid implementation isn't ready for general web use yet.
13696
13697        * WebKit.vcproj/WebKit.vcproj: Turn off datagrid by default.
13698
136992009-12-21  Adam Roben  <aroben@apple.com>
13700
13701        Fix non-ACCELERATED_COMPOSITING builds
13702
13703        * WebPreferences.cpp:
13704        (WebPreferences::acceleratedCompositingEnabled): Guard use of
13705        WKCACFLayerRenderer with USE(ACCELERATED_COMPOSITING).
13706
137072009-12-18  Adam Roben  <aroben@apple.com>
13708
13709        Add IWebPreferencesPrivate::[set]AcceleratedCompositingEnabled
13710
13711        Fixes <http://webkit.org/b/32745>.
13712
13713        Reviewed by Ada Chan.
13714
13715        * Interfaces/IWebPreferencesPrivate.idl: Added
13716        [set]AcceleratedCompositingEnabled.
13717
13718        * Interfaces/WebKit.idl: Touched to force a build.
13719
13720        * WebPreferenceKeysPrivate.h: Added
13721        WebKitAcceleratedCompositingEnabledPreferenceKey.
13722
13723        * WebPreferences.cpp:
13724        (WebPreferences::initializeDefaultSettings): Make accelerated
13725        compositing be on by default.
13726        (WebPreferences::setAcceleratedCompositingEnabled): Store the new
13727        value.
13728        (WebPreferences::acceleratedCompositingEnabled): If accelerated
13729        compositing isn't available, return false. Otherwise, return the value
13730        stored in preferences.
13731
13732        * WebPreferences.h: Added [set]AcceleratedCompositingAvailable.
13733
13734        * WebView.cpp:
13735        (WebView::notifyPreferencesChanged): Just pass the value from
13736        WebPreferences on down.
13737
137382009-12-17  Jon Honeycutt  <jhoneycutt@apple.com>
13739
13740        MSAA: Accessibility role of list items is wrong
13741
13742        https://bugs.webkit.org/show_bug.cgi?id=32688
13743
13744        Reviewed by Adam Roben.
13745
13746        * AccessibleBase.cpp:
13747        (MSAARole):
13748        Make the WebCore list item role map to the MSAA list item role.
13749
137502009-12-17  Jon Honeycutt  <jhoneycutt@apple.com>
13751
13752        MSAA: Accessibility role of list markers is wrong
13753
13754        https://bugs.webkit.org/show_bug.cgi?id=32687
13755
13756        Reviewed by Adam Roben.
13757
13758        * AccessibleBase.cpp:
13759        (MSAARole):
13760        Make the WebCore list marker role map to the MSAA static text role.
13761
137622009-12-18  Adam Roben  <aroben@apple.com>
13763
13764        Add #includes needed after WebCore clean-up
13765
13766        Rubber-stamped by Anders Carlsson.
13767
13768        Fixes <http://webkit.org/b/32718>.
13769
13770        * WebCoreSupport/WebContextMenuClient.cpp:
13771        * WebDataSource.cpp:
13772        * WebHTMLRepresentation.cpp:
13773        * WebView.cpp:
13774        * WebView.h:
13775
137762009-12-17  Benjamin Otte  <otte@gnome.org>
13777
13778        Reviewed by Adam Roben.
13779
13780        Don't include all JSC headers everywhere
13781        https://bugs.webkit.org/show_bug.cgi?id=32663
13782
13783        * WebCoreLocalizedStrings.cpp: Added now-needed #include of
13784        MathExtras.h.
13785
137862009-12-17  Adam Roben  <aroben@apple.com>
13787
13788        Remove WebKit.sln's Debug_All and Debug_Internal configurations
13789
13790        These configurations aren't buildable by people outside of Apple, and
13791        Apple doesn't use this solution file.
13792
13793        Fixes <http://webkit.org/b/31000> Windows WebKit Build Configuration
13794        should default to Debug instead of Debug_all.
13795
13796        Rubber-stamped by Dan Bernstein.
13797
13798        * WebKit.vcproj/WebKit.sln:
13799
138002009-12-16  Jon Honeycutt  <jhoneycutt@apple.com>
13801
13802        MSAA: Accessibility role of text nodes is wrong
13803
13804        https://bugs.webkit.org/show_bug.cgi?id=32631
13805        <rdar://problem/7369084>
13806
13807        Reviewed by Alice Liu.
13808
13809        * AccessibleBase.cpp:
13810        (MSAARole):
13811        If the role is WebCore::EditableTextRole, return ROLE_SYSTEM_TEXT.
13812        (AccessibleBase::role):
13813        Call roleValueForMSAA().
13814
138152009-12-14  Brent Fulgham  <bfulgham@webkit.org>
13816
13817        Reviewed by Adam Roben.
13818
13819        Provide working printing support for WinCairo port.
13820
13821        * WebFrame.cpp:
13822        (WebFrame::spoolPage): Conditionalize initialization of
13823          PlatformGraphicsContext handling for CG vs. Cairo.
13824        (scaleFactor): Add helper function.
13825        (hdcFromContext): Add helper function.
13826        (WebFrame::drawHeader): Correct Cairo variation.
13827        (WebFrame::drawFooter): Correct Cairo variation.
13828        (WebFrame::spoolPages): Correct Cairo variation.
13829
138302009-12-13  Sam Weinig  <sam@webkit.org>
13831
13832        Reviewed by Dan Bernstein.
13833
13834        Fix for https://bugs.webkit.org/show_bug.cgi?id=32499
13835        Add client based Geolocation provider
13836
13837        Add first cut of a client based Geolocation provider. This is guarded by
13838        ENABLE(CLIENT_BASED_GEOLOCATION) and is off by default for now. This adds a
13839        GeolocationControllerClient interface that no-one currently implements,
13840        but will in a subsequent patch.
13841
13842        * WebView.cpp:
13843        (WebView::initWithFrame):
13844
138452009-12-14  Adam Roben  <aroben@apple.com>
13846
13847        Change IWebFramePrivate's vtable to be compatible with Safari 4.0.4
13848
13849        Reviewed by Steve Falkenburg.
13850
13851        Fixes <http://webkit.org/b/32433> REGRESSION (r51567): Right click on
13852        a link element crashes WebKit nightly
13853
13854        * Interfaces/IWebFramePrivate.idl: Moved pauseSVGAnimation to the end
13855        of the interface so the vtable that Safari 4.0.4 sees is unchanged.
13856
138572009-12-14  Adam Roben  <aroben@apple.com>
13858
13859        Build fix
13860
13861        * WebKit.vcproj/WebKit.vcproj: Added $(DXSDK_DIR)\Lib\x86 to the
13862        libpath for all non-Cairo configurations (it was missing from most of
13863        them).
13864
138652009-12-11  Chris Marrin  <cmarrin@apple.com>
13866
13867        Reviewed by Jon Honeycutt.
13868
13869        Added icons for full-screen video on Windows
13870        https://bugs.webkit.org/show_bug.cgi?id=31318
13871
13872        * WebKit.vcproj/WebKit.rc:
13873        * WebKit.vcproj/WebKit.vcproj:
13874        * WebKit.vcproj/fsVideoAudioVolumeHigh.png: Added.
13875        * WebKit.vcproj/fsVideoAudioVolumeLow.png: Added.
13876        * WebKit.vcproj/fsVideoExitFullscreen.png: Added.
13877        * WebKit.vcproj/fsVideoPause.png: Added.
13878        * WebKit.vcproj/fsVideoPlay.png: Added.
13879        * WebKit.vcproj/resource.h:
13880
138812009-12-11  Chris Marrin  <cmarrin@apple.com>
13882
13883        Reviewed by Adam Roben.
13884
13885        Delay load DLLs for accelerated compositing
13886        https://bugs.webkit.org/show_bug.cgi?id=31856
13887        
13888        If the DLLs (d3d9 and QuartzCore). are not present it
13889        turns off accelerated compositing and avoids calling 
13890        any of the functions in the DLLs.
13891
13892        * WebView.cpp:
13893        (WebView::notifyPreferencesChanged):
13894
138952009-12-10  Jon Honeycutt  <jhoneycutt@apple.com>
13896
13897        Pass more information about a plug-in to the PluginHalterDelegate
13898
13899        Reviewed by Adam Roben.
13900
13901        * Interfaces/IWebPluginHalterDelegate.idl:
13902        Add new parameters.
13903
13904        * WebCoreSupport/WebPluginHalterClient.cpp:
13905        (WebPluginHalterClient::shouldHaltPlugin):
13906        Update for new parameters. Pass them when making the delegate call.
13907
13908        * WebCoreSupport/WebPluginHalterClient.h:
13909        Update for new parameters.
13910
139112009-12-09  Brent Fulgham  <bfulgham@webkit.org>
13912
13913        Revert incorrect commit-box update r51911.
13914        It mistakenly set the selectAll implementation in the
13915        deslectAll method. 
13916
13917        * WebFrame.cpp:
13918        (WebFrame::deselectAll):
13919
139202009-12-09  Brent Fulgham  <bfulgham@webkit.org>
13921
13922        Reviewed by Darin Adler.
13923
13924        Provide an implementation for 'selectAll'
13925        https://bugs.webkit.org/show_bug.cgi?id=32296
13926
13927        * WebFrame.cpp:
13928        (WebFrame::selectAll): Implement "SelectAll" command.
13929
139302009-12-09  Brent Fulgham  <bfulgham@webkit.org>
13931
13932        Reviewed by Darin Adler.
13933
13934        Provide an implementation for 'selectAll'
13935        https://bugs.webkit.org/show_bug.cgi?id=32296
13936
13937        * WebFrame.cpp:
13938        (WebFrame::selectAll): Implement "SelectAll" command.
13939
139402009-12-08  Chris Marrin  <cmarrin@apple.com>
13941
13942        Reviewed by Adam Roben.
13943
13944        Delay load DLLs for accelerated compositing
13945        https://bugs.webkit.org/show_bug.cgi?id=31856
13946        
13947        If the DLLs (d3d9 and QuartzCore). are not present it
13948        turns off accelerated compositing and avoids calling 
13949        any of the functions in the DLLs.
13950
13951        * WebView.cpp:
13952        * WebView.h:
13953
139542009-12-08  Adam Roben  <aroben@apple.com>
13955
13956        Windows build fix
13957
13958        * Interfaces/WebKit.idl: Touched this to force Interfaces.vcproj to rebuild.
13959
139602009-12-08  John Sullivan  <sullivan@apple.com>
13961
13962        Reviewed by Dan Bernstein
13963
13964        Split two-clause assertions into two separate assertions.
13965
13966        * DOMHTMLClasses.cpp:
13967        (DOMHTMLInputElement::isTextField):
13968        Split a two-clause assertion into two separate assertions.
13969        (DOMHTMLInputElement::rectOnScreen):
13970        Added the two assertions here that all other functions in this group shared.
13971        (DOMHTMLInputElement::selectedRange):
13972        Split a two-clause assertion into two separate assertions.
13973        (DOMHTMLInputElement::setAutofilled):
13974        Split a two-clause assertion into two separate assertions.
13975        (DOMHTMLInputElement::isAutofilled):
13976        Split a two-clause assertion into two separate assertions.
13977
139782009-12-08  Nikolas Zimmermann  <nzimmermann@rim.com>
13979
13980        Rubber-stamped by Maciej Stachowiak.
13981
13982        Turn on (SVG) Filters for Win.
13983        https://bugs.webkit.org/show_bug.cgi?id=32224
13984
13985        * WebKit.vcproj/WebKit.vcproj:
13986
139872009-12-08  John Sullivan  <sullivan@apple.com>
13988
13989        Add isAutofilled getter to match existing setter.
13990
13991        Reviewed by Ada Chan.
13992
13993        * DOMHTMLClasses.cpp:
13994        (DOMHTMLInputElement::isAutofilled):
13995        Implemented new cover function.
13996        
13997        * DOMHTMLClasses.h:
13998        Declared new cover function.
13999        
14000        * Interfaces/DOMPrivate.idl:
14001        Declared new interface.
14002
140032009-12-07  Gavin Barraclough  <barraclough@apple.com>
14004
14005        Reviewed by NOBODY (Windows build fix part III).
14006
14007        * WebView.cpp:
14008        (WebView::stringByEvaluatingJavaScriptFromString):
14009
140102009-12-07  Gavin Barraclough  <barraclough@apple.com>
14011
14012        Reviewed by NOBODY (Windows build fix part II).
14013
14014        * WebView.cpp:
14015        (WebView::stringByEvaluatingJavaScriptFromString):
14016
140172009-12-03  Brady Eidson  <beidson@apple.com>
14018
14019        Reviewed by Sam Weinig.
14020
14021        <rdar://problem/7214236> and http://webkit.org/b/32052 - Implement HTML5 state object history API
14022
14023        * Interfaces/IWebFrameLoadDelegatePrivate2.idl:
14024        * WebCoreSupport/WebFrameLoaderClient.cpp:
14025        (WebFrameLoaderClient::dispatchDidPushStateWithinPage):
14026        (WebFrameLoaderClient::dispatchDidReplaceStateWithinPage):
14027        (WebFrameLoaderClient::dispatchDidPopStateWithinPage):
14028        * WebCoreSupport/WebFrameLoaderClient.h:
14029
140302009-12-03  Pavel Feldman  <pfeldman@dhcp-172-28-174-220.spb.corp.google.com>
14031
14032        Reviewed by Timothy Hatcher.
14033
14034        Web Inspector: Simplify the settings support in inspector controller.
14035
14036        https://bugs.webkit.org/show_bug.cgi?id=32076
14037
14038        * WebCoreSupport/WebInspectorClient.cpp:
14039        (WebInspectorClient::attachWindow):
14040        (WebInspectorClient::detachWindow):
14041        (WebInspectorClient::showWindowWithoutNotifications):
14042        * WebCoreSupport/WebInspectorClient.h:
14043
140442009-12-03  Ben Murdoch  <benm@google.com>
14045
14046        Reviewed by Brady Eidson.
14047
14048        [Android] The FrameLoaderClient is unaware of BackForwardList changes.
14049        https://bugs.webkit.org/show_bug.cgi?id=31914
14050
14051        * WebCoreSupport/WebFrameLoaderClient.cpp:
14052        (WebFrameLoaderClient::dispatchDidAddBackForwardItem): Add an empty implementation. Method added to FrameLoaderClient by Android (see bug).
14053        (WebFrameLoaderClient::dispatchDidRemoveBackForwardItem): ditto.
14054        (WebFrameLoaderClient::dispatchDidChangeBackForwardIndex): ditto.
14055        * WebCoreSupport/WebFrameLoaderClient.h:
14056
140572009-12-02  Timothy Hatcher  <timothy@apple.com>
14058
14059        Move setValueForUser to the end of the DOMHTMLInputElement interface
14060        so it is fine for binary compatibility.
14061
14062        Directed by Steve Falkenburg.
14063
14064        * Interfaces/DOMHTML.idl:
14065
140662009-12-02  Timothy Hatcher  <timothy@apple.com>
14067
14068        Expose setValueForUser for the COM DOMHTMLInputElement.
14069
14070        <rdar://problem/6760590> Would like a way to detect a login form AutoFill from JavaScript
14071
14072        Reviewed by Dan Bernstein.
14073
14074        * DOMHTMLClasses.cpp:
14075        (DOMHTMLInputElement::setValueForUser):
14076        * Interfaces/DOMHTML.idl:
14077
140782009-12-01  Nikolas Zimmermann  <nzimmermann@rim.com>
14079
14080        Not reviewed. Try to fix windows build.
14081
14082        * WebFrame.cpp:
14083
140842009-12-01  Nikolas Zimmermann  <nzimmermann@rim.com>
14085
14086        Reviewed by Simon Fraser.
14087
14088        Add SVG animation test framework with 'snapshot' functionality
14089        https://bugs.webkit.org/show_bug.cgi?id=31897
14090
14091        Add API used by the new 'sampleSVGAnimationForElementAtTime' DRT method,
14092        forwarding the call to SVGDocumentExtensions, if SVG is enabled.
14093
14094        Implemented just like the existing pauseAnimation* methods for CSS animations.
14095
14096        * Interfaces/IWebFramePrivate.idl:
14097        * WebFrame.cpp:
14098        (WebFrame::pauseSVGAnimation):
14099        * WebFrame.h:
14100
141012009-11-30  Adam Roben  <aroben@apple.com>
14102
14103        Fix double-free of BSTRs passed to WebNavigationData::createInstance
14104
14105        WebFrameLoaderClient::updateGlobalHistory was converting
14106        WebCore::Strings to WebCore::BStrings, then passing them to
14107        WebNavigationData::createInstance. But the latter function takes BSTR
14108        parameters and adopts them into WebCore::BStrings. So the end result
14109        was that two WebCore::BStrings would end up freeing each underlying
14110        BSTR.
14111
14112        The fix is to only convert to WebCore::BString inside
14113        WebNavigationData.
14114
14115        Fixes <http://webkit.org/b/31998> <rdar://problem/7383452> REGRESSION
14116        (r49564): Crash in updateGlobalHistory when running Javascript iBench
14117        test
14118
14119        I couldn't find a way to reproduce this in DumpRenderTree.
14120
14121        Reviewed by Steve Falkenburg.
14122
14123        * WebCoreSupport/WebFrameLoaderClient.cpp:
14124        (WebFrameLoaderClient::updateGlobalHistory): Pass WebCore::Strings to
14125        WebNavigationData::createInstance.
14126
14127        * WebNavigationData.cpp:
14128        (WebNavigationData::WebNavigationData):
14129        (WebNavigationData::createInstance):
14130        * WebNavigationData.h:
14131        Changed to take const WebCore::String&s instead of BSTRs and to
14132        convert the Strings to BStrings at this level.
14133
141342009-11-30  Steve Falkenburg  <sfalken@apple.com>
14135
14136        Reviewed by Adam Roben.
14137
14138        WebKit clients that don't implement didClearWindowObjectForFrameInScriptWorld should fall back to didClearWindowObject
14139        https://bugs.webkit.org/show_bug.cgi?id=31986
14140
14141        * WebFrame.cpp:
14142        (WebFrame::dispatchDidClearWindowObjectInWorld): Fall back if E_NOTIMPL returned.
14143
141442009-11-24  Chris Marrin  <cmarrin@apple.com>
14145
14146        Another Windows build fix
14147        
14148        Got rid of d3d.lib and d3dx9.lib dependency. Not needed until
14149        we turn on ACCELERATED_COMPOSITING
14150
14151        * WebKit.vcproj/WebKit.vcproj:
14152
141532009-11-24  Chris Marrin  <cmarrin@apple.com>
14154
14155        Fixed Windows build
14156        
14157        Got rid of QuartzCore.lib dependency. Not needed until
14158        we turn on ACCELERATED_COMPOSITING
14159
14160        * WebKit.vcproj/WebKit.vcproj:
14161
141622009-11-24  Chris Marrin  <cmarrin@apple.com>
14163
14164        Reviewed by Simon Fraser.
14165
14166        Implement accelerated compositing
14167        https://bugs.webkit.org/show_bug.cgi?id=27314
14168        
14169        This is the WebKit side of the implementation. It plumbs the root layer
14170        from WebCore. It also makes changes to WebView which places the 
14171        backing store of the page into the root compositing layer so it is 
14172        properly composited with all the other layers. This deals with resizing, 
14173        scrolling, and incremental repaint of the page.
14174
14175        * WebCoreSupport/WebChromeClient.cpp:
14176        (WebChromeClient::attachRootGraphicsLayer):
14177        (WebChromeClient::scheduleCompositingLayerSync):
14178        * WebCoreSupport/WebChromeClient.h:
14179        (WebChromeClient::setNeedsOneShotDrawingSynchronization):
14180        * WebKit.vcproj/WebKit.vcproj:
14181        * WebView.cpp:
14182        (WebView::WebView):
14183        (WebView::close):
14184        (WebView::repaint):
14185        (WebView::scrollBackingStore):
14186        (WebView::paint):
14187        (WebViewWndProc):
14188        (WebView::setRootChildLayer):
14189        (WebView::setAcceleratedCompositing):
14190        (WebView::setRootLayerContents):
14191        * WebView.h:
14192        (WebView::isAcceleratedCompositing):
14193        (WebView::resizeLayerWindow):
14194        (WebView::layerWindowBecameVisible):
14195        (WebView::setRootLayerNeedsDisplay):
14196
141972009-11-23  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
14198
14199        Reviewed by Kenneth Rohde Christiansen.
14200
14201        Include "config.h" to meet Coding Style Guidelines
14202        https://bugs.webkit.org/show_bug.cgi?id=31792
14203
14204        * GEN_DOMObject.cpp:
14205        * WebScriptObject.cpp:
14206
142072009-11-21  Jon Honeycutt  <jhoneycutt@apple.com>
14208
14209        Windows build fix. Unreviewed.
14210
14211        * Interfaces/IWebSerializedJSValue.idl:
14212
142132009-11-20  Jon Honeycutt  <jhoneycutt@apple.com>
14214
14215        DOMElement::tagName() is unimplemented
14216
14217        https://bugs.webkit.org/show_bug.cgi?id=31746
14218
14219        Reviewed by Darin Adler.
14220
14221        * DOMCoreClasses.cpp:
14222        (DOMElement::tagName):
14223        Create a BString from the element's tag name, and release its BSTR
14224        into result.
14225
142262009-11-20  Jon Honeycutt  <jhoneycutt@apple.com>
14227
14228        DOMNode::childNodes() is unimplemented
14229
14230        https://bugs.webkit.org/show_bug.cgi?id=31745
14231
14232        Reviewed by Darin Adler.
14233
14234        * DOMCoreClasses.cpp:
14235        (DOMNode::childNodes):
14236        Create a DOMNodeList from the node's child nodes.
14237
142382009-11-20  Dave Hyatt  <hyatt@apple.com>
14239
14240        Reviewed by Jon Honeycutt.
14241
14242        Change WebSerializedJSValue on Windows to have a zero-argument createInstance call.  Move the
14243        serialization into a separate serialize() function that can be called after the object has been
14244        created.
14245
14246        Fix a typo in serialize() caused when fixing build bustage (put a ! back in).
14247
14248        * Interfaces/IWebSerializedJSValue.idl:
14249        * WebSerializedJSValue.cpp:
14250        (WebSerializedJSValue::WebSerializedJSValue):
14251        (WebSerializedJSValue::createInstance):
14252        (WebSerializedJSValue::serialize):
14253        (WebSerializedJSValue::deserialize):
14254        * WebSerializedJSValue.h:
14255
142562009-11-20  Brian Weinstein  <bweinstein@apple.com>
14257
14258        Reviewed by Dave Hyatt.
14259
14260        Another go at the Windows Build Fix - this is a couple steps of it,
14261        so a little more involved than most build fixes.
14262
14263        * Interfaces/IWebSerializedJSValue.idl:
14264        * Interfaces/JavaScriptCoreAPITypes.idl:
14265        * WebKit.vcproj/Interfaces.vcproj:
14266        * WebSerializedJSValue.cpp:
14267        (WebSerializedJSValue::deserialize):
14268        * WebSerializedJSValue.h:
14269
142702009-11-20  Brian Weinstein  <bweinstein@apple.com>
14271
14272        Reviewed by Dave Hyatt.
14273
14274        Build fix for Windows - only declare JSContextRef once, instead
14275        of in two different idl files. Create a new file to hold the
14276        definition of JSContextRef.
14277
14278        * Interfaces/IWebFrameLoadDelegate.idl:
14279        * Interfaces/IWebSerializedJSValue.idl:
14280        * Interfaces/JavaScriptCoreAPITypes.idl: Added.
14281        * Interfaces/WebKit.idl:
14282        * WebKit.vcproj/Interfaces.vcproj:
14283
142842009-11-20  Dave Hyatt  <hyatt@apple.com>
14285
14286        Reviewed by Oliver Hunt and Jon Honeycutt.
14287
14288        Add support for WebSerializedJSValue to WebKit.  This object wraps the SerializedScriptValue functionality in WebCore
14289        and exposes the ability to do JS value serialization/deserialization to WebKit clients.
14290
14291        * Interfaces/IWebSerializedJSValue.idl: Added.
14292        * Interfaces/WebKit.idl:
14293        * WebKit.vcproj/WebKit.vcproj:
14294        * WebSerializedJSValue.cpp: Added.
14295        (WebSerializedJSValue::WebSerializedJSValue):
14296        (WebSerializedJSValue::~WebSerializedJSValue):
14297        (WebSerializedJSValue::createInstance):
14298        (WebSerializedJSValue::AddRef):
14299        (WebSerializedJSValue::Release):
14300        (WebSerializedJSValue::QueryInterface):
14301        (WebSerializedJSValue::deserialize):
14302        * WebSerializedJSValue.h: Added.
14303
143042009-11-19  Alexey Proskuryakov  <ap@apple.com>
14305
14306        Reviewed by Darin Adler.
14307
14308        https://bugs.webkit.org/show_bug.cgi?id=31690
14309        Make SocketStreamHandleCFNet work on Windows
14310
14311        * WebDownloadCFNet.cpp:
14312        (WebDownload::init):
14313        (WebDownload::initWithRequest):
14314        (WebDownload::initToResumeWithBundle):
14315        Update for loaderRunLoop() now being in its own header.
14316
143172009-11-19  Eric Carlson  <eric.carlson@apple.com>
14318
14319        Reviewed by Dan Bernstein.
14320
14321        <rdar://problem/7035231>
14322        Support closed caption in <video> element
14323
14324        * WebCoreLocalizedStrings.cpp:
14325        (WebCore::localizedMediaControlElementString):
14326        (WebCore::localizedMediaControlElementHelpText):
14327            Add accessibility help strings for media controller closed caption button.
14328
143292009-11-18  Michelangelo De Simone  <micdesim@gmail.com>
14330
14331        Reviewed by Darin Adler.
14332
14333        Fix for <https://bugs.webkit.org/show_bug.cgi?id=27959>.
14334        Support for validationMessage attribute, as per HTML5 specs.
14335
14336        * WebCoreLocalizedStrings.cpp:
14337        (WebCore::validationMessageValueMissingText):
14338        (WebCore::validationMessageTypeMismatchText):
14339        (WebCore::validationMessagePatternMismatchText):
14340        (WebCore::validationMessageTooLongText):
14341        (WebCore::validationMessageRangeUnderflowText):
14342        (WebCore::validationMessageRangeOverflowText):
14343        (WebCore::validationMessageStepMismatchText):
14344
143452009-11-18  Daniel Bates  <dbates@webkit.org>
14346
14347        Reviewed by Darin Adler.
14348
14349        https://bugs.webkit.org/show_bug.cgi?id=31186
14350
14351        Changes associated with renaming RenderTextControl::isUserEdited.
14352
14353        * DOMHTMLClasses.cpp:
14354        (DOMHTMLInputElement::isUserEdited): Formerly named isUserEdited.
14355        (DOMHTMLTextAreaElement::isUserEdited): Ditto.
14356
143572009-11-12  Jon Honeycutt  <jhoneycutt@apple.com>
14358
14359        Implement DOMHTMLInputElement::replaceCharactersInRange().
14360
14361        https://bugs.webkit.org/show_bug.cgi?id=31492
14362
14363        Reviewed by Dan Bernstein.
14364
14365        * DOMHTMLClasses.cpp:
14366        (DOMHTMLInputElement::replaceCharactersInRange):
14367        Get the text of the input field. Replace the given range with the
14368        replacement text, and set this new string as the input element's value.
14369        Select from index to the end of the field. This matches the
14370        implementation in the Obj-C bindings.
14371
143722009-11-12  Jon Honeycutt  <jhoneycutt@apple.com>
14373
14374        DOMHTMLOptionElement is missing some functionality.
14375
14376        https://bugs.webkit.org/show_bug.cgi?id=31491
14377
14378        Reviewed by Dan Bernstein.
14379
14380        * DOMHTMLClasses.cpp:
14381        (DOMHTMLOptionElement::text):
14382        Cast m_element to an HTMLOptionElement, and call its text() function.
14383        (DOMHTMLOptionElement::label):
14384        Ditto, for label().
14385
143862009-11-12  Jon Honeycutt  <jhoneycutt@apple.com>
14387
14388        DOMHTMLSelectElement is missing some implementation.
14389
14390        https://bugs.webkit.org/show_bug.cgi?id=31489
14391
14392        Reviewed by Dan Bernstein.
14393
14394        * DOMHTMLClasses.cpp:
14395        (DOMHTMLSelectElement::options):
14396        Cast m_element to an HTMLSelectElement. If it has no options, return
14397        E_FAIL. Otherwise, create a DOMHTMLOptionsCollection to wrap the
14398        options, and return it.
14399        (DOMHTMLSelectElement::activateItemAtIndex):
14400        If the index is out of bounds, return E_FAIL. Otherwise, select the
14401        item.
14402
144032009-11-12  Jon Honeycutt  <jhoneycutt@apple.com>
14404
14405        DOMHTMLOptionsCollection is missing some implementation.
14406
14407        https://bugs.webkit.org/show_bug.cgi?id=31488
14408
14409        Reviewed by Dan Bernstein.
14410
14411        * DOMHTMLClasses.cpp:
14412        (DOMHTMLOptionsCollection::DOMHTMLOptionsCollection):
14413        Initialize m_collection.
14414        (DOMHTMLOptionsCollection::createInstance):
14415        Create a DOMHTMLOptionsCollection. If we fail to query for
14416        IDOMHTMLOptionsCollection, delete it, and return 0. Otherwise, return
14417        the result.
14418        (DOMHTMLOptionsCollection::length):
14419        (DOMHTMLOptionsCollection::item):
14420        Create a DOMNode for the WebCore Node. If this is 0, return E_FAIL.
14421        (DOMHTMLOptionsCollection::namedItem):
14422        Correct the signature of this function.
14423
14424        * DOMHTMLClasses.h:
14425        Declare DOMHTMLOptionsCollection::createInstance(). Correct the
14426        signature of namedItem() to match IDOMHTMLOptionsCollection. Add a
14427        member to DOMHTMLOptionsCollection to hold the WebCore object.
14428
144292009-11-12  Jon Honeycutt  <jhoneycutt@apple.com>
14430
14431        DOMHTMLInputElement::rectOnScreen() returns the wrong rect
14432
14433        https://bugs.webkit.org/show_bug.cgi?id=31487
14434
14435        Reviewed by Darin Adler.
14436
14437        * DOMHTMLClasses.cpp:
14438        (DOMHTMLInputElement::rectOnScreen):
14439        Return the rect on screen, not the rect in the window.
14440
144412009-11-17  Brent Fulgham  <bfulgham@webkit.org>
14442
14443        Reviewed by NOBODY - Build Fix.
14444
14445        Correct build error in Debug_Cairo target after @49705.
14446
14447        * WebKit.vcproj/WebKit.vcproj: Revise JavaScriptCore.lib
14448          dependency to have proper "_debug" suffix needed by
14449          the Debug_Cairo target.
14450
144512009-11-17  Brian Weinstein  <bweinstein@apple.com>
14452
14453        Reviewed by NOBODY - Build Fix.
14454
14455        Touch files to try to fix the build.
14456
14457        * Interfaces/IWebInspector.idl:
14458        * Interfaces/WebKit.idl:
14459        * WebKit.vcproj/Interfaces.vcproj:
14460
144612009-11-17  Pavel Feldman  <pfeldman@chromium.org>
14462
14463        Reviewed by Timothy Hatcher.
14464
14465        Web Inspector: Make DRT show web inspector for tests in inspector/ folder.
14466        - Updated DRT to show/close inspector for all tests under /inspector
14467        - Introduced LayoutTestController::setTimelineProfilingEnabled and
14468          WebInspector::setTimelineProfilingEnabled beside setJavaScriptProfilingEnabled
14469        - Removed reload on each inspector test
14470        - Renamed fast/inspector to fast/inspector-support in order not to trigger
14471        inspector for those.
14472        - Reimplemented timeline tests in order to get rid of reload there.
14473        - Moved tests that don't require harness into the fast group.
14474
14475        https://bugs.webkit.org/show_bug.cgi?id=31472
14476
14477        * Interfaces/IWebInspector.idl:
14478        * WebInspector.cpp:
14479        (WebInspector::isTimelineProfilingEnabled):
14480        (WebInspector::setTimelineProfilingEnabled):
14481        * WebInspector.h:
14482
144832009-11-13  Adam Roben  <aroben@apple.com>
14484
14485        Build fix
14486
14487        * Interfaces/WebKit.idl: Touch this to force interfaces to rebuild.
14488
144892009-11-13  Adam Roben  <aroben@apple.com>
14490
14491        Tell the WebFrameLoadDelegate when window objects in isolated worlds
14492        are cleared
14493
14494        Fixes <http://webkit.org/b/31124>.
14495
14496        Reviewed by Dave Hyatt.
14497
14498        * Interfaces/IWebFrameLoadDelegatePrivate2.idl: Added
14499        didClearWindowObjectForFrameInScriptWorld.
14500
14501        * WebFrame.cpp:
14502        (WebFrame::dispatchDidClearWindowObjectInWorld):
14503        * WebFrame.h:
14504        Replaced windowObjectCleared with this function. If the delegate
14505        implements IWebFrameLoadDelegatePrivate2, call
14506        didClearWindowObjectForFrameInScriptWorld. Otherwise, if the passed-in
14507        world is the mainThreadNormalWorld(), call
14508        didClearWindowObjectForFrame.
14509
14510        * WebScriptWorld.cpp:
14511        (allWorlds): Added. Returns a HashMap of all the WebScriptWorlds in
14512        existence.
14513        (WebScriptWorld::WebScriptWorld): Add ourselves to allWorlds().
14514        (WebScriptWorld::~WebScriptWorld): Remove ourselves from allWorlds().
14515        (WebScriptWorld::standardWorld): Added this non-COM getter for the
14516        standard world, which the COM getter now calls through to.
14517        (WebScriptWorld::findOrCreateWorld): Added. Returns the existing
14518        WebScriptWorld for this DOMWrapperWorld, or a new one if one doesn't
14519        already exist.
14520
14521        * WebScriptWorld.h: Added new standardWorld overload, made one
14522        overload of createInstance private, and added findOrCreateWorld.
14523
145242009-11-13  Adam Roben  <aroben@apple.com>
14525
14526        Build fix
14527
14528        * Interfaces/WebKit.idl: Un-sort the #includes again. Apparently they
14529        are order-dependent!
14530
145312009-11-13  Adam Roben  <aroben@apple.com>
14532
14533        Touch WebKit.idl to fix the Windows build
14534
14535        * Interfaces/WebKit.idl: Sorted #includes.
14536
145372009-11-13  Adam Roben  <aroben@apple.com>
14538
14539        Finish replacing worldIDs with world objects
14540
14541        The only remaining use of worldIDs was in a method only used by DRT
14542        for the isolated worlds tests.
14543
14544        Fixes <http://webkit.org/b/31414> Replace worldIDs with world objects
14545
14546        Reviewed by Mark Rowe.
14547
14548        * Interfaces/IWebFramePrivate.idl:
14549        * WebFrame.cpp:
14550        (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
14551        * WebFrame.h:
14552        Renamed from stringByEvaluatingJavaScriptInIsolatedWorld. Now takes an
14553        IWebScriptWorld instead of a worldID, so we don't need to maintain a
14554        map of worldID -> world anymore.
14555
145562009-11-12  Shinichiro Hamaji  <hamaji@chromium.org>
14557
14558        Reviewed by Darin Adler.
14559
14560        externalRepresentation should take Frame as the argument
14561        https://bugs.webkit.org/show_bug.cgi?id=31393
14562
14563        No new tests as this is just a refactoring.
14564
14565        * WebFrame.cpp:
14566        (WebFrame::renderTreeAsExternalRepresentation):
14567
145682009-11-12  Adam Roben  <aroben@apple.com>
14569
14570        Replace worldIDs with world objects
14571
14572        WebScriptWorld is the new object that represents a world.  The only
14573        place worldID is still used is in
14574        IWebFramePrivate::stringByEvaluatingJavaScriptInIsolatedWorld, but
14575        that will change soon.
14576
14577        Part of <http://webkit.org/b/31414> Implement new SPI for dealing with
14578        user scripts/stylesheets and isolated worlds
14579
14580        Reviewed by Sam Weinig.
14581
14582        * ForEachCoClass.h: Added WebScriptWorld.
14583
14584        * Interfaces/IWebFramePrivate.idl: Replaced contextForWorldID with
14585        contextForWorld.
14586
14587        * Interfaces/IWebScriptWorld.idl: Added.
14588
14589        * Interfaces/IWebViewPrivate.idl: Changed the user script/stylesheet
14590        functions to take an IWebScriptWorld instead of a worldID.
14591
14592        * Interfaces/WebKit.idl: Added WebScriptWorld.
14593
14594        * WebFrame.cpp:
14595        (WebFrame::contextForWorld): Renamed from contextForWorldID. Now takes
14596        an IWebScriptWorld.
14597        (WebFrame::stringByEvaluatingJavaScriptInIsolatedWorld): Moved the
14598        bizarre world caching/creation logic that DRT depends on here from the
14599        findWorld function in ScriptController.cpp. Updated to use
14600        ScriptController::executeScriptInWorld instead of
14601        ScriptController::executeScriptInIsolatedWorld.
14602
14603        * WebFrame.h: Replaced contextForWorldID with contextForWorld.
14604
14605        * WebScriptWorld.cpp: Added.
14606        (WebScriptWorld::WebScriptWorld):
14607        (WebScriptWorld::~WebScriptWorld):
14608        (WebScriptWorld::createInstance):
14609        (WebScriptWorld::AddRef):
14610        (WebScriptWorld::Release):
14611        (WebScriptWorld::QueryInterface):
14612        Standard COM class implementations.
14613
14614        (WebScriptWorld::standardWorld): Returns a shared instance that represents
14615        WebCore's mainThreadNormalWorld().
14616
14617        * WebScriptWorld.h: Added.
14618        (WebScriptWorld::world): Simple getter.
14619
14620        * WebKit.vcproj/Interfaces.vcproj: Added IWebScriptWorld.idl.
14621
14622        * WebKit.vcproj/WebKit.vcproj: Added WebScriptWorld.
14623
14624        * WebKitClassFactory.cpp: Added WebScriptWorld.
14625
14626        * WebView.cpp:
14627        (WebView::addUserScriptToGroup):
14628        (WebView::addUserStyleSheetToGroup):
14629        (WebView::removeUserScriptFromGroup):
14630        (WebView::removeUserStyleSheetFromGroup):
14631        (WebView::removeUserScriptsFromGroup):
14632        (WebView::removeUserStyleSheetsFromGroup):
14633        * WebView.h:
14634        Changed these functions to take an IWebScriptWorld instead of a worldID.
14635
146362009-11-12  Adam Roben  <aroben@apple.com>
14637
14638        Small clean-up in WebView's user content functions
14639
14640        Preparation for <http://webkit.org/b/31414> Implement new SPI for
14641        dealing with user scripts/stylesheets and isolated worlds
14642
14643        Reviewed by Dave Hyatt.
14644
14645        * WebView.cpp:
14646        (toString):
14647        (toKURL):
14648        Added these helper functions to convert BSTRs to WebCore types.
14649
14650        (toStringVector):
14651        (WebView::addUserScriptToGroup):
14652        (WebView::addUserStyleSheetToGroup):
14653        (WebView::removeUserScriptFromGroup):
14654        (WebView::removeUserStyleSheetFromGroup):
14655        (WebView::removeUserScriptsFromGroup):
14656        (WebView::removeUserStyleSheetsFromGroup):
14657        (WebView::removeAllUserContentFromGroup):
14658        Use the new helper functions.
14659
146602009-11-11  Beth Dakin  <bdakin@apple.com>
14661
14662        Build fix. No review needed.
14663
14664        * WebKitGraphics.cpp:
14665        (WebDrawText):
14666
146672009-11-10  Daniel Bates  <dbates@webkit.org>
14668
14669        Reviewed by Oliver Hunt.
14670
14671        https://bugs.webkit.org/show_bug.cgi?id=30754
14672
14673        Modified WebDropSource::QueryContinueDrag so as to not call EventHandler::dragSourceMovedTo.
14674
14675        * WebDropSource.cpp:
14676        (WebDropSource::QueryContinueDrag): Removed call to EventHandler::dragSourceMovedTo.
14677
146782009-11-10  Alexey Proskuryakov  <ap@apple.com>
14679
14680        Reviewed by Dan Bernstein.
14681
14682        https://bugs.webkit.org/show_bug.cgi?id=31312
14683        Decouple authentication panel callbacks from ResourceHandle
14684
14685        * WebCoreSupport/WebFrameLoaderClient.cpp:
14686        (WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
14687        * WebURLAuthenticationChallenge.cpp:
14688        (WebURLAuthenticationChallenge::initWithAuthenticationChallenge):
14689        (WebURLAuthenticationChallenge::sender):
14690        * WebURLAuthenticationChallengeSender.cpp:
14691        (WebURLAuthenticationChallengeSender::WebURLAuthenticationChallengeSender):
14692        (WebURLAuthenticationChallengeSender::createInstance):
14693        (WebURLAuthenticationChallengeSender::authenticationClient):
14694        * WebURLAuthenticationChallengeSender.h:
14695        * WebURLAuthenticationChallengeSenderCFNet.cpp:
14696        (WebURLAuthenticationChallengeSender::cancelAuthenticationChallenge):
14697        (WebURLAuthenticationChallengeSender::continueWithoutCredentialForAuthenticationChallenge):
14698        (WebURLAuthenticationChallengeSender::useCredential):
14699        Adjusted for WebCore changes.
14700
147012009-11-10  Brian Weinstein  <bweinstein@apple.com>
14702
14703        Reviewed by NOBODY - Build Fix.
14704
14705        Updated fillRoundedRect to take a ColorSpace argument.
14706
14707        * WebCoreSupport/WebDragClient.cpp:
14708        (WebDragClient::createDragImageForLink):
14709
147102009-11-08  Janne Koskinen  <janne.p.koskinen@digia.com>
14711
14712        Reviewed by Holger Freyther.
14713
14714        ResourceRequest to be class instead of struct
14715        https://bugs.webkit.org/show_bug.cgi?id=30670
14716
14717        Started as a compilation fix for Symbian where the compiler makes a distinction between
14718        class and struct in function argument signatures.
14719        Changed forward declaration of ResourceRequest to have class in the forward
14720        declaration instead of struct.
14721
14722        * WebDownload.h:
14723
147242009-11-05  Adam Roben  <aroben@apple.com>
14725
14726        Make CFDictionaryPropertyBag::createInstance return a COMPtr
14727
14728        I also cleaned up CFDictionaryPropertyBag's class declaration a little
14729        while I was at it.
14730
14731        Part of <http://webkit.org/b/25294> <rdar://problem/6803127> All
14732        WebKit/win classes should return COMPtrs from their static constructor
14733        members
14734
14735        Reviewed by Steve Falkenburg.
14736
14737        * CFDictionaryPropertyBag.cpp:
14738        (CFDictionaryPropertyBag::CFDictionaryPropertyBag): Changed to
14739        initialize m_refCount to 0. m_refCount gets increased to 1 by
14740        createInstance.
14741        (CFDictionaryPropertyBag::createInstance): Changed to return a COMPtr.
14742
14743        * CFDictionaryPropertyBag.h:
14744          - Updated copyright years
14745          - Fixed header guard to match current style
14746          - Replaced #include of CoreFoundation.h with forward-declaration of
14747            CFMutableDictionaryRef
14748          - Added #include of COMPtr.h
14749          - Fixed opening brace placement in class declaration
14750          - Made createInstance return a COMPtr
14751          - Made constructor/destructor private
14752          - Made QueryInterface and IPropertyBag functions private
14753          - Removed unnecessary parameter names and MIDL comments
14754
14755        * WebCache.cpp:
14756        (WebCache::statistics): Updated for change to
14757        CFDictionaryPropertyBag::createInstance. Now uses releaseRef to place
14758        the IPropertyBag pointers into the s array.
14759
14760        * WebCoreSupport/WebFrameLoaderClient.cpp:
14761        (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
14762        * WebDatabaseManager.cpp:
14763        (WebDatabaseManager::dispatchDidModifyDatabase):
14764        * WebFrame.cpp:
14765        (WebFrame::createJavaAppletWidget):
14766        Updated for change to CFDictionaryPropertyBag::createInstance.
14767
14768        * WebHistory.cpp: Removed releaseUserInfo, which is no longer needed.
14769        That function was also doing an unnecessary call to setDictionary(0).
14770        (createUserInfoFromArray):
14771        (createUserInfoFromHistoryItem):
14772        Changed to return COMPtr.
14773
14774        (WebHistory::loadFromURL): Updated for change to
14775        CFDictionaryPropertyBag::createInstance.
14776
14777        (WebHistory::removeAllItems): Updated for change to
14778        CFDictionaryPropertyBag::createInstance, which fixed a leak! We had
14779        forgotten to call releaseUserInfo here.
14780
14781        (WebHistory::removeItem):
14782        (WebHistory::addItem):
14783        (WebHistory::visitedURL):
14784        * WebIconDatabase.cpp:
14785        (postDidAddIconNotification):
14786        Updated for change to CFDictionaryPropertyBag::createInstance.
14787
14788        * WebKitClassFactory.cpp:
14789        (releaseRefFromCreateInstance): Added this overloaded function
14790        template to abstract away the difference between createInstance
14791        functions that return a ref'd pointer and createInstance functions
14792        that return a COMPtr.
14793        (WebKitClassFactory::CreateInstance): Changed to use
14794        releaseRefFromCreateInstance.
14795
147962009-11-03  Brian Weinstein  <bweinstein@apple.com>
14797
14798        Reviewed by Steve Falkenburg.
14799
14800        WebActionModifierFlagsKey should return an unsigned, because
14801        flags imply a bitmask, and that is what other classes expect from
14802        it.
14803
14804        * WebActionPropertyBag.cpp:
14805        (WebActionPropertyBag::Read):
14806
148072009-11-02  Eric Carlson  <eric.carlson@apple.com>
14808
14809        Reviewed by John Sullivan and Mark Rowe.
14810
14811        <rdar://problem/7356733> Voiceover does not read correct media controller time values
14812
14813        * WebCoreLocalizedStrings.cpp:
14814        (WebCore::localizedMediaTimeDescription):
14815
148162009-10-29  Jon Honeycutt  <jhoneycutt@apple.com>
14817
14818        MSAA: Accessibility of headings is not correct
14819
14820        https://bugs.webkit.org/show_bug.cgi?id=30937
14821
14822        Reviewed by Alice Liu.
14823
14824        * AccessibleBase.cpp:
14825        (AccessibleBase::get_accDescription):
14826        Call the object's descriptionForMSAA(). Moved the comment to the
14827        WebCore file.
14828        (AccessibleBase::get_accRole):
14829        If the object has a string role, return that. Otherwise, return the
14830        integer role.
14831
14832        * AccessibleBase.h:
14833        Removed description(), as this was moved to WebCore.
14834
148352009-10-29  Jon Honeycutt  <jhoneycutt@apple.com>
14836
14837        MSAA: Accessibility of links is wrong
14838
14839        https://bugs.webkit.org/show_bug.cgi?id=30928
14840
14841        Reviewed by Darin Adler.
14842
14843        * AccessibleBase.cpp:
14844        (AccessibleBase::get_accState):
14845        Check whether the element is linked, instead of whether the node is an
14846        anchor, so the child "linkable" elements of anchor elements will also
14847        be "linked".
14848        (AccessibleBase::name):
14849        Return the name for MSAA.
14850        (AccessibleBase::value):
14851        Return the string value for MSAA.
14852
148532009-10-30  Evan Stade  <estade@chromium.org>
14854
14855        Reviewed by David Levin.
14856
14857        Notify the chrome when the focused node has changed.
14858        https://bugs.webkit.org/show_bug.cgi?id=30832
14859
14860        Added stub implementation for new ChromeClient function.
14861
14862        * WebCoreSupport/WebChromeClient.cpp:
14863        (WebChromeClient::focusedNodeChanged):
14864        * WebCoreSupport/WebChromeClient.h:
14865
148662009-10-30  Roland Steiner  <rolandsteiner@chromium.org>
14867
14868        Reviewed by Eric Seidel.
14869
14870        Remove ENABLE_RUBY guards as discussed with Dave Hyatt and Maciej Stachowiak.
14871
14872        Bug 28420 -  Implement HTML5 <ruby> rendering
14873        (https://bugs.webkit.org/show_bug.cgi?id=28420)
14874
14875        No new tests (no functional change).
14876
14877        * WebKit.vcproj/WebKit.vcproj:
14878
148792009-10-29  Mark Rowe  <mrowe@apple.com>
14880
14881        Rubber-stamped by Dan Bernstein.
14882
14883        <http://webkit.org/b/30938> REGRESSION(r50233): Windows nightlies crash on launch due to changes
14884        to IWebFramePrivate vtable ordering
14885
14886        * Interfaces/IWebFramePrivate.idl: Move the newly-added method to the end of the interface so that
14887        it doesn't affect the ordering of the vtable.
14888
148892009-10-28  Steve Falkenburg  <sfalken@apple.com>
14890
14891        Reviewed by Sam "Horatio" Weinig.
14892
14893        Should not generate/build COM DOM bindings
14894        https://bugs.webkit.org/show_bug.cgi?id=30880
14895
14896        * Interfaces/WebKit.idl: Remove generated interfaces.
14897        * WebKit.vcproj/InterfacesGenerated.vcproj: Removed.
14898        * WebKit.vcproj/WebKit.sln: Remove InterfacesGenerated.vcproj.
14899        * WebKit.vcproj/WebKit.submit.sln: Remove InterfacesGenerated.vcproj.
14900        * WebKit.vcproj/WebKit.vcproj: Remove generated interfaces.
14901
149022009-10-27  Shinichiro Hamaji  <hamaji@chromium.org>
14903
14904        Reviewed by Darin Adler.
14905
14906        Provide a way to get counter values with layoutTestContoller
14907        https://bugs.webkit.org/show_bug.cgi?id=30555
14908
14909        * Interfaces/IWebFramePrivate.idl:
14910        * WebFrame.cpp:
14911        (WebFrame::counterValueForElementById):
14912        * WebFrame.h:
14913
149142009-10-28  Joe Mason  <jmason@rim.com>
14915
14916        Reviewed by Adam Treat.
14917
14918        Call the shared FrameLoader::defaultObjectContentType instead of
14919        copying code into FrameLoaderClient::objectContentType.  This causes no
14920        behavioural change.
14921
14922        * WebFrame.cpp:
14923        (WebFrame::objectContentType):
14924
149252009-10-28  Holger Hans Peter Freyther  <zecke@selfish.org>
14926
14927        Speculative build-fix for WebElementPropertyBag.cpp
14928
14929        * WebElementPropertyBag.cpp: Include RenderObject.h
14930
149312009-10-27  Holger Hans Peter Freyther  <zecke@selfish.org>
14932
14933        Reviewed by Simon Fraser.
14934
14935        Change HitTestResult methods to use (3d) transformation aware methods
14936        https://bugs.webkit.org/show_bug.cgi?id=27347
14937
14938        The HitTestResult::boundingBox method was removed. The
14939        RenderObject must be used directly. In contrast to the
14940        old HitTestResult::boundingBox method this code must use
14941        a (3d) transformation aware method to not run into an
14942        assert in SVGRenderBase::mapLocalToContainer.
14943
14944        * WebElementPropertyBag.cpp:
14945        (WebElementPropertyBag::Read): Replace HitTestResult::boundingBox()
14946
149472009-10-26  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
14948
14949        Reviewed by Darin Adler.
14950
14951        Make .rc files compile on Windows without depending on MFC headers
14952        https://bugs.webkit.org/show_bug.cgi?id=30750
14953
14954        * WebKit.vcproj/WebKit.rc: Use winresrc.h because it exists even 
14955        when MFC is not installed, and is all that's needed here.
14956
149572009-10-26  Sam Weinig  <sam@webkit.org>
14958
14959        Rubber-stamped by Darin Adler.
14960
14961        Rollout r50041-50043.  The HTML5 spec changed to make HTMLOptionsCollection
14962        inherit from HTMLCollection.
14963
14964        * DOMCreateInstance.cpp:
14965
149662009-10-25  Dan Bernstein  <mitz@apple.com>
14967
14968        Reviewed by John Sullivan.
14969
14970        Add contextForWorldID to the IWebFramePrivate interface.
14971
14972        * Interfaces/IWebFramePrivate.idl:
14973        * WebFrame.h:
14974
149752009-10-25  Sam Weinig  <sam@webkit.org>
14976
14977        Another try at fixing windows.
14978
14979        * DOMCreateInstance.cpp:
14980
149812009-10-25  Sam Weinig  <sam@webkit.org>
14982
14983        Touch WebKit.idl in an effort to try and regenerate the COM bindings.
14984
14985        * Interfaces/WebKit.idl:
14986
149872009-10-23  Mark Rowe  <mrowe@apple.com>
14988
14989        Build fix.  Include config.h before including other files.
14990
14991        * AccessibleImage.cpp:
14992
149932009-10-23  Gavin Barraclough  <barraclough@apple.com>
14994
14995        Reviewed by Geoff Garen.
14996
14997        https://bugs.webkit.org/show_bug.cgi?id=30729
14998        Provide private API to request the global context for a specific world.
14999        Used to initialize parameters on the global object.
15000
15001        * WebFrame.cpp:
15002        (WebFrame::contextForWorldID):
15003        * WebFrame.h:
15004
150052009-10-23  Brian Weinstein  <bweinstein@apple.com>
15006
15007        Reviewed by John Sullivan.
15008
15009        Pan-scrolling pointer shows up in other tabs or windows, can't "fix" it.
15010        <http://webkit.org/b/30732> and <rdar://7332018>.
15011        
15012        Turns off pan-scrolling on a WebView when it is about to lose focus.
15013
15014        * WebView.cpp:
15015        (WebViewWndProc):
15016
150172009-10-23  Jon Honeycutt  <jhoneycutt@apple.com>
15018
15019        MSAA: Name for image elements should use alt attribute text
15020
15021        https://bugs.webkit.org/show_bug.cgi?id=30727
15022        <rdar://problem/7328291>
15023
15024        Reviewed by Alice Liu.
15025
15026        * AccessibleBase.cpp:
15027        (AccessibleBase::createInstance):
15028        If the AccessibilityObject is an image, return an AccessibleImage.
15029
15030        * AccessibleImage.cpp: Added.
15031        (AccessibleImage::AccessibleImage):
15032        Call the base constructor.
15033        (AccessibleImage::name):
15034        If the object is not an AccessibilityRenderObject, return the base's
15035        name(). Look first for an ARIA "labeled-by" attribute, then look for an
15036        alternate text attribute. Fall back to the base's name().
15037
15038        * AccessibleImage.h: Added.
15039        (AccessibleImage::~AccessibleImage):
15040
15041        * WebKit.vcproj/WebKit.vcproj:
15042        Add AccessibleImage to the project.
15043
150442009-10-23  Sam Weinig  <sam@webkit.org>
15045
15046        Try and fix the windows build.
15047
15048        * Interfaces/WebKit.idl:
15049
150502009-10-22  Gavin Barraclough  <barraclough@apple.com>
15051
15052        Reviewed by Sam Weinig & Geoff Garen.
15053
15054        https://bugs.webkit.org/show_bug.cgi?id=30696
15055        Update to incorporate support for IsolatedWorlds in JSC bindings.
15056
15057        * Interfaces/IWebFramePrivate.idl:
15058        * WebFrame.cpp:
15059        (WebFrame::globalContext):
15060        (WebFrame::windowObjectCleared):
15061        (WebFrame::stringByEvaluatingJavaScriptInIsolatedWorld):
15062        * WebFrame.h:
15063
150642009-10-20  Fumitoshi Ukai  <ukai@chromium.org>
15065
15066        Reviewed by David Levin.
15067
15068        Removed WebSocket runtime settings.
15069        https://bugs.webkit.org/show_bug.cgi?id=29896
15070
15071        WebSocket runtime configuration is supported by chromium/v8 only.
15072
15073        * Interfaces/IWebPreferencesPrivate.idl:
15074        * WebPreferenceKeysPrivate.h:
15075        * WebPreferences.cpp:
15076        (WebPreferences::initializeDefaultSettings):
15077        (WebPreferences::experimentalNotificationsEnabled):
15078        * WebPreferences.h:
15079        * WebView.cpp:
15080        (WebView::notifyPreferencesChanged):
15081
150822009-10-19  Adam Roben  <aroben@apple.com>
15083
15084        Fix crashes/assertions when calling WebLocalizedString from multiple
15085        threads concurrently
15086
15087        Fixes <http://webkit.org/b/30534> WebLocalizedString asserts if called
15088        from multiple threads concurrently
15089
15090        Reviewed by John Sullivan.
15091
15092        * WebLocalizableStrings.cpp:
15093        (mainBundleLocStringsMutex):
15094        (frameworkLocStringsMutex):
15095        Added these new getters.
15096
15097        (findCachedString):
15098        (cacheString):
15099        Lock the relevant mutex before accessing each string map. Otherwise
15100        bad things could happen if two threads end up here at the same time.
15101
151022009-10-19  Adam Roben  <aroben@apple.com>
15103
15104        Get rid of a few static initializers/exit-time destructors in
15105        WebLocalizableStrings
15106
15107        Reviewed by Dan Bernstein.
15108
15109        * WebLocalizableStrings.cpp:
15110        (mainBundleLocStrings):
15111        (frameworkLocStrings):
15112        Added these functions instead of file-scope variables.
15113
15114        (findCachedString):
15115        (cacheString):
15116        Updated to use the new functions.
15117
151182009-10-19  Nate Chapin  <japhet@chromium.org>
15119
15120        Unreviewed, build fix.
15121
15122        Update call to FrameLoader::urlSelected().
15123
15124        * WebCoreSupport/WebContextMenuClient.cpp:
15125        (WebContextMenuClient::searchWithGoogle):
15126
151272009-10-16  Steve Falkenburg  <sfalken@apple.com>
15128
15129        Reviewed by Dan Bernstein.
15130
15131        https://bugs.webkit.org/show_bug.cgi?id=30456
15132        Fixes for new Debug_All Windows build configuration.
15133
15134        * WebKitClassFactory.cpp: Use new DEBUG_ALL preprocessor define for library naming.
15135
151362009-10-16  Jon Honeycutt  <jhoneycutt@apple.com>
15137
15138        Add SPI to determine whether a plug-in has ever been halted.
15139
15140        Part of <rdar://problem/7312158>.
15141
15142        Reviewed by Dan Bernstein.
15143
15144        * Interfaces/IWebViewPrivate.idl:
15145        Add hasPluginForNodeBeenHalted().
15146
15147        * WebView.cpp:
15148        (pluginViewForNode):
15149        Code factored out of isNodeHaltedPlugin().
15150        (WebView::isNodeHaltedPlugin):
15151        Remove STDMETHODCALLTYPE, as it has no use at the definition. Use
15152        pluginViewForNode().
15153        (WebView::restartHaltedPluginForNode):
15154        Ditto.
15155        (WebView::hasPluginForNodeBeenHalted):
15156        Get the PluginView for the given node. Return the result of
15157        PluginView::hasBeenHalted().
15158
15159        * WebView.h:
15160        Declare hasPluginForNodeBeenHalted().
15161
151622009-10-16  Steve Falkenburg  <sfalken@apple.com>
15163
15164        Reviewed by Adam Roben.
15165
15166        Add a Debug_All configuration to build entire stack as debug.
15167        Change Debug_Internal to:
15168        - stop using _debug suffix for all WebKit/Safari binaries
15169        - not use _debug as a DLL naming suffix
15170        - use non-debug C runtime lib.
15171
15172        * WebKit.vcproj/InterfacesGenerated.vcproj: Renamed single configuration from "Release" to "all".
15173        * WebKit.vcproj/WebKit.make: Debug build in makefile should build Debug_All.
15174        * WebKit.vcproj/WebKit.sln: Add Debug_All configuration.
15175        * WebKit.vcproj/WebKit.submit.sln: Add Debug_All configuration.
15176        * WebKit.vcproj/WebKit.vcproj:
15177        Remove extraneous OutputDirectory/IntermediateDirectory in Debug_Cairo.
15178        Add Debug_All configuration.
15179        * WebKit.vcproj/WebKitGUID.vcproj: Add Debug_All configuration.
15180
151812009-10-15  Jon Honeycutt  <jhoneycutt@apple.com>
15182
15183        Add SPI to restart a halted plug-in.
15184
15185        Part of <rdar://problem/7273354> Halted plug-ins should restart on
15186        mouseover
15187
15188        https://bugs.webkit.org/show_bug.cgi?id=30151
15189
15190        Reviewed by Kevin Decker.
15191
15192        * Interfaces/IWebViewPrivate.idl:
15193        Add restartHaltedPluginForNode().
15194
15195        * WebView.cpp:
15196        (WebView::restartHaltedPluginForNode):
15197        From the IDOMNode, query for the DOMNode. From the DOMNode, get the
15198        WebCore::Node. Get the node's renderer, and check whether it is a
15199        RenderWidget. If so, get its Widget, and check whether it's a
15200        PluginView. If so, call PluginView::restart().
15201
15202        * WebView.h:
15203        Declare restartHaltedPluginForNode().
15204
152052009-10-14  Jon Honeycutt  <jhoneycutt@apple.com>
15206
15207        Add SPI to determine whether a node is a halted plug-in.
15208
15209        Part of <rdar://problem/7273354> Halted plug-ins should restart on
15210        mouseover
15211
15212        https://bugs.webkit.org/show_bug.cgi?id=30151
15213
15214        Reviewed by Darin Adler.
15215
15216        * Interfaces/IWebViewPrivate.idl:
15217        Add isNodehaltedPlugin().
15218
15219        * WebView.cpp:
15220        (WebView::isNodeHaltedPlugin):
15221        From the IDOMNode, query for the DOMNode. From the DOMNode, get the
15222        WebCore::Node. Get the node's renderer, and check whether it is a
15223        RenderWidget. If so, get its Widget, and check whether it's a
15224        PluginView. If so, return the result of PluginView::isHalted().
15225
15226        * WebView.h:
15227        Declare isNodeHaltedPlugin().
15228
152292009-10-15  Daniel Bates  <dbates@webkit.org>
15230
15231        Reviewed by Adam Roben.
15232
15233        https://bugs.webkit.org/show_bug.cgi?id=24731
15234        And
15235        rdar://problem/5015961
15236        
15237        Implements support for DHTML drag-and-drop operations (i.e. ondragstart, ondragend)
15238        in the Windows build so that it conforms to the Mac OS X build. Hence, dropEffect is
15239        correctly set.
15240        
15241        The WebView and WebDropSource drag-and-drop functions, as called by function
15242        DoDragDrop in its event loop, neither used the drop effect as specified by
15243        event.dataTransfer.dropEffect nor respected event.dataTransfer.effectsAllowed.
15244        Instead, these functions defaulted to some hardcoded drop effect and set of
15245        allowed drop effects, respectively.
15246
15247        Tests: fast/events/drag-and-drop.html
15248
15249        * WebCoreSupport/WebDragClient.cpp:
15250        (WebDragClient::startDrag):
15251        * WebDropSource.cpp:
15252        (WebDropSource::QueryContinueDrag): Moved call to EventHandler::dragSourceEndedAt
15253        into method WebDragClient::startDrag.
15254        * WebDropSource.h:
15255        * WebView.cpp:
15256        (WebView::keyStateToDragOperation): Fixes <rdar://problem/5015961>. Determines
15257        appropriate drop effect from state of keyboard and allowed effects
15258        m_page->dragController()->sourceDragOperation().
15259        (WebView::DragEnter):
15260        (WebView::DragOver):
15261        (WebView::Drop):
15262        * WebView.h:
15263
152642009-10-14  Adam Roben  <aroben@apple.com>
15265
15266        Windows build fix
15267
15268        * WebKit.vcproj/Interfaces.vcproj: Exclude IWebHistoryDelegate and
15269        IWebNavigationData from the build (they get #imported via WebKit.idl).
15270
152712009-10-14  Brady Eidson  <beidson@apple.com>
15272
15273        Reviewed by Sam Weinig.
15274
15275        WebKit Win API should provide a delegate interface for global history.
15276        https://bugs.webkit.org/show_bug.cgi?id=29905
15277
15278        -Add IWebHistoryDelegate for clients to implement.
15279        -Add (I)WebNavigationData for the history delegate's use.
15280        -When it exists, call the history delegate instead of using WebHistory.
15281        
15282        * Interfaces/IWebHistoryDelegate.idl: Added.
15283        * Interfaces/IWebHistoryPrivate.idl:
15284        * Interfaces/IWebNavigationData.idl: Added.
15285        * Interfaces/IWebViewPrivate.idl:
15286        * Interfaces/WebKit.idl:
15287        
15288        * WebKit.vcproj/Interfaces.vcproj:
15289        * WebKit.vcproj/WebKit.vcproj:
15290
15291        * WebCoreSupport/WebChromeClient.cpp:
15292        (WebChromeClient::populateVisitedLinks):
15293        * WebCoreSupport/WebFrameLoaderClient.cpp:
15294        (WebFrameLoaderClient::updateGlobalHistory):
15295        (WebFrameLoaderClient::updateGlobalHistoryRedirectLinks):
15296        (WebFrameLoaderClient::setTitle):
15297 
15298         * WebView.cpp:
15299        (WebView::close):
15300        (WebView::mainFrameURL):
15301        (WebView::setHistoryDelegate):
15302        (WebView::historyDelegate):
15303        (WebView::addVisitedLinks):
15304        * WebView.h:
15305        
15306        * WebHistory.cpp:
15307        (WebHistory::setVisitedLinkTrackingEnabled):
15308        (WebHistory::removeAllVisitedLinks):
15309        * WebHistory.h:
15310
15311        * WebNavigationData.cpp: Added.
15312        (WebNavigationData::QueryInterface):
15313        (WebNavigationData::AddRef):
15314        (WebNavigationData::Release):
15315        (WebNavigationData::WebNavigationData):
15316        (WebNavigationData::~WebNavigationData):
15317        (WebNavigationData::createInstance):
15318        (WebNavigationData::url):
15319        (WebNavigationData::title):
15320        (WebNavigationData::originalRequest):
15321        (WebNavigationData::response):
15322        (WebNavigationData::hasSubstituteData):
15323        (WebNavigationData::clientRedirectSource):
15324        * WebNavigationData.h: Added.
15325
153262009-10-13  Dave Hyatt  <hyatt@apple.com>
15327
15328        Fix more WebView bustage.
15329
15330        * WebView.cpp:
15331        (WebView::addUserScriptToGroup):
15332        (WebView::addUserStyleSheetToGroup):
15333        (WebView::removeUserScriptsFromGroup):
15334        (WebView::removeUserStyleSheetsFromGroup):
15335
153362009-10-13  Dave Hyatt  <hyatt@apple.com>
15337
15338        Fix build bustage on Windows.
15339
15340        * WebView.cpp:
15341        (WebView::addUserScriptToGroup):
15342        (WebView::addUserStyleSheetToGroup):
15343        (WebView::removeUserScriptsFromGroup):
15344        (WebView::removeUserStyleSheetsFromGroup):
15345
153462009-10-13  Dave Hyatt  <hyatt@apple.com>
15347
15348        Reviewed by Adam Roben..
15349
15350        Split removal functions for user scripts and stylehseets based on type.
15351
15352        * Interfaces/IWebViewPrivate.idl:
15353        * WebView.cpp:
15354        (WebView::removeUserScriptFromGroup):
15355        (WebView::removeUserStyleSheetFromGroup):
15356        * WebView.h:
15357
153582009-10-09  Adam Barth  <abarth@webkit.org>
15359
15360        Reviewed by Darin Adler.
15361
15362        Factor HistoryController out of FrameLoader
15363        https://bugs.webkit.org/show_bug.cgi?id=30246
15364
15365        Update API call.
15366
15367        * WebView.cpp:
15368        (WebView::loadBackForwardListFromOtherView):
15369
153702009-10-08  Jon Honeycutt  <jhoneycutt@apple.com>
15371
15372        Remove the WebKitPluginHalterEnabledPreferenceKey in favor of checking
15373        for the existence of a PluginHalterDelegate.
15374
15375        Reviewed by Dan Bernstein.
15376
15377        * Interfaces/IWebPreferencesPrivate.idl:
15378        Remove the getter and setter.
15379
15380        * WebCoreSupport/WebPluginHalterClient.cpp:
15381        (WebPluginHalterClient::enabled):
15382        Return true if the delegate exists.
15383
15384        * WebCoreSupport/WebPluginHalterClient.h:
15385        Declare implementation of enabled().
15386
15387        * WebPreferenceKeysPrivate.h:
15388        Removed the pref key.
15389
15390        * WebPreferences.cpp:
15391        (WebPreferences::initializeDefaultSettings):
15392        Removed initialization of the pref.
15393
15394        * WebPreferences.h:
15395        Removed declaration of the getter/setter.
15396
15397        * WebView.cpp:
15398        (WebView::notifyPreferencesChanged):
15399        Don't propagate the pref.
15400
154012009-10-08  Adam Barth  <abarth@webkit.org>
15402
15403        Reviewed by Eric Seidel.
15404
15405        Move executeScript from FrameLoader to ScriptController
15406        https://bugs.webkit.org/show_bug.cgi?id=30200
15407
15408        Update API call.
15409
15410        * WebView.cpp:
15411        (WebView::stringByEvaluatingJavaScriptFromString):
15412
154132009-10-08  Anders Carlsson  <andersca@apple.com>
15414
15415        Reviewed by Sam Weinig.
15416
15417        Remove the shouldLoadMediaElementURL implementation.
15418
15419        * Interfaces/IWebPolicyDelegatePrivate.idl:
15420        * WebCoreSupport/WebFrameLoaderClient.cpp:
15421        (WebFrameLoaderClient::shouldUsePluginDocument):
15422        * WebCoreSupport/WebFrameLoaderClient.h:
15423
154242009-10-08  Adam Roben  <aroben@apple.com>
15425
15426        Make IWebInspectorPrivate be accessed in a more standard way
15427
15428        IWebViewPrivate::inspectorPrivate has been removed. Callers should
15429        instead use IWebViewPrivate::inspector and then use QueryInterface to
15430        get the IWebInspectorPrivate interface. This matches how our other COM
15431        classes work.
15432
15433        Fixes <http://webkit.org/b/30215> Make IWebInspectorPrivate be
15434        accessed in a more standard way
15435
15436        Reviewed by John Sullivan and Tim Hatcher.
15437
15438        * Interfaces/IWebViewPrivate.idl: Removed inspectorPrivate.
15439
15440        * WebInspector.cpp:
15441        (WebInspector::QueryInterface): Support querying to
15442        IWebInspectorPrivate.
15443
15444        * WebView.cpp:
15445        * WebView.h:
15446        Removed inspectorPrivate.
15447
154482009-10-08  Adam Roben  <aroben@apple.com>
15449
15450        Move the new IWebViewPrivate::inspectorPrivate function after all
15451        functions that existed when Safari 4.0.3 was released
15452
15453        Fixes <http://webkit.org/b/30085> REGRESSION (r49091): run-safari
15454        crashes in Safari.dll
15455
15456        Reviewed by John Sullivan.
15457
15458        * Interfaces/IWebViewPrivate.idl: Moved inspectorPrivate to the end of
15459        the interface, so it won't modify the vtable that Safari 4.0.3 sees.
15460
154612009-10-07  Adam Roben  <aroben@apple.com>
15462
15463        Expose origin whitelisting in the WebKit API on Windows
15464
15465        Fixes <http://webkit.org/b/30185>.
15466
15467        Reviewed by Eric Seidel.
15468
15469        * Interfaces/IWebViewPrivate.idl: Added whiteListAccessFromOrigin and
15470        resetOriginAccessWhiteLists, to match the Mac SPI.
15471
15472        * WebView.cpp:
15473        (WebView::whiteListAccessFromOrigin):
15474        (WebView::resetOriginAccessWhiteLists):
15475        * WebView.h:
15476        Added. These just call through to SecurityOrigin.
15477
154782009-10-07  Adam Barth  <abarth@webkit.org>
15479
15480        Reviewed by Darin Adler.
15481
15482        Factor PolicyChecker out of FrameLoader
15483        https://bugs.webkit.org/show_bug.cgi?id=30155
15484
15485        Move the policy callback to the policy object.
15486
15487        * WebFrame.cpp:
15488        (WebFrame::dispatchWillSubmitForm):
15489        (WebFrame::receivedPolicyDecision):
15490        (WebFrame::dispatchDecidePolicyForMIMEType):
15491        (WebFrame::dispatchDecidePolicyForNewWindowAction):
15492        (WebFrame::dispatchDecidePolicyForNavigationAction):
15493
154942009-10-07  Daniel Bates  <dbates@webkit.org>
15495
15496        Reviewed by Darin Adler.
15497
15498        https://bugs.webkit.org/show_bug.cgi?id=30102
15499        And
15500        <rdar://problem/5015957>
15501        
15502        Fixes an issue (in the Windows build) where the cursor does not change to the
15503        not-allowed cursor when the drag-and-drop operation is not allowed.
15504        
15505        The allowed effects in WebDragClient::startDrag are hard-coded to be 
15506        DROPEFFECT_COPY | DROPEFFECT_LINK | DROPEFFECT_MOVE. Instead, the list of 
15507        allowed drop effects should be determined by the allowed operations of the
15508        drag source.
15509        
15510        We cannot test this using DRT because DRT looks at the programmatic drop 
15511        cursor and until bug #24731 is fixed this value is hard-coded to DragOperationCopy.
15512        That is, there is a discrepancy in the Windows build between the Windows API-based 
15513        drop effect and the WebKit drop effect. Because DRT cannot read the screen buffer 
15514        to determine the cursor, a manual test is needed.
15515
15516        * WebCoreSupport/WebDragClient.cpp:
15517        (draggingSourceOperationMaskToDragCursors): Added method.
15518        (WebDragClient::startDrag):
15519
155202009-10-07  Steve Falkenburg  <sfalken@apple.com>
15521
15522        Reviewed by Darin Adler.
15523
15524        https://bugs.webkit.org/show_bug.cgi?id=30176
15525        <rdar://problem/7281553> Extra information in UA causes problems with gmail
15526        
15527        * WebKit.vcproj/WebKit.rc: Restore PRODUCTVERSION to build number only. Remove extra space.
15528
155292009-10-06  Pavel Feldman  <pfeldman@chromium.org>
15530
15531        Reviewed by Timothy Hatcher.
15532
15533        Web Inspector: default to an attached inspector window on Windows (as on Mac).
15534
15535        https://bugs.webkit.org/show_bug.cgi?id=30134
15536
15537        * WebCoreSupport/WebInspectorClient.cpp:
15538        (WebInspectorClient::showWindowWithoutNotifications):
15539
155402009-10-06  Adam Barth  <abarth@webkit.org>
15541
15542        Reviewed by Eric Seidel.
15543
15544        Move FrameLoader::canLoad to SecurityOrigin
15545        https://bugs.webkit.org/show_bug.cgi?id=30111
15546
15547        * WebFrame.cpp:
15548        (WebFrame::allowsFollowingLink):
15549
155502009-10-06  Pavel Feldman  <pfeldman@chromium.org>
15551
15552        Reviewed by Timothy Hatcher.
15553
15554        Web Inspector: close inspector client view on
15555        InspectorController::close API call.
15556
15557        In order to run batch web inspector layout tests (and not affect 
15558        subsequent tests) we should close inspector client's view upon
15559        InspectorController::close API call.
15560
15561        https://bugs.webkit.org/show_bug.cgi?id=30009
15562
15563        * WebCoreSupport/WebInspectorClient.cpp:
15564        (WebInspectorClient::createPage):
15565
155662009-10-06  David Levin  <levin@chromium.org>
15567
15568        Reviewed by NOBODY (windows build fix).
15569
15570        Speculative build fix for windows (due to r49160).
15571
15572        * WebDownloadCFNet.cpp:
15573        (WebDownload::initToResumeWithBundle):
15574        * WebIconDatabase.cpp:
15575        (WebIconDatabase::dispatchDidAddIconForPageURL):
15576
155772009-10-05  Pavel Feldman  <pfeldman@chromium.org>
15578
15579        Reviewed by Timothy Hatcher.
15580
15581        Web Inspector: add testing harness for Web Inspector.
15582
15583        https://bugs.webkit.org/show_bug.cgi?id=30010
15584
15585        * Interfaces/IWebInspectorPrivate.idl: Added.
15586        * Interfaces/IWebViewPrivate.idl:
15587        * Interfaces/WebKit.idl:
15588        * WebInspector.cpp:
15589        (WebInspector::evaluateInFrontend):
15590        * WebInspector.h:
15591        * WebView.cpp:
15592        (WebView::inspectorPrivate):
15593        * WebView.h:
15594
155952009-10-02  Dave Hyatt  <hyatt@apple.com>
15596
15597        Reviewed by Adam Roben.
15598
15599        Add support for blacklist patterns to user stylesheets and scripts in addition to whitelist patterns.
15600
15601        * Interfaces/IWebViewPrivate.idl:
15602        * WebView.cpp:
15603        (toStringVector):
15604        (WebView::addUserScriptToGroup):
15605        (WebView::addUserStyleSheetToGroup):
15606        * WebView.h:
15607
156082009-10-02  Steve Falkenburg  <sfalken@apple.com>
15609
15610        Reviewed by Mark Rowe.
15611
15612        <https://bugs.webkit.org/show_bug.cgi?id=29989>
15613        Safari version number shouldn't be exposed in WebKit code
15614        
15615        For a WebKit version of 532.3.4:
15616        Product version is: 5.32.3.4 (was 4.0.3.0)
15617        File version is: 5.32.3.4 (was 4.532.3.4)
15618
15619        * WebKit.vcproj/WebKit.rc:
15620
156212009-09-30  Sam Weinig  <sam@webkit.org>
15622
15623        Reviewed by Dan Bernstein.
15624
15625        Fix for <rdar://problem/7259706>
15626        Need WebKit API or SPI on Mac and Windows to test whether it's safe to load a page in a new tab/window
15627
15628        * Interfaces/IWebFramePrivate.idl:
15629        * WebFrame.cpp:
15630        (WebFrame::allowsFollowingLink):
15631        * WebFrame.h:
15632
156332009-09-30  Dave Hyatt  <hyatt@apple.com>
15634
15635        Reviewed by Adam Roben.
15636
15637        Add the ability to remove user stylesheets and scripts by URL.
15638
15639        * Interfaces/IWebViewPrivate.idl:
15640        * WebView.cpp:
15641        (WebView::removeUserContentWithURLFromGroup):
15642        * WebView.h:
15643
156442009-09-29  Kenneth Russell  <kbr@google.com>
15645
15646        Reviewed by Dimitri Glazkov.
15647
15648        Add support for run-time flag for 3D canvas
15649        https://bugs.webkit.org/show_bug.cgi?id=29826
15650
15651        * WebView.cpp:
15652        (WebView::notifyPreferencesChanged): Enable experimental WebGL
15653        flag when 3D_CANVAS is enabled in the build.
15654
156552009-09-28  Alexey Proskuryakov  <ap@apple.com>
15656
15657        Reviewed by Darin Adler and Sam Weinig.
15658
15659        Onclick not fired for an element copied with cloneContents() or cloneNode()
15660        https://bugs.webkit.org/show_bug.cgi?id=25130
15661
15662        * DOMCreateInstance.cpp: GEN_DOMEventListener is a pure interface now.
15663
15664        * WebKit.vcproj/WebKit.vcproj: Removed GEN_DOMEventListener.cpp.
15665
156662009-09-28  Fumitoshi Ukai  <ukai@chromium.org>
15667
15668        Reviewed by Eric Seidel.
15669
15670        Add experimentalWebSocketsEnabled in WebPreferences.
15671        https://bugs.webkit.org/show_bug.cgi?id=28941
15672
15673        * Interfaces/IWebPreferencesPrivate.idl:
15674        * WebPreferenceKeysPrivate.h:
15675        * WebPreferences.cpp:
15676        (WebPreferences::initializeDefaultSettings):
15677        (WebPreferences::setExperimentalWebSocketsEnabled):
15678        (WebPreferences::experimentalWebSocketsEnabled):
15679        * WebPreferences.h:
15680        * WebView.cpp:
15681        (WebView::notifyPreferencesChanged):
15682        (core):
15683
156842009-09-25  Darin Adler  <darin@apple.com>
15685
15686        Reviewed by Steve Falkenburg.
15687
15688        Speed up access to history items by caching date computation.
15689
15690        * History/WebHistory.mm:
15691        (getDayBoundaries): Refactored from timeIntervalForBeginningOfDay.
15692        Returns the beginning of the day that the passed time is within and
15693        the beginning of the next day.
15694        (beginningOfDay): Added. Uses getDayBoundaries so it can be fast for
15695        multiple dates within the same day, which is the common case.
15696        (dateKey): Added. Calls beginningOfDay and converts to an integer.
15697        (WebHistory::findKey): Changed to call dateKey instead of
15698        timeIntervalForBeginningOfDay.
15699
157002009-09-25  Adam Roben  <aroben@apple.com>
15701
15702        Add SPI to invalidate a WebView's backing store
15703
15704        This is useful in conjunction with
15705        IWebUIDelegatePrivate2::drawBackground. This provides a way for the UI
15706        delegate to force WebView to get its background redrawn.
15707
15708        Fixes <http://webkit.org/b/29737> Need SPI to invalidate a WebView's
15709        backing store
15710
15711        Reviewed by Anders Carlsson.
15712
15713        * Interfaces/IWebViewPrivate.idl: Added invalidateBackingStore.
15714        * WebView.cpp:
15715        (WebView::invalidateBackingStore): If rect is 0, invalidate our whole
15716        client rect. Otherwise invalidate the intersection of rect with our
15717        client rect.
15718        * WebView.h:
15719
157202009-09-24  Jon Honeycutt  <jhoneycutt@apple.com>
15721
15722        Add a mechanism for automatically halting plug-ins.
15723
15724        Reviewed by Oliver Hunt.
15725
15726        * Interfaces/IWebPluginHalterDelegate.idl: Added. Defines an interface
15727        for a delegate that determines whether plug-ins should be halted.
15728
15729        * Interfaces/IWebPreferencesPrivate.idl:
15730        Declare functions to get and set the enabled state of the plug-in
15731        halter and the plug-in allowed run time.
15732
15733        * Interfaces/IWebViewPrivate.idl:
15734        Declare functions to get and set the IWebPluginHalterDelegate.
15735
15736        * Interfaces/WebKit.idl:
15737
15738        * WebCoreSupport/WebPluginHalterClient.cpp: Added.
15739        (WebPluginHalterClient::WebPluginHalterClient):
15740        (WebPluginHalterClient::shouldHaltPlugin):
15741        Get the IWebPluginHalterDelegate for the WebView. Create a WebKit
15742        DOMNode for the WebCore Node. Call the delegate's shouldHaltPlugin().
15743        If the call fails, return false. Otherwise, return the result of the
15744        call.
15745
15746        * WebCoreSupport/WebPluginHalterClient.h: Added.
15747
15748        * WebKit.vcproj/Interfaces.vcproj:
15749        Add IWebPluginHalterDelegate.idl.
15750
15751        * WebKit.vcproj/WebKit.vcproj:
15752        Add WebPluginHalterClient.{h,cpp}.
15753
15754        * WebPreferenceKeysPrivate.h:
15755        Define WebKitPluginHalterEnabledPreferenceKey and
15756        WebKitPluginAllowedRunTimePreferenceKey.
15757
15758        * WebPreferences.cpp:
15759        (WebPreferences::initializeDefaultSettings):
15760        Leave plug-in halting disabled by default. Set the default value for
15761        the plug-in allowed run time to the max value of an unsigned int.
15762        (WebPreferences::setPluginHalterEnabled):
15763        (WebPreferences::pluginHalterEnabled):
15764        (WebPreferences::setPluginAllowedRunTime):
15765        (WebPreferences::pluginAllowedRunTime):
15766
15767        * WebPreferences.h:
15768
15769        * WebView.cpp:
15770        (WebView::close):
15771        Clear the IWebPluginHalterDelegate.
15772        (WebView::initWithFrame):
15773        Pass a WebPluginHalterClient when creating the Page.
15774        (WebView::notifyPreferencesChanged):
15775        Set the new settings when the preferences changed notification is
15776        received.
15777        (WebView::setPluginHalterDelegate):
15778        (WebView::pluginHalterDelegate):
15779
15780        * WebView.h:
15781        Declare overrides of setPluginHalterDelegate() and
15782        pluginHalterDelegate(). Added a member to track the
15783        IWebPluginHalterDelegate.
15784
157852009-09-14  John Gregg  <johnnyg@google.com>
15786
15787        Reviewed by Eric Seidel.
15788
15789        Enable switch for notifications (experimental) in Page Settings
15790        https://bugs.webkit.org/show_bug.cgi?id=28930
15791
15792        Adds support for the experimentalNotificationsEnabled flag in Settings through
15793        WebPreferencesPrivate interface.  Also cleans up some issues accessing the
15794        notification delegate through DumpRenderTree.
15795
15796        * Interfaces/IWebPreferencesPrivate.idl:
15797        * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
15798        (WebDesktopNotificationsDelegate::hasNotificationDelegate):
15799        (WebDesktopNotificationsDelegate::notificationDelegate):
15800        * WebPreferenceKeysPrivate.h:
15801        * WebPreferences.cpp:
15802        (WebPreferences::initializeDefaultSettings):
15803        (WebPreferences::setExperimentalNotificationsEnabled):
15804        (WebPreferences::experimentalNotificationsEnabled):
15805        * WebPreferences.h:
15806        * WebView.cpp:
15807        (WebView::notifyPreferencesChanged):
15808
158092009-09-23  Anders Carlsson  <andersca@apple.com>
15810
15811        Reviewed by Adam Roben.
15812
15813        <rdar://problem/7243354> 
15814        REGRESSION(48580-48636): Crash clicking embedded QT preview button on apple.com/trailers
15815        
15816        Check for a null IWebPolicyDelegatePrivate.
15817        
15818        * WebCoreSupport/WebFrameLoaderClient.cpp:
15819        (WebFrameLoaderClient::shouldLoadMediaElementURL):
15820
158212009-09-22  Sam Weinig  <sam@webkit.org>
15822
15823        Rubber-stamped by Adam Roben.
15824
15825        Remove accidentally left in declaration of reloadFromOrigin in IWebFramePrivate.idl
15826
15827        * Interfaces/IWebFramePrivate.idl:
15828
158292009-09-22  Sam Weinig  <sam@webkit.org>
15830
15831        Reviewed by Steve Falkenburg.
15832
15833        Fix for <rdar://problem/6451745>
15834        Windows WebKit needs to implement reloadFromOrigin()
15835
15836        * Interfaces/IWebFrame.idl:
15837        * Interfaces/IWebFramePrivate.idl:
15838        * Interfaces/IWebView.idl:
15839        * WebFrame.cpp:
15840        (WebFrame::reloadFromOrigin):
15841        * WebFrame.h:
15842        * WebView.cpp:
15843        (WebView::reloadFromOrigin):
15844        * WebView.h:
15845
158462009-09-22  Adam Roben  <aroben@apple.com>
15847
15848        Manage refcounts correctly in DefaultDownloadDelegate::willSendRequest
15849
15850        Fixes <http://webkit.org/b/29650> Crash in
15851        WebDownload::willSendRequest when using DefaultDownloadDelegate
15852
15853        Reviewed by Brady Eidson.
15854
15855        * DefaultDownloadDelegate.cpp:
15856        (DefaultDownloadDelegate::willSendRequest): Call AddRef() on the
15857        object we're returning via the finalRequest out-parameter.
15858
158592009-09-21  Anders Carlsson  <andersca@apple.com>
15860
15861        Reviewed by Adam Roben.
15862
15863        <rdar://problem/7135588> HTMLMediaElement should ask WebPolicyLoadDelegate before loading resource
15864
15865        Implement WebFrameLoaderClient::shouldLoadMediaElementURL and have it call the new private policy
15866        delegate method.
15867        
15868        * Interfaces/IWebPolicyDelegatePrivate.idl: Added.
15869        * Interfaces/WebKit.idl:
15870        * WebCoreSupport/WebFrameLoaderClient.cpp:
15871        (WebFrameLoaderClient::shouldLoadMediaElementURL):
15872        * WebCoreSupport/WebFrameLoaderClient.h:
15873        * WebKit.vcproj/Interfaces.vcproj:
15874
158752009-09-17  Kenneth Rohde Christiansen  <kenneth@webkit.org>
15876
15877        Reviewed by Simon Hausmann.
15878
15879        Make PlatformWindow return something else than PlatformWidget
15880        https://bugs.webkit.org/show_bug.cgi?id=29085
15881
15882        Reflect the rename of platformWindow and it's return type.
15883
15884        * AccessibleBase.cpp:
15885        (AccessibleBase::get_accParent):
15886        * WebCoreSupport/WebChromeClient.cpp:
15887        (WebChromeClient::platformPageClient):
15888        * WebCoreSupport/WebChromeClient.h:
15889
158902009-09-17  Brian Weinstein  <bweinstein@apple.com>
15891
15892        Reviewed by Adam Roben.
15893
15894        Remove assertions that were being hit by calls to
15895        m_verticalScrollbar->invalidate(). These assertions were valid,
15896        but they were causing tests to fail, so replacing with a FIXME 
15897        until we can find out the real cause/solution that is being tracked 
15898        by http://webkit.org/b/29350.
15899
15900        * WebView.cpp:
15901        (WebView::addToDirtyRegion):
15902        (WebView::paintIntoBackingStore):
15903
159042009-09-17  Ada Chan  <adachan@apple.com>
15905
15906        Post WebViewDidChangeSelectionNotification when the text selection changes.
15907
15908        Fixes <http://webkit.org/b/29321>
15909
15910        Reviewed by Adam Roben.
15911
15912        * Interfaces/IWebView.idl:
15913        * WebCoreSupport/WebEditorClient.cpp:
15914        (WebEditorClient::respondToChangedSelection):
15915
159162009-09-17  Adam Roben  <aroben@apple.com>
15917
15918        Fix a crash when a WebView's HWND is destroyed before IWebView::close
15919        is called
15920
15921        WebView's HWND was being sent a WM_TIMER message after the WebView was
15922        destroyed. This normally isn't possible (we call DestroyWindow inside
15923        WebView's destructor to ensure the HWND doesn't outlive the WebView),
15924        but r48060 changed WebView to call SetParent(m_viewWindow,
15925        HWND_MESSAGE) while handling WM_DESTROY, and apparently this puts the
15926        HWND into some weird half-destroyed state where it can still receive
15927        WM_TIMER messages.
15928
15929        Fixes <http://webkit.org/b/29337> <rdar://problem/7209897> REGRESSION
15930        (r48060): unrepro but frequent crash in WebViewWndProc
15931
15932        Reviewed by Steve Falkenburg.
15933
15934        * WebView.cpp:
15935        (WebViewWndProc): When handling WM_DESTROY, call setIsBeingDestroyed()
15936        before calling close(). This allows setHostWindow to detect that we're
15937        handling WM_DESTROY. No other code in close() cared whether
15938        isBeingDestroyed() was true or not.
15939        (WebView::setHostWindow): If our host window is being set to 0 and
15940        we're being destroyed, don't become a message-only window. Doing this
15941        while handling WM_DESTROY seems to lead to crashes.
15942
159432009-09-16  Adam Roben  <aroben@apple.com>
15944
15945        Add a UI delegate callback to let the delegate draw a WebView's
15946        background
15947
15948        Fixes <http://webkit.org/b/29315>.
15949
15950        Reviewed by Dave Hyatt.
15951
15952        * Interfaces/IWebUIDelegatePrivate.idl: Added
15953        IWebUIDelegatePrivate2::drawBackground.
15954
15955        * WebView.cpp:
15956        (WebView::paintIntoBackingStore): After clearing or filling with
15957        white, let the delegate draw whatever background it wants. Also added
15958        an assertion that the dirty rect is within our bounds.
15959
159602009-09-16  Adam Roben  <aroben@apple.com>
15961
15962        Prevent WebView from painting over sibling windows
15963
15964        Fixes <http://webkit.org/b/29300> <rdar://problem/7227960> WebView can
15965        paint over sibling windows
15966
15967        Reviewed by Darin Adler.
15968
15969        * WebView.cpp:
15970        (WebView::initWithFrame): Create the WebView's HWND with the
15971        WS_CLIPSIBLINGS style.
15972
159732009-09-14  Brady Eidson  <beidson@apple.com>
15974
15975        Reviewed by Alexey Proskuryakov.
15976
15977        Safari 4 cannot be used to update firmware on Linksys routers.
15978        <rdar://problem/7174050> and https://bugs.webkit.org/show_bug.cgi?id=29160
15979
15980        Adopt the new WebCore::CredentialStorage in WebKit/Win.
15981
15982        * WebDownloadCFNet.cpp:
15983        (WebDownload::didReceiveAuthenticationChallenge):
15984
159852009-09-11  Steve Falkenburg  <sfalken@apple.com>
15986
15987        Reviewed by Dan Bernstein.
15988
15989        Properly propagate preference from WebPreferences to WebCore::Settings.
15990        https://bugs.webkit.org/show_bug.cgi?id=29192
15991
15992        * WebView.cpp:
15993        (WebView::initWithFrame): Apply setting when creating a new WebView.
15994        (WebView::notifyPreferencesChanged): Apply setting when preferences change.
15995
159962009-09-11  Steve Falkenburg  <sfalken@apple.com>
15997
15998        Reviewed by Darin Adler.
15999
16000        Allow WebKit clients to opt out of high resolution timers on Windows.
16001        https://bugs.webkit.org/show_bug.cgi?id=29192
16002
16003        * Interfaces/IWebPreferencesPrivate.idl: Added getter/setter.
16004        Put this just after last 4.0.3 method for future merging.
16005        * Interfaces/WebKit.idl: Touched to force a rebuild.
16006        * WebPreferenceKeysPrivate.h: Added prefs key for high res timers.
16007        * WebPreferences.cpp:
16008        (WebPreferences::initializeDefaultSettings): Initialize high res timers to enabled.
16009        (WebPreferences::setShouldUseHighResolutionTimers): Added.
16010        (WebPreferences::shouldUseHighResolutionTimers): Added.
16011        * WebPreferences.h: Added getter/setter.
16012
160132009-09-11  Adam Roben  <aroben@apple.com>
16014
16015        Get user script/stylesheet tests running on Windows
16016
16017        Fixes <http://webkit.org/b/29181> User script/stylesheet tests are
16018        skipped on Windows
16019
16020        Reviewed by John Sullivan.
16021
16022        * Interfaces/IWebViewPrivate.idl: Added addUserScriptToGroup,
16023        addUserStyleSheetToGroup, removeUserContentFromGroup,
16024        removeAllUserContentFromGropu to match the Mac SPI.
16025
16026        * WebView.cpp:
16027        (WebView::addUserScriptToGroup):
16028        (WebView::addUserStyleSheetToGroup):
16029        (WebView::removeUserContentFromGroup):
16030        (WebView::removeAllUserContentFromGroup):
16031        * WebView.h:
16032        Added. Implementation was based on similar methods in WebView.mm.
16033
160342009-09-11  Jon Honeycutt  <jhoneycutt@apple.com>
16035
16036        Fix crash on launch on Windows.
16037
16038        Rubber-stamped by Mark Rowe.
16039
16040        * WebKit.vcproj/WebKit.vcproj:
16041        Define ENABLE_WEB_SOCKETS for all configurations.
16042
160432009-09-07  Drew Wilson  <atwilson@google.com>
16044
16045        Reviewed by David Levin.
16046
16047        Enable SHARED_WORKERS by default.
16048        https://bugs.webkit.org/show_bug.cgi?id=28959
16049
16050        * WebKit.vcproj/WebKit.vcproj:
16051
160522009-09-04  Adam Roben  <aroben@apple.com>
16053
16054        Make WebView function without a parent window
16055
16056        When WebView has no parent window, it becomes a message-only window,
16057        which hides it from the screen and prevents it from appearing on the
16058        taskbar.
16059
16060        Fixes <http://webkit.org/b/28971> <rdar://problem/4976998>
16061        WebView::initWithFrame fails if there's no host window
16062
16063        Reviewed by Dave Hyatt.
16064
16065        * WebView.cpp:
16066        (WebView::initWithFrame): m_hostWindow is null, use HWND_MESSAGE as
16067        our parent window, which will make us a message-only window.
16068        (WebView::setHostWindow): If he new host window is null, use
16069        HWND_MESSAGE as our parent window, which will make us a message-only
16070        window.
16071
160722009-09-04  Adam Barth  <abarth@webkit.org>
16073
16074        Unreviewed attempt at a build fix.
16075
16076        Added missing include.
16077
16078        * WebCoreSupport/WebFrameLoaderClient.cpp:
16079
160802009-09-04  Adam Barth  <abarth@webkit.org>
16081
16082        Unreviewed attempt at a build fix.
16083
16084        Fix typo of IWebFrameLoadDelegatePrivate2 and make
16085        IWebFrameLoadDelegatePrivate inherit from IWebFrameLoadDelegatePrivate
16086        as requestd by Adam Roben.
16087
16088        * Interfaces/IWebFrameLoadDelegatePrivate2.idl:
16089        * WebCoreSupport/WebFrameLoaderClient.cpp:
16090        (WebFrameLoaderClient::didDisplayInsecureContent):
16091        (WebFrameLoaderClient::didRunInsecureContent):
16092
160932009-09-04  Adam Barth  <abarth@webkit.org>
16094
16095        Reviewed by Eric Seidel.
16096
16097        https://bugs.webkit.org/show_bug.cgi?id=24696
16098
16099        Plumb mixed content notifications to IWebFrameLoadDelegatePrivate.
16100
16101        * Interfaces/IWebFrameLoadDelegatePrivate2.idl: Added.
16102        * Interfaces/WebKit.idl:
16103        * WebCoreSupport/WebFrameLoaderClient.cpp:
16104        (WebFrameLoaderClient::didDisplayInsecureContent):
16105        (WebFrameLoaderClient::didRunInsecureContent):
16106        * WebKit.vcproj/Interfaces.vcproj:
16107
161082009-09-03  Adam Barth  <abarth@webkit.org>
16109
16110        Reviewed by eric@webkit.org.
16111
16112        https://bugs.webkit.org/show_bug.cgi?id=24696
16113
16114        Stub implementations of mixed content methods of FrameLoaderClient. 
16115
16116        * WebCoreSupport/WebFrameLoaderClient.cpp:
16117        (WebFrameLoaderClient::didDisplayInsecureContent):
16118        (WebFrameLoaderClient::didRunInsecureContent):
16119        * WebCoreSupport/WebFrameLoaderClient.h:
16120
161212009-09-01  Adam Roben  <aroben@apple.com>
16122
16123        Post a notification when a WebView is closing
16124
16125        This is useful for situations where some code wants to react to the
16126        WebView closing but isn't in charge of the WebView and can't otherwise
16127        be notified. This notification could replace
16128        IWebUIDelegatePrivate::webViewClosing if we decide that the
16129        notification system isn't too burdensome.
16130
16131        <http://webkit.org/b/28875>
16132
16133        Reviewed by John Sullivan.
16134
16135        * Interfaces/IWebViewPrivate.idl: Added the
16136        WebViewWillCloseNotification string constant.
16137        * WebKit.vcproj/WebKit.vcproj: Link against comsuppw.lib in all
16138        configurations so that we can use _bstr_t.
16139        * WebView.cpp:
16140        (WebView::close): Post the WebViewWillCloseNotification.
16141
161422009-08-31  Alexey Proskuryakov  <ap@webkit.org>
16143
16144        Reviewed by Darin Adler.
16145
16146        https://bugs.webkit.org/show_bug.cgi?id=28852
16147        Rename KURL single argument constructor to avoid confusion
16148
16149        * WebURLResponse.cpp: (WebURLResponse::createInstance): Adapt to the change.
16150
161512009-08-20  Adam Roben  <aroben@apple.com>
16152
16153        Give WebKit clients access to the window features specified in
16154        window.open
16155
16156        Reviewed by Steve Falkenburg.
16157
16158        * COMVariantSetter.h: Added COMVariantSetters for bool and float.
16159
16160        * Interfaces/IWebUIDelegatePrivate.idl: Added IWebUIDelegatePrivate2,
16161        which contains a new version of createWebViewWithRequest that also
16162        passes the window features as an IPropertyBag. This is analagous to
16163        the -createWebViewWithRequest:windowFeatures: method added to
16164        WebUIDelegate on Mac in r27452. Also added key strings for use with
16165        the window features property bag.
16166
16167        * WebCoreSupport/WebChromeClient.cpp:
16168        (createWindowFeaturesPropertyBag): Added this helper function to turn
16169        a WebCore::WindowFeatures into an IPropertyBag for passing to WebKit
16170        clients.
16171        (WebChromeClient::createWindow): If the UI delegate implements
16172        IWebUIDelegatePrivate2, call the new createWebViewWithRequest function
16173        that takes a window features property bag. If the delegate doesn't
16174        implement the new function, fall back to the old functions.
16175
161762009-08-20  Adam Roben  <aroben@apple.com>
16177
16178        A little clean-up in WebChromeClient::createWindow
16179
16180        Reviewed by Steve Falkenburg.
16181
16182        * WebCoreSupport/WebChromeClient.cpp:
16183        (WebChromeClient::createWindow): Refactored to share more code between
16184        the dialog and non-dialog cases.
16185
161862009-08-28  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
16187
16188        Reviewed by Holger Freyther.
16189
16190        https://bugs.webkit.org/show_bug.cgi?id=25889
16191        [GTK] scrollbar policy for main frame is not implementable
16192
16193        Add empty implementation for new ChromeClient method.
16194
16195        * WebCoreSupport/WebChromeClient.h:
16196        (WebChromeClient::scrollbarsModeDidChange):
16197
161982009-08-27  Brent Fulgham  <bfulgham@webkit.org>
16199
16200        Reviewed by Adam Roben.
16201
16202        Modify Release_Cairo target to build testapi using the
16203        Release_CFLite target so that the correct CoreFoundation
16204        (in this case, CFLite.dll) is linked.
16205
16206        * WebKit.vcproj/WebKit.sln:
16207
162082009-08-26  Adam Barth  <abarth@webkit.org>
16209
16210        Reviewed by Oliver Hunt.
16211
16212        Don't let local files access web URLs
16213        https://bugs.webkit.org/show_bug.cgi?id=28480
16214
16215        * WebPreferences.cpp:
16216        (WebPreferences::initializeDefaultSettings):
16217
162182009-08-26  David Levin  <levin@chromium.org>
16219
16220        Reviewed by Darin Fisher.
16221
16222        ResourceRequestBase::*[Aa]llowHTTPCookies shouldn't mention http.
16223        https://bugs.webkit.org/show_bug.cgi?id=28735
16224
16225        * WebMutableURLRequest.cpp:
16226        (WebMutableURLRequest::setHTTPShouldHandleCookies):
16227
162282009-08-25  Eric Carlson  <eric.carlson@apple.com>
16229
16230        Reviewed by Oliver Hunt.
16231
16232        <video> and <audio> controller should be accessible
16233        https://bugs.webkit.org/show_bug.cgi?id=28081
16234
16235        * WebCoreLocalizedStrings.cpp:
16236        (WebCore::localizedMediaControlElementString):
16237        (WebCore::localizedMediaControlElementHelpText):
16238        (WebCore::localizedMediaTimeDescription):
16239            New.
16240
162412009-08-25  Brent Fulgham  <bfulgham@webkit.org>
16242
16243        Build fix for Windows.
16244
16245        Revise Debug_Cairo build target to build testapi, jsc, WinLauncher,
16246        DumpRenderTree, and TestNetscapeAPI using WinCairo debug build
16247        settings so they link against the proper libraries.
16248
16249        * WebKit.vcproj/WebKit.sln:
16250
162512009-08-25  David Levin  <levin@chromium.org>
16252
16253        Reviewed by Adam Roben.
16254
16255        PLATFORM(CFNETWORK) should be USE(CFNETWORK).
16256        https://bugs.webkit.org/show_bug.cgi?id=28713
16257
16258        Also, moved the #if header section after the other #includes.
16259
16260        * WebError.cpp:
16261        (WebError::localizedDescription):
16262
162632009-08-24  Brent Fulgham  <bfulgham@webkit.org>
16264
16265        Reviewed by Steve Falkenburg.
16266
16267        Revise CFLite Debug build to emit DLL's with _debug label.
16268        https://bugs.webkit.org/show_bug.cgi?id=28695.
16269
16270        * WebKit.vcproj/WebKit.vcproj: Modify Debug_Cairo target to
16271          inherit from new debug_wincairo property sheet, instead of
16272          the current debug sheet. 
16273
162742009-08-22  Adam Barth  <abarth@webkit.org>
16275
16276        Revert 47684.  We're going to do this later once clients have had a
16277        chance to opt into the setting they like.
16278
16279        * WebPreferences.cpp:
16280        (WebPreferences::initializeDefaultSettings):
16281
162822009-08-22  Adam Barth  <abarth@webkit.org>
16283
16284        Reviewed by Eric Seidel.
16285
16286        Don't let local files access web URLs
16287        https://bugs.webkit.org/show_bug.cgi?id=28480
16288
16289        * WebPreferences.cpp:
16290        (WebPreferences::initializeDefaultSettings):
16291
162922009-08-20  Brian Weinstein  <bweinstein@apple.com>
16293
16294        Reviewed by Adam Roben.
16295
16296        Fix of <http://webkit.org/b/27850>. Panning by emulating Mouse Wheel Events breaks Google Maps.
16297        
16298        Switched to using RenderLayer::scrollByRecursively instead of emulating a mouse wheel,
16299        and switched to handling the hit testing in WebView from doing it as part of the mouse wheel event.
16300        One downside of this fix is that panning will not jump out of frames anymore (same behavior as pan-scrolling), but
16301        this is tracked in <http://webkit.org/b/28237>.
16302
16303        * WebView.cpp:
16304        (WebView::gestureNotify): Added hit testing here to figure out the node the user started the gesture on.
16305        (WebView::gesture): Switched from emulating mouse wheel events for panning to calling RenderLayer::scrollByRecursively.
16306        * WebView.h:
16307
163082009-08-18  Brian Weinstein  <bweinstein@apple.com>
16309
16310        Reviewed by Oliver Hunt.
16311
16312        Fix of <https://bugs.webkit.org/show_bug.cgi?id=28326> DRT on Windows doesn't support 
16313        LayoutTestController::setQuota or print a callback on UIDelegate::exceededDatabaseQuota.
16314        
16315        Added a setQuota interface method to IWebDatabaseManager and implemented it.
16316
16317        * Interfaces/IWebDatabaseManager.idl:
16318        * WebDatabaseManager.cpp:
16319        (WebDatabaseManager::setQuota):
16320        * WebDatabaseManager.h:
16321
163222009-08-18  Drew Wilson  <atwilson@google.com>
16323
16324        Unreviewed (build break).
16325
16326        Added missing include for WebWorkersPrivate.h.
16327
16328        * WebKitClassFactory.cpp:
16329
163302009-08-18  Peter Kasting  <pkasting@google.com>
16331
16332        Reviewed by Eric Seidel.
16333
16334        https://bugs.webkit.org/show_bug.cgi?id=28415
16335        Set svn:eol-style CRLF on all .sln and .vcproj files that don't already
16336        have it.
16337
16338        * WebKit.vcproj/InterfacesGenerated.vcproj:
16339
163402009-08-18  Drew Wilson  <atwilson@google.com>
16341
16342        Reviewed by Eric Seidel.
16343
16344        Need to extend DumpRenderTree to expose number of worker threads
16345        https://bugs.webkit.org/show_bug.cgi?id=28292
16346
16347        Defined/implemented COM interfaces to expose WorkerThread::workerThreadCount() for DumpRenderTree.
16348
16349        * ForEachCoClass.h:
16350        Added WebWorkersPrivate.
16351        * Interfaces/IWebWorkersPrivate.idl: Added.
16352        * Interfaces/WebKit.idl:
16353        Added WebWorkersPrivate.
16354        * WebKit.vcproj/Interfaces.vcproj:
16355        * WebKit.vcproj/WebKit.vcproj:
16356        * WebWorkersPrivate.cpp: Added.
16357        Implementation of the IWebWorkersPrivate COM interface, to expose workerThreadCount() for DumpRenderTree.
16358        (WebWorkersPrivate::QueryInterface):
16359        (WebWorkersPrivate::AddRef):
16360        (WebWorkersPrivate::Release):
16361        (WebWorkersPrivate::workerThreadCount):
16362        (WebWorkersPrivate::createInstance):
16363        (WebWorkersPrivate::WebWorkersPrivate):
16364        (WebWorkersPrivate::~WebWorkersPrivate):
16365        * WebWorkersPrivate.h: Added.
16366
163672009-08-17  Peter Kasting  <pkasting@google.com>
16368
16369        Reviewed by Steve Falkenburg.
16370
16371        https://bugs.webkit.org/show_bug.cgi?id=27323
16372        Only add Cygwin to the path when it isn't already there.  This avoids
16373        causing problems for people who purposefully have non-Cygwin versions of
16374        executables like svn in front of the Cygwin ones in their paths.
16375
16376        * WebKit.vcproj/Interfaces.vcproj:
16377        * WebKit.vcproj/InterfacesGenerated.vcproj:
16378        * WebKit.vcproj/WebKit.vcproj:
16379        * WebKit.vcproj/WebKitGUID.vcproj:
16380
163812009-08-17  Simon Fraser  <simon.fraser@apple.com>
16382
16383        Speculative fix for Windows build bustage.
16384
16385        * DOMHTMLClasses.cpp:
16386        (DOMHTMLElement::idName):
16387
163882009-08-13  Jon Honeycutt  <jhoneycutt@apple.com>
16389
16390        Part of <rdar://problem/6218721> No MSAA focus events fired for Webkit
16391        nightly (20866)
16392
16393        https://bugs.webkit.org/show_bug.cgi?id=20866
16394
16395        Reviewed by Oliver Hunt.
16396
16397        * AccessibleBase.cpp:
16398        (AccessibleBase::getAccessibilityObjectForChild):
16399        If the child ID is negative, negate it and treat it as an AXID.
16400
164012009-08-12  Brian Weinstein  <bweinstein@apple.com>
16402
16403        Reviewed by Adam Roben.
16404
16405        Fix of <rdar://6728361> Mouse wheel scrolling on a page with expanded drop down 
16406        list detaches drop down.
16407        
16408        Added a check in mouseWheel to see if our focus is currently in a popup, if so, close
16409        the popup (matches other browser behavior).
16410
16411        * WebView.cpp:
16412        (WebView::mouseWheel):
16413
164142009-08-12  Adam Roben  <aroben@apple.com>
16415
16416        Make WebPreferenceKeysPrivate.h available for client use
16417
16418        Reviewed by Dave Hyatt.
16419
16420        Fixes <http://webkit.org/b/28227>.
16421
16422        * WebKit.vcproj/WebKit.vcproj: Copy WebPreferenceKeysPrivate.h to
16423        $WebKitOutputDir, just like we do for a few other headers. Also let VS
16424        reorder some XML attributes.
16425
16426        * WebPreferenceKeysPrivate.h: Touched this file to force a build.
16427
164282009-08-11  Adam Roben  <aroben@apple.com>
16429
16430        Remove support for a window resizer within the WebView
16431
16432        Starting with Safari 4, there is never a window resizer inside the
16433        WebView, so we no longer need to support that functionality.
16434
16435        Fixes <http://webkit.org/b/28190> Remove support for a window resizer
16436        within the WebView
16437
16438        Reviewed by Dave Hyatt.
16439
16440        * Interfaces/IWebUIDelegatePrivate.idl: Replaced the delegate
16441        functions related to the window resizer with unused*() functions. We
16442        can't remove them entirely because we need to keep the vtable
16443        unchanged so new versions of WebKit will work with old versions of
16444        Safari (e.g., for nightlies and WebKit development).
16445
16446        * WebCoreSupport/WebChromeClient.cpp:
16447        (WebChromeClient::windowResizerRect): Now always returns an empty
16448        rect.
16449
16450        * WebView.cpp:
16451        (WebView::paint):
16452        (WebView::handleMouseEvent):
16453        * WebView.h:
16454        Removed window-resizer-related code.
16455
164562009-08-11  John Gregg  <johnnyg@google.com>
16457
16458        Reviewed by Maciej Stachowiak.
16459
16460        Move the accessor for notifications presenter from WebUIDelegate
16461        to WebUIDelegate2 which extends it.  When making this call from
16462        WebCoreSupport, check using QueryInterface before calling.
16463
16464        https://bugs.webkit.org/show_bug.cgi?id=28198
16465
16466        * Interfaces/IWebUIDelegate.idl:
16467        * Interfaces/IWebUIDelegate2.idl: Added.
16468        * Interfaces/WebKit.idl:
16469        * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
16470        (WebDesktopNotificationsDelegate::show):
16471        (WebDesktopNotificationsDelegate::cancel):
16472        (WebDesktopNotificationsDelegate::notificationObjectDestroyed):
16473        (WebDesktopNotificationsDelegate::requestPermission):
16474        (WebDesktopNotificationsDelegate::checkPermission):
16475        (WebDesktopNotificationsDelegate::hasNotificationDelegate):
16476        (WebDesktopNotificationsDelegate::notificationDelegate):
16477        * WebCoreSupport/WebDesktopNotificationsDelegate.h:
16478
164792009-08-11  Drew Wilson  <atwilson@google.com>
16480
16481        Reviewed by NOBODY (build break).
16482
16483        Speculative Windows build fix - undo previous unnecessary change.
16484
16485        * WebCoreSupport/WebDesktopNotificationsDelegate.h:
16486
164872009-08-11  Brian Weinstein  <bweinstein@apple.com>
16488
16489        Reviewed by Steve Falkenburg.
16490
16491        Refactored MIMETypeforExtension to be a member of IWebViewPrivate
16492        instead of IWebView.
16493
16494        * Interfaces/IWebView.idl:
16495        * Interfaces/IWebViewPrivate.idl:
16496        * WebView.cpp:
16497        (WebView::MIMETypeForExtension):
16498        * WebView.h:
16499
165002009-08-11  Drew Wilson <atwilson@google.com>
16501
16502        Reviewed by NOBODY (build break)
16503
16504        Speculative fix for windows build break.
16505
16506        * WebKitSupport/WebDesktopNotificationsDelegate.h:
16507        WebCore/Notification*.h => WebCore/notifications/Notification*.h
16508
165092009-08-11  John Gregg  <johnnyg@google.com>
16510
16511        Reviewed by Maciej Stachowiak.
16512
16513        Desktop Notifications API
16514        https://bugs.webkit.org/show_bug.cgi?id=25643
16515
16516        Adds test hooks for notification features to WebCoreSupport for
16517        use in DumpRenderTree.
16518
16519        * Interfaces/IWebDesktopNotificationsDelegate.idl: Added.
16520        * Interfaces/IWebUIDelegate.idl:
16521        * Interfaces/WebKit.idl:
16522        * WebCoreSupport/WebChromeClient.cpp:
16523        (WebChromeClient::WebChromeClient):
16524        * WebCoreSupport/WebChromeClient.h:
16525        (WebChromeClient::notificationPresenter):
16526        * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: Added.
16527        (NotificationCOMWrapper::create):
16528        (NotificationCOMWrapper::NotificationCOMWrapper):
16529        (NotificationCOMWrapper::QueryInterface):
16530        (NotificationCOMWrapper::AddRef):
16531        (NotificationCOMWrapper::Release):
16532        (NotificationCOMWrapper::isHTML):
16533        (NotificationCOMWrapper::contentsURL):
16534        (NotificationCOMWrapper::iconURL):
16535        (NotificationCOMWrapper::title):
16536        (NotificationCOMWrapper::text):
16537        (NotificationCOMWrapper::notifyDisplay):
16538        (NotificationCOMWrapper::notifyError):
16539        (NotificationCOMWrapper::notifyClose):
16540        (WebDesktopNotificationsDelegate::WebDesktopNotificationsDelegate):
16541        (WebDesktopNotificationsDelegate::show):
16542        (WebDesktopNotificationsDelegate::cancel):
16543        (WebDesktopNotificationsDelegate::notificationObjectDestroyed):
16544        (WebDesktopNotificationsDelegate::requestPermission):
16545        (WebDesktopNotificationsDelegate::checkPermission):
16546        (WebDesktopNotificationsDelegate::notificationDelegate):
16547        * WebCoreSupport/WebDesktopNotificationsDelegate.h: Added.
16548        * WebCoreSupport/WebInspectorDelegate.h:
16549        (WebInspectorDelegate::desktopNotificationsDelegate):
16550        * WebKit.vcproj/Interfaces.vcproj:
16551        * WebKit.vcproj/WebKit.vcproj:
16552
165532009-08-11  Brian Weinstein  <bweinstein@apple.com>
16554
16555        Reviewed by Adam Roben.
16556
16557        Fix of <rdar://5016504> SVG file cannot be dragged to webview,
16558        but can be opened via Open File.
16559        
16560        Added a new function to IWebView that gets the MIME type for a given 
16561        extension from the MIMETypeRegistry.
16562
16563        * Interfaces/IWebView.idl:
16564        * WebView.cpp:
16565        (WebView::MIMETypeForExtension):
16566        * WebView.h:
16567
165682009-08-11  Dmitry Titov <dimich@chromium.org>
16569
16570        Reviewed by Adam Roben.
16571
16572        Originally implemented by Glenn Wilson  <gwilson@chromium.org>.
16573
16574        Added support for overriding default preferences per-test.
16575        See https://bugs.webkit.org/show_bug.cgi?id=20534
16576
16577        * Interfaces/IWebPreferencesPrivate.idl: added new method setPreferenceForTest
16578        * WebPreferences.cpp: same.
16579        * WebPreferences.h: same.
16580
165812009-08-10  Dan Bernstein  <mitz@apple.com>
16582
16583        Reviewed by Darin Adler.
16584
16585        Link drag images specify Lucida Grande on Windows and end up using Times
16586        New Roman
16587        <rdar://problem/7117835>
16588
16589        * WebCoreSupport/WebDragClient.cpp:
16590        (dragLabelFont): Added a RenderingMode parameter and changed to use the
16591            same typeface as the Windows small caption font.
16592        (WebDragClient::createDragImageForLink): Changed to respect the
16593            page’s rendering mode.
16594
165952009-08-10  Brent Fulgham  <bfulgham@webkit.org>
16596
16597        Reviewed by Adam Roben.
16598
16599        https://bugs.webkit.org/show_bug.cgi?id=28048.
16600        Move various WinCairo build settings into *.vsprops file.
16601
16602        * WebKit.vcproj/WebKit.vcproj: Add new cURL.vsprops property sheet
16603          (which contains link settings for cURL and its dependencies), and
16604          remove the corresponding entries from the vcproj file.  Remove
16605          png, jpeg, cairo library linking flags from vcproj, now that they
16606          are in the WinCairo.vsprops file.
16607
166082009-08-09  Nikolas Zimmermann  <nikolas.zimmermann@torchmobile.com>
16609
16610        Reviewed by George Staikos.
16611
16612        [WML] Deck access control is completly broken
16613        https://bugs.webkit.org/show_bug.cgi?id=27721
16614
16615        Synchronize WebFrameLoadType with FrameLoadType enum. Append 'WebFrameLoadTypeBackWMLDeckNotAccessible'.
16616
16617        * Interfaces/IWebFramePrivate.idl:
16618
166192009-08-09  Nikolas Zimmermann  <nikolas.zimmermann@torchmobile.com>
16620
16621        Reviewed by Maciej Stachowiak.
16622
16623        FrameLoadType / WebFrameLoadType enums are out of sync
16624        https://bugs.webkit.org/show_bug.cgi?id=28132
16625
16626        Synchronize FrameLoadType <-> WebFrameLoadType enums (append missing 'WebFrameLoadTypeReloadFromOrigin' value)
16627
16628        * Interfaces/IWebFramePrivate.idl:
16629
166302009-08-06  Adam Barth  <abarth@webkit.org>
16631
16632        Unreviewed revert.
16633
16634        http://bugs.webkit.org/show_bug.cgi?id=27879
16635
16636        Revert 46877 because it broke GTK.
16637
16638        * COMPropertyBag.h:
16639
166402009-08-06  Zoltan Horvath  <hzoltan@inf.u-szeged.hu>
16641
16642        Reviewed by Adam Barth.
16643
16644        Change Noncopyable inheriting to public
16645        http://bugs.webkit.org/show_bug.cgi?id=27879
16646
16647        Since Noncopyable is inherited from FastAllocBase,
16648        Noncopyable's inheriting has been changed to public.
16649
16650        * COMPropertyBag.h:
16651
166522009-08-04  Alice Liu  <alice.liu@apple.com>
16653
16654        "Shift + Enter" should behave like "Enter" in editable fields.
16655        Affects backward search in find-in-page in Safari for Windows
16656
16657        Reviewed by Jon Honeycutt.
16658
16659        * WebView.cpp:
16660        Register shift+enter as InsertNewline command, similar to other 
16661        modifier+Enter combinations.
16662
166632009-07-29  Jon Honeycutt  <jhoneycutt@apple.com>
16664
16665        Part of <rdar://problem/5698113> Safari shouldn't auto-activate
16666        plug-ins in background tabs (make Win consistent with Mac)
16667
16668        https://bugs.webkit.org/show_bug.cgi?id=27855
16669
16670        Reviewed by Adam Roben and Anders Carlsson.
16671
16672        * Interfaces/IWebViewPrivate.idl:
16673        Add setCanStartPlugins().
16674
16675        * WebCoreSupport/WebFrameLoaderClient.cpp:
16676        (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
16677        Added; code moved from createPlugin(). Modified to obtain the plug-in's
16678        page URL, the plug-ins "plug-ins page" parameter value, and the
16679        plug-in's MIME type by calling getter functions on the passed
16680        PluginView.
16681        (WebFrameLoaderClient::createPlugin):
16682        If the plug-in status is not "success," call
16683        dispatchDidFailToStartPlugin().
16684
16685        * WebCoreSupport/WebFrameLoaderClient.h:
16686        Declare an override of dispatchDidFailToStartPlugin().
16687
16688        * WebView.cpp:
16689        (WebViewWndProc):
16690        Add a missing ) to a comment.
16691        (WebView::setCanStartPlugins):
16692        Call the Page's setCanStartPlugins() function.
16693
16694        * WebView.h:
16695
166962009-07-30  Darin Adler  <darin@apple.com>
16697
16698        Reviewed by David Levin.
16699
16700        Use checked casts for render tree
16701        https://bugs.webkit.org/show_bug.cgi?id=23522
16702
16703        * DOMHTMLClasses.cpp:
16704        (DOMHTMLInputElement::isUserEdited):
16705        (DOMHTMLTextAreaElement::isUserEdited):
16706        Use checked casts.
16707
167082009-07-31  Anders Carlsson  <andersca@apple.com>
16709
16710        Reviewed by Dan Bernstein.
16711
16712        -Fix <rdar://problem/7104097>
16713
16714        Make EmbeddedWidget::create return a PassRefPtr so it will have the correct ref count.
16715        
16716        * WebCoreSupport/EmbeddedWidget.cpp:
16717        (EmbeddedWidget::create):
16718        * WebCoreSupport/EmbeddedWidget.h:
16719
167202009-07-29  Brian Weinstein  <bweinstein@apple.com>
16721
16722        Was doing the build fix wrong, NotImplemented.h is in WebCore.
16723
16724        * WebCoreSupport/WebInspectorClient.cpp:
16725
167262009-07-29  Brian Weinstein  <bweinstein@apple.com>
16727
16728        Windows build fix.
16729
16730        * WebCoreSupport/WebInspectorClient.cpp:
16731
167322009-07-29  Kevin McCullough  <kmccullough@apple.com>
16733
16734        Reviewed by Darin Adler.
16735
16736        Added foundation work to allow a testing infrastructure for the Web
16737        Inspector.
16738
16739        * WebCoreSupport/WebInspectorClient.cpp:
16740        (WebInspectorClient::inspectorWindowObjectCleared): Empty definition
16741        to let Windows compile but we should implement this at some point so
16742        that the tests can be run on Windows too.
16743        * WebCoreSupport/WebInspectorClient.h:
16744
167452009-07-28  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
16746
16747        Reviewed by Steve Falkenburg.
16748
16749        Add output directory for VS pre-build steps to enable out-of-tree builds
16750
16751        https://bugs.webkit.org/show_bug.cgi?id=27700
16752
16753        The tmp.obj file is now placed in the intermediate build directory.
16754
16755        * WebKit.vcproj/WebKit.vcproj:
16756
167572009-07-27  Brian Weinstein  <bweinstein@apple.com>
16758
16759        Build fix for Windows.
16760
16761        * WebView.cpp:
16762        (WebView::stringByEvaluatingJavaScriptFromString):
16763
167642009-07-27  Alexey Proskuryakov  <ap@webkit.org>
16765
16766        Reviewed by Darin Adler.
16767
16768        https://bugs.webkit.org/show_bug.cgi?id=27735
16769        Give a helpful name to JSLock constructor argument
16770
16771        * WebCoreStatistics.cpp:
16772        (WebCoreStatistics::javaScriptObjectsCount):
16773        (WebCoreStatistics::javaScriptGlobalObjectsCount):
16774        (WebCoreStatistics::javaScriptProtectedObjectsCount):
16775        (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
16776        (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
16777        * WebJavaScriptCollector.cpp:
16778        (WebJavaScriptCollector::objectCount):
16779        * WebView.cpp:
16780        (WebView::stringByEvaluatingJavaScriptFromString):
16781
167822009-07-25  Kwang Yul Seo  <skyul@company100.net>
16783
16784        Reviewed by Darin Adler.
16785
16786        Windows build break due to warning C4819
16787        https://bugs.webkit.org/show_bug.cgi?id=27416
16788
16789        Disable C4819 warning to fix build.
16790
16791        * WebKit.vcproj/WebKit.vcproj:
16792
167932009-07-24  Brent Fulgham  <bfulgham@webkit.org>
16794
16795        Reviewed by Dave Hyatt.
16796
16797        Clean up dependencies on Apple support libraries for non-Apple build.
16798        http://bugs.webkit.org/show_bug.cgi?id=27532.
16799
16800        * DefaultDownloadDelegate.h: Conditionalize include of CFNetwork.h
16801        * WebDownload.h: Conditionalize include of CFNetwork.h
16802        * WebMutableURLRequest.cpp: Conditionalize include of CFNetwork.h
16803
168042009-07-24  Andrei Popescu  <andreip@google.com>
16805
16806        Reviewed by Anders Carlsson.
16807
16808        ApplicationCache should have size limit
16809        https://bugs.webkit.org/show_bug.cgi?id=22700
16810
16811        * WebCoreSupport/WebChromeClient.cpp:
16812        (WebChromeClient::reachedMaxAppCacheSize):
16813        Adds empty implementation of the reachedMaxAppCacheSize callback.
16814        * WebCoreSupport/WebChromeClient.h:
16815
168162009-07-23  Brady Eidson  <beidson@apple.com>
16817
16818        Reviewed by Geoff Garen.
16819
16820        WebFrameLoaderClient on Windows doesn't gracefully handle a null request returned from willSendRequest.
16821        https://bugs.webkit.org/show_bug.cgi?id=27595
16822
16823        * WebCoreSupport/WebFrameLoaderClient.cpp:
16824        (WebFrameLoaderClient::dispatchWillSendRequest):
16825
168262009-07-22  Takeshi Yoshino  <tyoshino@google.com>
16827
16828        Reviewed by Darin Adler.
16829
16830        VC++ 2005 Express failed to build WebKit due to raw UTF-8 string in WebKit/win/WebCoreLocalizedStrings.cpp
16831        https://bugs.webkit.org/show_bug.cgi?id=26375
16832
16833        Replace a multiplication sign (U+00D7) encoded in UTF-8 (0xC3 0x97) in WebCoreLocalizedStrings.cpp
16834        with hex escape sequences.
16835
16836        VC2005 failed to build due to this raw UTF-8 data in source code. Here's the warning message (
16837        treated as an error and stopped build).
16838
16839        WebCoreLocalizedStrings.cpp : warning C4819: The file contains a character that cannot be
16840        represented in the current code page (932). Save the file in Unicode format to prevent data loss
16841
16842        A change on WebKitTools/Scripts/extract-localizable-strings is attached to this change not to break
16843        localized string generation process.
16844
16845        * WebCoreLocalizedStrings.cpp:
16846        (WebCore::imageTitle):
16847
168482009-07-21  Roland Steiner  <rolandsteiner@google.com>
16849
16850        Reviewed by David Levin.
16851
16852        Add ENABLE_RUBY to list of build options
16853        https://bugs.webkit.org/show_bug.cgi?id=27324
16854
16855        * WebKit.vcproj/WebKit.vcproj: Added flag ENABLE_RUBY.
16856
168572009-07-20  Peter Kasting  <pkasting@google.com>
16858
16859        Reviewed by Mark Rowe.
16860
16861        https://bugs.webkit.org/show_bug.cgi?id=27468
16862        Back out r46060, which caused problems for some Apple developers.
16863
16864        * WebKit.vcproj/Interfaces.vcproj:
16865        * WebKit.vcproj/InterfacesGenerated.vcproj:
16866        * WebKit.vcproj/WebKit.vcproj:
16867        * WebKit.vcproj/WebKitGUID.vcproj:
16868
168692009-07-17  Brian Weinstein  <bweinstein@apple.com>
16870
16871        Reviewed by Adam Roben.
16872
16873        Fix of <rdar://problem/5712795> Win: Cannot change the height of the docked Web Inspector (14272)
16874        https://bugs.webkit.org/show_bug.cgi?id=14272
16875        
16876        Implemented resizing of inspector window when it is in attached mode. Implemented setAttachedWindowHeight
16877        to set window sizes and redraw the inspector and the inspected web view, and used stored preferences
16878        in InspectorController.cpp to remember user's preferred height.
16879
16880        * WebCoreSupport/WebInspectorClient.cpp:
16881
168822009-07-17  Peter Kasting  <pkasting@google.com>
16883
16884        Reviewed by Steve Falkenburg.
16885
16886        https://bugs.webkit.org/show_bug.cgi?id=27323
16887        Only add Cygwin to the path when it isn't already there.  This avoids
16888        causing problems for people who purposefully have non-Cygwin versions of
16889        executables like svn in front of the Cygwin ones in their paths.
16890
16891        * WebKit.vcproj/Interfaces.vcproj:
16892        * WebKit.vcproj/InterfacesGenerated.vcproj:
16893        * WebKit.vcproj/WebKit.vcproj:
16894        * WebKit.vcproj/WebKitGUID.vcproj:
16895
168962009-07-16  Fumitoshi Ukai  <ukai@chromium.org>
16897
16898        Reviewed by David Levin.
16899
16900        Add --web-sockets flag and ENABLE_WEB_SOCKETS define.
16901        https://bugs.webkit.org/show_bug.cgi?id=27206
16902        
16903        Add ENABLE_WEB_SOCKETS
16904
16905        * WebKit.vcproj/WebKit.vcproj: add ENABLE_WEB_SOCKETS
16906
169072009-07-16  Xiaomei Ji  <xji@chromium.org>
16908
16909        Reviewed by Darin Adler.
16910
16911        Fix tooltip does not get its directionality from its element's directionality.
16912        https://bugs.webkit.org/show_bug.cgi?id=24187
16913
16914        Per mitz's suggestion in comment #6, while getting the plain-text 
16915        title, we also get the directionality of the title. How to handle 
16916        the directionality is up to clients. Clients could ignore it, 
16917        or use attribute or unicode control characters to display the title
16918        as what they want.
16919
16920        * WebCoreSupport/WebChromeClient.cpp:
16921        (WebChromeClient::setToolTip): Add directionality as 2nd parameter to setToopTip() (without handling it yet).
16922        * WebCoreSupport/WebChromeClient.h: Add directionality as 2nd parameter to setToolTip().
16923        * WebElementPropertyBag.cpp:
16924        (WebElementPropertyBag::Read): Change call of spellingToolTip() and title() due to signature change.
16925
169262009-07-15  Darin Adler  <darin@apple.com>
16927
16928        Reviewed by Sam Weinig.
16929
16930        Renamed parseURL to deprecatedParseURL.
16931
16932        * WebCoreSupport/WebFrameLoaderClient.cpp:
16933        (WebFrameLoaderClient::createPlugin): Renamed.
16934
169352009-07-14  Steve Falkenburg  <sfalken@apple.com>
16936
16937        Reorganize JavaScriptCore headers into:
16938        API: include/JavaScriptCore/
16939        Private: include/private/JavaScriptCore/
16940
16941        Reviewed by Darin Adler.
16942
16943        * WebKit.vcproj/WebKit.vcproj:
16944
169452009-07-14  Zoltan Horvath  <hzoltan@inf.u-szeged.hu>
16946
16947        Reviewed by Darin Adler.
16948
16949        Change all Noncopyable inheriting visibility to public.
16950        https://bugs.webkit.org/show_bug.cgi?id=27225
16951
16952        Change all Noncopyable inheriting visibility to public because
16953        it is needed to the custom allocation framework (bug #20422).
16954
16955        * COMEnumVariant.h:
16956        * WebDatabaseManager.cpp:
16957        * WebInspector.h:
16958        * WebLocalizableStrings.cpp:
16959
169602009-07-13  Brent Fulgham  <bfulgham@webkit.org>
16961
16962        Reviewed by Adam Roben.
16963
16964        Refactor WebFrame::spoolPages for easier sharing with Windows Cairo.
16965        https://bugs.webkit.org/show_bug.cgi?id=27240.
16966
16967        * WebFrame.cpp:
16968        (WebFrame::printHeader): New shared method to print the header.
16969        (WebFrame::printFooter): New shared method to print the footer.
16970        (WebFrame::spoolPage): New conditionally-compiled method to print
16971         a page.
16972        (WebFrame::spoolPages): Revised to call the platform-specific spoolPage
16973         for each page.
16974        * WebFrame.h: Add new method prototypes.
16975
169762009-07-13  Brent Fulgham  <bfulgham@webkit.org>
16977
16978        Reviewed by Adam Roben.
16979
16980        Add new configuration flag for redistributable Windows build.
16981        https://bugs.webkit.org/show_bug.cgi=27087
16982
16983        * WebKit.vcproj/WebKit.vcproj: Add new WinCairo.vsprops to
16984          Debug_Cairo and Release_Cairo targets.
16985
169862009-07-12  Brent Fulgham  <bfulgham@gmail.com>
16987
16988        Speculative Windows build fix after http://trac.webkit.org/changeset/45786.
16989
16990        * WebCoreSupport/WebChromeClient.cpp:
16991        (WebChromeClient::addMessageToConsole):
16992
169932009-07-10  Adam Barth  <abarth@webkit.org>
16994
16995        Reviewed by Sam Weinig with the power of Grayskull.
16996
16997        Enable XSSAuditor by default.
16998
16999        * WebPreferences.cpp:
17000        (WebPreferences::initializeDefaultSettings):
17001
170022009-07-09  Drew Wilson  <atwilson@google.com>
17003
17004        Reviewed by Alexey Proskuryakov.
17005
17006        https://bugs.webkit.org/show_bug.cgi?id=26903
17007
17008        Turned on CHANNEL_MESSAGING by default because the MessageChannel API
17009        can now be implemented for Web Workers and is reasonably stable.
17010
17011       * WebKit.vcproj/WebKit.vcproj:
17012
170132009-07-09  Brian Weinstein  <bweinstein@apple.com>
17014
17015        Reviewed by Alice Liu.
17016
17017        Fix of <rdar://5712929> Add preferences key to remember if the Inspector was docked (14271)
17018        https://bugs.webkit.org/show_bug.cgi?id=27140
17019
17020        Added a preference key to remember whether the user prefers the inspector detached or attached.
17021
17022        * WebCoreSupport/WebInspectorClient.cpp:
17023        (WebInspectorClient::showWindow): Pass both parameters into setWindowVisible
17024        (WebInspectorClient::closeWindow): Ditto
17025        (WebInspectorClient::attachWindow): Set preference to attached windows here
17026        (WebInspectorClient::detachWindow): Set preference to detached windows here
17027        (WebInspectorClient::showWindowWithoutNotifications): Read preference for attached vs. detached
17028        (WebInspectorClient::onClose): Pass both parameters into setWindowVisible
17029
170302009-07-09  Alexey Proskuryakov  <ap@webkit.org>
17031
17032        Reviewed by Oliver Hunt.
17033
17034        <rdar://problem/6921671> Visit count shouldn't be incremented by redirects.
17035
17036        * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::updateGlobalHistory):
17037        Do not increase visit count if there is a redirect source. As a result, only pages that were
17038        explicitly visited by the user (by typing a URL, choosing one from bookmarks, or clicking
17039        a link) will be counted.
17040
17041        * Interfaces/IWebHistoryItemPrivate.idl:
17042        * WebHistory.cpp:
17043        (WebHistory::visitedURL):
17044        * WebHistory.h:
17045        * WebHistoryItem.cpp:
17046        (WebHistoryItem::visitedWithTitle):
17047        * WebHistoryItem.h:
17048        Marshal this new argument all the way down to WebCore.
17049
170502009-07-09  Beth Dakin and Jon Honeycutt <bdakin@apple.com>
17051
17052        Reviewed by Dave Hyatt.
17053
17054        Make Widget RefCounted to fix:
17055
17056        <rdar://problem/7038831> REGRESSION (TOT): In Mail, a crash occurs 
17057        at WebCore::Widget::afterMouseDown() after clicking To Do's close 
17058        box
17059        <rdar://problem/6978804> WER #16: Repro Access Violation in 
17060        WebCore::PluginView::bindingInstance (1310178023)
17061        -and-
17062        <rdar://problem/6991251> WER #13: Crash in WebKit!
17063        WebCore::PluginView::performRequest+203 (1311461169) 
17064
17065        * WebCoreSupport/WebFrameLoaderClient.cpp:
17066        (WebFrameLoaderClient::createPlugin):
17067        * WebCoreSupport/WebFrameLoaderClient.h:
17068        * WebFrame.cpp:
17069        (WebFrame::createJavaAppletWidget):
17070        * WebFrame.h:
17071
170722009-07-09  Sam Weinig  <sam@webkit.org>
17073
17074        Reviewed by Steve Falkenburg.
17075
17076        Roll out r43848. The quirk is no longer necessary.
17077
17078        * WebView.cpp:
17079        (WebView::userAgentForKURL):
17080
170812009-07-07  Ada Chan  <adachan@apple.com>
17082
17083        Reviewed by Dave Hyatt.
17084
17085        Missed a call to FocusController::setFocused(true) when handling WM_SETFOCUS in WebView.
17086        https://bugs.webkit.org/show_bug.cgi?id=27057
17087
17088        * WebView.cpp:
17089        (WebViewWndProc):
17090
170912009-07-02  Erik Arvidsson  <arv@chromium.org>
17092
17093        Reviewed by Adam Roben.
17094
17095        [Win] HTML5 Drag and drop, dragend is not fired when pressing Esc
17096        https://bugs.webkit.org/show_bug.cgi?id=26699
17097
17098        * WebDropSource.cpp:
17099        (WebDropSource::QueryContinueDrag):
17100
171012009-07-02  Oliver Hunt  <oliver@apple.com>
17102
17103        Reviewed by Anders Carlsson.
17104
17105        <rdar://problem/6939593> REGRESSION (r37793): Hitting back button on Google often gives non-interactive Google page (26670)
17106        <https://bugs.webkit.org/show_bug.cgi?id=26670>
17107
17108        Make windows loader client match mac behaviour more closely.
17109
17110        * WebCoreSupport/WebFrameLoaderClient.cpp:
17111        (WebFrameLoaderClient::forceLayout):
17112
171132009-06-30  Brent Fulgham  <bfulgham@gmail.com>
17114
17115        Reviewed by Adam Roben.
17116
17117        Build DumpRenderTree under Cairo.
17118        https://bugs.webkit.org/show_bug.cgi?id=26457
17119
17120        * WebKit.vcproj/WebKit.sln: Add Cairo targets to the
17121          DumpRenderTree build, and use the in the Debug_Cairo
17122          and Release_Cairo targets.
17123
171242009-07-02  Eric Carlson  <eric.carlson@apple.com>
17125
17126        Fix Windows build by including missing localized string methods.
17127
17128        * WebCoreLocalizedStrings.cpp:
17129        (WebCore::mediaElementLoadingStateText):
17130        (WebCore::mediaElementLiveBroadcastStateText):
17131
171322009-07-01  David Hyatt  <hyatt@apple.com>
17133
17134        Reviewed by Tim Hatcher.
17135
17136        <rdar://problem/6998524> REGRESSION (r44474): Form text field has focus ring, looks focused,
17137        even though the field is not actually focused for keyboard input
17138        
17139        Add the concept of whether or not the Page is focused by adding a boolean to the focusController.  This allows the
17140        focused frame and focused node to both be cached and changed programmatically without causing errors when the Page doesn't
17141        have focus.
17142
17143        * WebView.cpp:
17144        (WebViewWndProc):
17145
171462009-06-29  David Hyatt  <hyatt@apple.com>
17147
17148        Fix Windows bustage.  Missed two configurations for enabling DATAGRID.
17149
17150        * WebKit.vcproj/WebKit.vcproj:
17151
171522009-06-29  Jessie Berlin  <jberlin@apple.com>
17153
17154        Reviewed by Adam Roben.
17155        
17156        Fix the windows build.
17157
17158        * WebCoreSupport/WebContextMenuClient.cpp:
17159        (WebContextMenuClient::isSpeaking):
17160        * WebCoreSupport/WebContextMenuClient.h:
17161
171622009-06-29  David Hyatt  <hyatt@apple.com>
17163
17164        Reviewed by Adam Roben.
17165
17166        Make sure to patch all configurations to have datagrid enabled.
17167
17168        * WebKit.vcproj/WebKit.vcproj:
17169
171702009-06-29  David Hyatt  <hyatt@apple.com>
17171
17172        Reviewed by Adam Roben.
17173
17174        Put <datagrid> behind an ifdef.
17175
17176        * WebKit.vcproj/WebKit.vcproj:
17177
171782009-06-26  Brian Weinstein  <bweinstein@apple.com>
17179
17180        Reviewed by Simon Fraser.
17181
17182        https://bugs.webkit.org/show_bug.cgi?id=26695
17183
17184        Added hit testing on scrollbars, so if you start a gesture over a scrollbar,
17185        it isn't counted, and lets the user drag the scrollbar itself instead of a
17186        panning gesture. Also cleaned up code in gesture.
17187
17188        * WebView.cpp:
17189        (WebView::gestureNotify):
17190        (WebView::gesture):
17191
171922009-06-26  Jeremy Orlow  <jorlow@chromium.org>
17193
17194        Reviewed by Adam Barth.
17195
17196        https://bugs.webkit.org/show_bug.cgi?id=26767
17197
17198        Fix a build break due to LocalStorage.h being included in WebKitDLL.cpp
17199        despite it being deleted from the repo by the following patch/commit:
17200        https://bugs.webkit.org/show_bug.cgi?id=26732
17201        http://trac.webkit.org/changeset/45290
17202
17203        * WebKitDLL.cpp:
17204
172052009-06-26  Yongjun Zhang  <yongjun.zhang@nokia.com>
17206
17207        Reviewed by Eric Seidel.
17208
17209        Bug 20303: [Qt] Key events are not working in frames.
17210
17211        Move the scroll handling code to EventHandler so that other
17212        ports can share the functionality.
17213
17214        * WebView.cpp:
17215        (WebView::keyDown):
17216        (EnumTextMatches::QueryInterface):
17217
172182009-06-23  Anders Carlsson  <andersca@apple.com>
17219
17220        Reviewed by Darin Adler.
17221
17222        WebKit side of <rdar://problem/6946094>.
17223
17224        * Interfaces/IWebUIDelegate.idl:
17225        Add a newPasteboard out parameter to willPerformDragSourceAction.
17226        
17227        * WebCoreSupport/WebDragClient.cpp:
17228        (WebDragClient::willPerformDragSourceAction):
17229        Implement this. If the client returns a new pasteboard, use it for the drag.
17230        
17231        * WebCoreSupport/WebInspectorDelegate.h:
17232        (WebInspectorDelegate::willPerformDragSourceAction):
17233        Add the new parameter.
17234
172352009-06-20  Darin Adler  <darin@apple.com>
17236
17237        Reviewed by Sam Weinig.
17238
17239        <rdar://problem/6964221> Need more processing of pluginspage.
17240
17241        * WebCoreSupport/WebFrameLoaderClient.cpp:
17242        (WebFrameLoaderClient::createPlugin): Check protocolInHTTPFamily.
17243
172442009-06-19  Kenneth Rohde Christiansen  <kenneth.christiansen@openbossa.org>
17245
17246        Reviewed by Steve Falkenburg.
17247
17248        https://bugs.webkit.org/show_bug.cgi?id=26494
17249        Bug 26494: RenderTheme::themeForPage reads from Settings before it has
17250        been initialized by WebKit
17251
17252        Get the shouldPaintNativeControls preference and update the settings
17253        before initializing the page, as the page depends on it after the
17254        themeForPage change.
17255
17256        * WebView.cpp:
17257        (WebView::initWithFrame):
17258
172592009-06-19  Brian Weinstein  <bweinstein@apple.com>
17260
17261        Reviewed by Steve Falkenburg.
17262        
17263        https://bugs.webkit.org/show_bug.cgi?id=26488
17264        No Support for Single Finger or Two Finger Panning in Windows 7
17265        
17266        Added the code necessary for single finger and two-finger panning with
17267        window bounce. We now register for WM_GESTURENOTIFY and WM_GESTURE messages,
17268        and interpret the panning command. Also, added WindowsTouch.h which contains 
17269        structs and #defines from the Windows 7 SDK.
17270
17271        * WebKit.vcproj/WebKit.vcproj:
17272        * WebView.cpp:
17273        (WebView::gestureNotify): Checks if we are in a pannable region - IE: Not in the scrollbar
17274        (WebView::gesture): Handles the Panning gesture, creating the WheelEvent
17275        (WebViewWndProc): Added cases for WM_GESTURE and WM_GESTURENOTIFY
17276        * WebView.h:
17277        * WindowsTouch.h: Added.
17278        
172792009-06-18  Adam Barth  <abarth@webkit.org>
17280
17281        Reviewed by Sam Weinig.
17282
17283        https://bugs.webkit.org/show_bug.cgi?id=26199
17284
17285        Added preference to enable the XSSAuditor.
17286
17287        * Interfaces/IWebPreferencesPrivate.idl:
17288        * WebPreferenceKeysPrivate.h:
17289        * WebPreferences.cpp:
17290        (WebPreferences::initializeDefaultSettings):
17291        (WebPreferences::isXSSAuditorEnabled):
17292        (WebPreferences::setXSSAuditorEnabled):
17293        * WebPreferences.h:
17294        * WebView.cpp:
17295        (WebView::notifyPreferencesChanged):
17296
172972009-06-18  Brent Fulgham  <bfulgham@gmail.com>
17298
17299        Reviewed by Dave Levin.
17300
17301        Remove some boilerplate using the BitmapInfo struct.
17302        https://bugs.webkit.org/show_bug.cgi?id=26425
17303
17304        * WebFrame.cpp:
17305        (WebFrame::spoolPages):
17306        * WebIconDatabase.cpp:
17307        (createDIB):
17308        * WebKit.vcproj/WebKit.sln:
17309        * WebNodeHighlight.cpp:
17310        (WebNodeHighlight::update):
17311        * WebView.cpp:
17312        (WebView::ensureBackingStore):
17313
173142009-06-17  Steve Falkenburg  <sfalken@apple.com>
17315
17316        Consolidate WebKit COM interfaces.
17317        Moved IID from the highest numbered COM interface to the first interface and combined all methods.
17318
17319        Numbered interfaces can be combined since the latest shipping Safari 4 supports the latest interfaces.
17320        
17321        Reviewed by Adam Roben.
17322
17323        * Interfaces/IWebFrameLoadDelegate.idl:
17324        * Interfaces/IWebFrameLoadDelegatePrivate.idl:
17325        * Interfaces/IWebResourceLoadDelegatePrivate.idl:
17326        * Interfaces/IWebUIDelegate.idl:
17327        * Interfaces/IWebUIDelegatePrivate.idl:
17328        * Interfaces/WebKit.idl:
17329        * WebCoreSupport/WebChromeClient.cpp:
17330        * WebCoreSupport/WebChromeClient.h:
17331        * WebCoreSupport/WebContextMenuClient.cpp:
17332        * WebCoreSupport/WebFrameLoaderClient.cpp:
17333        * WebCoreSupport/WebInspectorDelegate.h:
17334        * WebFrame.cpp:
17335        * WebView.cpp:
17336
173372009-06-16  Kenneth Rohde Christiansen  <kenneth.christiansen@openbossa.org>
17338
17339        Reviewed by Adam Roben.
17340
17341        Create a different RenderTheme per page, so that RenderTheme has
17342        access to page specific theming. This is needed for the Qt port, as Qt
17343        supports setting the theme (style) per widget.
17344
17345        This change was suggested and discussed with Dave Hyatt.
17346
17347        More detailed:
17348
17349        1) Create a theme per page or one global one, depending on the needs
17350           of the platform.
17351        2) Add an accesser to the theme from RenderObject.
17352        3) Change all uses of the theming to access the theme through
17353           RenderObject, using the global default theme as fallback, when the
17354           document of RenderObject has no page.
17355           When we don't have access to a RenderObject, use the default theme.
17356        4) Modify all RenderTheme platform implementations to work with the
17357           above changes, still creating only one global theme.
17358
17359        * WebView.cpp:
17360        (WebViewWndProc): Get the theme from the associated page.
17361
173622009-06-16  Brian Weinstein  <bweinstein@apple.com>
17363
17364        Reviewed by Adam Roben.
17365        
17366        Switch Control+Mousewheel Zooming definitions to match other browsers on Windows.
17367        Control+Mousewheel-Down now zooms out, Control+Mousewheel-Up now zooms in.
17368        https://bugs.webkit.org/show_bug.cgi?id=25875.
17369        <rdar://problem/6903976>
17370
17371        * WebView.cpp:
17372        (WebView::mouseWheel):
17373
173742009-06-16  Brent Fulgham  <bfulgham@gmail.com>
17375
17376        Reviewed by Darin Adler.
17377
17378        Use consistent Windows GUID Comparison Functions.
17379        https://bugs.webkit.org/show_bug.cgi?id=26427.
17380
17381        * WebView.cpp:
17382        (EnumTextMatches::QueryInterface):
17383
17384== Rolled over to ChangeLog-2009-06-16 ==
17385