Changeset 88413 in webkit


Ignore:
Timestamp:
Jun 8, 2011, 6:29:36 PM (14 years ago)
Author:
alokp@chromium.org
Message:

Merge 88403 - 2011-06-08 Brian Salomon <bsalomon@google.com> Reviewed by James Robinson. Avoid always binding FBO 0 implicitly when deleting FBO in DrawingBuffer code because it invalidates Ganesh's cache of the current FBO. https://bugs.webkit.org/show_bug.cgi?id=62318 Chromium-only crash Failures takes multiple seconds to occur, relying on JS garbage-collection to occur http://www.hotbazooka.com/privatejoe-large * platform/graphics/gpu/DrawingBuffer.cpp: (WebCore::DrawingBuffer::clear):
TBR=bsalomon@google.com
BUG=85157
Review URL: http://codereview.chromium.org/7044078

Location:
branches/chromium/782/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/chromium/782/Source/WebCore/ChangeLog

    r88272 r88413  
    1 2011-06-07  Alok Priyadarshi  <alokp@chromium.org>
    2 
    3         Reviewed by Stephen White.
    4 
    5         [chromium] PlatformContextSkia leaks SkDeviceFactory
    6         https://bugs.webkit.org/show_bug.cgi?id=62163
    7 
    8         Valgrind tests should have caught this.
    9 
    10         * platform/graphics/skia/PlatformContextSkia.cpp:
    11         (WebCore::PlatformContextSkia::setSharedGraphicsContext3D):
    12 
    13 2011-06-07  Emil A Eklund  <eae@chromium.org>
     12011-06-08  Brian Salomon  <bsalomon@google.com>
     2
     3        Reviewed by James Robinson.
     4
     5        Avoid always binding FBO 0 implicitly when deleting FBO in DrawingBuffer code because it invalidates Ganesh's cache of the current FBO.
     6        https://bugs.webkit.org/show_bug.cgi?id=62318
     7
     8        Chromium-only crash
     9        Failures takes multiple seconds to occur, relying on JS garbage-collection to occur
     10        http://www.hotbazooka.com/privatejoe-large
     11
     12        * platform/graphics/gpu/DrawingBuffer.cpp:
     13        (WebCore::DrawingBuffer::clear):
     14
     152011-06-08  Emil A Eklund  <eae@chromium.org>
    1416
    1517        Reviewed by Eric Seidel.
    1618
    17         Remove calls to deprecatedOffset and deprecatedNode in TypingCommand
    18         https://bugs.webkit.org/show_bug.cgi?id=58569
    19 
    20         Removed all calls to deprecatedOffset and deprecatedNode.
    21 
    22         * editing/TypingCommand.cpp:
    23         (WebCore::TypingCommand::insertText):
    24         (WebCore::TypingCommand::deleteKeyPressed):
    25         (WebCore::TypingCommand::forwardDeleteKeyPressed):
    26 
    27 2011-04-19  Adrienne Walker  <enne@google.com>
     19        RenderEmbeddedObject::getReplacementTextGeometry
     20        https://bugs.webkit.org/show_bug.cgi?id=62313
     21
     22        Replace the last use of tx, ty with IntPoint.
     23
     24        Covered by existing tests.
     25
     26        * platform/graphics/FloatRect.h:
     27        (WebCore::FloatRect::move):
     28        (WebCore::FloatRect::moveBy):
     29        * rendering/RenderEmbeddedObject.cpp:
     30        (WebCore::RenderEmbeddedObject::paintReplaced):
     31        (WebCore::RenderEmbeddedObject::getReplacementTextGeometry):
     32        (WebCore::RenderEmbeddedObject::isInMissingPluginIndicator):
     33        * rendering/RenderEmbeddedObject.h:
     34
     352011-06-08  Tim Horton  <timothy_horton@apple.com>
     36
     37        Reviewed by Ryosuke Niwa.
     38
     39        Use correct CFURLStorageSessionRef definition on Leopard, as
     40        we created an inconsistency in const-ness between
     41        WebCoreSystemInterface.h and these two files in the case
     42        of Leopard only.
     43        https://bugs.webkit.org/show_bug.cgi?id=62223
     44
     45        * platform/network/ResourceHandle.h:
     46        * platform/network/cf/ResourceRequest.h:
     47
     482011-06-08  Sailesh Agrawal  <sail@chromium.org>
     49
     50        Reviewed by Mihai Parparita.
     51
     52        Chromium Mac: Enable overlay scrollbars
     53        https://bugs.webkit.org/show_bug.cgi?id=59756
     54
     55        Sync ScrollbarThemeChromiumMac.mm/.h with ScrollbarThemeMac.mm to pick up support for overlay scrollbars. The only changes are renaming ScrollbarThemeMac to ScrollbarThemeChromiumMac and using runtime checks instead of #ifdef's.
     56
     57        No new tests, since this code is only enabled on future versions of Mac OS X.
     58
     59        * platform/chromium/ScrollAnimatorChromiumMac.mm: All changes to this file except in scroll() were to swap #if USE(WK_SCROLLBAR_PAINTER) with runtime checks.
     60        (WebCore::ScrollAnimatorChromiumMac::ScrollAnimatorChromiumMac):
     61        (WebCore::ScrollAnimatorChromiumMac::~ScrollAnimatorChromiumMac):
     62        (WebCore::ScrollAnimatorChromiumMac::notityPositionChanged):
     63        (WebCore::ScrollAnimatorChromiumMac::contentAreaWillPaint):
     64        (WebCore::ScrollAnimatorChromiumMac::mouseEnteredContentArea):
     65        (WebCore::ScrollAnimatorChromiumMac::mouseExitedContentArea):
     66        (WebCore::ScrollAnimatorChromiumMac::mouseMovedInContentArea):
     67        (WebCore::ScrollAnimatorChromiumMac::willStartLiveResize):
     68        (WebCore::ScrollAnimatorChromiumMac::contentsResized):
     69        (WebCore::ScrollAnimatorChromiumMac::willEndLiveResize):
     70        (WebCore::ScrollAnimatorChromiumMac::contentAreaDidShow):
     71        (WebCore::ScrollAnimatorChromiumMac::contentAreaDidHide):
     72        (WebCore::ScrollAnimatorChromiumMac::didBeginScrollGesture):
     73        (WebCore::ScrollAnimatorChromiumMac::didEndScrollGesture):
     74        (WebCore::ScrollAnimatorChromiumMac::didAddVerticalScrollbar):
     75        (WebCore::ScrollAnimatorChromiumMac::willRemoveVerticalScrollbar):
     76        (WebCore::ScrollAnimatorChromiumMac::didAddHorizontalScrollbar):
     77        (WebCore::ScrollAnimatorChromiumMac::willRemoveHorizontalScrollbar):
     78        (WebCore::ScrollAnimatorChromiumMac::cancelAnimations):
     79        * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm:
     80        (preferredScrollerStyle): Disabled overlay scrollbar styles due to trailing artifacts.
     81        (wkScrollbarPainterPaint): Fixed a problem where the scrollbar track wasn't being drawn.
     82        (wkScrollbarPainterKnobRect): Implemented a previously unimplemented function.
     83        (wkSetScrollbarPainterKnobStyle): Implemented a function that's now supported by the latest Mac OS X seeds.
     84        (isScrollbarOverlayAPIAvailable): Enabled new scrollbar code.
     85        * platform/chromium/ScrollbarThemeChromiumMac.h:
     86        * platform/chromium/ScrollbarThemeChromiumMac.mm: Sync with ScrollbarThemeMac.mm.
     87        (WebCore::scrollbarMap):
     88        (+[ScrollbarPrefsObserver appearancePrefsChanged:]):
     89        (WebCore::updateArrowPlacement):
     90        (WebCore::ScrollbarThemeChromiumMac::registerScrollbar):
     91        (WebCore::ScrollbarThemeChromiumMac::unregisterScrollbar):
     92        (WebCore::ScrollbarThemeChromiumMac::setNewPainterForScrollbar):
     93        (WebCore::ScrollbarThemeChromiumMac::painterForScrollbar):
     94        (WebCore::ScrollbarThemeChromiumMac::scrollbarThickness):
     95        (WebCore::ScrollbarThemeChromiumMac::usesOverlayScrollbars):
     96        (WebCore::ScrollbarThemeChromiumMac::hasButtons):
     97        (WebCore::ScrollbarThemeChromiumMac::hasThumb):
     98        (WebCore::buttonRepaintRect):
     99        (WebCore::ScrollbarThemeChromiumMac::minimumThumbLength):
     100        (WebCore::ScrollbarThemeChromiumMac::shouldDragDocumentInsteadOfThumb):
     101        (WebCore::toScrollbarPainterKnobStyle):
     102        (WebCore::ScrollbarThemeChromiumMac::paint):
     103
     1042011-06-06  Nate Chapin  <japhet@chromium.org>
     105
     106        Reviewed by Adam Barth.
     107
     108        Remove all knowledge of CachedResourceRequests from
     109        CachedResourceLoader. This puts the full burden of
     110        canceling these requests on DocumentLoader (via
     111        SubresourceLoader), and makes a CachedResourceRequest
     112        an OwnPtr in CachedResource.
     113
     114        https://bugs.webkit.org/show_bug.cgi?id=62308
     115
     116        * loader/FrameLoader.cpp:
     117        (WebCore::FrameLoader::stopLoading):
     118        * loader/cache/CachedResource.cpp:
     119        (WebCore::CachedResource::CachedResource):
     120        (WebCore::CachedResource::load):
     121        (WebCore::CachedResource::stopLoading):
     122        * loader/cache/CachedResource.h:
     123        * loader/cache/CachedResourceLoader.cpp:
     124        (WebCore::CachedResourceLoader::~CachedResourceLoader):
     125        (WebCore::CachedResourceLoader::loadDone):
     126        * loader/cache/CachedResourceLoader.h:
     127        * loader/cache/CachedResourceRequest.cpp:
     128        (WebCore::CachedResourceRequest::CachedResourceRequest):
     129        (WebCore::CachedResourceRequest::~CachedResourceRequest):
     130        (WebCore::CachedResourceRequest::load):
     131        (WebCore::CachedResourceRequest::didFinishLoading):
     132        (WebCore::CachedResourceRequest::didFail):
     133        (WebCore::CachedResourceRequest::didReceiveResponse):
     134        (WebCore::CachedResourceRequest::end):
     135        * loader/cache/CachedResourceRequest.h:
     136
     1372011-06-08  Mike Reed  <reed@google.com>
     138
     139        Reviewed by James Robinson.
     140
     141        [Skia] check for null-shader from gradient factory
     142        https://bugs.webkit.org/show_bug.cgi?id=62319
     143
     144        * platform/graphics/skia/GradientSkia.cpp:
     145        (WebCore::Gradient::platformDestroy):
     146        (WebCore::Gradient::platformGradient):
     147
     1482011-06-08  Kenneth Russell  <kbr@google.com>
     149
     150        Reviewed by Adam Barth.
     151
     152        Disallow use of cross-domain media (images, video) in WebGL
     153        https://bugs.webkit.org/show_bug.cgi?id=62257
     154
     155        Updated WebGL implementation to track recent spec updates in this area.
     156
     157        Tests: http/tests/security/webgl-remote-read-remote-image-allowed-with-credentials.html
     158               http/tests/security/webgl-remote-read-remote-image-allowed.html
     159               http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin.html
     160
     161        * html/canvas/CanvasRenderingContext.cpp:
     162        (WebCore::CanvasRenderingContext::wouldTaintOrigin):
     163        (WebCore::CanvasRenderingContext::checkOrigin):
     164        * html/canvas/CanvasRenderingContext.h:
     165        (WebCore::CanvasRenderingContext::checkOrigin):
     166        * html/canvas/WebGLRenderingContext.cpp:
     167        (WebCore::WebGLRenderingContext::readPixels):
     168        (WebCore::WebGLRenderingContext::texImage2D):
     169        (WebCore::WebGLRenderingContext::videoFrameToImage):
     170        (WebCore::WebGLRenderingContext::texSubImage2D):
     171        * html/canvas/WebGLRenderingContext.h:
     172
     1732011-06-08  John Bauman  <jbauman@chromium.org>
     174
     175        Reviewed by James Robinson.
     176
     177        Only draw portions of tiles in contentRect
     178        https://bugs.webkit.org/show_bug.cgi?id=62243
     179
     180        Old garbage data can remain in tiles, so make sure to draw only those
     181        portions that are supposed to be drawn.
     182
     183        Test: compositing/repaint/shrink-layer.html
     184
     185        * platform/graphics/chromium/LayerTilerChromium.cpp:
     186        (WebCore::LayerTilerChromium::draw):
     187
     1882011-06-08  Emil A Eklund  <eae@chromium.org>
     189
     190        Reviewed by Eric Seidel.
     191
     192        Convert RenderBlock::isPointInOverflowControl to IntPoint
     193        https://bugs.webkit.org/show_bug.cgi?id=62312
     194
     195        Covered by existing tests.
     196
     197        * rendering/RenderBlock.cpp:
     198        (WebCore::RenderBlock::isPointInOverflowControl):
     199        (WebCore::RenderBlock::nodeAtPoint):
     200        * rendering/RenderBlock.h:
     201        * rendering/RenderListBox.cpp:
     202        (WebCore::RenderListBox::isPointInOverflowControl):
     203        * rendering/RenderListBox.h:
     204
     2052011-06-08  James Simonsen  <simonjam@chromium.org>
     206
     207        Reviewed by Tony Gentilcore.
     208
     209        Fix clang issue, virtual function const mismatch
     210        https://bugs.webkit.org/show_bug.cgi?id=62307
     211
     212        No new tests. Built with clang & ran layout tests.
     213
     214        * page/MediaStreamFrameController.h:
     215        (WebCore::MediaStreamFrameController::GenericClient::isGenericClient):
     216
     2172011-06-08  Chris Rogers  <crogers@google.com>
    28218
    29219        Reviewed by Kenneth Russell.
    30220
    31         [chromium] Initialize depth mask to known value before getBooleanv call
    32         https://bugs.webkit.org/show_bug.cgi?id=58948
    33 
    34         This trips an assert in the GPU command buffer client code if the
    35         pointed-to value is not initialized to 0 or -1.
    36 
    37         * platform/graphics/gpu/DrawingBuffer.cpp:
    38         (WebCore::DrawingBuffer::clearFramebuffer):
    39 
    40 2011-04-19  Pratik Solanki  <psolanki@apple.com>
    41 
    42         Reviewed by Simon Fraser.
    43 
    44         BitmapImage::destroyMetadataAndNotify should clear m_checkedForSolidColor
    45         https://bugs.webkit.org/show_bug.cgi?id=58926
    46 
    47         * platform/graphics/BitmapImage.cpp:
    48         (WebCore::BitmapImage::destroyMetadataAndNotify): Set m_checkedForSolidColor to false.
    49         * platform/graphics/BitmapImage.h:
    50         (WebCore::BitmapImage::assertNotSolidColor):
    51         * platform/graphics/cg/ImageCG.cpp:
    52         (WebCore::Image::drawPattern): Add assert to make sure this is not called for a 1x1 image.
    53 
    54 2011-04-19  Ryosuke Niwa  <rniwa@webkit.org>
    55 
    56         Reviewed by Ojan Vafai.
    57 
    58         REGRESSION(r83967): Crash in selectionExtentRespectingEditingBoundary
    59         https://bugs.webkit.org/show_bug.cgi?id=58910
    60 
    61         The crash was caused by selectionExtentRespectingEditingBoundary's incorrectly assuming that
    62         targetNode always have renderer when there selection has an editable root and the target node
    63         is outside of the editable root.
    64        
    65         Fixed the bug by adding an early exit when the target node is null.
    66 
    67         No new tests are added since we don't have a reduction for this crash.
    68 
    69         * page/EventHandler.cpp:
    70         (WebCore::selectionExtentRespectingEditingBoundary):
    71 
    72 2011-04-19  Geoffrey Garen  <ggaren@apple.com>
    73 
    74         Try to fix v8 build.
    75 
    76         * bindings/scripts/CodeGeneratorV8.pm: This is a pretty bad system.
    77 
    78 2011-04-19  Enrica Casucci  <enrica@apple.com>
    79 
    80         Reviewed by Ryosuke Niwa.
    81 
    82         REGRESSION(r55762): Highlight color can't be copied in gmail.
    83         https://bugs.webkit.org/show_bug.cgi?id=58925
    84         <rdar://problem/9253057>
    85 
    86         Test: editing/pasteboard/copy-text-with-backgroundcolor.html
    87 
    88         The changes of r55762 uncovered the underlying issue here. The markup fragment
    89         placed in the pasteboard does not contain the background color style.
    90         This occurs only if the selection is limited to a single text node, whereas if the
    91         selection spans across multiple nodes, the style is preserved correctly.
    92         The fix consists in changing the logic that decides whether we should include the wrapping
    93         node in the markup. That logic is based on the code in highestAncestorToWrapMarkup which relies
    94         on isElementPresentational to choose candidates to be the wrapping node.
    95         I've extended it to accept nodes that have non fully transparent background colors.
    96 
    97         * editing/Editor.cpp:
    98         (WebCore::Editor::hasTransparentBackgroundColor): Now is a static method of the class.
    99         * editing/Editor.h:
    100         * editing/markup.cpp:
    101         (WebCore::isElementPresentational): Modified to use hasTransparentBackgroundColor.
    102 
    103 2011-04-19  Geoffrey Garen  <ggaren@apple.com>
    104 
    105         Reviewed by Oliver Hunt.
    106 
    107         Removed a use of markDOMObjectWrapper: NodeLists
    108         https://bugs.webkit.org/show_bug.cgi?id=58939
    109 
    110         * bindings/js/JSDocumentCustom.cpp:
    111         (WebCore::JSDocument::markChildren): No need to mark node lists, because
    112         now they use the opaque roots system to decide their lifetimes.
    113 
    114         * bindings/js/JSNamedNodeMapCustom.cpp: Removed stray newline.
    115 
    116         * bindings/js/JSNodeListCustom.cpp:
    117         (WebCore::JSNodeListOwner::isReachableFromOpaqueRoots):
    118         (WebCore::JSNodeListOwner::finalize):
    119         (WebCore::wrapperOwner):
    120         (WebCore::wrapperContext):
    121         (WebCore::toJS): Use the opaque roots system to avoid relying on
    122         markDOMObjectWrapper.
    123 
    124         * dom/DynamicNodeList.cpp:
    125         (WebCore::DynamicNodeList::isDynamicNodeList):
    126         * dom/DynamicNodeList.h:
    127         (WebCore::DynamicNodeList::rootNode): Added the ability to get the node
    128         backing a NodeList, for use in the opaque roots system.
    129 
    130         * dom/Node.cpp:
    131         * dom/Node.h:
    132         * dom/NodeList.h:
    133         (WebCore::NodeList::isDynamicNodeList): Ditto. Removed cruft related
    134         to the old way of marking NodeLists.
    135 
    136         * dom/NodeList.idl: We need a custom toJS so we can specify a custom
    137         WeakHandleOwner at construction time.
    138 
    139 2011-04-19  Antoine Labour  <piman@chromium.org>
    140 
    141         Reviewed by James Robinson.
    142 
    143         For invisible iframes, propagate compositing to parent instead of setting self
    144         as root.
    145         https://bugs.webkit.org/show_bug.cgi?id=58414
    146 
    147         Tests: compositing/iframes/invisible-iframe.html
    148                compositing/iframes/invisible-nested-iframe-hide.html
    149                compositing/iframes/invisible-nested-iframe-show.html
    150                compositing/iframes/invisible-nested-iframe.html
    151 
    152         * rendering/RenderLayerCompositor.cpp:
    153         (WebCore::RenderLayerCompositor::shouldPropagateCompositingToEnclosingFrame):
    154         Propagate compositing to parent even if frame owner has no renderer.
    155 
    156 2011-04-19  Dan Bernstein  <mitz@apple.com>
    157 
    158         Reviewed by Beth Dakin.
    159 
    160         <rdar://problem/9271848> Crash when the document element is removed
    161 
    162         Test: fast/events/overflow-viewport-renderer-deleted.html
    163 
    164         * page/FrameView.cpp:
    165         (WebCore::FrameView::calculateScrollbarModesForLayout): Reset m_viewportRenderer, in case this
    166         function takes a code path that doesn’t call applyOverflowToViewport().
    167         (WebCore::FrameView::layout): Whitespace change.
    168 
    169 2011-04-19  Beth Dakin  <bdakin@apple.com>
    170 
    171         Reviewed by Maciej Stachowiak.
    172 
    173         https://bugs.webkit.org/show_bug.cgi?id=57898
    174         REGRESSION (r82185): Scroll position not restored on navigation back to a page in
    175         the page cache
    176         -and corresponding-
    177         <rdar://problem/9226652>
    178 
    179         Setting the contentsSize of a ScrollView to (0, 0) necessarily causes the scroll
    180         position to be lost. (The scroll position is computed based on the
    181         visibleContentSize.) This patch provides a mechanism to cache the current scroll
    182         position, and then the HistoryController accesses only the cached position rather
    183         than calling scrollPosition() which does a computation based on the
    184         visibleContentSize.
    185 
    186         * loader/HistoryController.cpp:
    187         (WebCore::HistoryController::saveScrollPositionAndViewStateToItem):
    188         * page/FrameView.cpp:
    189         (WebCore::FrameView::resetScrollbarsAndClearContentsSize):
    190         * platform/ScrollView.h:
    191         (WebCore::ScrollView::cacheCurrentScrollPosition):
    192         (WebCore::ScrollView::cachedScrollPosition):
    193 
    194 2011-04-19  Renata Hodovan  <reni@webkit.org>
    195 
    196         Reviewed by Eric Seidel.
    197 
    198         Move the alignment related macros in Vector.h to new Alignment.h.
    199         https://bugs.webkit.org/show_bug.cgi?id=56000
    200 
    201         Adding the new file to the forwarding headers of WebCore.
    202 
    203         * ForwardingHeaders/wtf/Alignment.h: Added.
    204 
    205 2011-04-19  Oliver Hunt  <oliver@apple.com>
     221        Implement BiquadFilterNode for filter types: LOWPASS, HIGHPASS, BANDPASS, LOWSHELF, HIGHSHELF, PEAKING, NOTCH, ALLPASS
     222        https://bugs.webkit.org/show_bug.cgi?id=62078
     223
     224        No new tests since audio API is not yet implemented.
     225
     226        * DerivedSources.make:
     227        * WebCore.gypi:
     228        * WebCore.xcodeproj/project.pbxproj:
     229        * platform/audio/Biquad.cpp:
     230        (WebCore::Biquad::Biquad):
     231        (WebCore::Biquad::reset):
     232        (WebCore::Biquad::setLowpassParams):
     233        (WebCore::Biquad::setHighpassParams):
     234        (WebCore::Biquad::setNormalizedCoefficients):
     235        (WebCore::Biquad::setLowShelfParams):
     236        (WebCore::Biquad::setHighShelfParams):
     237        (WebCore::Biquad::setPeakingParams):
     238        (WebCore::Biquad::setAllpassParams):
     239        (WebCore::Biquad::setNotchParams):
     240        (WebCore::Biquad::setBandpassParams):
     241        (WebCore::Biquad::setZeroPolePairs):
     242        (WebCore::Biquad::setAllpassPole):
     243        * platform/audio/Biquad.h:
     244        * webaudio/AudioContext.cpp:
     245        (WebCore::AudioContext::createBiquadFilter):
     246        (WebCore::AudioContext::createLowPass2Filter):
     247        (WebCore::AudioContext::createHighPass2Filter):
     248        * webaudio/AudioContext.h:
     249        * webaudio/AudioContext.idl:
     250        * webaudio/AudioNode.h:
     251        * webaudio/BiquadDSPKernel.cpp:
     252        (WebCore::BiquadDSPKernel::process):
     253        * webaudio/BiquadFilterNode.cpp: Added.
     254        (WebCore::BiquadFilterNode::BiquadFilterNode):
     255        * webaudio/BiquadFilterNode.h: Added.
     256        (WebCore::BiquadFilterNode::create):
     257        (WebCore::BiquadFilterNode::type):
     258        (WebCore::BiquadFilterNode::setType):
     259        (WebCore::BiquadFilterNode::frequency):
     260        (WebCore::BiquadFilterNode::q):
     261        (WebCore::BiquadFilterNode::gain):
     262        (WebCore::BiquadFilterNode::biquadProcessor):
     263        * webaudio/BiquadFilterNode.idl: Added.
     264        * webaudio/BiquadProcessor.cpp:
     265        (WebCore::BiquadProcessor::BiquadProcessor):
     266        * webaudio/BiquadProcessor.h:
     267        (WebCore::BiquadProcessor::setType):
     268        * webaudio/HighPass2FilterNode.cpp:
     269        (WebCore::HighPass2FilterNode::HighPass2FilterNode):
     270        * webaudio/LowPass2FilterNode.cpp:
     271        (WebCore::LowPass2FilterNode::LowPass2FilterNode):
     272
     2732011-06-08  No'am Rosenthal  <noam.rosenthal@nokia.com>
     274
     275        Reviewed by Kenneth Rohde Christiansen.
     276
     277        WebKit2: Enable serializing of data types needed for cross-process accelerated compositing
     278        https://bugs.webkit.org/show_bug.cgi?id=61694
     279
     280        No new tests, code path is not activated yet.
     281
     282        * WebCore.xcodeproj/project.pbxproj: Changed the TransformOperation subclassed from "project" to "private"
     283
     2842011-06-08  Tom Sepez  <tsepez@chromium.org>
     285
     286        Reviewed by Adam Barth.
     287
     288        Cause checks for insecure content blocking policy to callback to client.
     289        https://bugs.webkit.org/show_bug.cgi?id=61946
     290        Tests: platform/chromium/http/tests/security/mixedContent/insecure-image-in-main-frame-allowed.html
     291               platform/chromium/http/tests/security/mixedContent/insecure-image-in-main-frame-blocked.html
     292               platform/chromium/http/tests/security/mixedContent/insecure-script-in-main-frame-allowed.html
     293               platform/chromium/http/tests/security/mixedContent/insecure-script-in-main-frame-blocked.html
     294
     295        * loader/FrameLoader.cpp:
     296        (WebCore::FrameLoader::checkIfDisplayInsecureContent):
     297        (WebCore::FrameLoader::checkIfRunInsecureContent):
     298        * loader/FrameLoaderClient.h:
     299        (WebCore::FrameLoaderClient::allowDisplayingInsecureContent):
     300        (WebCore::FrameLoaderClient::allowRunningInsecureContent):
     301
     3022011-06-08  Kevin Ollivier  <kevino@theolliviers.com>
     303
     304        [wx] Build fix after introduction of FontCache::ShouldRetain
     305
     306        * platform/graphics/wx/FontCacheWx.cpp:
     307        (WebCore::FontCache::getFontDataForCharacters):
     308
     3092011-06-08  Sheriff Bot  <webkit.review.bot@gmail.com>
     310
     311        Unreviewed, rolling out r88365.
     312        http://trac.webkit.org/changeset/88365
     313        https://bugs.webkit.org/show_bug.cgi?id=62301
     314
     315        windows bots broken (Requested by loislo_ on #webkit).
     316
     317        * inspector/InspectorValues.cpp:
     318        (WebCore::InspectorBasicValue::writeJSON):
     319
     3202011-06-08  Mikołaj Małecki  <m.malecki@samsung.com>
     321
     322        Reviewed by Pavel Feldman.
     323
     324        Web Inspector: Crash by buffer overrun crash when serializing inspector object tree.
     325        https://bugs.webkit.org/show_bug.cgi?id=52791
     326
     327        No new tests. The problem can be reproduced by trying to create InspectorValue
     328        from 1.0e-100 and call ->toJSONString() on this.
     329
     330        * inspector/InspectorValues.cpp:
     331        (WebCore::InspectorBasicValue::writeJSON):
     332        Added checking the predicted buffer size and choosing exponential format, or
     333        eventually "NaN" if the buffer is too small for decimal format.
     334
     3352011-06-08  Nico Weber  <thakis@chromium.org>
     336
     337        Reviewed by Darin Adler.
     338
     339        Fix a ?: precedence error in ScrollbarThemeMac and ScrollbarThemeChromium
     340        https://bugs.webkit.org/show_bug.cgi?id=62295
     341
     342        This was found by a new warning recently added to clang's -Wparentheses
     343
     344        * platform/chromium/ScrollbarThemeChromiumMac.mm:
     345        (WebCore::ScrollbarThemeChromiumMac::backButtonRect):
     346        * platform/mac/ScrollbarThemeMac.mm:
     347        (WebCore::ScrollbarThemeMac::backButtonRect):
     348
     3492011-06-08  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
    206350
    207351        Reviewed by Andreas Kling.
    208352
    209         [Qt] QtInstance method cache ownership rules are unclear
    210         https://bugs.webkit.org/show_bug.cgi?id=58820
    211 
    212         Make the QtInstance method cache use WriteBarrier, and handle
    213         ownership properly.
    214 
    215         * bridge/qt/qt_class.cpp:
    216         (JSC::Bindings::QtClass::fallbackObject):
    217         (JSC::Bindings::QtClass::fieldNamed):
    218         * bridge/qt/qt_instance.cpp:
    219         (JSC::Bindings::QtInstance::~QtInstance):
    220         (JSC::Bindings::QtInstance::removeCachedMethod):
    221         (JSC::Bindings::QtInstance::newRuntimeObject):
    222         (JSC::Bindings::QtInstance::markAggregate):
    223         * bridge/qt/qt_instance.h:
    224 
    225 2011-04-19  David Kilzer  <ddkilzer@apple.com>
    226 
    227         <http://webkit.org/b/57867> Re-order enum ResourceLoadPriority to make Unresolved value less important
    228 
    229         Reviewed by Antti Koivisto.
    230 
    231         * platform/network/ResourceLoadPriority.h:
    232         (enum ResourceLoadPriority): Moved Unresolved enum to the top of
    233         the list and set to -1 to emphasize the fact that this is an
    234         unresolved priority (rather than one higher than the highest
    235         priority).  Removed whitespace from the end of all enum lines.
    236 
    237 2011-04-19  Simon Fraser  <simon.fraser@apple.com>
    238 
    239         Reviewed by David Hyatt.
    240 
    241         Background radius is wrong for split inline
    242         https://bugs.webkit.org/show_bug.cgi?id=58843
    243        
    244         When computing the radii for a segment of a split inline, we have to
    245         constrain those radii for the current segment, while still drawing
    246         using the entire logical width.
    247 
    248         Tests: fast/backgrounds/border-radius-split-background-image.html
    249                fast/backgrounds/border-radius-split-background.html
    250 
    251         * rendering/InlineFlowBox.cpp:
    252         (WebCore::InlineFlowBox::paintFillLayer):
    253         Pass height and width for this box only to paintFillLayer()
    254        
    255         * rendering/RenderBox.cpp:
    256         (WebCore::RenderBox::paintFillLayer):
    257         Pass 0 for unused inlineBox height and width.
    258 
    259         * rendering/RenderBoxModelObject.h:
    260         * rendering/RenderBoxModelObject.cpp:
    261         (WebCore::RenderBoxModelObject::getBackgroundRoundedRect):
    262         When computing the rounded background rect, we have to take the size of
    263         this segment of the inline box into account for radius constraining.
    264         (WebCore::RenderBoxModelObject::paintFillLayerExtended):
    265         Call getBackgroundRoundedRect() in two places.
    266 
    267 2011-04-19  Simon Fraser  <simon.fraser@apple.com>
    268 
    269         Build fix. For some reason RenderBoxModelObject.cpp
    270         was missing from my last commit.
    271 
    272         * rendering/RenderBoxModelObject.cpp:
    273         (WebCore::borderWillArcInnerEdge):
    274         (WebCore::edgeFlagForSide):
    275         (WebCore::includesEdge):
    276         (WebCore::BorderEdge::BorderEdge):
    277         (WebCore::BorderEdge::hasVisibleColorAndStyle):
    278         (WebCore::BorderEdge::shouldRender):
    279         (WebCore::BorderEdge::presentButInvisible):
    280         (WebCore::BorderEdge::usedWidth):
    281         (WebCore::BorderEdge::getDoubleBorderStripeWidths):
    282         (WebCore::edgesShareColor):
    283         (WebCore::styleRequiresClipPolygon):
    284         (WebCore::borderStyleFillsBorderArea):
    285         (WebCore::borderStyleHasInnerDetail):
    286         (WebCore::borderStyleIsDottedOrDashed):
    287         (WebCore::borderStyleHasUnmatchedColorsAtCorner):
    288         (WebCore::colorsMatchAtCorner):
    289         (WebCore::willBeOverdrawn):
    290         (WebCore::borderStylesRequireMitre):
    291         (WebCore::joinRequiresMitre):
    292         (WebCore::RenderBoxModelObject::paintOneBorderSide):
    293         (WebCore::RenderBoxModelObject::paintBorderSides):
    294         (WebCore::RenderBoxModelObject::paintTranslucentBorderSides):
    295         (WebCore::RenderBoxModelObject::paintBorder):
    296         (WebCore::RenderBoxModelObject::drawBoxSideFromPath):
    297         (WebCore::findInnerVertex):
    298         (WebCore::RenderBoxModelObject::clipBorderSidePolygon):
    299         (WebCore::RenderBoxModelObject::paintBoxShadow):
    300 
    301 2011-04-19  Stephen White  <senorblanco@chromium.org>
    302 
    303         Reviewed by Kenneth Russell.
    304 
    305         Refactor GLES2Canvas state application out into its own function.
    306         https://bugs.webkit.org/show_bug.cgi?id=58906
    307 
    308         Covered by existing tests in fast/canvas and canvas/philip.
    309 
    310         * platform/graphics/chromium/GLES2Canvas.cpp:
    311         (WebCore::GLES2Canvas::applyState):
    312         New function to apply compositing and clipping state.
    313         (WebCore::GLES2Canvas::fillPath):
    314         (WebCore::GLES2Canvas::fillRect):
    315         (WebCore::GLES2Canvas::beginShadowDraw):
    316         (WebCore::GLES2Canvas::endShadowDraw):
    317         Refactor calls to applyState().
    318         * platform/graphics/chromium/GLES2Canvas.h:
    319 
    320 2011-04-19  Simon Fraser  <simon.fraser@apple.com>
    321 
    322         Reviewed by Dave Hyatt.
    323 
    324         Fix multiple border rendering issues
    325         https://bugs.webkit.org/show_bug.cgi?id=58761
    326        
    327         Fix various border-drawing bugs, and optimize some common cases.
    328         Also refactors a lot of the border-drawing code to be more maintainable.
    329        
    330             Rounded border rendering with different border widths looks strange
    331             https://bugs.webkit.org/show_bug.cgi?id=17468
    332            
    333             paintBorder in RenderObject paint two times the corners
    334             https://bugs.webkit.org/show_bug.cgi?id=20495
    335            
    336             Overdraw at box corners when using RGBA colors with alpha
    337             https://bugs.webkit.org/show_bug.cgi?id=21835
    338            
    339             Enable antialiasing for border drawing, when transformed
    340             https://bugs.webkit.org/show_bug.cgi?id=22746
    341            
    342             Drawing border-radius from path sometimes fails to round outer border in the double style when it should
    343             https://bugs.webkit.org/show_bug.cgi?id=41301
    344            
    345             Drawing border-radius from path doesn't appear to always match up border edges correctly
    346             https://bugs.webkit.org/show_bug.cgi?id=41302
    347            
    348         Also fixes
    349             Should be able to create Path from RoundedIntRect
    350             https://bugs.webkit.org/show_bug.cgi?id=58809
    351 
    352         Tests: fast/borders/border-radius-different-width-001.html
    353                fast/borders/border-radius-inset-outset.html
    354                fast/borders/table-borders.html
    355 
    356         * platform/graphics/FloatPoint.h:
    357         * platform/graphics/FloatPoint.cpp:
    358         (WebCore::findSlope):
    359         (WebCore::findIntersection):
    360         New geometry helper functions (should eventually move into a new
    361         GeometryUtilities file).
    362        
    363         * platform/graphics/Path.h:
    364         * platform/graphics/Path.cpp:
    365         (WebCore::Path::addRoundedRect):
    366         Add an overload of addRoundedRect() that takes a RoundedIntRect.
    367 
    368         * platform/graphics/GraphicsContext.cpp:
    369         (WebCore::GraphicsContext::addRoundedRectClip):
    370         (WebCore::GraphicsContext::clipOutRoundedRect):
    371         (WebCore::GraphicsContext::fillRectWithRoundedHole):
    372         Can now add a RoundedIntRect to a Path directly.
    373        
    374         * platform/graphics/IntRect.h:
    375         (WebCore::IntRect::minXMinYCorner):
    376         (WebCore::IntRect::maxXMinYCorner):
    377         (WebCore::IntRect::minXMaxYCorner):
    378         (WebCore::IntRect::maxXMaxYCorner):
    379         Convenience functions to get the rect corners, in a writing-mode-
    380         friendly way.
    381 
    382         * platform/graphics/RoundedIntRect.h:
    383         * platform/graphics/RoundedIntRect.cpp:
    384         (WebCore::RoundedIntRect::isRenderable):
    385         We need to know when Path::addRoundedRect() will fail because
    386         the sum of the radii exceed the height or width. This method tells
    387         us that.
    388        
    389         * platform/graphics/cg/GraphicsContextCG.cpp:
    390         (WebCore::GraphicsContext::fillRectWithRoundedHole):
    391         Can now add a RoundedIntRect to a Path directly.
    392 
    393         * rendering/RenderBoxModelObject.h:
    394         * rendering/RenderBoxModelObject.cpp:
    395         (WebCore::borderWillArcInnerEdge):
    396         This can just to see if there are inner radii now.
    397        
    398         (WebCore::edgeFlagForSide):
    399         (WebCore::includesEdge):
    400         Convenience functions for the BorderEdgeFlags bitmask.
    401        
    402         (WebCore::BorderEdge::BorderEdge):
    403         (WebCore::BorderEdge::hasVisibleColorAndStyle):
    404         (WebCore::BorderEdge::shouldRender):
    405         (WebCore::BorderEdge::presentButInvisible):
    406         (WebCore::BorderEdge::usedWidth):
    407         (WebCore::BorderEdge::getDoubleBorderStripeWidths):
    408         Convenience class to hold data about how a single edge
    409         is drawn, and to contain some commonly used width-related methods.
    410        
    411         (WebCore::edgesShareColor):
    412         (WebCore::styleRequiresClipPolygon):
    413         (WebCore::borderStyleFillsBorderArea):
    414         (WebCore::borderStyleHasInnerDetail):
    415         (WebCore::borderStyleIsDottedOrDashed):
    416         (WebCore::borderStyleHasUnmatchedColorsAtCorner):
    417         (WebCore::colorsMatchAtCorner):
    418         (WebCore::willBeOverdrawn):
    419         (WebCore::borderStylesRequireMitre):
    420         (WebCore::joinRequiresMitre):
    421         Functions used to make the border drawing code more readable,
    422         which are used to determine when corners need a mitre, and
    423         need antialiasing.
    424        
    425         (WebCore::RenderBoxModelObject::paintOneBorderSide):
    426         Code to paint one side of a border, either via the path, or
    427         using rects/polygons, the appropriate mitres and antialiasing
    428         at the corners. includeLogicalLeftEdge and includeLogicalRightEdge need
    429         to be passed all the way down here so that when we recompute the
    430         path for double and ridge/groove borders, we correctly handle split box
    431         borders.
    432        
    433         (WebCore::RenderBoxModelObject::paintBorderSides):
    434         Paints the 4 border sides (if present).
    435        
    436         (WebCore::RenderBoxModelObject::paintTranslucentBorderSides):
    437         Called when one or more of the borders has a non-opaque color,
    438         and uses a transparency layer for each set of same-colored
    439         sides to avoid overdraw at the corners.
    440        
    441         (WebCore::RenderBoxModelObject::paintBorder):
    442         Builds an array of BorderEdge so we can iterate over them to
    443         detect different border compbinations, and optimizations. Has
    444         a fast path for all-solid borders.
    445        
    446         (WebCore::RenderBoxModelObject::drawBoxSideFromPath):
    447         Moved from RenderObject, since all callers are in RenderBoxModelObject.
    448         Has the following changes:
    449           * Don't attempt to draw dashes if there is only space for a few,
    450             since it looks bad.
    451           * Handle double and groove borders on split inlines correctly,
    452             making use of includeLogicalLeftEdge, includeLogicalRightEdge
    453 
    454         (WebCore::findInnerVertex):
    455         For borders with a radiused inner edge, the per-side clip polygon
    456         has to project inside the padding box to avoid clipping the inner edge.
    457         This function computes a reasonable inner corner for the clipping
    458         polygon.
    459         (WebCore::RenderBoxModelObject::clipBorderSidePolygon):
    460         Have the corner joins pass through the corners of the inner and outer
    461         border rectangles, ensure we don't clip the inside if necessary,
    462         and handle antialiasing on the two mitres.
    463        
    464         (WebCore::RenderBoxModelObject::paintBoxShadow):
    465         Use RenderStyle::getRoundedInnerBorderFor() rather than computeBorderInnerRect()
    466         etc.
    467 
    468         * rendering/RenderObject.h:
    469         * rendering/RenderObject.cpp:
    470         (WebCore::RenderObject::drawLineForBoxSide):
    471         Moved to RenderBoxModelObject.
    472        
    473         * rendering/style/RenderStyle.h:
    474         * rendering/style/RenderStyle.cpp:
    475         (WebCore::RenderStyle::getRoundedBorderFor):
    476         (WebCore::RenderStyle::getRoundedInnerBorderFor):
    477         There was some very clumsy code that computed a rounded rect
    478         given the border rect and side widths. Cleaned this up by moving
    479         some code into RenderStyle. The overloaded getRoundedInnerBorderFor()
    480         which takes the border widths is used by the double and groove drawing
    481         code.
    482 
    483 2011-04-19  Ryosuke Niwa  <rniwa@webkit.org>
    484 
    485         Reviewed by Dimitri Glazkov.
    486 
    487         REGRESSION(r74228-75294): removing nodes is 200+ times slower when selection is inside a shadow DOM
    488         https://bugs.webkit.org/show_bug.cgi?id=57061
    489 
    490         The bug was caused by Range::compareNode's incorrectly returning NODE_INSIDE when the selection is inside
    491         a shadow DOM and the node is outside of the shadow DOM. This caused respondToNodeModification to call
    492         RenderView::clearSelection every time a node is removed when selection is in a shadow DOM and resulted in
    493         a significant performance regression.
    494 
    495         Fixed Ranged::compareNode by making Range::compareBoundaryPoints throw a WRONG_DOCUMENT_ERR when there are
    496         no common ancestors between containerA and containerB. This will force compareNode to also throw an exception
    497         and prevents respondToNodeModification from clearing selection.
    498 
    499         No new tests because this is a performance improvement and the fix in Range cannot be tested since shadow DOM
    500         isn't exposed to JavaScript.
    501 
    502         * dom/Range.cpp:
    503         (WebCore::Range::setStart): Calls compareBoundaryPoints; since we ensures that the root container noes of
    504         start and end nodes are same, we should never get an exception from compareBoundaryPoints.
    505         (WebCore::Range::setEnd): Ditto.
    506         (WebCore::Range::isPointInRange): Calls compareBoundaryPoints; returns false when compareBoundaryPoints
    507         throws an exception.
    508         (WebCore::Range::comparePoint): Calls compareBoundaryPoints; exit early when an exception is thrown by
    509         compareBoundaryPoints.
    510         (WebCore::Range::compareBoundaryPoints): Throws an exception when two containers do not have a common ancestor.
    511         (WebCore::Range::boundaryPointsValid): Calls compareBoundaryPoints and checks that it didn't throw an exception.
    512         * dom/Range.h:
    513         * editing/SelectionController.cpp:
    514         (WebCore::SelectionController::respondToNodeModification):
    515         * editing/htmlediting.cpp:
    516         (WebCore::comparePositions): Calls compareBoundaryPoints.
    517         * editing/markup.cpp:
    518         (WebCore::createMarkup): Calls compareBoundaryPoints; since startNode and pastEnd are both in the same document
    519         and neither are in a shadow DOM, it should never throw an exception.
    520         * page/DOMSelection.cpp:
    521         (WebCore::DOMSelection::containsNode): Calls compareBoundaryPoints; node is fully selected only if no exception
    522         was thrown.
    523 
    524 2011-04-19  Jungshik Shin  <jshin@chromium.org>
    525 
    526         Reviewed by David Levin
    527 
    528         Make U+FEFF be treated as a zero-width character in both
    529         simple script and complex script code paths. In Chromium
    530         Windows, UniscribeHelper needs a rather extensive changes
    531         summarized below.  Other ports need minor changes.
    532 
    533         https://bugs.webkit.org/show_bug.cgi?id=48860
    534 
    535         Test: fast/text/zero-width-characters-complex-script.html
    536 
    537         * platform/graphics/Font.h:
    538         (WebCore::Font::treatAsZeroWidthSpace): U+FEFF is added to the list
    539         (WebCore::Font::treatAsZeroWidthSpaceInComplexScript): Added. Same as the above except that ZWNJ and ZWJ are excluded.
    540         * platform/graphics/GlyphPageTreeNode.cpp:
    541         (WebCore::GlyphPageTreeNode::initializePage): U+FEFF is made to have zero-width characters in simple script (fast) code path.
    542         * platform/graphics/chromium/FontUtilsChromiumWin.cpp:
    543         (WebCore::FontMap::getSpaceGlyph): Added to get the gid for space glyph to use in adjustSpaceAdvance when zero-width glyph character has a non-zero width and potentially 'visible' glyph.
    544         (WebCore::FontMap::FontData::FontData): spaceGlyph member added.
    545         (WebCore::getDerivedFontData): spaceGlyph is retrieved as well.
    546         * platform/graphics/chromium/FontUtilsChromiumWin.h:
    547         * platform/graphics/chromium/UniscribeHelper.cpp:
    548         (WebCore::UniscribeHelper::UniscribeHelper): m_spaceGlyph added.
    549         (WebCore::UniscribeHelper::shape): spaceGlyph is obtained stored for a font tried for each item.
    550         (WebCore::UniscribeHelper::adjustSpaceAdvances): For zero-width complex script characters, set the advance width to zero and replace a non-zero-width/visible glyph with a space glyph.
    551         (WebCore::UniscribeHelper::applySpacing):
    552         (WebCore::UniscribeHelper::containsMissingGlyphs): turned to a member function because it cannot work on glyphs alone any more but need to take into account a character corresponding to a glyph
    553         * platform/graphics/chromium/UniscribeHelper.h:
    554         (WebCore::UniscribeHelper::Shaping::Shaping): m_spaceGlyph is added
    555         * platform/graphics/chromium/UniscribeHelperTextRun.cpp:
    556         (WebCore::UniscribeHelperTextRun::UniscribeHelperTextRun): When calling UniscriberHelper, add a new argument for spaceGlyph.
    557 
    558 2011-04-19  Brent Fulgham  <bfulgham@webkit.org>
    559 
    560         Reviewed by Adam Roben.
    561 
    562         Extend the DIBPixelData class with the facility for writing the
    563         bitmap representation to disk for debugging purposes.
    564         https://bugs.webkit.org/show_bug.cgi?id=58862.
    565 
    566         * platform/graphics/win/DIBPixelData.cpp:
    567         (WebCore::DIBPixelData::writeToFile): New function.
    568         * platform/graphics/win/DIBPixelData.h:
    569 
    570 2011-04-19  Vsevolod Vlasov  <vsevik@chromium.org>
    571 
    572         Reviewed by Pavel Feldman.
    573 
    574         Web Inspector: Rename lengthReceived to encodedDataLength/dataLength
    575         https://bugs.webkit.org/show_bug.cgi?id=58883
    576 
    577         * fileapi/FileReaderLoader.cpp:
    578         (WebCore::FileReaderLoader::didReceiveData):
    579         * inspector/InspectorInstrumentation.cpp:
    580         (WebCore::InspectorInstrumentation::didReceiveContentLengthImpl):
    581         * inspector/InspectorInstrumentation.h:
    582         (WebCore::InspectorInstrumentation::didReceiveContentLength):
    583         * inspector/InspectorResourceAgent.cpp:
    584         (WebCore::InspectorResourceAgent::didReceiveContentLength):
    585         * inspector/InspectorResourceAgent.h:
    586         * inspector/front-end/NetworkManager.js:
    587         (WebInspector.NetworkDispatcher.prototype.dataReceived):
    588         * loader/DocumentThreadableLoader.cpp:
    589         (WebCore::DocumentThreadableLoader::didReceiveData):
    590         (WebCore::DocumentThreadableLoader::didReceiveCachedMetadata):
    591         * loader/DocumentThreadableLoader.h:
    592         * loader/FrameLoaderClient.h:
    593         * loader/MainResourceLoader.cpp:
    594         (WebCore::MainResourceLoader::didReceiveData):
    595         * loader/MainResourceLoader.h:
    596         * loader/NetscapePlugInStreamLoader.cpp:
    597         (WebCore::NetscapePlugInStreamLoader::didReceiveData):
    598         * loader/NetscapePlugInStreamLoader.h:
    599         * loader/ResourceLoadNotifier.cpp:
    600         (WebCore::ResourceLoadNotifier::didReceiveData):
    601         (WebCore::ResourceLoadNotifier::dispatchDidReceiveContentLength):
    602         (WebCore::ResourceLoadNotifier::sendRemainingDelegateMessages):
    603         * loader/ResourceLoadNotifier.h:
    604         * loader/ResourceLoader.cpp:
    605         (WebCore::ResourceLoader::didReceiveData):
    606         * loader/ResourceLoader.h:
    607         * loader/SubresourceLoader.cpp:
    608         (WebCore::SubresourceLoader::didReceiveData):
    609         * loader/SubresourceLoader.h:
    610         * loader/SubresourceLoaderClient.h:
    611         (WebCore::SubresourceLoaderClient::didReceiveData):
    612         (WebCore::SubresourceLoaderClient::didReceiveCachedMetadata):
    613         * loader/WorkerThreadableLoader.cpp:
    614         (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveData):
    615         (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveCachedMetadata):
    616         * loader/appcache/ApplicationCacheGroup.cpp:
    617         (WebCore::ApplicationCacheGroup::didReceiveData):
    618         * loader/appcache/ApplicationCacheGroup.h:
    619         * loader/appcache/ApplicationCacheHost.h:
    620         * notifications/Notification.cpp:
    621         (WebCore::Notification::didReceiveData):
    622         * notifications/Notification.h:
    623         * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
    624         (StreamingClient::didReceiveData):
    625         * platform/network/BlobResourceHandle.cpp:
    626         * platform/network/ResourceHandleClient.h:
    627         (WebCore::ResourceHandleClient::didReceiveData):
    628         * platform/network/android/ResourceHandleAndroid.cpp:
    629         (WebCore::SyncLoader::didReceiveData):
    630         * platform/network/cf/ResourceHandleCFNet.cpp:
    631         (WebCore::WebCoreSynchronousLoaderClient::didReceiveData):
    632         * platform/network/curl/ResourceHandleCurl.cpp:
    633         * platform/network/mac/ResourceHandleMac.mm:
    634         (WebCoreSynchronousLoaderClient::didReceiveData):
    635         * platform/network/soup/ResourceHandleSoup.cpp:
    636         * platform/network/win/ResourceHandleWin.cpp:
    637         * workers/WorkerScriptLoader.h:
    638         * xml/XMLHttpRequest.h:
    639 
    640 2011-04-19  Stephen White  <senorblanco@chromium.org>
    641 
    642         Reviewed by Eric Seidel.
    643 
    644         Pull framebuffer clearing out into its own function.
    645         https://bugs.webkit.org/show_bug.cgi?id=58897
    646 
    647         Covered by fast/canvas and canvas/philip tests.
    648 
    649         * platform/graphics/gpu/DrawingBuffer.cpp:
    650         (WebCore::DrawingBuffer::clearFramebuffer):
    651         (WebCore::DrawingBuffer::reset):
    652         * platform/graphics/gpu/DrawingBuffer.h:
    653 
    654 2011-04-19 Brian Salomon <bsalomon@google.com>
    655 
    656         Reviewed by Eric Seidel.
    657 
    658         When flushing GrContext in ~PlatformContextSkia be sure correct GL context is set
    659         https://bugs.webkit.org/show_bug.cgi?id=58788
    660 
    661         Chromium browser test will be added that loads canvas page and then an
    662         acclerated-composited page. Test must trigger ~PlatformContextSkia()
    663         followed by invocation of GL compositor.
    664 
    665         * platform/graphics/skia/PlatformContextSkia.cpp:
    666         (WebCore::PlatformContextSkia::~PlatformContextSkia):
    667 
    668 2011-04-19  Csaba Osztrogonác  <ossy@webkit.org>
    669 
    670         [Qt] REGRESSION(84176): http/tests/xmlhttprequest/event-listener-gc.html fails
    671         https://bugs.webkit.org/show_bug.cgi?id=58871
    672 
    673         Unreviewed, rolling out r84176, r84178, r84186, r84212 and r84231.
    674         http://trac.webkit.org/changeset/84176 (original patch)
    675         http://trac.webkit.org/changeset/84178 (original patch - part 2)
    676         http://trac.webkit.org/changeset/84186 (build fix)
    677         http://trac.webkit.org/changeset/84212
    678         http://trac.webkit.org/changeset/84231 (skip failing test)
    679 
    680         original bugs:
    681          - https://bugs.webkit.org/show_bug.cgi?id=58718
    682          - https://bugs.webkit.org/show_bug.cgi?id=58853
    683 
    684         * bridge/qt/qt_class.cpp:
    685         (JSC::Bindings::QtClass::fallbackObject):
     353        [Qt] Remove dead code from our JSC bridge
     354        https://bugs.webkit.org/show_bug.cgi?id=62287
     355
     356        The m_defaultMethod member is not used since r36848 and QtMethod
     357        was replaced by QtRuntimeMethod and subclasses in r29729.
     358
    686359        * bridge/qt/qt_instance.cpp:
    687360        (JSC::Bindings::QtInstance::removeCachedMethod):
    688         (JSC::Bindings::QtInstance::markAggregate):
     361        (JSC::Bindings::QtInstance::visitAggregate):
    689362        * bridge/qt/qt_instance.h:
    690 
    691 2011-04-19  Sheriff Bot  <webkit.review.bot@gmail.com>
    692 
    693         Unreviewed, rolling out r84050.
    694         http://trac.webkit.org/changeset/84050
    695         https://bugs.webkit.org/show_bug.cgi?id=58892
    696 
    697         fast/dom/HTMLKeygenElement/keygen.html is crashing on Chromium
    698         (Requested by jknotten on #webkit).
    699 
    700         * dom/ContainerNode.cpp:
    701         (WebCore::ContainerNode::takeAllChildrenFrom):
    702         (WebCore::ContainerNode::removeBetween):
    703         (WebCore::ContainerNode::removeChildren):
    704         (WebCore::ContainerNode::parserAddChild):
    705         * dom/Document.cpp:
    706         (WebCore::Document::Document):
    707         (WebCore::Document::~Document):
    708         (WebCore::Document::setDocType):
    709         * dom/Element.h:
    710         * dom/Node.cpp:
    711         (WebCore::Node::treeScope):
    712         (WebCore::Node::setTreeScope):
    713         (WebCore::Node::setTreeScopeRecursively):
    714         * dom/Node.h:
    715         (WebCore::Node::document):
    716         * dom/ShadowRoot.cpp:
    717         (WebCore::ShadowRoot::ShadowRoot):
    718         * dom/ShadowRoot.h:
    719         * dom/TreeScope.cpp:
    720         (WebCore::TreeScope::TreeScope):
    721         (WebCore::TreeScope::setParentTreeScope):
    722         * dom/TreeScope.h:
    723         * rendering/RenderSlider.cpp:
    724 
    725 2011-04-19  Kinuko Yasuda  <kinuko@chromium.org>
    726 
    727         Not reviewed; windows build fix attempt.
    728 
    729         * storage/StorageInfo.cpp:
    730         (WebCore::StorageInfo::~StorageInfo):
    731         * storage/StorageInfo.h:
    732 
    733 2011-04-19  Kinuko Yasuda  <kinuko@chromium.org>
    734 
    735         Reviewed by David Levin.
    736 
    737         [Chromium] Enable QUOTA API at runtime if enable-quota flag is given
    738         https://bugs.webkit.org/show_bug.cgi?id=58784
    739 
    740         No new tests as this does not change any functionality.
    741 
    742         * bindings/generic/RuntimeEnabledFeatures.cpp:
    743         * bindings/generic/RuntimeEnabledFeatures.h:
    744         (WebCore::RuntimeEnabledFeatures::quotaEnabled):
    745         (WebCore::RuntimeEnabledFeatures::setQuotaEnabled):
    746         * page/DOMWindow.idl:
    747 
    748 2011-04-19  John Gregg  <johnnyg@google.com>
    749 
    750         Reviewed by Darin Fisher.
    751 
    752         Enable folder drag-n-drop when using a "webkitdirectory" file input
    753         https://bugs.webkit.org/show_bug.cgi?id=58401
    754 
    755         This uses a new ChromeClient API to enumerate the directory and
    756         return all the files, as if the user had selected that directory
    757         by clicking the control in the normal way.
    758 
    759         * loader/EmptyClients.h:
    760         (WebCore::EmptyChromeClient::enumerateChosenDirectory):
    761         * page/Chrome.cpp:
    762         (WebCore::Chrome::enumerateChosenDirectory):
    763         * page/Chrome.h:
    764         * page/ChromeClient.h:
    765         * platform/network/FormData.cpp:
    766         (WebCore::FormData::appendKeyValuePairItems):
    767         * rendering/RenderFileUploadControl.cpp:
    768         (WebCore::RenderFileUploadControl::receiveDropForDirectoryUpload):
    769         (WebCore::RenderFileUploadControl::receiveDroppedFiles):
    770         * rendering/RenderFileUploadControl.h:
    771 
    772 2011-04-19  Sheriff Bot  <webkit.review.bot@gmail.com>
    773 
    774         Unreviewed, rolling out r84150.
    775         http://trac.webkit.org/changeset/84150
    776         https://bugs.webkit.org/show_bug.cgi?id=58875
    777 
    778         Broken backspace in Search box of Web Inspector (Requested by
    779         apavlov on #webkit).
    780 
    781         * inspector/front-end/inspector.js:
    782         (WebInspector.documentKeyDown):
    783 
    784 2011-04-19  Andrey Adaikin  <aandrey@google.com>
     363        * bridge/qt/qt_runtime.h:
     364
     3652011-06-08  Ryan Sleevi  <rsleevi@chromium.org>
     366
     367        Reviewed by Tony Chang.
     368
     369        Suppress C++0x compat warnings when compiling Chromium port with GCC 4.6
     370
     371        Compiling Chromium port under GCC 4.6 produces warnings about nullptr
     372        https://bugs.webkit.org/show_bug.cgi?id=62242
     373
     374        * WebCore.gyp/WebCore.gyp:
     375
     3762011-05-25  Xiaomei Ji  <xji@chromium.org>
     377
     378        Reviewed by Ryosuke Niwa.
     379
     380        --webkit-visual-word does not work well in words separated by multiple spaces
     381        https://bugs.webkit.org/show_bug.cgi?id=61324
     382
     383        Remove positionBeforeNextWord and positionAfterPreviousWord short-cuts. They try to find the
     384        right word boundary (before the space or after the space) by using previousWordPosition and
     385        nextWordPosition. But they assume words are separated by single space and are not correct
     386        for words separated by multiple spaces and words not separated by space.
     387
     388        Consider positionBeforeNextWord() for example,
     389
     390        First, it checks whether the current position is after the current word by checking current
     391        position's previousWordPosition's nextWordPosition is the same as current position, which is
     392        wrong for words separated by multiple spaces. For example, given words A and B separated by
     393        3 continuous spaces "A   B", position "A|", "A |", and "A  |" should all be considered as
     394        position after current word. But for position "A |", its previousWordPosition's
     395        nextWordPosition is position "A|", which is different from its current position, so the
     396        current position is not considered as a position after current word, consequently,
     397        instead of returning the right position as "A   |B", positionBeforeNextWord returns the
     398        position before next next word, as "A   B |C". Similar happens for position "A  |".
     399
     400        Second, given 3 Chinese words "ABC" that are not segmented by space, when cursor is at
     401        "A|BC", positionBeforeNextWord() returns the same position after calling current position's
     402        nextWordPosition's previousWordPosition. It should returns position "AB|C".
     403
     404        For those cases, we will have to collect all the word breaks inside the box and look for
     405        the one at left or right of current position.
     406
     407        * editing/visible_units.cpp:
     408        (WebCore::leftWordPosition):
     409        (WebCore::rightWordPosition):
     410
     4112011-06-08  Greg Simon  <gregsimon@chromium.org>
     412
     413        Reviewed by Dimitri Glazkov.
     414
     415        Control Indexeddb backends from LayoutTestController
     416        https://bugs.webkit.org/show_bug.cgi?id=61000
     417
     418        Test: storage/indexeddb/migrate-basics.html
     419
     420        * storage/IDBBackingStore.h:
     421        * storage/IDBFactoryBackendImpl.cpp:
     422        (WebCore::IDBFactoryBackendImpl::open):
     423        (WebCore::IDBFactoryBackendImpl::migrate):
     424        * storage/IDBFactoryBackendImpl.h:
     425        * storage/IDBFactoryBackendInterface.h:
     426        * storage/IDBLevelDBBackingStore.cpp:
     427        (WebCore::IDBLevelDBBackingStore::backingStoreExists):
     428        * storage/IDBLevelDBBackingStore.h:
     429        (WebCore::IDBLevelDBBackingStore::backingStoreType):
     430        * storage/IDBSQLiteBackingStore.cpp:
     431        (WebCore::IDBSQLiteBackingStore::backingStoreExists):
     432        * storage/IDBSQLiteBackingStore.h:
     433        (WebCore::IDBSQLiteBackingStore::backingStoreType):
     434
     4352011-06-08  Dmitry Lomov  <dslomov@google.com>
     436
     437        Reviewed by Adam Barth.
     438
     439        https://bugs.webkit.org/show_bug.cgi?id=62164
     440        Remove "multi-threaded" logic in V8 DOMData, DOMDataStore and friends
     441        This functionality is untested and unused:
     442        This is an old code from Lockers-based implementation of WebWorkers in
     443        V8 bindings, to make sure that DOM objects are released on the right thread
     444        even though GC could have happened on any thread. It is currently unused (since
     445        current model is one worker per process) and is being removed because new implementation
     446        of WebWorkers will be using V8 isolates.
     447
     448        * WebCore.gypi:
     449        * WebCore.pro:
     450        * bindings/v8/ChildThreadDOMData.cpp: Removed.
     451        * bindings/v8/ChildThreadDOMData.h: Removed.
     452        * bindings/v8/DOMData.cpp:
     453        (WebCore::DOMData::DOMData):
     454        (WebCore::DOMData::getCurrent):
     455        (WebCore::DOMData::getMainThreadStore):
     456        * bindings/v8/DOMData.h:
     457        (WebCore::DOMData::getStore):
     458        (WebCore::DOMData::getCurrentMainThreadStore):
     459        (WebCore::DOMData::handleWeakObject):
     460        * bindings/v8/DOMDataStore.cpp:
     461        (WebCore::DOMDataStore::DOMDataStore):
     462        (WebCore::DOMDataStore::~DOMDataStore):
     463        (WebCore::DOMDataStore::weakNodeCallback):
     464        * bindings/v8/DOMDataStore.h:
     465        * bindings/v8/MainThreadDOMData.cpp: Removed.
     466        * bindings/v8/MainThreadDOMData.h: Removed.
     467        * bindings/v8/V8DOMMap.cpp:
     468        (WebCore::getDOMDataStore):
     469        (WebCore::removeAllDOMObjects):
     470        (WebCore::visitDOMNodes):
     471        (WebCore::visitDOMObjects):
     472        (WebCore::visitActiveDOMObjects):
     473        (WebCore::visitDOMSVGElementInstances):
     474        * bindings/v8/V8DOMMap.h:
     475        * bindings/v8/V8GCController.cpp:
     476        (WebCore::V8GCController::gcPrologue):
     477        (WebCore::V8GCController::gcEpilogue):
     478        * bindings/v8/WorkerScriptController.cpp:
     479        (WebCore::WorkerScriptController::~WorkerScriptController):
     480
     4812011-06-08  Yael Aharon  <yael.aharon@nokia.com>
     482
     483        Reviewed by Andreas Kling.
     484
     485        [Qt] Build fix for building QtWebKit inside of Qt.
     486        https://bugs.webkit.org/show_bug.cgi?id=62280
     487
     488        Remove CONFIG=staticlib, because it causes the configure script to add -lwebcore
     489        into QtWebKit.prl.
     490
     491        No new tests, as this is just a build fix.
     492
     493        * WebCore.pri:
     494
     4952011-06-08  Vsevolod Vlasov  <vsevik@chromium.org>
    785496
    786497        Reviewed by Pavel Feldman.
    787498
    788         Web Inspector: NPE in TextEditorModel
    789         https://bugs.webkit.org/show_bug.cgi?id=58870
    790 
    791         * inspector/front-end/ResourcesPanel.js:
    792         (WebInspector.ResourcesPanel.prototype._frameAdded):
    793         * inspector/front-end/TextEditorModel.js:
    794         (WebInspector.TextEditorModel.prototype.setText):
    795 
    796 2011-04-19  Hans Wennborg  <hans@chromium.org>
     499        Web Inspector: Render non-document HTML resources as HTML
     500        https://bugs.webkit.org/show_bug.cgi?id=58886
     501
     502        * English.lproj/localizedStrings.js:
     503        * WebCore.gypi:
     504        * WebCore.vcproj/WebCore.vcproj:
     505        * inspector/front-end/NetworkItemView.js:
     506        (WebInspector.NetworkItemView):
     507        * inspector/front-end/Resource.js:
     508        (WebInspector.Resource.prototype._mimeTypeIsConsistentWithType):
     509        (WebInspector.Resource.prototype.hasErrorStatusCode):
     510        * inspector/front-end/ResourceHTMLView.js: Added.
     511        (WebInspector.ResourceHTMLView):
     512        (WebInspector.ResourceHTMLView.prototype.hasContent):
     513        (WebInspector.ResourceHTMLView.prototype.show):
     514        (WebInspector.ResourceHTMLView.prototype.hide):
     515        (WebInspector.ResourceHTMLView.prototype._createIFrame):
     516        * inspector/front-end/ResourcePreviewView.js: Added.
     517        (WebInspector.ResourcePreviewView):
     518        (WebInspector.ResourcePreviewView.prototype.hasContent):
     519        (WebInspector.ResourcePreviewView.prototype.show):
     520        (WebInspector.ResourcePreviewView.prototype._ensureInnerViewShown.callback):
     521        (WebInspector.ResourcePreviewView.prototype._ensureInnerViewShown):
     522        (WebInspector.ResourcePreviewView.prototype._createInnerView):
     523        * inspector/front-end/Settings.js:
     524        (WebInspector.Settings):
     525        * inspector/front-end/WebKit.qrc:
     526        * inspector/front-end/inspector.css:
     527        (.resource-view.html iframe):
     528        * inspector/front-end/inspector.html:
     529
     5302011-05-18  Pavel Podivilov  <podivilov@chromium.org>
     531
     532        Reviewed by Yury Semikhatsky.
     533
     534        Web Inspector: hide script location to ui location conversion details from ScriptsPanel.
     535        https://bugs.webkit.org/show_bug.cgi?id=61035
     536
     537        * inspector/front-end/DebuggerPresentationModel.js:
     538        (WebInspector.DebuggerPresentationModel.prototype.sourceFileForScriptURL):
     539        (WebInspector.DebuggerPresentationModel.prototype.scriptLocationToUILocation.didRequestSourceMapping):
     540        (WebInspector.DebuggerPresentationModel.prototype.scriptLocationToUILocation):
     541        * inspector/front-end/ScriptsPanel.js:
     542        (WebInspector.ScriptsPanel.prototype.showAnchorLocation.didGetUILocation):
     543        (WebInspector.ScriptsPanel.prototype.showAnchorLocation):
     544
     5452011-06-08  Tommy Widenflycht  <tommyw@google.com>
    797546
    798547        Reviewed by Tony Gentilcore.
    799548
    800         IndexedDB: Remove accidental header include directive from LevelDB backend.
    801         https://bugs.webkit.org/show_bug.cgi?id=58872
    802 
    803         No new functionality, no new tests.
    804 
    805         * storage/IDBLevelDBBackingStore.cpp:
    806 
    807 2011-04-19  Herczeg Zoltan  <zherczeg@webkit.org>
    808 
    809         Build fix.
    810 
    811         LEFilter change doesn't compile on ARM neon targets
    812         https://bugs.webkit.org/show_bug.cgi?id=58671
    813 
    814         Thanks for Charlie Lee to fixing this.
    815 
    816         * WebCore.gypi:
    817 
    818 2011-04-19  Daniel Bates  <dbates@webkit.org>
    819 
    820         Attempt to fix the Qt Linux Release Minimal build after changeset 84225
    821         <http://trac.webkit.org/changeset/84225> (https://bugs.webkit.org/show_bug.cgi?id=52788).
    822 
    823         * dom/EventDispatcher.cpp:
    824         (WebCore::EventDispatcher::ensureEventAncestors): Add ENABLE(SVG) guards around call
    825         to Node::svgShadowHost() since this method is only defined when building with SVG enabled.
    826 
    827 2011-04-18  Dominic Cooney  <dominicc@chromium.org>
    828 
    829         Reviewed by Dimitri Glazkov.
    830 
    831         Makes SVG shadow roots and DOM shadow roots distinct.
    832         https://bugs.webkit.org/show_bug.cgi?id=52788
    833 
    834         Not a functional change. Covered by existing SVG tests.
    835 
    836         * dom/EventDispatcher.cpp:
    837         (WebCore::findElementInstance):
    838         (WebCore::EventDispatcher::adjustToShadowBoundaries):
    839         (WebCore::EventDispatcher::adjustRelatedTarget):
    840         (WebCore::EventDispatcher::ensureEventAncestors):
    841         * dom/Node.cpp:
    842         (WebCore::Node::setShadowHost):
    843         (WebCore::Node::svgShadowHost):
    844         (WebCore::Node::shadowTreeRootNode):
    845         * dom/Node.h:
    846         (WebCore::Node::isSVGShadowRoot):
    847         (WebCore::Node::parentNode):
    848         (WebCore::Node::parentNodeGuaranteedHostFree):
    849         * rendering/svg/RenderSVGShadowTreeRootContainer.cpp:
    850         (WebCore::RenderSVGShadowTreeRootContainer::~RenderSVGShadowTreeRootContainer):
    851         (WebCore::RenderSVGShadowTreeRootContainer::updateFromElement):
    852         * rendering/svg/SVGShadowTreeElements.cpp:
    853         (WebCore::SVGShadowTreeRootElement::SVGShadowTreeRootElement):
    854         (WebCore::SVGShadowTreeRootElement::create):
    855         (WebCore::SVGShadowTreeRootElement::attachElement):
    856         (WebCore::SVGShadowTreeRootElement::clearSVGShadowHost):
    857         * rendering/svg/SVGShadowTreeElements.h:
    858         (WebCore::SVGShadowTreeRootElement::isSVGShadowRoot):
    859         * svg/SVGStyledElement.cpp:
    860         (WebCore::SVGStyledElement::title):
    861 
    862 2011-04-18  Taiju TSUIKI  <develop@tzik.jp>
    863 
    864         Reviewed by Darin Fisher.
    865 
    866         Vendor-prefix requestFileSystem in FileSystem API
    867         https://bugs.webkit.org/show_bug.cgi?id=58517
    868 
    869         Prefix from:
    870         - window.requestFileSystem to window.webkitRequestFileSystem
    871         - window.resolveLocalFileSystemURL to window.webkitResolveLocalFileSystemURL
    872         - window.Flags to window.WebKitFlags
    873         - WorkerContext.requestFileSystem to WorkerContext.webkitRequestFileSystem
    874         - WorkerContext.resolveLocalFileSystemURL to WorkerContext.webkitResolveLocalFileSystemURL
    875         - WorkerContext.Flags to WorkerContext.WebKitFlags
     549        StreamEvent
     550
     551        Media Stream PeerConnection API: adding StreamEvent class
     552        https://bugs.webkit.org/show_bug.cgi?id=61537
     553
     554        Tests for the Media Stream API will be provided by the bug 56587.
    876555
    877556        * CMakeLists.txt:
     
    884563        * WebCore.vcproj/WebCore.vcproj:
    885564        * WebCore.xcodeproj/project.pbxproj:
    886         * bindings/js/JSDirectoryEntryCustom.cpp:
    887         (WebCore::JSDirectoryEntry::getFile):
    888         (WebCore::JSDirectoryEntry::getDirectory):
    889         * bindings/js/JSDirectoryEntrySyncCustom.cpp:
    890         (WebCore::getFlags):
    891         (WebCore::JSDirectoryEntrySync::getFile):
    892         (WebCore::JSDirectoryEntrySync::getDirectory):
    893         * bindings/v8/custom/V8DirectoryEntryCustom.cpp:
    894         (WebCore::V8DirectoryEntry::getDirectoryCallback):
    895         (WebCore::V8DirectoryEntry::getFileCallback):
    896         * bindings/v8/custom/V8DirectoryEntrySyncCustom.cpp:
    897         (WebCore::getFlags):
    898         (WebCore::V8DirectoryEntrySync::getDirectoryCallback):
    899         (WebCore::V8DirectoryEntrySync::getFileCallback):
    900         * fileapi/DOMFileSystemBase.cpp:
    901         (WebCore::DOMFileSystemBase::getFile):
    902         (WebCore::DOMFileSystemBase::getDirectory):
    903         * fileapi/DOMFileSystemBase.h:
    904         * fileapi/DirectoryEntry.cpp:
    905         (WebCore::DirectoryEntry::getFile):
    906         (WebCore::DirectoryEntry::getDirectory):
    907         * fileapi/DirectoryEntry.h:
    908         * fileapi/DirectoryEntry.idl:
    909         * fileapi/DirectoryEntrySync.cpp:
    910         (WebCore::DirectoryEntrySync::getFile):
    911         (WebCore::DirectoryEntrySync::getDirectory):
    912         * fileapi/DirectoryEntrySync.h:
    913         * fileapi/DirectoryEntrySync.idl:
    914         * fileapi/WebKitFlags.h: Renamed from Source/WebCore/fileapi/Flags.h.
    915         (WebCore::WebKitFlags::create):
    916         (WebCore::WebKitFlags::isCreate):
    917         (WebCore::WebKitFlags::setCreate):
    918         (WebCore::WebKitFlags::isExclusive):
    919         (WebCore::WebKitFlags::setExclusive):
    920         (WebCore::WebKitFlags::WebKitFlags):
    921         * fileapi/WebKitFlags.idl: Renamed from Source/WebCore/fileapi/Flags.idl.
    922         * page/DOMWindow.cpp:
    923         (WebCore::DOMWindow::webkitRequestFileSystem):
    924         (WebCore::DOMWindow::webkitResolveLocalFileSystemURL):
    925         * page/DOMWindow.h:
    926         * page/DOMWindow.idl:
    927         * workers/WorkerContext.cpp:
    928         (WebCore::WorkerContext::webkitRequestFileSystem):
    929         (WebCore::WorkerContext::webkitRequestFileSystemSync):
    930         (WebCore::WorkerContext::webkitResolveLocalFileSystemURL):
    931         (WebCore::WorkerContext::webkitResolveLocalFileSystemSyncURL):
    932         * workers/WorkerContext.h:
    933         * workers/WorkerContext.idl:
    934 
    935 2011-04-18  Steve Lacey  <sjl@chromium.org>
    936 
    937         Reviewed by Dimitri Glazkov.
    938 
    939         Decouple media controls usage from implementation.
    940         This allows each port to implement thier own controls in a different
    941         manner to the default webkit implementation.
    942 
    943         Convert media controls hooks to a client interface
    944         https://bugs.webkit.org/show_bug.cgi?id=58346
    945 
    946         No new tests as there is no functional change.
    947 
    948         * Android.mk:
    949         * CMakeLists.txt:
    950         * GNUmakefile.list.am:
    951         * WebCore.gypi:
    952         * WebCore.pro:
    953         * WebCore.vcproj/WebCore.vcproj:
    954         * WebCore.xcodeproj/project.pbxproj:
    955         * html/HTMLMediaElement.cpp:
    956         (WebCore::HTMLMediaElement::mediaControls):
    957         (WebCore::HTMLMediaElement::ensureMediaControls):
    958         (WebCore::HTMLMediaElement::preDispatchEventHandler):
    959         * html/HTMLMediaElement.h:
    960         * html/shadow/MediaControlElements.cpp:
    961         (WebCore::MediaControlPanelMuteButtonElement::MediaControlPanelMuteButtonElement):
    962         (WebCore::MediaControlPanelMuteButtonElement::create):
    963         (WebCore::MediaControlTimelineElement::MediaControlTimelineElement):
    964         (WebCore::MediaControlTimelineElement::create):
    965         (WebCore::MediaControlFullscreenButtonElement::MediaControlFullscreenButtonElement):
    966         (WebCore::MediaControlFullscreenButtonElement::create):
    967         * html/shadow/MediaControlElements.h:
    968         * html/shadow/MediaControlRootElement.cpp:
    969         (WebCore::MediaControlRootElement::MediaControlRootElement):
    970         (WebCore::MediaControls::create):
    971         * html/shadow/MediaControlRootElement.h:
    972         * html/shadow/MediaControls.cpp: Added.
    973         (WebCore::MediaControls::MediaControls):
    974         * html/shadow/MediaControls.h: Added.
    975         (WebCore::MediaControls::~MediaControls):
    976 
    977 2011-04-18  Pascal Massimino  <pascal.massimino@gmail.com>
    978 
    979         Reviewed by Adam Barth.
    980 
    981         Add incremental decoding to WebP decoder
    982         https://bugs.webkit.org/show_bug.cgi?id=58851
    983 
    984         No new tests, as it's not possible for the layout test framework to
    985         force the decoders to decode incrementally.
    986 
    987         * platform/image-decoders/webp/WEBPImageDecoder.cpp:
    988         (WebCore::WEBPImageDecoder::WEBPImageDecoder):
    989         (WebCore::WEBPImageDecoder::decode):
    990         * platform/image-decoders/webp/WEBPImageDecoder.h:
    991 
    992 2011-04-18  Daniel Bates  <dbates@rim.com>
    993 
    994         Reviewed by Adam Roben.
    995 
    996         With PAN_SCROLLING, mousedown events for a mouse button aren't dispatched while
    997         pressing-and-holding another mouse button
    998         https://bugs.webkit.org/show_bug.cgi?id=58700
    999 
    1000         Fixes an issue where mousedown events weren't dispatched when pressing a mouse button A
    1001         while pressing and holding a mouse button B, where A != B. This issue only affects builds
    1002         that enable PAN_SCROLLING.
    1003 
    1004         On mouse press with autoscroll in progress (m_autoscrollInProgress == true) we stopped
    1005         the autoscroll timer, invalidated the click, and swallowed the mouse press. Instead, we
    1006         should only stop the autoscroll timer.
    1007 
    1008         Test: fast/events/fire-mousedown-while-pressing-mouse-button.html
    1009 
    1010         * page/EventHandler.cpp:
    1011         (WebCore::EventHandler::handleMousePressEvent):
    1012 
    1013 2011-04-18  Jon Lee  <jonlee@apple.com>
    1014 
    1015         Reviewed by Maciej Stachowiak.
    1016 
    1017         With overlay scrollbars, textarea resize corner gains borders when the textarea becomes scrollable
    1018         https://bugs.webkit.org/show_bug.cgi?id=58617
    1019         <rdar://problem/9048012>
    1020 
    1021         * rendering/RenderLayer.cpp:
    1022         (WebCore::RenderLayer::paintResizer): Check for overlay scrollbars first, and then if the bars were created, before displaying the borders
    1023 
    1024 2011-04-18  Jon Lee  <jonlee@apple.com>
    1025 
    1026         Reviewed by Maciej Stachowiak.
    1027 
    1028         Selected item background in list box gets rendered on top of overlay scrollbar knob (58824)
    1029         https://bugs.webkit.org/show_bug.cgi?id=58824
    1030         <rdar://problem/9292680>
    1031 
    1032         * rendering/RenderListBox.cpp:
    1033         (WebCore::RenderListBox::paintObject): Moving the stage of painting the scrollbars to the foreground if using overlay scrollbars
    1034 
    1035 2011-04-18  John Bauman  <jbauman@chromium.org>
    1036 
    1037         Reviewed by Kenneth Russell.
    1038 
    1039         Don't cast BitmapImageSingleFrameSkia to BitmapImage
    1040         https://bugs.webkit.org/show_bug.cgi?id=58821
    1041 
    1042         BitmapImageSingleFrameSkia has isBitmap return true, but
    1043         can't be cast to a BitmapImage. Instead of using BitmapImage,
    1044         use isOpaque from SkBitmap to determine if the image has alpha.
    1045 
    1046         No new tests.
    1047 
    1048         * platform/graphics/skia/GraphicsContext3DSkia.cpp:
    1049         (WebCore::GraphicsContext3D::getImageData):
    1050 
    1051 2011-04-18  Jessie Berlin  <jberlin@apple.com>
    1052 
    1053         Reviewed by Steve Falkenburg.
    1054 
    1055         If deleting the StorageTracker.db file fails, local storage is left in a strange state.
    1056         https://bugs.webkit.org/show_bug.cgi?id=58805
    1057 
    1058         * storage/StorageTracker.cpp:
    1059         (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase):
    1060         When cleaning up the StorageTracker.db file, is not enough to call syncDeleteOrigin.
    1061         deleteOrigin itself must be called to update the data structures that syncDeleteOrigin
    1062         depends on and to prevent clashes between a theoretical web page editing local storage
    1063         at the same time this method is called.
    1064         (WebCore::StorageTracker::syncDeleteAllOrigins):
    1065         If it is not possible to delete the StorageTracker.db file, empty it.
    1066         (WebCore::StorageTracker::deleteOriginOnMainThread):
    1067         Wrapper for deleteOrigin.
    1068         * storage/StorageTracker.h:
    1069 
    1070 2011-04-18  Geoffrey Garen  <ggaren@apple.com>
    1071 
    1072         Build fix.
    1073 
    1074         Added back missing #include.
    1075 
    1076         * bindings/js/DOMWrapperWorld.cpp:
    1077 
    1078 2011-04-18  Enrica Casucci  <enrica@apple.com>
    1079 
    1080         Reviewed by Maciej Stachowiak.
    1081 
    1082         Dropping a file in a WKView (WebKit2) doesn't load the file.
    1083         https://bugs.webkit.org/show_bug.cgi?id=58842
    1084         <rdar://problem/8514409>
    1085        
    1086         The URL string for the file contains an extra %00 at the end
    1087         that causes the network framework to fail to load the file.
    1088        
    1089         * platform/win/ClipboardUtilitiesWin.cpp:
    1090         (WebCore::getURL):
    1091 
    1092 2011-04-18  Geoffrey Garen  <ggaren@apple.com>
    1093 
    1094         Discovered and rubber-stamped by Stephanie Lewis.
    1095 
    1096         Restored some code I accidentally deleted in <http://trac.webkit.org/changeset/83990>
    1097 
    1098         * bindings/js/DOMWrapperWorld.cpp:
    1099         (WebCore::DOMWrapperWorld::~DOMWrapperWorld):
    1100         (WebCore::DOMWrapperWorld::clearWrappers): Do clear / destroy all our
    1101         window shells when clearing / destroying ourselves. r83990 removed this
    1102         behavior for documents since there are no per-document maps anymore,
    1103         but removing this behavior for window shells too was a typo.
    1104 
    1105 2011-04-18  Geoffrey Garen  <ggaren@apple.com>
    1106 
    1107         Reviewed by Oliver Hunt.
    1108 
    1109         Made DOM handle ownership customizable, and customized it for Nodes and NamedAttrMaps
    1110         https://bugs.webkit.org/show_bug.cgi?id=58828
    1111 
    1112         * WebCore.exp.in: Blah.
    1113 
    1114         * bindings/js/DOMWrapperWorld.cpp: Moved code related to JSNode ownership
    1115         to JSNodeCustom, where other custom JSNode-related code goes.
    1116 
    1117         (WebCore::JSDOMWrapperOwner::finalize):
    1118         (WebCore::DOMWrapperWorld::DOMWrapperWorld):
    1119         * bindings/js/DOMWrapperWorld.h:
    1120         (WebCore::JSDOMWrapperOwner::JSDOMWrapperOwner):
    1121         (WebCore::DOMWrapperWorld::defaultWrapperOwner): Renamed DOMObjectHandleOwner
    1122         to JSDOMWrapperOwner, to match the name of JSDOMWrapper.
    1123 
    1124         * bindings/js/JSArrayBufferViewHelper.h:
    1125         (WebCore::toJSArrayBufferView):
    1126         * bindings/js/JSCSSRuleCustom.cpp:
    1127         (WebCore::toJS):
    1128         * bindings/js/JSCSSValueCustom.cpp:
    1129         (WebCore::toJS):
    1130         * bindings/js/JSCanvasRenderingContextCustom.cpp:
    1131         (WebCore::toJS): Removed "DOMObject" and "Node" from the names of wrapper-
    1132         related functions, since there is no meaningful distinction between the
    1133         two anymore -- they both use the same extensible interface.
    1134        
    1135         * bindings/js/JSDOMBinding.cpp: Removed some now-unused functions.
    1136 
    1137         * bindings/js/JSDOMBinding.h:
    1138         (WebCore::getInlineCachedWrapper):
    1139         (WebCore::setInlineCachedWrapper):
    1140         (WebCore::clearInlineCachedWrapper):
    1141         (WebCore::wrapperOwner):
    1142         (WebCore::wrapperContext):
    1143         (WebCore::getCachedWrapper):
    1144         (WebCore::cacheWrapper):
    1145         (WebCore::uncacheWrapper):
    1146         (WebCore::createWrapper):
    1147         (WebCore::wrap): Created a generic, extensible mechanism for creating,
    1148         caching, retrieving, marking, and destroying DOM wrappers. This eliminates
    1149         the difference between DOM object wrappers and DOM node wrappers, and
    1150         lays the groundwork for getting rid of MarkStack::deprecatedAppend usage
    1151         for marking the remainder of our DOM objects.
    1152        
    1153         * bindings/js/JSDOMWindowCustom.cpp:
    1154         (WebCore::JSDOMWindow::history):
    1155         (WebCore::JSDOMWindow::location):
    1156         * bindings/js/JSDataViewCustom.cpp:
    1157         (WebCore::toJS):
    1158         * bindings/js/JSDocumentCustom.cpp:
    1159         (WebCore::JSDocument::location):
    1160         (WebCore::toJS):
    1161         * bindings/js/JSElementCustom.cpp:
    1162         (WebCore::toJSNewlyCreated):
    1163565        * bindings/js/JSEventCustom.cpp:
    1164566        (WebCore::toJS):
    1165         * bindings/js/JSHTMLCollectionCustom.cpp:
    1166         (WebCore::toJS):
    1167         * bindings/js/JSImageDataCustom.cpp:
    1168         (WebCore::toJS): Updated for renames mentioned above.
    1169 
    1170         * bindings/js/JSNamedNodeMapCustom.cpp:
    1171         (WebCore::JSNamedNodeMapOwner::isReachableFromOpaqueRoots):
    1172         (WebCore::JSNamedNodeMapOwner::finalize):
    1173         (WebCore::wrapperOwner):
    1174         (WebCore::wrapperContext):
    1175         (WebCore::JSNamedNodeMap::markChildren):
    1176         (WebCore::toJS): Updated to use our new interface for customizing wrapper
    1177         lifetime management through function overloading without using
    1178         MarkStack::deprecatedAppend.
    1179 
    1180         * bindings/js/JSNodeCustom.cpp:
    1181         (WebCore::isObservable):
    1182         (WebCore::isReachableFromDOM):
    1183         (WebCore::JSNodeOwner::isReachableFromOpaqueRoots):
    1184         (WebCore::JSNodeOwner::finalize):
    1185         (WebCore::createWrapperInline): Moved node-related code from JSDOMBinding
    1186         to here. Removed special case marking code for JSNamedNodeMap because
    1187         JSNamedNodeMap now knows how to maintain its own lifetime invariants.
    1188 
    1189         * bindings/js/JSNodeCustom.h:
    1190         (WebCore::wrapperOwner):
    1191         (WebCore::wrapperContext):
    1192         (WebCore::getInlineCachedWrapper):
    1193         (WebCore::setInlineCachedWrapper):
    1194         (WebCore::clearInlineCachedWrapper):
    1195         (WebCore::toJS): Updated to use our new interface for customizing wrapper
    1196         lifetime management through function overloading without using
    1197         MarkStack::deprecatedAppend or special-case code for nodes.
    1198        
    1199         * bindings/js/JSSVGPathSegCustom.cpp:
    1200         (WebCore::toJS):
    1201         * bindings/js/JSStyleSheetCustom.cpp:
    1202         (WebCore::toJS): Updated for renames mentioned above.
    1203 
    1204         * bindings/scripts/CodeGeneratorJS.pm: Fixed up newlines. Updated for
    1205         renames mentioned above.
    1206 
    1207         * dom/NamedNodeMap.idl: NamedNodeMap needs a custom toJS function now
    1208         because it needs to provide a custom WeakHandleOwner at wrapper creation time.
    1209 
    1210 2011-04-18  Jessie Berlin  <jberlin@apple.com>
    1211 
    1212         Rubber-stamped by Sam Weinig.
    1213 
    1214         REGRESSION (r84094): Many tests failing assertions in WebCore::localizedString on Windows.
    1215         https://bugs.webkit.org/show_bug.cgi?id=58747
    1216 
    1217         Copy the WebCore Localizable.strings file into the output directory.
    1218 
    1219         * WebCore.vcproj/WebCoreGenerated.vcproj:
    1220         * WebCore.vcproj/WebCoreGeneratedCairo.vsprops:
    1221         * WebCore.vcproj/WebCoreGeneratedCommon.vsprops:
    1222         * WebCore.vcproj/copyInspectorFiles.cmd: Removed.
    1223         * WebCore.vcproj/copyWebCoreResourceFiles.cmd: Copied from Source/WebCore/WebCore.vcproj/copyInspectorFiles.cmd.
    1224 
    1225 2011-04-18  Robert Hogan  <robert@webkit.org>
     567        * bindings/v8/custom/V8EventCustom.cpp:
     568        (WebCore::toV8):
     569        * dom/DOMAllInOne.cpp:
     570        * dom/Event.cpp:
     571        (WebCore::Event::isStreamEvent):
     572        * dom/Event.h:
     573        * dom/StreamEvent.cpp: Added.
     574        (WebCore::StreamEvent::create):
     575        (WebCore::StreamEvent::StreamEvent):
     576        (WebCore::StreamEvent::~StreamEvent):
     577        (WebCore::StreamEvent::initStreamEvent):
     578        (WebCore::StreamEvent::stream):
     579        * dom/StreamEvent.h: Added.
     580        (WebCore::StreamEvent::isStreamEvent):
     581        * dom/StreamEvent.idl: Added.
     582
     5832011-06-08  Tommy Widenflycht  <tommyw@google.com>
     584
     585        Reviewed by Tony Gentilcore.
     586
     587        Media Stream API: integrate the Track List objects into the existing code.
     588        https://bugs.webkit.org/show_bug.cgi?id=60205
     589
     590        Tests for the Media Stream API will be provided by the bug 56587.
     591
     592        * dom/ExclusiveTrackList.cpp:
     593        (WebCore::ExclusiveTrackList::select):
     594        (WebCore::ExclusiveTrackList::trackFailed):
     595        * dom/ExclusiveTrackList.h:
     596        * dom/GeneratedStream.cpp:
     597        (WebCore::GeneratedStream::create):
     598        (WebCore::GeneratedStream::GeneratedStream):
     599        (WebCore::GeneratedStream::streamEnded):
     600        (WebCore::GeneratedStream::audioTracks):
     601        (WebCore::GeneratedStream::videoTracks):
     602        (WebCore::GeneratedStream::stop):
     603        * dom/GeneratedStream.h:
     604        * dom/GeneratedStream.idl:
     605        * dom/MultipleTrackList.cpp:
     606        (WebCore::MultipleTrackList::trackFailed):
     607        (WebCore::MultipleTrackList::enable):
     608        (WebCore::MultipleTrackList::disable):
     609        * dom/MultipleTrackList.h:
     610        * dom/Stream.h:
     611        * dom/TrackList.cpp:
     612        (WebCore::TrackList::clear):
     613        (WebCore::TrackList::associateStream):
     614        (WebCore::TrackList::associatedStreamLabel):
     615        (WebCore::TrackList::trackFailed):
     616        (WebCore::TrackList::scriptExecutionContext):
     617        * dom/TrackList.h:
     618        * page/MediaStreamClient.h:
     619        * page/MediaStreamController.cpp:
     620        (WebCore::MediaStreamController::enableAudioTrack):
     621        (WebCore::MediaStreamController::disableAudioTrack):
     622        (WebCore::MediaStreamController::selectVideoTrack):
     623        (WebCore::MediaStreamController::streamGenerated):
     624        (WebCore::MediaStreamController::audioTrackFailed):
     625        (WebCore::MediaStreamController::videoTrackFailed):
     626        * page/MediaStreamController.h:
     627        * page/MediaStreamFrameController.cpp:
     628        (WebCore::MediaStreamFrameController::unregister):
     629        (WebCore::MediaStreamFrameController::enterDetachedState):
     630        (WebCore::MediaStreamFrameController::disconnectFrame):
     631        (WebCore::MediaStreamFrameController::enableAudioTrack):
     632        (WebCore::MediaStreamFrameController::disableAudioTrack):
     633        (WebCore::MediaStreamFrameController::selectVideoTrack):
     634        (WebCore::MediaStreamFrameController::streamGenerated):
     635        (WebCore::MediaStreamFrameController::audioTrackFailed):
     636        (WebCore::MediaStreamFrameController::videoTrackFailed):
     637        * page/MediaStreamFrameController.h:
     638        (WebCore::MediaStreamFrameController::ClientBase::isGenericClient):
     639        (WebCore::MediaStreamFrameController::GenericClient::GenericClient):
     640        (WebCore::MediaStreamFrameController::GenericClient::~GenericClient):
     641        (WebCore::MediaStreamFrameController::GenericClient::isGenericClient):
     642        (WebCore::MediaStreamFrameController::GenericClient::unregister):
     643
     6442011-06-08  Pavel Podivilov  <podivilov@chromium.org>
     645
     646        Reviewed by Yury Semikhatsky.
     647
     648        Web Inspector: [REGRESSION] breakpoints are not persisted.
     649        https://bugs.webkit.org/show_bug.cgi?id=62273
     650
     651        * inspector/front-end/Settings.js:
     652
     6532011-06-08  Alexander Pavlov  <apavlov@chromium.org>
     654
     655        Reviewed by Yury Semikhatsky.
     656
     657        Web Inspector: node selection is slow in the Elements panel.
     658        https://bugs.webkit.org/show_bug.cgi?id=60813
     659
     660        Schedule full style updates rather than request all node styles from the backend immediately.
     661
     662        * inspector/front-end/StylesSidebarPane.js:
     663        (WebInspector.StylesSidebarPane.prototype.update.reloadAllStyles):
     664        (WebInspector.StylesSidebarPane.prototype.update):
     665
     6662011-06-08  Andreas Kling  <andreas.kling@nokia.com>
     667
     668        Reviewed by Laszlo Gombos.
     669
     670        [Symbian] Float{32,64}Array and Int16Array fail to build.
     671        https://bugs.webkit.org/show_bug.cgi?id=62219
     672
     673        For some reason, RVCT 2.x is moaning about "class member designated by
     674        a using-declaration must be visible in a direct base class".
     675        Apply same fix as r69122 and r76592.
     676
     677        * html/canvas/Float32Array.h:
     678        (WebCore::Float32Array::set):
     679        * html/canvas/Float64Array.h:
     680        (WebCore::Float64Array::set):
     681        * html/canvas/Int16Array.h:
     682        (WebCore::Int16Array::set):
     683
     6842011-06-08  Syed Idris Shah  <syed.idris-shah@nokia.com>
    1226685
    1227686        Reviewed by Andreas Kling.
    1228687
    1229         [Qt] PluginViewQt needs to update geometry of plugin widget before scheduling a repaint
    1230 
    1231         When scheduling a repaint for the plugin's widget, PluginViewQt
    1232         needs to make sure the widget's geometry is up to date. Otherwise
    1233         the paint event happens on the widget's old location.
    1234 
    1235         https://bugs.webkit.org/show_bug.cgi?id=57179
    1236 
    1237         Added a manual test.
    1238 
    1239         * manual-tests/qt/plugin-painting.html: Added.
    1240         * plugins/qt/PluginViewQt.cpp:
    1241         (WebCore::PluginView::updatePluginWidget):
    1242         (WebCore::PluginView::invalidateRect):
    1243 
    1244 2011-04-18  Oliver Hunt  <oliver@apple.com>
    1245 
    1246         Fix Qt build
    1247 
    1248         * bridge/qt/qt_class.cpp:
    1249         (JSC::Bindings::QtClass::fallbackObject):
    1250         * bridge/qt/qt_instance.cpp:
    1251         (JSC::Bindings::QtInstance::removeCachedMethod):
    1252         * bridge/qt/qt_instance.h:
    1253 
    1254 2011-04-18  Oliver Hunt  <oliver@apple.com>
    1255 
    1256         Reviewed by Gavin Barraclough.
    1257 
    1258         Remove DeprecatedPtr
    1259         https://bugs.webkit.org/show_bug.cgi?id=58718
    1260 
    1261         Replace use of DeprecatedPtr<> with Global<> as ownership rules
    1262         aren't obvious, have filed bug #58820 on seeing if this is safe.
    1263 
    1264         * bridge/qt/qt_class.cpp:
    1265         (JSC::Bindings::QtClass::fallbackObject):
    1266         * bridge/qt/qt_instance.cpp:
    1267         (JSC::Bindings::QtInstance::removeCachedMethod):
    1268         (JSC::Bindings::QtInstance::markAggregate):
    1269         * bridge/qt/qt_instance.h:
    1270 
    1271 2011-04-14  Matthew Delaney  <mdelaney@apple.com>
    1272 
    1273         Reviewed by Simon Fraser.
    1274 
    1275         [CG] Use vImage (un)premultiplyImageData functions for get/putImageData with IOSurfaces
    1276         https://bugs.webkit.org/show_bug.cgi?id=58088
    1277 
    1278         * platform/graphics/cg/ImageBufferDataCG.cpp:
    1279         (WebCore::convertScanline): un/premultiplies and converts a scanline of image data from/to BGRA to/from RGBA
    1280         (WebCore::unpremultitplyScanline):
    1281         (WebCore::premultitplyScanline):
    1282         (WebCore::ImageBufferData::getData):
    1283         (WebCore::ImageBufferData::putData):
    1284 
    1285 2011-04-18  Jeff Miller  <jeffm@apple.com>
    1286 
    1287         Reviewed by Dan Bernstein.
    1288 
    1289         Allow all log channels to be initialized from WebCoreLogLevel Windows environment variable
    1290         https://bugs.webkit.org/show_bug.cgi?id=58811
    1291 
    1292         * platform/win/LoggingWin.cpp:
    1293         (WebCore::InitializeLoggingChannelsIfNecessary): Support initializing LogResourceLoading, LogProgress, and LogFileAPI from WebCoreLogLevel Windows environment variable.
    1294 
    1295 2011-04-18  Andrew Scherkus  <scherkus@chromium.org>
    1296 
    1297         Reviewed by Eric Seidel.
    1298 
    1299         Reset fullscreen element reference when leaving fullscreen mode and some other cleanup.
    1300 
    1301         https://bugs.webkit.org/show_bug.cgi?id=58719
    1302 
    1303         Test: fullscreen/full-screen-cancel.html
    1304 
    1305         * dom/Document.cpp:
    1306         (WebCore::Document::Document): Remove m_isFullscreen.
    1307         (WebCore::Document::webkitWillEnterFullScreenForElement):
    1308         (WebCore::Document::webkitWillExitFullScreenForElement): Remove duplicate call to setAnimating().
    1309         (WebCore::Document::webkitDidExitFullScreenForElement): Reset m_fullScreenElement reference.
    1310         * dom/Document.h:
    1311         (WebCore::Document::webkitIsFullScreen): Use m_fullScreenElement instead of m_isFullscreen.
    1312         (WebCore::Document::webkitFullScreenKeyboardInputAllowed): Ditto.
    1313 
    1314 2011-04-18  Dan Bernstein  <mitz@apple.com>
    1315 
    1316         Reviewed by Eric Seidel.
    1317 
    1318         <rdar://problem/9282486> REGRESSION (r81992): Facebook photo tags can get cut off when moving the mouse.
    1319         https://bugs.webkit.org/show_bug.cgi?id=58500
    1320 
    1321         Test: fast/repaint/text-in-relative-positioned-inline.html
    1322 
    1323         * rendering/RenderText.cpp:
    1324         (WebCore::RenderText::clippedOverflowRectForRepaint): Use the container’s repaint rect, not
    1325         the containing block’s. This matters when the containing block is outside the RenderText’s
    1326         enclosing layer, as is the case here.
    1327 
    1328 2011-04-15  Stephen White  <senorblanco@chromium.org>
    1329 
    1330         Reviewed by Kenneth Russell.
    1331 
    1332         Speed up DrawingBuffer::reset().
    1333         https://bugs.webkit.org/show_bug.cgi?id=58706
    1334 
    1335         When DrawingBuffer::reset() is called, it should not reallocate
    1336         the FBOs if the size has not changed.  It should just do a glClear().
    1337 
    1338         Covered by tests in fast/canvas and canvas/philip.
    1339 
    1340         * platform/graphics/chromium/DrawingBufferChromium.cpp:
    1341         (WebCore::DrawingBuffer::DrawingBuffer):
    1342         Initialize the size to -1, -1, so the size change check will work on
    1343         first reset.
    1344         * platform/graphics/gpu/DrawingBuffer.cpp:
    1345         (WebCore::DrawingBuffer::reset):
    1346         If the size hasn't changed, don't resize the FBOs.  Just clear the
    1347         relevant buffers.
    1348 
    1349 2011-04-18  Pavel Feldman  <pfeldman@google.com>
    1350 
    1351         Reviewed by Yury Semikhatsky.
    1352 
    1353         Web Inspector: group resources by type in the resources panel.
    1354         https://bugs.webkit.org/show_bug.cgi?id=58796
    1355 
    1356         * inspector/front-end/ResourcesPanel.js:
    1357         (WebInspector.ResourcesPanel.prototype._frameAdded):
    1358         (WebInspector.ResourcesPanel.prototype._resourceAdded):
    1359         (WebInspector.BaseStorageTreeElement):
    1360         (WebInspector.BaseStorageTreeElement.prototype.onattach):
    1361         (WebInspector.StorageCategoryTreeElement):
    1362         (WebInspector.FrameTreeElement):
    1363         (WebInspector.FrameTreeElement.prototype.setTitles):
    1364         (WebInspector.FrameTreeElement.prototype.set hovered):
    1365         (WebInspector.FrameTreeElement.prototype.appendResource):
    1366         (WebInspector.FrameTreeElement.prototype.appendChild):
    1367         (WebInspector.FrameTreeElement.prototype._insertInPresentationOrder):
    1368         (WebInspector.FrameTreeElement.prototype._insertInPresentationOrder.compare):
    1369 
    1370 2011-04-18  Timothy Hatcher  <timothy@apple.com>
    1371 
    1372         Make update-webkit-localizable-strings put WebKit/win strings in WebCore
    1373         now that all localized strings in WebKit/win use WEB_UI_STRING.
    1374 
    1375         https://webkit.org/b/58747
    1376 
    1377         Reviewed by Dan Bernstein.
    1378 
    1379         * English.lproj/Localizable.strings: Updated with strings from WebKit/win.
    1380 
    1381 2011-04-15  MORITA Hajime  <morrita@google.com>
    1382 
    1383         Reviewed by Adam Barth.
    1384 
    1385         REGRESSION: <progress> doesn't animate if it doesn't have value
    1386         https://bugs.webkit.org/show_bug.cgi?id=58693
    1387 
    1388         The initial value of RenderProgress::m_position is accidentally same as
    1389         the indeterminate value, that makes update code on updateFromElement() skipped.
    1390         This change set unique invalid value for the initial value of m_position.
    1391        
    1392         No new tests. Testing animated bar is not possible with DRT.
    1393 
    1394         * html/HTMLProgressElement.cpp:
    1395         (WebCore::HTMLProgressElement::position):
    1396         * html/HTMLProgressElement.h:
    1397         * rendering/RenderProgress.cpp:
    1398         (WebCore::RenderProgress::RenderProgress):
    1399         (WebCore::RenderProgress::isDeterminate):
    1400 
    1401 2011-04-18  MORITA Hajime  <morrita@google.com>
    1402 
    1403         Reviewed by Eric Seidel.
    1404 
    1405         REGRESSION: [Chromium Win] details-add-summary-1.html start crashing after r84039
    1406         https://bugs.webkit.org/show_bug.cgi?id=58791
    1407        
    1408         On refreshMainSummary(), findMainSummary() possibly releases oldSummary.
    1409         We should guard it again RefPtr.
    1410 
    1411         * html/HTMLDetailsElement.cpp:
    1412         (WebCore::HTMLDetailsElement::refreshMainSummary):
    1413 
    1414 2011-04-18  Antti Koivisto  <antti@apple.com>
    1415 
    1416         Reviewed by Simon Fraser.
    1417 
    1418         CSSSelector double frees
    1419         https://bugs.webkit.org/show_bug.cgi?id=56124
    1420         <rdar://problem/9119036>
    1421 
    1422         In all stacks this is occuring when the document is kept alive by the guard ref only
    1423         and the node holding it is deleted.
    1424 
    1425         As a speculative fix, clear the document stylesheets when it turns into a guard ref zombie.
    1426         This has a pretty good chance of fixing the actual bug. At minimum it will move the
    1427         crash to an earlier, more easily traceble point.
    1428 
    1429         No tests, crash stacks only, no idea how to reproduce.
    1430 
    1431         * dom/Document.cpp:
    1432         (WebCore::Document::removedLastRef):
    1433 
    1434 2011-04-18  Alexander Pavlov  <apavlov@chromium.org>
    1435 
    1436         Reviewed by Yury Semikhatsky.
    1437 
    1438         Web Inspector: Backspace in the Console is broken
    1439         https://bugs.webkit.org/show_bug.cgi?id=58764
    1440 
    1441         * inspector/front-end/inspector.js:
    1442         (WebInspector.documentKeyDown):
    1443 
    1444 2011-04-18  Hans Wennborg  <hans@chromium.org>
    1445 
    1446         Reviewed by Steve Block.
    1447 
    1448         LevelDB backend for IndexedDB
    1449         https://bugs.webkit.org/show_bug.cgi?id=57372
    1450 
    1451         Only available behind a run-time flag. Covered by existing layout
    1452         tests.
    1453 
    1454         * Android.mk:
    1455         * CMakeLists.txt:
    1456         * GNUmakefile.am:
    1457         * GNUmakefile.list.am:
    1458         * WebCore.gyp/WebCore.gyp:
     688        [Qt] GL_POINT_SPRITE and GL_VERTEX_PROGRAM_POINT_SIZE should be enabled for desktop WebGL
     689        https://bugs.webkit.org/show_bug.cgi?id=61945
     690
     691        For OpenGL ES we do not need these features.
     692        These features are available via shaders in OpenGL ES. But for desktop WebGL using QtWebKit they should be enabled.
     693
     694        LayoutTests/fast/canvas/webgl/point-size.html
     695
     696        * platform/graphics/qt/GraphicsContext3DQt.cpp:
     697        (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
     698
     6992011-06-08  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
     700
     701        Unreviewed. Fix style error.
     702
     703        * platform/efl/RenderThemeEfl.cpp:
     704        * platform/efl/RenderThemeEfl.h:
     705
     7062011-06-08  Hironori Bono  <hbono@chromium.org>
     707
     708        Reviewed by Brent Fulgham.
     709
     710        Add SpellCheck API
     711        https://bugs.webkit.org/show_bug.cgi?id=59693
     712
     713        This change adds two SpellCheck API functions (addSpellcheckRange and
     714        removeSpellcheckRange) and one attribute (spellcheckRange) discussed in
     715        the public-webapps ML. This change is currently available only on Chromium.
     716
     717        Tests: editing/spelling/spellcheck-api-pixel.html
     718               editing/spelling/spellcheck-api.html
     719
    1459720        * WebCore.gypi:
    1460         * WebCore.pri:
    1461         * WebCore.pro:
    1462         * WebCore.xcodeproj/project.pbxproj:
    1463         * platform/leveldb/LevelDBComparator.h: Added.
    1464         (WebCore::LevelDBComparator::~LevelDBComparator):
    1465         * platform/leveldb/LevelDBDatabase.cpp: Added.
    1466         (WebCore::makeSlice):
    1467         (WebCore::makeLevelDBSlice):
    1468         (WebCore::makeVector):
    1469         (WebCore::LevelDBDatabase::LevelDBDatabase):
    1470         (WebCore::LevelDBDatabase::~LevelDBDatabase):
    1471         (WebCore::LevelDBDatabase::open):
    1472         (WebCore::LevelDBDatabase::put):
    1473         (WebCore::LevelDBDatabase::remove):
    1474         (WebCore::LevelDBDatabase::get):
    1475         (WebCore::LevelDBDatabase::newIterator):
    1476         * platform/leveldb/LevelDBDatabase.h: Added.
    1477         * platform/leveldb/LevelDBIterator.cpp: Added.
    1478         (WebCore::LevelDBIterator::~LevelDBIterator):
    1479         (WebCore::LevelDBIterator::LevelDBIterator):
    1480         (WebCore::makeSlice):
    1481         (WebCore::makeLevelDBSlice):
    1482         (WebCore::LevelDBIterator::isValid):
    1483         (WebCore::LevelDBIterator::seekToLast):
    1484         (WebCore::LevelDBIterator::seek):
    1485         (WebCore::LevelDBIterator::next):
    1486         (WebCore::LevelDBIterator::prev):
    1487         (WebCore::LevelDBIterator::key):
    1488         (WebCore::LevelDBIterator::value):
    1489         * platform/leveldb/LevelDBIterator.h: Added.
    1490         * platform/leveldb/LevelDBSlice.h: Added.
    1491         (WebCore::LevelDBSlice::LevelDBSlice):
    1492         (WebCore::LevelDBSlice::~LevelDBSlice):
    1493         (WebCore::LevelDBSlice::begin):
    1494         (WebCore::LevelDBSlice::end):
    1495         * storage/IDBLevelDBBackingStore.cpp:
    1496         (WebCore::encodeByte):
    1497         (WebCore::maxIDBKey):
    1498         (WebCore::minIDBKey):
    1499         (WebCore::encodeInt):
    1500         (WebCore::decodeInt):
    1501         (WebCore::encodeVarInt):
    1502         (WebCore::decodeVarInt):
    1503         (WebCore::encodeString):
    1504         (WebCore::decodeString):
    1505         (WebCore::encodeStringWithLength):
    1506         (WebCore::decodeStringWithLength):
    1507         (WebCore::encodeDouble):
    1508         (WebCore::decodeDouble):
    1509         (WebCore::encodeIDBKey):
    1510         (WebCore::decodeIDBKey):
    1511         (WebCore::extractEncodedIDBKey):
    1512         (WebCore::compareEncodedIDBKeys):
    1513         (WebCore::getInt):
    1514         (WebCore::putInt):
    1515         (WebCore::getString):
    1516         (WebCore::putString):
    1517         (WebCore::KeyPrefix::SchemaVersionKey::encode):
    1518         (WebCore::KeyPrefix::MaxDatabaseIdKey::encode):
    1519         (WebCore::KeyPrefix::DatabaseFreeListKey::DatabaseFreeListKey):
    1520         (WebCore::KeyPrefix::DatabaseFreeListKey::decode):
    1521         (WebCore::KeyPrefix::DatabaseFreeListKey::encode):
    1522         (WebCore::KeyPrefix::DatabaseFreeListKey::databaseId):
    1523         (WebCore::KeyPrefix::DatabaseFreeListKey::compare):
    1524         (WebCore::KeyPrefix::DatabaseNameKey::decode):
    1525         (WebCore::KeyPrefix::DatabaseNameKey::encode):
    1526         (WebCore::KeyPrefix::DatabaseNameKey::origin):
    1527         (WebCore::KeyPrefix::DatabaseNameKey::databaseName):
    1528         (WebCore::KeyPrefix::DatabaseNameKey::compare):
    1529         (WebCore::KeyPrefix::DatabaseMetaDataKey::encode):
    1530         (WebCore::KeyPrefix::ObjectStoreMetaDataKey::ObjectStoreMetaDataKey):
    1531         (WebCore::KeyPrefix::ObjectStoreMetaDataKey::decode):
    1532         (WebCore::KeyPrefix::ObjectStoreMetaDataKey::encode):
    1533         (WebCore::KeyPrefix::ObjectStoreMetaDataKey::objectStoreId):
    1534         (WebCore::KeyPrefix::ObjectStoreMetaDataKey::metaDataType):
    1535         (WebCore::KeyPrefix::ObjectStoreMetaDataKey::compare):
    1536         (WebCore::KeyPrefix::IndexMetaDataKey::IndexMetaDataKey):
    1537         (WebCore::KeyPrefix::IndexMetaDataKey::decode):
    1538         (WebCore::KeyPrefix::IndexMetaDataKey::encode):
    1539         (WebCore::KeyPrefix::IndexMetaDataKey::compare):
    1540         (WebCore::KeyPrefix::IndexMetaDataKey::indexId):
    1541         (WebCore::KeyPrefix::IndexMetaDataKey::metaDataType):
    1542         (WebCore::KeyPrefix::ObjectStoreFreeListKey::ObjectStoreFreeListKey):
    1543         (WebCore::KeyPrefix::ObjectStoreFreeListKey::decode):
    1544         (WebCore::KeyPrefix::ObjectStoreFreeListKey::encode):
    1545         (WebCore::KeyPrefix::ObjectStoreFreeListKey::objectStoreId):
    1546         (WebCore::KeyPrefix::ObjectStoreFreeListKey::compare):
    1547         (WebCore::KeyPrefix::IndexFreeListKey::IndexFreeListKey):
    1548         (WebCore::KeyPrefix::IndexFreeListKey::decode):
    1549         (WebCore::KeyPrefix::IndexFreeListKey::encode):
    1550         (WebCore::KeyPrefix::IndexFreeListKey::compare):
    1551         (WebCore::KeyPrefix::IndexFreeListKey::objectStoreId):
    1552         (WebCore::KeyPrefix::IndexFreeListKey::indexId):
    1553         (WebCore::KeyPrefix::ObjectStoreNamesKey::decode):
    1554         (WebCore::KeyPrefix::ObjectStoreNamesKey::encode):
    1555         (WebCore::KeyPrefix::ObjectStoreNamesKey::compare):
    1556         (WebCore::KeyPrefix::ObjectStoreNamesKey::objectStoreName):
    1557         (WebCore::KeyPrefix::IndexNamesKey::IndexNamesKey):
    1558         (WebCore::KeyPrefix::IndexNamesKey::decode):
    1559         (WebCore::KeyPrefix::IndexNamesKey::encode):
    1560         (WebCore::KeyPrefix::IndexNamesKey::compare):
    1561         (WebCore::KeyPrefix::IndexNamesKey::indexName):
    1562         (WebCore::KeyPrefix::ObjectStoreDataKey::decode):
    1563         (WebCore::KeyPrefix::ObjectStoreDataKey::encode):
    1564         (WebCore::KeyPrefix::ObjectStoreDataKey::compare):
    1565         (WebCore::KeyPrefix::ObjectStoreDataKey::userKey):
    1566         (WebCore::KeyPrefix::ExistsEntryKey::decode):
    1567         (WebCore::KeyPrefix::ExistsEntryKey::encode):
    1568         (WebCore::KeyPrefix::ExistsEntryKey::compare):
    1569         (WebCore::KeyPrefix::ExistsEntryKey::userKey):
    1570         (WebCore::KeyPrefix::IndexDataKey::IndexDataKey):
    1571         (WebCore::KeyPrefix::IndexDataKey::decode):
    1572         (WebCore::KeyPrefix::IndexDataKey::encode):
    1573         (WebCore::KeyPrefix::IndexDataKey::encodeMaxKey):
    1574         (WebCore::KeyPrefix::IndexDataKey::compare):
    1575         (WebCore::KeyPrefix::IndexDataKey::databaseId):
    1576         (WebCore::KeyPrefix::IndexDataKey::objectStoreId):
    1577         (WebCore::KeyPrefix::IndexDataKey::indexId):
    1578         (WebCore::KeyPrefix::IndexDataKey::userKey):
    1579         (WebCore::KeyPrefix::realCompare):
    1580         (WebCore::KeyPrefix::compareKeys):
    1581         (WebCore::KeyPrefix::compareIndexKeys):
    1582         (WebCore::KeyPrefix::Comparator::compare):
    1583         (WebCore::KeyPrefix::Comparator::name):
    1584         (WebCore::setUpMetadata):
    1585         (WebCore::IDBLevelDBBackingStore::IDBLevelDBBackingStore):
    1586         (WebCore::IDBLevelDBBackingStore::open):
    1587         (WebCore::IDBLevelDBBackingStore::extractIDBDatabaseMetaData):
    1588         (WebCore::getNewDatabaseId):
    1589         (WebCore::IDBLevelDBBackingStore::setIDBDatabaseMetaData):
    1590         (WebCore::IDBLevelDBBackingStore::getObjectStores):
    1591         (WebCore::getNewObjectStoreId):
    1592         (WebCore::IDBLevelDBBackingStore::createObjectStore):
    1593         (WebCore::deleteRange):
    1594         (WebCore::IDBLevelDBBackingStore::deleteObjectStore):
    1595         (WebCore::IDBLevelDBBackingStore::getObjectStoreRecord):
    1596         (WebCore::getNewVersionNumber):
    1597         (WebCore::IDBLevelDBBackingStore::putObjectStoreRecord):
    1598         (WebCore::IDBLevelDBBackingStore::clearObjectStore):
    1599         (WebCore::IDBLevelDBBackingStore::createInvalidRecordIdentifier):
    1600         (WebCore::IDBLevelDBBackingStore::deleteObjectStoreRecord):
    1601         (WebCore::IDBLevelDBBackingStore::nextAutoIncrementNumber):
    1602         (WebCore::IDBLevelDBBackingStore::keyExistsInObjectStore):
    1603         (WebCore::IDBLevelDBBackingStore::forEachObjectStoreRecord):
    1604         (WebCore::IDBLevelDBBackingStore::getIndexes):
    1605         (WebCore::getNewIndexId):
    1606         (WebCore::IDBLevelDBBackingStore::createIndex):
    1607         (WebCore::IDBLevelDBBackingStore::deleteIndex):
    1608         (WebCore::IDBLevelDBBackingStore::putIndexDataForRecord):
    1609         (WebCore::findGreatestKeyLessThan):
    1610         (WebCore::IDBLevelDBBackingStore::deleteIndexDataForRecord):
    1611         (WebCore::IDBLevelDBBackingStore::getObjectViaIndex):
    1612         (WebCore::versionExists):
    1613         (WebCore::IDBLevelDBBackingStore::getPrimaryKeyViaIndex):
    1614         (WebCore::IDBLevelDBBackingStore::keyExistsInIndex):
    1615         (WebCore::findLastIndexKeyEqualTo):
    1616         (WebCore::IDBLevelDBBackingStore::openObjectStoreCursor):
    1617         (WebCore::IDBLevelDBBackingStore::openIndexKeyCursor):
    1618         (WebCore::IDBLevelDBBackingStore::openIndexCursor):
    1619         (WebCore::IDBLevelDBBackingStore::createTransaction):
    1620         * storage/IDBLevelDBBackingStore.h:
    1621 
    1622 2011-04-18  Pavel Feldman  <pfeldman@google.com>
    1623 
    1624         Reviewed by Yury Semikhatsky.
    1625 
    1626         Web Inspector: add test for CSS-resource binding.
    1627         https://bugs.webkit.org/show_bug.cgi?id=58786
    1628 
    1629         Test: inspector/styles/styles-history.html
    1630 
    1631         * inspector/InspectorCSSAgent.cpp:
    1632         (WebCore::InspectorCSSAgent::setPropertyText):
    1633         (WebCore::InspectorCSSAgent::toggleProperty):
    1634         * inspector/InspectorStyleSheet.cpp:
    1635         (WebCore::InspectorStyle::setPropertyText):
    1636         (WebCore::InspectorStyle::toggleProperty):
    1637         (WebCore::InspectorStyleSheet::setPropertyText):
    1638         (WebCore::InspectorStyleSheet::toggleProperty):
    1639         * inspector/InspectorStyleSheet.h:
    1640         * inspector/front-end/CSSStyleModel.js:
    1641         (WebInspector.CSSStyleModel.prototype._fireStyleSheetChanged.if):
    1642         (WebInspector.CSSStyleModel.prototype._fireStyleSheetChanged.mycallback):
    1643         (WebInspector.CSSStyleModel.prototype._fireStyleSheetChanged):
    1644         (WebInspector.CSSStyleModel.prototype.setStyleSheetText):
    1645         (WebInspector.CSSStyleDeclaration.prototype.insertPropertyAt):
    1646         (WebInspector.CSSProperty.prototype.setText.callback):
    1647         (WebInspector.CSSProperty.prototype.setText):
    1648 
    1649 2011-04-18  Sheriff Bot  <webkit.review.bot@gmail.com>
    1650 
    1651         Unreviewed, rolling out r83996.
    1652         http://trac.webkit.org/changeset/83996
    1653         https://bugs.webkit.org/show_bug.cgi?id=58790
    1654 
    1655         layout test editing/selection/move-by-word-visually.html is
    1656         failing (Requested by jknotten on #webkit).
    1657 
    1658         * editing/visible_units.cpp:
    1659         (WebCore::nextWordBreakInBoxInsideBlockWithDifferentDirectionality):
    1660         (WebCore::collectWordBreaksInBoxInsideBlockWithDifferntDirectionality):
    1661         (WebCore::previousWordBreakInBox):
    1662         (WebCore::leftWordBoundary):
    1663         (WebCore::rightWordBoundary):
    1664         (WebCore::leftWordPosition):
    1665         (WebCore::rightWordPosition):
    1666 
    1667 2011-04-18  Adam Bergkvist  <adam.bergkvist@ericsson.com>
    1668 
    1669         Reviewed by Daniel Bates.
    1670 
    1671         Modify make_names.pl to not include conditional includes unconditionally
    1672         https://bugs.webkit.org/show_bug.cgi?id=53672
    1673 
    1674         Fixed conditional includes being unconditionally included.
    1675 
    1676         No new tests (no change in functionality)
    1677 
    1678         * dom/make_names.pl:
    1679             - Modified printJSElementIncludes() to only print unconditional element includes.
    1680             - Modified printElementIncludes() to only print unconditional element includes.
    1681             - Added printConditionalElementIncludes() which takes care of printing conditional element includes.
    1682 
    1683 2011-04-18  Sheriff Bot  <webkit.review.bot@gmail.com>
    1684 
    1685         Unreviewed, rolling out r83803.
    1686         http://trac.webkit.org/changeset/83803
    1687         https://bugs.webkit.org/show_bug.cgi?id=58782
    1688 
    1689         Caused focus rings to appear in youtube videos (Requested by
    1690         inferno-sec on #webkit).
    1691 
    1692         * rendering/RenderWidget.cpp:
    1693         (WebCore::RenderWidget::paint):
    1694 
    1695 2011-04-18  Alexander Pavlov  <apavlov@chromium.org>
     721        * bindings/generic/RuntimeEnabledFeatures.cpp:
     722        * bindings/generic/RuntimeEnabledFeatures.h:
     723        (WebCore::RuntimeEnabledFeatures::spellCheckAPIEnabled):
     724        (WebCore::RuntimeEnabledFeatures::setSpellCheckAPIEnabled):
     725        * dom/DocumentMarker.h:
     726        (WebCore::DocumentMarker::length):
     727        * dom/DocumentMarkerController.cpp:
     728        (WebCore::DocumentMarkerController::userSpellingMarkersForNode):
     729        (WebCore::DocumentMarkerController::addUserSpellingMarker):
     730        (WebCore::DocumentMarkerController::removeUserSpellingMarker):
     731        (WebCore::DocumentMarkerController::userSpellingNode):
     732        * dom/DocumentMarkerController.h:
     733        * html/HTMLDivElement.cpp:
     734        (WebCore::HTMLDivElement::spellcheckRanges):
     735        (WebCore::HTMLDivElement::addSpellcheckRange):
     736        (WebCore::HTMLDivElement::removeSpellcheckRange):
     737        * html/HTMLDivElement.h:
     738        * html/HTMLDivElement.idl:
     739        * html/HTMLInputElement.cpp:
     740        (WebCore::HTMLInputElement::spellcheckRanges):
     741        (WebCore::HTMLInputElement::addSpellcheckRange):
     742        (WebCore::HTMLInputElement::removeSpellcheckRange):
     743        * html/HTMLInputElement.h:
     744        * html/HTMLInputElement.idl:
     745        * html/HTMLTextAreaElement.cpp:
     746        (WebCore::HTMLTextAreaElement::spellcheckRanges):
     747        (WebCore::HTMLTextAreaElement::addSpellcheckRange):
     748        (WebCore::HTMLTextAreaElement::removeSpellcheckRange):
     749        * html/HTMLTextAreaElement.h:
     750        * html/HTMLTextAreaElement.idl:
     751        * html/SpellcheckRange.cpp: Added.
     752        (WebCore::SpellcheckRange::SpellcheckRange):
     753        (WebCore::SpellcheckRange::~SpellcheckRange):
     754        * html/SpellcheckRange.h: Added.
     755        (WebCore::SpellcheckRange::create):
     756        (WebCore::SpellcheckRange::start):
     757        (WebCore::SpellcheckRange::length):
     758        (WebCore::SpellcheckRange::suggestions):
     759        (WebCore::SpellcheckRange::options):
     760        * html/SpellcheckRange.idl: Added.
     761        * html/SpellcheckRangeList.cpp: Added.
     762        (WebCore::SpellcheckRangeList::SpellcheckRangeList):
     763        (WebCore::SpellcheckRangeList::~SpellcheckRangeList):
     764        (WebCore::SpellcheckRangeList::item):
     765        * html/SpellcheckRangeList.h: Added.
     766        (WebCore::SpellcheckRangeList::create):
     767        (WebCore::SpellcheckRangeList::isEmpty):
     768        (WebCore::SpellcheckRangeList::clear):
     769        (WebCore::SpellcheckRangeList::append):
     770        (WebCore::SpellcheckRangeList::remove):
     771        (WebCore::SpellcheckRangeList::length):
     772        * html/SpellcheckRangeList.idl: Added.
     773        * rendering/InlineTextBox.cpp:
     774        (WebCore::textCheckingLineStyleForMarkerType):
     775        (WebCore::InlineTextBox::paintDocumentMarkers):
     776
     7772011-06-07  Andrey Kosyakov  <caseq@chromium.org>
    1696778
    1697779        Reviewed by Pavel Feldman.
    1698780
    1699         Web Inspector: Need a workaround for bug 58422
    1700         https://bugs.webkit.org/show_bug.cgi?id=58780
    1701 
    1702         Instead of the A:before content, the link text is displayed as the A tag content.
    1703 
    1704         * inspector/front-end/StylesSidebarPane.js:
    1705         (WebInspector.StylePropertiesSection.linkifyUncopyable):
    1706         (WebInspector.StylePropertiesSection):
    1707         * inspector/front-end/inspector.css:
    1708 
    1709 2011-04-18  Carlos Garcia Campos  <cgarcia@igalia.com>
    1710 
    1711         Unreviewed. Fix WebKit2 GTK build after 82465.
    1712 
    1713         * platform/gtk/LocalizedStringsGtk.cpp:
    1714         (WebCore::localizedString):
    1715 
    1716 2011-04-18  Andrey Adaikin  <aandrey@google.com>
    1717 
    1718         Reviewed by Yury Semikhatsky.
    1719 
    1720         Web Inspector: TAB should not move focus from the text editor while live editing
    1721         https://bugs.webkit.org/show_bug.cgi?id=58537
    1722 
    1723         * inspector/front-end/TextViewer.js:
    1724         (WebInspector.TextViewer.prototype._registerShortcuts):
    1725         (WebInspector.TextViewer.prototype._cancelEditing):
    1726         (WebInspector.TextEditorMainPanel.prototype.handleUndoRedo):
    1727         (WebInspector.TextEditorMainPanel.prototype.handleTabKeyPress):
    1728         (WebInspector.TextEditorMainPanel.prototype._setCaretLocation):
    1729         (WebInspector.TextEditorMainPanel.prototype._applyDomUpdates):
    1730         (WebInspector.TextEditorMainPanel.prototype._setText):
    1731 
    1732 2011-04-18  Alexander Pavlov  <apavlov@chromium.org>
    1733 
    1734         Reviewed by Yury Semikhatsky.
    1735 
    1736         Web Inspector: Incorrect content area dimensions in Metrics pane for box-sizing: border-box
    1737         https://bugs.webkit.org/show_bug.cgi?id=58551
    1738 
    1739         Test: inspector/styles/metrics-box-sizing.html
    1740 
    1741         * inspector/front-end/MetricsSidebarPane.js:
    1742         (WebInspector.MetricsSidebarPane.prototype._getPropertyValueAsPx):
    1743         (WebInspector.MetricsSidebarPane.prototype._getBox):
    1744         (WebInspector.MetricsSidebarPane.prototype._update.getContentAreaWidthPx):
    1745         (WebInspector.MetricsSidebarPane.prototype._update.getContentAreaHeightPx):
    1746         (WebInspector.MetricsSidebarPane.prototype._update):
    1747         (WebInspector.MetricsSidebarPane.prototype.startEditing):
    1748         (WebInspector.MetricsSidebarPane.prototype.editingCommitted.setEnabledValueCallback):
    1749         (WebInspector.MetricsSidebarPane.prototype.editingCommitted):
    1750 
    1751 2011-04-18  Ilya Tikhonovsky  <loislo@chromium.org>
    1752 
    1753         Reviewed by Yury Semikhatsky.
    1754 
    1755         Web Inspector: Database agent stops to propagate it's events after navigation.
    1756         https://bugs.webkit.org/show_bug.cgi?id=58776
    1757 
    1758         * inspector/InspectorAgent.cpp:
    1759         (WebCore::InspectorAgent::InspectorAgent):
    1760         (WebCore::InspectorAgent::restoreInspectorStateFromCookie):
    1761         * inspector/InspectorDatabaseAgent.cpp:
    1762         (WebCore::InspectorDatabaseAgent::InspectorDatabaseAgent):
    1763         (WebCore::InspectorDatabaseAgent::clearFrontend):
    1764         (WebCore::InspectorDatabaseAgent::enable):
    1765         (WebCore::InspectorDatabaseAgent::disable):
    1766         (WebCore::InspectorDatabaseAgent::restore):
    1767         * inspector/InspectorDatabaseAgent.h:
    1768         (WebCore::InspectorDatabaseAgent::create):
    1769 
    1770 2011-04-18  Sheriff Bot  <webkit.review.bot@gmail.com>
    1771 
    1772         Unreviewed, rolling out r83968.
    1773         http://trac.webkit.org/changeset/83968
    1774         https://bugs.webkit.org/show_bug.cgi?id=58769
    1775 
    1776         Breaks Backspace in Web Inspector console (Requested by
    1777         apavlov on #webkit).
    1778 
    1779         * inspector/front-end/inspector.js:
    1780         (WebInspector.documentKeyDown):
    1781 
    1782 2011-04-15  Yury Semikhatsky  <yurys@chromium.org>
    1783 
    1784         Reviewed by Pavel Feldman.
    1785 
    1786         Web Inspector: introduce WorkerInspectorController
    1787         https://bugs.webkit.org/show_bug.cgi?id=58668
    1788 
    1789         WorkerInspectorController will be owned by WorkerContext and will hold all inspector
    1790         agents and will also manage connection to the inspector frontend.
    1791 
    1792         * CMakeLists.txt:
    1793         * GNUmakefile.list.am:
    1794         * WebCore.gypi:
    1795         * WebCore.pro:
    1796         * WebCore.vcproj/WebCore.vcproj:
    1797         * WebCore.xcodeproj/project.pbxproj:
    1798         * bindings/js/ScriptState.cpp:
    1799         (WebCore::scriptStateFromWorkerContext):
    1800         * bindings/js/ScriptState.h:
    1801         * bindings/v8/ScriptState.cpp:
    1802         (WebCore::scriptStateFromWorkerContext):
    1803         * bindings/v8/ScriptState.h:
    1804         * inspector/InspectorState.cpp:
    1805         (WebCore::InspectorState::updateCookie):
    1806         * inspector/WorkerInspectorController.cpp: Added.
    1807         (WebCore::WorkerInspectorController::WorkerInspectorController):
    1808         (WebCore::WorkerInspectorController::~WorkerInspectorController):
    1809         (WebCore::WorkerInspectorController::connectFrontend):
    1810         (WebCore::WorkerInspectorController::disconnectFrontend):
    1811         (WebCore::WorkerInspectorController::dispatchMessageFromFrontend):
    1812         * inspector/WorkerInspectorController.h: Copied from Source/WebCore/bindings/js/ScriptState.h.
    1813         * workers/WorkerContext.cpp:
    1814         (WebCore::WorkerContext::WorkerContext):
    1815         * workers/WorkerContext.h:
    1816         (WebCore::WorkerContext::workerInspectorController):
    1817 
    1818 2011-04-17  Thierry Reding  <thierry.reding@avionic-design.de>
    1819 
    1820         Reviewed by Adam Barth.
    1821 
    1822         Fix build with GCC 4.6.
    1823 
    1824         * dom/make_names.pl: Execute preprocessor without the -P option. The
    1825         preprocessor in GCC 4.6 eats empty lines, effectively breaking the
    1826         parsing performed by this script. Dropping the -P option when invoking
    1827         the preprocessor keeps the empty lines but as a side-effect also adds
    1828         additional linemarkers.
    1829 
    1830         From the cpp manpage:
    1831 
    1832           -P  Inhibit generation of linemarkers in the output from the
    1833               preprocessor. This might be useful when running the preprocessor
    1834               on something that is not C code, and will be sent to a program
    1835               which might be confused by the linemarkers.
    1836 
    1837         The linemarkers are not problematic, however, because the script
    1838         properly handles them by ignoring all lines starting with a #.
    1839 
    1840 2011-04-17  David Kilzer  <ddkilzer@apple.com>
    1841 
    1842         <http://webkit.org/b/58463> Switch HTTP pipelining from user default to private setting
    1843         <rdar://problem/9268729>
    1844 
    1845         Reviewed by Dan Bernstein.
    1846 
    1847         This replaces support for the WebKitEnableHTTPPipelining user
    1848         default with methods on the WebCore::ResourceRequest class in
    1849         WebCore, the WebView class in WebKit1, and the WebContext class
    1850         in WebKit2.  It also removes support for the
    1851         WebKitForceHTTPPipeliningPriorityHigh user default which was not
    1852         needed.
    1853 
    1854         Run these commands if you set the user defaults previously,
    1855         replacing "BUNDLE.ID" with your application's bundle ID:
    1856 
    1857             defaults delete BUNDLE.ID WebKitEnableHTTPPipelining
    1858             defaults delete BUNDLE.ID WebKitForceHTTPPipeliningPriorityHigh
    1859 
    1860         * WebCore.exp.in: Export ResourceRequest::httpPipeliningEnabled()
    1861         and ResourceRequest::setHTTPPipeliningEnabled().
    1862 
    1863         * platform/network/ResourceRequestBase.h:
    1864         (WebCore::isHTTPPipeliningEnabled): Removed declaration.
    1865         (WebCore::shouldForceHTTPPipeliningPriorityHigh): Removed declaration.
    1866 
    1867         * platform/network/cf/ResourceRequest.h:
    1868         (WebCore::ResourceRequest::httpPipeliningEnabled): Added declaration.
    1869         (WebCore::ResourceRequest::setHTTPPipeliningEnabled): Added declaration.
    1870         (WebCore::ResourceRequest::s_httpPipeliningEnabled): Added declaration.
    1871 
    1872         * platform/network/cf/ResourceRequestCFNet.cpp:
    1873         (WebCore::ResourceRequest::s_httpPipeliningEnabled): Added.
    1874         (WebCore::ResourceRequest::httpPipeliningEnabled): Added.
    1875         (WebCore::ResourceRequest::setHTTPPipeliningEnabled): Added.
    1876         (WebCore::initializeMaximumHTTPConnectionCountPerHost): Switched
    1877         to use ResourceRequest::httpPipeliningEnabled().
    1878         (WebCore::readBooleanPreference): Removed.
    1879         (WebCore::isHTTPPipeliningEnabled): Removed.
    1880         (WebCore::shouldForceHTTPPipeliningPriorityHigh): Removed.
    1881 
    1882         * platform/network/mac/ResourceRequestMac.mm:
    1883         (WebCore::ResourceRequest::doUpdateResourceRequest): Switched to
    1884         use ResourceRequest::httpPipeliningEnabled().  Removed check for
    1885         shouldForceHTTPPipeliningPriorityHigh().
    1886         (WebCore::ResourceRequest::doUpdatePlatformRequest): Ditto.
    1887 
    1888 2011-04-17  Dan Bernstein  <mitz@apple.com>
    1889 
    1890         Reviewed by Maciej Stachowiak.
    1891 
    1892         REGRESSION (r84096): <br> moved to the right in fast/block/float/032.html
    1893         https://bugs.webkit.org/show_bug.cgi?id=58736
    1894 
    1895         * rendering/RenderBlockLineLayout.cpp:
    1896         (WebCore::RenderBlock::appendFloatingObjectToLastLine): It is enough to extend the float so
    1897         that it touches the bottom of the previous line, since RenderBlock::markLinesDirtyInBlockRange()
    1898         always dirties the line after the last one in the range.
    1899 
    1900 2011-04-17  Patrick Gansterer  <paroga@webkit.org>
    1901 
    1902         Unreviewed. Add missing include to fix build without precompiled header.
    1903 
    1904         * rendering/RenderMediaControls.cpp:
    1905 
    1906 2011-04-17  Daniel Bates  <dbates@webkit.org>
    1907 
    1908         Attempt to fix the Chromium build after changeset 84110 <http://trac.webkit.org/changeset/84110>
    1909         (https://bugs.webkit.org/show_bug.cgi?id=57842).
    1910 
    1911         * loader/cache/CachedResourceLoader.cpp:
    1912         (WebCore::CachedResourceLoader::canRequest): Rename CachedResource::LinkPrefetch to CachedResource::LinkResource.
    1913 
    1914 2011-04-17  Patrick Gansterer  <paroga@webkit.org>
    1915 
    1916         Reviewed by Eric Seidel.
    1917 
    1918         Remove pthread dependency of GCController
    1919         https://bugs.webkit.org/show_bug.cgi?id=54833
    1920 
    1921         * bindings/js/GCController.cpp:
    1922         (WebCore::GCController::garbageCollectOnAlternateThreadForDebugging):
    1923 
    1924 2011-04-17  Gavin Peters  <gavinp@chromium.org>
    1925 
    1926         Reviewed by Adam Barth.
    1927 
    1928         Add support for link rel type "subresource"
    1929         https://bugs.webkit.org/show_bug.cgi?id=57842
    1930 
    1931         Link rel=prefetch is great for cache warming for resources on
    1932         subsequent pages, but it launches requests at too low a priority
    1933         to use for subresources of the current page.
    1934 
    1935         Particularly after https://bugs.webkit.org/show_bug.cgi?id=51940
    1936         is implemented, a rel type that launches requests at an higher
    1937         priority is going to be very useful.  This rel type is in the
    1938         HTML5 spec at http://wiki.whatwg.org/wiki/RelExtensions .  An
    1939         expected use case will be for servers to provide subresource hints
    1940         in link headers, which will allow servers to help make the web
    1941         faster.
    1942 
    1943         This feature continues my implementation of the Link header, which
    1944         we've talked about in WebKit-dev in
    1945         https://lists.webkit.org/pipermail/webkit-dev/2011-February/016034.html.
    1946 
    1947         Tests: fast/dom/HTMLLinkElement/subresource.html
    1948                http/tests/misc/link-rel-prefetch-and-subresource.html
    1949 
    1950         * html/HTMLLinkElement.cpp:
    1951         (WebCore::HTMLLinkElement::~HTMLLinkElement):
    1952         (WebCore::HTMLLinkElement::tokenizeRelAttribute):
    1953         (WebCore::HTMLLinkElement::process):
    1954         (WebCore::HTMLLinkElement::onloadTimerFired):
    1955         (WebCore::HTMLLinkElement::notifyFinished):
    1956         * html/HTMLLinkElement.h:
    1957         (WebCore::HTMLLinkElement::RelAttribute::RelAttribute):
    1958         * loader/cache/CachedResource.cpp:
    1959         (WebCore::defaultPriorityForResourceType):
    1960         * loader/cache/CachedResource.h:
    1961         (WebCore::CachedResource::isLinkResource):
    1962         * loader/cache/CachedResourceLoader.cpp:
    1963         (WebCore::createResource):
    1964         (WebCore::CachedResourceLoader::requestLinkResource):
    1965         (WebCore::CachedResourceLoader::canRequest):
    1966         (WebCore::CachedResourceLoader::incrementRequestCount):
    1967         (WebCore::CachedResourceLoader::decrementRequestCount):
    1968         * loader/cache/CachedResourceLoader.h:
    1969         * loader/cache/CachedResourceRequest.cpp:
    1970         (WebCore::cachedResourceTypeToTargetType):
    1971         (WebCore::CachedResourceRequest::load):
    1972 
    1973 2011-04-17  Dan Bernstein  <mitz@apple.com>
    1974 
    1975         Reviewed by Joseph Pecoraro.
    1976 
    1977         <rdar://problem/9296211> REGRESSION (r83514): Failing fast/repaint/trailing-floats-root-line-box-overflow.html
    1978         https://bugs.webkit.org/show_bug.cgi?id=58745
    1979 
    1980         This is really a regression from r82611, but it went unnoticed due to a mistake in r73385,
    1981         which was fixed in r83514.
    1982 
    1983         * rendering/RenderBlockLineLayout.cpp:
    1984         (WebCore::RenderBlock::layoutInlineChildren): Actually assign the bottom visual overflow to the
    1985         variable so named, not the top layout overflow.
    1986 
    1987 2011-04-17  Geoffrey Garen  <ggaren@apple.com>
    1988 
    1989         Strongly suggested, but not necessarily reviewed, by
    1990         Sam Weinig and Maciej Stachowiak.
    1991 
    1992         Renamed DOMObject* => JSDOMWrapper*.
    1993 
    1994         * bindings/js/DOMWrapperWorld.cpp:
    1995         (WebCore::isObservable):
    1996         (WebCore::DOMObjectHandleOwner::finalize):
    1997         * bindings/js/DOMWrapperWorld.h:
    1998         * bindings/js/JSArrayBufferViewHelper.h:
    1999         (WebCore::toJSArrayBufferView):
    2000         * bindings/js/JSCSSRuleCustom.cpp:
    2001         (WebCore::toJS):
    2002         * bindings/js/JSCSSValueCustom.cpp:
    2003         (WebCore::toJS):
    2004         * bindings/js/JSDOMBinding.h:
    2005         (WebCore::JSDOMWrapperWithGlobalPointer::globalObject):
    2006         (WebCore::JSDOMWrapperWithGlobalPointer::JSDOMWrapperWithGlobalPointer):
    2007         (WebCore::DOMConstructorObject::DOMConstructorObject):
    2008         (WebCore::createDOMObjectWrapper):
    2009         (WebCore::getDOMObjectWrapper):
    2010         * bindings/js/JSDOMWrapper.cpp:
    2011         (WebCore::JSDOMWrapper::~JSDOMWrapper):
    2012         * bindings/js/JSDOMWrapper.h:
    2013         (WebCore::JSDOMWrapper::JSDOMWrapper):
    2014         * bindings/js/JSDocumentCustom.cpp:
    2015         (WebCore::JSDocument::location):
    2016         (WebCore::toJS):
    2017         * bindings/js/JSEventCustom.cpp:
    2018         (WebCore::toJS):
    2019         * bindings/js/JSHTMLCollectionCustom.cpp:
    2020         (WebCore::toJS):
    2021         * bindings/js/JSImageDataCustom.cpp:
    2022         (WebCore::toJS):
    2023         * bindings/js/JSSVGPathSegCustom.cpp:
    2024         (WebCore::toJS):
    2025         * bindings/js/JSStyleSheetCustom.cpp:
    2026         (WebCore::toJS):
    2027         * bindings/js/ScriptWrappable.h:
    2028         (WebCore::ScriptWrappable::wrapper):
    2029         (WebCore::ScriptWrappable::setWrapper):
    2030         * bindings/scripts/CodeGeneratorJS.pm:
    2031 
    2032 2011-04-17  Patrick Gansterer  <paroga@webkit.org>
    2033 
    2034         Reviewed by Adam Barth.
    2035 
    2036         Rename PLATFORM(CA) to USE(CA)
    2037         https://bugs.webkit.org/show_bug.cgi?id=58742
    2038 
    2039         * config.h:
    2040         * platform/graphics/ca/TransformationMatrixCA.cpp:
    2041         * platform/graphics/cg/ImageBufferDataCG.h:
    2042         * platform/graphics/transforms/TransformationMatrix.h:
    2043         * platform/mac/WebCoreSystemInterface.h:
    2044         * rendering/RenderLayerBacking.cpp:
    2045         (WebCore::RenderLayerBacking::containsPaintedContent):
    2046         * rendering/RenderLayerCompositor.cpp:
    2047         (WebCore::RenderLayerCompositor::updateBacking):
    2048 
    2049 2011-04-17  Young Han Lee  <joybro@company100.net>
    2050 
    2051         Reviewed by Benjamin Poulain.
    2052 
    2053         [Texmap] [Qt] Improve readability by using gInVertexAttributeIndex instead of 0.
    2054         https://bugs.webkit.org/show_bug.cgi?id=58739
    2055 
    2056         gInVertexAttributeIndex is a constant variable to point the location of
    2057         "InVertex" attribute of the vertex shaders.
    2058 
    2059         * platform/graphics/opengl/TextureMapperGL.cpp:
    2060         (WebCore::TextureMapperGL::drawTexture):
    2061         (WebCore::TextureMapperGL::paintToTarget):
    2062 
    2063 2011-04-17  Kinuko Yasuda  <kinuko@chromium.org>
    2064 
    2065         Not reviewed: Fix copyright (I had submitted the file with wrong
    2066         copyright line).
    2067 
    2068         * storage/StorageInfo.idl:
    2069 
    2070 2011-04-17  Patrick Gansterer  <paroga@webkit.org>
    2071 
    2072         Reviewed by Adam Barth.
    2073 
    2074         Rename PLATFORM(CG) to USE(CG)
    2075         https://bugs.webkit.org/show_bug.cgi?id=58729
    2076 
    2077         * config.h:
    2078         * html/HTMLCanvasElement.cpp:
    2079         (WebCore::HTMLCanvasElement::toDataURL):
    2080         * html/HTMLCanvasElement.h:
    2081         * html/canvas/CanvasRenderingContext2D.cpp:
    2082         (WebCore::CanvasRenderingContext2D::setShadow):
    2083         (WebCore::CanvasRenderingContext2D::drawTextInternal):
    2084         * html/canvas/CanvasRenderingContext2D.h:
    2085         * html/canvas/CanvasStyle.cpp:
    2086         (WebCore::CanvasStyle::applyStrokeColor):
    2087         (WebCore::CanvasStyle::applyFillColor):
    2088         * loader/cache/CachedFont.cpp:
    2089         * loader/cache/CachedImage.cpp:
    2090         (WebCore::CachedImage::createImage):
    2091         * platform/FloatConversion.h:
    2092         * platform/MIMETypeRegistry.cpp:
    2093         (WebCore::initializeSupportedImageMIMETypes):
    2094         (WebCore::initializeSupportedImageMIMETypesForEncoding):
    2095         * platform/graphics/BitmapImage.h:
    2096         * platform/graphics/Color.h:
    2097         * platform/graphics/DashArray.h:
    2098         * platform/graphics/FloatPoint.h:
    2099         * platform/graphics/FloatRect.h:
    2100         * platform/graphics/FloatSize.h:
    2101         * platform/graphics/FontPlatformData.h:
    2102         (WebCore::FontPlatformData::FontPlatformData):
    2103         (WebCore::FontPlatformData::hash):
    2104         * platform/graphics/GlyphBuffer.h:
    2105         (WebCore::GlyphBuffer::advanceAt):
    2106         (WebCore::GlyphBuffer::add):
    2107         (WebCore::GlyphBuffer::expandLastAdvance):
    2108         * platform/graphics/Gradient.h:
    2109         * platform/graphics/GraphicsContext.cpp:
    2110         (WebCore::GraphicsContext::setLegacyShadow):
    2111         * platform/graphics/GraphicsContext.h:
    2112         (WebCore::GraphicsContextState::GraphicsContextState):
    2113         * platform/graphics/GraphicsContext3D.h:
    2114         * platform/graphics/Image.cpp:
    2115         * platform/graphics/Image.h:
    2116         * platform/graphics/ImageBuffer.cpp:
    2117         * platform/graphics/ImageBuffer.h:
    2118         * platform/graphics/ImageBufferData.h:
    2119         * platform/graphics/ImageSource.h:
    2120         * platform/graphics/IntPoint.h:
    2121         * platform/graphics/IntRect.h:
    2122         * platform/graphics/IntSize.h:
    2123         * platform/graphics/Path.h:
    2124         * platform/graphics/Pattern.h:
    2125         * platform/graphics/SimpleFontData.h:
    2126         * platform/graphics/cg/ColorCG.cpp:
    2127         * platform/graphics/cg/FloatPointCG.cpp:
    2128         * platform/graphics/cg/FloatRectCG.cpp:
    2129         * platform/graphics/cg/FloatSizeCG.cpp:
    2130         * platform/graphics/cg/ImageCG.cpp:
    2131         * platform/graphics/cg/ImageSourceCG.cpp:
    2132         * platform/graphics/cg/IntPointCG.cpp:
    2133         * platform/graphics/cg/IntRectCG.cpp:
    2134         * platform/graphics/cg/IntSizeCG.cpp:
    2135         * platform/graphics/cg/PDFDocumentImage.cpp:
    2136         * platform/graphics/cg/PDFDocumentImage.h:
    2137         * platform/graphics/cg/PathCG.cpp:
    2138         * platform/graphics/cg/TransformationMatrixCG.cpp:
    2139         * platform/graphics/chromium/ImageLayerChromium.h:
    2140         * platform/graphics/chromium/LayerRendererChromium.cpp:
    2141         * platform/graphics/chromium/LayerRendererChromium.h:
    2142         * platform/graphics/chromium/PlatformCanvas.cpp:
    2143         (WebCore::PlatformCanvas::resize):
    2144         (WebCore::PlatformCanvas::AutoLocker::AutoLocker):
    2145         (WebCore::PlatformCanvas::Painter::Painter):
    2146         * platform/graphics/chromium/PlatformCanvas.h:
    2147         * platform/graphics/chromium/PlatformImage.cpp:
    2148         (WebCore::PlatformImage::updateFromImage):
    2149         * platform/graphics/opentype/OpenTypeUtilities.cpp:
    2150         * platform/graphics/transforms/AffineTransform.h:
    2151         * platform/graphics/transforms/TransformationMatrix.h:
    2152         * platform/graphics/win/DIBPixelData.h:
    2153         * platform/graphics/win/FontCacheWin.cpp:
    2154         (WebCore::FontCache::platformInit):
    2155         (WebCore::createGDIFont):
    2156         (WebCore::FontCache::createFontPlatformData):
    2157         * platform/graphics/win/FontPlatformDataWin.cpp:
    2158         (WebCore::FontPlatformData::FontPlatformData):
    2159         * platform/graphics/win/GraphicsContextWin.cpp:
    2160         * platform/graphics/win/MediaPlayerPrivateFullscreenWindow.cpp:
    2161         * platform/graphics/win/SimpleFontDataWin.cpp:
    2162         * platform/image-decoders/ImageDecoder.cpp:
    2163         * platform/image-decoders/ImageDecoder.h:
    2164         * rendering/RenderObject.h:
    2165         * rendering/svg/RenderSVGResourceFilter.cpp:
    2166         (WebCore::RenderSVGResourceFilter::postApplyResource):
    2167         * rendering/svg/RenderSVGResourceGradient.cpp:
    2168         (WebCore::RenderSVGResourceGradient::RenderSVGResourceGradient):
    2169         (WebCore::RenderSVGResourceGradient::applyResource):
    2170         * rendering/svg/RenderSVGResourceGradient.h:
    2171         * rendering/svg/RenderSVGResourceMasker.cpp:
    2172         (WebCore::RenderSVGResourceMasker::drawContentIntoMaskImage):
    2173         * rendering/svg/RenderSVGResourcePattern.cpp:
    2174         (WebCore::RenderSVGResourcePattern::applyResource):
    2175 
    2176 2011-04-16  Adam Barth  <abarth@webkit.org>
    2177 
    2178         Reviewed by Sam Weinig.
    2179 
    2180         about:blank documents in new tabs can XHR anywhere
    2181         https://bugs.webkit.org/show_bug.cgi?id=58712
    2182 
    2183         Empty security origins have supposed to be low-privilege, we should
    2184         mark them as having a unique origin.
    2185 
    2186         * manual-tests/about-blank-xhr.html: Added.
    2187         * page/SecurityOrigin.cpp:
    2188         (WebCore::SecurityOrigin::SecurityOrigin):
    2189         * page/SecurityOrigin.h:
    2190 
    2191 2011-04-16  Dan Bernstein  <mitz@apple.com>
    2192 
    2193         Reviewed by Simon Fraser.
    2194 
    2195         <rdar://problem/9190108> Crash when hiding a float
    2196 
    2197         Test: fast/block/float/overhanging-tall-block.html
    2198 
    2199         * rendering/RenderBlock.cpp:
    2200         (WebCore::RenderBlock::addOverhangingFloats): Moved the call to childLogicalTop() out of the loop.
    2201         Capped the logical bottom so that we get the correct maximum.
    2202         * rendering/RenderBlock.h: Decleared appendFloatingObjectToLastLine().
    2203         * rendering/RenderBlockLineLayout.cpp:
    2204         (WebCore::RenderBlock::appendFloatingObjectToLastLine): Added. Ensures correct bookkeeping by
    2205         extending the float if needed so that it touches the line.
    2206         (WebCore::RenderBlock::layoutInlineChildren): Changed to call appendFloatingObjectToLastLine().
    2207         (WebCore::RenderBlock::checkFloatsInCleanLine): Capped the float height so the we mark the right
    2208         range of lines as dirty.
    2209         * rendering/RootInlineBox.h:
    2210         (WebCore::RootInlineBox::appendFloat): Replaced the floats() accessor with this function, which
    2211         allows the creation of the vector to be combined with appending the first float.
    2212 
    2213 2011-04-16  Sam Weinig  <sam@webkit.org>
    2214 
    2215         Reviewed by Simon Fraser.
    2216 
    2217         Pages in the PageCache don't have the correct visited link coloring after being restored
    2218         https://bugs.webkit.org/show_bug.cgi?id=58721
    2219 
    2220         * WebCore.exp.in:
    2221         Add export of markPagesForVistedLinkStyleRecalc for use by WebKit2.
    2222 
    2223         * history/CachedPage.cpp:
    2224         (WebCore::CachedPage::CachedPage):
    2225         (WebCore::CachedPage::restore):
    2226         (WebCore::CachedPage::clear):
    2227         * history/CachedPage.h:
    2228         (WebCore::CachedPage::markForVistedLinkStyleRecalc):
    2229         Add bit, set by calling markForVistedLinkStyleRecalc, which forces a visited link
    2230         style recalc when being restored.
    2231 
    2232         * history/PageCache.h:
    2233         * history/PageCache.cpp:
    2234         (WebCore::PageCache::markPagesForVistedLinkStyleRecalc):
    2235         Mark all pages in the page cache as requiring visited link style recalc.
    2236 
    2237         * page/PageGroup.cpp:
    2238         (WebCore::PageGroup::addVisitedLink):
    2239         (WebCore::PageGroup::removeVisitedLinks):
    2240         (WebCore::PageGroup::removeAllVisitedLinks):
    2241         Set dirty bit when changing any visited link information.
    2242        
    2243 
    2244 2011-04-16  Leo Yang  <leoyang.webkit@gmail.com>
    2245 
    2246         Reviewed by Nikolas Zimmermann.
    2247 
    2248         ASSERT failure when svg <use> element changes href
    2249         https://bugs.webkit.org/show_bug.cgi?id=58726
    2250 
    2251         m_resourceId was not empty after the pending resource
    2252         becomes available. This will trigger the assertion at
    2253         line 509 of SVGUseElement.cpp when the <use> element's
    2254         href becomes empty or invalid.
    2255 
    2256         This patch makes m_resourceId be empty after the pending
    2257         resource becomes available to avoid assertion failure.
    2258 
    2259         Test: svg/custom/use-crash-when-href-change.svg
    2260 
    2261         * svg/SVGUseElement.cpp:
    2262         (WebCore::SVGUseElement::buildPendingResource):
    2263 
    2264 2011-04-16  Patrick Gansterer  <paroga@webkit.org>
    2265 
    2266         Reviewed by Eric Seidel.
    2267 
    2268         Rename PLATFORM(CAIRO) to USE(CAIRO)
    2269         https://bugs.webkit.org/show_bug.cgi?id=55192
    2270 
    2271         * CMakeListsEfl.txt:
    2272         * config.h:
    2273         * platform/MIMETypeRegistry.cpp:
    2274         (WebCore::initializeSupportedImageMIMETypesForEncoding):
    2275         * platform/graphics/ContextShadow.h:
    2276         * platform/graphics/DashArray.h:
    2277         * platform/graphics/FloatRect.h:
    2278         * platform/graphics/FontPlatformData.h:
    2279         (WebCore::FontPlatformData::FontPlatformData):
    2280         (WebCore::FontPlatformData::hash):
    2281         (WebCore::FontPlatformData::isHashTableDeletedValue):
    2282         * platform/graphics/GlyphBuffer.h:
    2283         (WebCore::GlyphBuffer::glyphAt):
    2284         (WebCore::GlyphBuffer::add):
    2285         * platform/graphics/Gradient.cpp:
    2286         * platform/graphics/Gradient.h:
    2287         * platform/graphics/GraphicsContext.cpp:
    2288         * platform/graphics/GraphicsContext.h:
    2289         (WebCore::GraphicsContextState::GraphicsContextState):
    2290         * platform/graphics/GraphicsContext3D.h:
    2291         * platform/graphics/ImageBufferData.h:
    2292         * platform/graphics/ImageSource.h:
    2293         * platform/graphics/Path.h:
    2294         * platform/graphics/Pattern.h:
    2295         * platform/graphics/SimpleFontData.h:
    2296         * platform/graphics/cairo/DrawErrorUnderline.h:
    2297         * platform/graphics/cairo/GraphicsContextCairo.cpp:
    2298         * platform/graphics/cairo/ImageCairo.cpp:
    2299         * platform/graphics/gstreamer/ImageGStreamer.h:
    2300         * platform/graphics/transforms/AffineTransform.h:
    2301         * platform/graphics/transforms/TransformationMatrix.h:
    2302         * platform/graphics/win/FontCacheWin.cpp:
    2303         (WebCore::createGDIFont):
    2304         (WebCore::FontCache::createFontPlatformData):
    2305         * platform/graphics/win/FontPlatformDataWin.cpp:
    2306         (WebCore::FontPlatformData::FontPlatformData):
    2307         * platform/graphics/win/GraphicsContextWin.cpp:
    2308         * plugins/win/PluginViewWin.cpp:
    2309         (WebCore::PluginView::paintWindowedPluginIntoContext):
    2310         * rendering/RenderObject.h:
    2311 
    2312 2011-04-16  Patrick Gansterer  <paroga@webkit.org>
    2313 
    2314         Unreviewed WinCE build fix for r84033.
    2315 
    2316         * platform/win/LocalizedStringsWin.cpp:
    2317         (WebCore::localizedString):
    2318 
    2319 2011-04-16  Abhishek Arya  <inferno@chromium.org>
    2320 
    2321         Reviewed by Nikolas Zimmermann.
    2322 
    2323         Only allow inline child for SVG text since we cannot
    2324         handle block childs.
    2325         https://bugs.webkit.org/show_bug.cgi?id=58678
    2326 
    2327         Test: svg/text/text-block-child-crash.xhtml
    2328 
    2329         * rendering/svg/RenderSVGText.cpp:
    2330         (WebCore::RenderSVGText::isChildAllowed):
    2331         * rendering/svg/RenderSVGText.h:
    2332 
    2333 2011-04-15  Ilya Tikhonovsky  <loislo@chromium.org>
    2334 
    2335         Reviewed by Pavel Feldman.
    2336 
    2337         Web Inspector: The list of Database entries is empty if the page opens a database just before Web Inspector.
    2338         https://bugs.webkit.org/show_bug.cgi?id=57833
    2339 
     781        Web Inspector: remove shadow dom inspection from Elements panel by default.
     782        https://bugs.webkit.org/show_bug.cgi?id=62188
     783
     784        This reverts r85751
     785
     786        * dom/Element.cpp:
     787        (WebCore::Element::ensureShadowRoot):
     788        (WebCore::Element::removeShadowRoot):
    2340789        * inspector/Inspector.json:
    2341         * inspector/InspectorDatabaseAgent.cpp:
    2342         (WebCore::InspectorDatabaseAgent::didOpenDatabase):
    2343         (WebCore::InspectorDatabaseAgent::InspectorDatabaseAgent):
    2344         (WebCore::InspectorDatabaseAgent::setFrontend):
    2345         (WebCore::InspectorDatabaseAgent::clearFrontend):
    2346         (WebCore::InspectorDatabaseAgent::enable):
    2347         (WebCore::InspectorDatabaseAgent::disable):
    2348         (WebCore::InspectorDatabaseAgent::getDatabaseTableNames):
    2349         (WebCore::InspectorDatabaseAgent::executeSQL):
    2350         * inspector/InspectorDatabaseAgent.h:
    2351         * inspector/front-end/inspector.js:
    2352 
    2353 2011-04-15  Adam Barth  <abarth@webkit.org>
    2354 
    2355         Reviewed by Eric Seidel.
    2356 
    2357         CSP media-src is missing
    2358         https://bugs.webkit.org/show_bug.cgi?id=58642
    2359 
    2360         Yay HTMLMediaElement for having the exact hook we need!
    2361 
    2362         Tests: http/tests/security/contentSecurityPolicy/media-src-allowed.html
    2363                http/tests/security/contentSecurityPolicy/media-src-blocked.html
    2364 
    2365         * html/HTMLMediaElement.cpp:
    2366         (WebCore::HTMLMediaElement::isSafeToLoadURL):
    2367             - Although it's tempting to add this branch to the previous
    2368               if-block, that results in the wrong error message being logged to
    2369               the console (covered by the "blocked" test).
    2370         * page/ContentSecurityPolicy.cpp:
    2371         (WebCore::ContentSecurityPolicy::allowMediaFromSource):
    2372         (WebCore::ContentSecurityPolicy::addDirective):
    2373         * page/ContentSecurityPolicy.h:
    2374             - These changes are routine.
    2375 
    2376 2011-04-15  Adam Barth  <abarth@webkit.org>
    2377 
    2378         Reviewed by Eric Seidel.
    2379 
    2380         CSP should block string arguments to setTimeout and setInterval unless options eval-script
    2381         https://bugs.webkit.org/show_bug.cgi?id=58610
    2382 
    2383         It's somewhat sadness that the JSC and V8 code for setTimeout and
    2384         setInterval are so different.  I struggled for a while with how to
    2385         handle the worker case, but I decided to punt on it for now.
    2386 
    2387         Tests: http/tests/security/contentSecurityPolicy/eval-scripts-setInterval-allowed.html
    2388                http/tests/security/contentSecurityPolicy/eval-scripts-setInterval-blocked.html
    2389                http/tests/security/contentSecurityPolicy/eval-scripts-setTimeout-allowed.html
    2390                http/tests/security/contentSecurityPolicy/eval-scripts-setTimeout-blocked.html
    2391 
    2392         * bindings/js/JSDOMWindowCustom.cpp:
    2393         (WebCore::JSDOMWindow::setTimeout):
    2394         (WebCore::JSDOMWindow::setInterval):
    2395         * bindings/js/JSWorkerContextCustom.cpp:
    2396         (WebCore::JSWorkerContext::setTimeout):
    2397         (WebCore::JSWorkerContext::setInterval):
    2398         * bindings/js/ScheduledAction.cpp:
    2399         (WebCore::ScheduledAction::create):
    2400         * bindings/js/ScheduledAction.h:
    2401         * bindings/v8/custom/V8DOMWindowCustom.cpp:
    2402         (WebCore::WindowSetTimeoutImpl):
    2403         * page/ContentSecurityPolicy.cpp:
    2404         (WebCore::ContentSecurityPolicy::allowEval):
    2405         * page/ContentSecurityPolicy.h:
    2406 
    2407 2011-04-15  Shishir Agrawal  <shishir@chromium.org>
    2408 
    2409         Reviewed by James Robinson.
    2410 
    2411         Add a flag to guard Page Visibility API changes.
    2412         https://bugs.webkit.org/show_bug.cgi?id=58464
    2413 
    2414         * Configurations/FeatureDefines.xcconfig:
    2415 
    2416 2011-04-15  Fridrich Strba  <fridrich.strba@bluewin.ch>
    2417 
    2418         Reviewed by Martin Robinson.
    2419 
    2420         Make plugins compile during WebKit GTK Windows build.
    2421         Ifdef properly relevant parts so that the PluginViewGtk compiles on Windows.
    2422         https://bugs.webkit.org/show_bug.cgi?id=58580
    2423 
    2424         * plugins/PluginView.cpp:
    2425         (WebCore::PluginView::stop):
    2426         * plugins/PluginView.h:
    2427         * plugins/gtk/PluginViewGtk.cpp:
    2428         (WebCore::PluginView::platformGetValue):
    2429         (WebCore::PluginView::platformStart):
    2430 
    2431 2011-04-15  MORITA Hajime  <morrita@google.com>
    2432 
    2433         Reviewed by Simon Fraser.
    2434 
    2435         Calls to WebCore::Document::mayCauseFlashOfUnstyledContent make frequently-run drawing methods slower
    2436         https://bugs.webkit.org/show_bug.cgi?id=58512
    2437        
    2438         Manually rolled out r72367 at which mayCauseFlashOfUnstyledContent() was introduced.
    2439         This change keeps an small refactoring on
    2440         FrameView::shouldUpdate(), which doesn't affect on the behavior.
    2441 
    2442         * dom/Document.cpp:
    2443         * dom/Document.h:
    2444         * page/FrameView.cpp:
    2445         (WebCore::FrameView::invalidateRect):
    2446         (WebCore::FrameView::shouldUpdate):
    2447         * rendering/RenderBlock.cpp:
    2448         (WebCore::RenderBlock::paintContents):
    2449         * rendering/RenderLayer.cpp:
    2450         (WebCore::RenderLayer::paintLayer):
    2451 
    2452 2011-04-15  Chris Rogers  <crogers@google.com>
    2453 
    2454         Reviewed by Kenneth Russell.
    2455 
    2456         Reduce default kernel size of SincResampler to favor better speed over quality
    2457         https://bugs.webkit.org/show_bug.cgi?id=58710
    2458 
    2459         No new tests since audio API is not yet implemented.
    2460 
    2461         * platform/audio/SincResampler.h:
    2462 
    2463 2011-04-15  Fridrich Strba  <fridrich.strba@bluewin.ch>
    2464 
    2465         Reviewed by Martin Robinson.
    2466 
    2467         Expand the ntohs, ntohl, htons and htonl defines for OS(WINDOWS)
    2468         These have to be defined for Windows in general, since win32 API
    2469         does not provide them.
    2470         https://bugs.webkit.org/show_bug.cgi?id=58582
    2471 
    2472         * platform/graphics/WOFFFileFormat.cpp:
    2473 
    2474 2011-04-15  Vsevolod Vlasov  <vsevik@chromium.org>
    2475 
    2476         Reviewed by Adam Barth.
    2477 
    2478         Show a console message when X-Frame-Options blocks a load
    2479         https://bugs.webkit.org/show_bug.cgi?id=39087
    2480 
    2481         Added console message when X-Frame-Options headers block resource loading
    2482 
    2483         * loader/MainResourceLoader.cpp:
    2484         (WebCore::MainResourceLoader::didReceiveResponse):
    2485 
    2486 2011-04-15  Fridrich Strba  <fridrich.strba@bluewin.ch>
    2487 
    2488         Reviewed by Martin Robinson.
    2489 
    2490         Evaluate PLATFORM(GTK) before the all-encompassing OS(WINDOWS)
    2491         test. This allows Windows build of WebKit GTK to chose the right
    2492         path.
    2493         https://bugs.webkit.org/show_bug.cgi?id=58576
    2494 
    2495         * platform/FileSystem.h:
    2496 
    2497 2011-04-08  Luiz Agostini  <luiz.agostini@openbossa.org>
    2498 
    2499         Reviewed by Kenneth Rohde Christiansen.
    2500 
    2501         [Qt] QWebPage MIME type handling inconsistency with other web browsers
    2502         https://bugs.webkit.org/show_bug.cgi?id=46968
    2503 
    2504         Implementing mime type sniffing based on
    2505         http://tools.ietf.org/html/draft-abarth-mime-sniff-06.
    2506 
    2507         * WebCore.pro:
    2508         * platform/network/MIMESniffing.cpp: Added.
    2509         (MagicNumbers::dataSizeNeededForImageSniffing):
    2510         (MagicNumbers::maskedCompare):
    2511         (MagicNumbers::checkSpaceOrBracket):
    2512         (MagicNumbers::compare):
    2513         (MagicNumbers::findMIMEType):
    2514         (MagicNumbers::findSimpleMIMEType):
    2515         (MagicNumbers::textOrBinaryTypeSniffingProcedure):
    2516         (MagicNumbers::unknownTypeSniffingProcedure):
    2517         (MagicNumbers::imageTypeSniffingProcedure):
    2518         (MagicNumbers::checkText):
    2519         (MagicNumbers::checkRDF):
    2520         (MagicNumbers::skipTag):
    2521         (MagicNumbers::feedTypeSniffingProcedure):
    2522         (MIMESniffer::MIMESniffer):
    2523         * platform/network/MIMESniffing.h: Added.
    2524         (MIMESniffer::dataSize):
    2525         (MIMESniffer::sniff):
    2526         (MIMESniffer::isValid):
    2527         * platform/network/NetworkingContext.h:
    2528         * platform/network/qt/QNetworkReplyHandler.cpp:
    2529         (WebCore::QNetworkReplyWrapper::QNetworkReplyWrapper):
    2530         (WebCore::QNetworkReplyWrapper::release):
    2531         (WebCore::QNetworkReplyWrapper::receiveMetaData):
    2532         (WebCore::QNetworkReplyWrapper::receiveSniffedMIMEType):
    2533         (WebCore::QNetworkReplyWrapper::emitMetaDataChanged):
    2534         (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
    2535         (WebCore::QNetworkReplyHandler::sendNetworkRequest):
    2536         (WebCore::QNetworkReplyHandler::start):
    2537         * platform/network/qt/QNetworkReplyHandler.h:
    2538         (WebCore::QNetworkReplyWrapper::advertisedMIMEType):
    2539         (WebCore::QNetworkReplyWrapper::mimeType):
    2540         * platform/network/qt/QtMIMETypeSniffer.cpp: Added.
    2541         (QtMIMETypeSniffer::QtMIMETypeSniffer):
    2542         (QtMIMETypeSniffer::sniff):
    2543         (QtMIMETypeSniffer::trySniffing):
    2544         * platform/network/qt/QtMIMETypeSniffer.h: Added.
    2545         (QtMIMETypeSniffer::mimeType):
    2546         (QtMIMETypeSniffer::isFinished):
    2547 
    2548 2011-04-15  Emil A Eklund  <eae@chromium.org>
    2549 
    2550         Reviewed by Dimitri Glazkov.
    2551 
    2552         input field with focus makes appendChild operation ~42x slower
    2553         https://bugs.webkit.org/show_bug.cgi?id=57059
    2554 
    2555         Change ContainerNode::cloneChildNodes to only disable the
    2556         deleteButtonController if the container itself (or any of its children)
    2557         is being edited. Thus avoiding a reflow in cases where it's not.
    2558 
    2559         Test: perf/clone-with-focus.html
    2560 
    2561         * dom/ContainerNode.cpp:
    2562         (WebCore::ContainerNode::cloneChildNodes):
    2563 
    2564 2011-04-15  Kinuko Yasuda  <kinuko@chromium.org>
    2565 
    2566         Reviewed by David Levin.
    2567 
    2568         Expose unified Quota API if QUOTA build flag is enabled
    2569         https://bugs.webkit.org/show_bug.cgi?id=58648
    2570 
    2571         Test: storage/storageinfo-query-usage.html
    2572 
    2573         * CMakeLists.txt: Added new file entries.
    2574         * DerivedSources.cpp: Added new file entries.
    2575         * DerivedSources.make: Added new file entries.
    2576         * GNUmakefile.am: Added new file entries.
    2577         * WebCore.gypi: Added new file entries.
    2578         * WebCore.vcproj/WebCore.vcproj: Added new file entries.
    2579         * WebCore.xcodeproj/project.pbxproj: Added new file entries.
    2580         * page/DOMWindow.cpp:
    2581         (WebCore::DOMWindow::webkitStorageInfo): Added.
    2582         * page/DOMWindow.h:
    2583         * page/DOMWindow.idl:
    2584         * storage/StorageInfo.h: Added storage type enum.
    2585         * storage/StorageInfo.idl: Added.
    2586         * storage/StorageInfoErrorCallback.idl: Added.
    2587         * storage/StorageInfoUsageCallback.idl: Added.
    2588 
    2589 2011-04-15  Oliver Hunt  <oliver@apple.com>
    2590 
    2591         GC allocate Structure
    2592         https://bugs.webkit.org/show_bug.cgi?id=58483
    2593 
    2594         Rolling r83894 r83827 r83810 r83809 r83808 back in with
    2595         a workaround for the gcc bug seen by the gtk bots
    2596 
    2597         * WebCore.exp.in:
    2598         * bindings/js/JSAudioConstructor.h:
    2599         (WebCore::JSAudioConstructor::createStructure):
    2600         * bindings/js/JSDOMBinding.cpp:
    2601         (WebCore::cacheDOMStructure):
    2602         * bindings/js/JSDOMBinding.h:
    2603         (WebCore::DOMObjectWithGlobalPointer::createStructure):
    2604         (WebCore::DOMObjectWithGlobalPointer::DOMObjectWithGlobalPointer):
    2605         (WebCore::DOMConstructorObject::createStructure):
    2606         (WebCore::DOMConstructorObject::DOMConstructorObject):
    2607         (WebCore::DOMConstructorWithDocument::DOMConstructorWithDocument):
    2608         * bindings/js/JSDOMGlobalObject.cpp:
    2609         (WebCore::JSDOMGlobalObject::JSDOMGlobalObject):
    2610         (WebCore::JSDOMGlobalObject::markChildren):
    2611         * bindings/js/JSDOMGlobalObject.h:
    2612         (WebCore::JSDOMGlobalObject::createStructure):
    2613         * bindings/js/JSDOMWindowBase.cpp:
    2614         (WebCore::JSDOMWindowBase::JSDOMWindowBase):
    2615         * bindings/js/JSDOMWindowBase.h:
    2616         (WebCore::JSDOMWindowBase::createStructure):
    2617         * bindings/js/JSDOMWindowShell.cpp:
    2618         (WebCore::JSDOMWindowShell::JSDOMWindowShell):
    2619         (WebCore::JSDOMWindowShell::setWindow):
    2620         * bindings/js/JSDOMWindowShell.h:
    2621         (WebCore::JSDOMWindowShell::createStructure):
    2622         * bindings/js/JSDOMWrapper.h:
    2623         (WebCore::DOMObject::DOMObject):
    2624         * bindings/js/JSEventListener.cpp:
    2625         (WebCore::JSEventListener::JSEventListener):
    2626         * bindings/js/JSImageConstructor.h:
    2627         (WebCore::JSImageConstructor::createStructure):
    2628         * bindings/js/JSImageDataCustom.cpp:
    2629         (WebCore::toJS):
    2630         * bindings/js/JSOptionConstructor.h:
    2631         (WebCore::JSOptionConstructor::createStructure):
    2632         * bindings/js/JSWorkerContextBase.cpp:
    2633         (WebCore::JSWorkerContextBase::JSWorkerContextBase):
    2634         * bindings/js/JSWorkerContextBase.h:
    2635         (WebCore::JSWorkerContextBase::createStructure):
    2636         * bindings/js/ScriptCachedFrameData.h:
    2637         * bindings/js/SerializedScriptValue.h:
    2638         * bindings/js/WorkerScriptController.cpp:
    2639         (WebCore::WorkerScriptController::~WorkerScriptController):
    2640         (WebCore::WorkerScriptController::initScript):
    2641         * bindings/scripts/CodeGeneratorJS.pm:
    2642         * bridge/c/CRuntimeObject.h:
    2643         (JSC::Bindings::CRuntimeObject::createStructure):
    2644         * bridge/c/c_instance.cpp:
    2645         (JSC::Bindings::CRuntimeMethod::createStructure):
    2646         * bridge/jni/jsc/JavaInstanceJSC.cpp:
    2647         (JavaRuntimeMethod::createStructure):
    2648         * bridge/jni/jsc/JavaRuntimeObject.h:
    2649         (JSC::Bindings::JavaRuntimeObject::createStructure):
    2650         * bridge/objc/ObjCRuntimeObject.h:
    2651         (JSC::Bindings::ObjCRuntimeObject::createStructure):
    2652         * bridge/objc/objc_instance.mm:
    2653         (ObjCRuntimeMethod::createStructure):
    2654         * bridge/objc/objc_runtime.h:
    2655         (JSC::Bindings::ObjcFallbackObjectImp::createStructure):
    2656         * bridge/qt/qt_instance.cpp:
    2657         (JSC::Bindings::QtRuntimeObject::createStructure):
    2658         * bridge/qt/qt_pixmapruntime.cpp:
    2659         (JSC::Bindings::QtPixmapRuntimeObject::createStructure):
    2660         * bridge/qt/qt_runtime.h:
    2661         (JSC::Bindings::QtRuntimeMethod::createStructure):
    2662         * bridge/runtime_array.cpp:
    2663         (JSC::RuntimeArray::RuntimeArray):
    2664         * bridge/runtime_array.h:
    2665         (JSC::RuntimeArray::createStructure):
    2666         * bridge/runtime_method.cpp:
    2667         (JSC::RuntimeMethod::RuntimeMethod):
    2668         * bridge/runtime_method.h:
    2669         (JSC::RuntimeMethod::createStructure):
    2670         * bridge/runtime_object.cpp:
    2671         (JSC::Bindings::RuntimeObject::RuntimeObject):
    2672         * bridge/runtime_object.h:
    2673         (JSC::Bindings::RuntimeObject::createStructure):
    2674         * history/HistoryItem.h:
    2675 
    2676 2011-04-15  Jessie Berlin  <jberlin@apple.com>
    2677 
    2678         Reviewed by Brian Weinstein.
    2679 
    2680         Hang underneath ApplicationCacheStorage::writeDataToUniqueFileInDirectory when loading
    2681         http://www.webkit.org/demos/calendar.
    2682         https://bugs.webkit.org/show_bug.cgi?id=58698
    2683 
    2684         * platform/win/FileSystemWin.cpp:
    2685         (WebCore::openFile):
    2686         Add breaks to the case statement.
    2687         (WebCore::directoryName):
    2688         Remove any trailing slash in directoryName. After closer inspection of all callers, it
    2689         appears the that callers do not need the trailing slash, and those that use the length do
    2690         so only to change the direction of the slashes throughout the length of the path.
    2691 
    2692 2011-04-15  Roland Steiner  <rolandsteiner@chromium.org>
    2693 
    2694         Reviewed by Dimitri Glazkov.
    2695 
    2696         Bug 52963 - Enable O(1) access to root from any node in shadow DOM subtree
    2697         https://bugs.webkit.org/show_bug.cgi?id=52963
    2698 
    2699         .) Change base class of ShadowRoot from DocumentFragment to TreeScope.
    2700         .) Re-enable tree scope handling in Node (had ASSERT_NOT_REACHED, etc.).
    2701         .) Merged setTreeScope() with setTreeScopeRecursively()
    2702         .) Call setTreeScopeRecursively in DOM manipulation functions where applicable.
    2703 
    2704         No new tests. (refactoring)
    2705 
    2706         * dom/ContainerNode.cpp:
    2707         (WebCore::ContainerNode::takeAllChildrenFrom):
    2708         (WebCore::ContainerNode::removeBetween):
    2709         (WebCore::ContainerNode::removeChildren):
    2710         (WebCore::ContainerNode::parserAddChild):
    2711         * dom/Document.cpp:
    2712         (WebCore::Document::Document):
    2713         (WebCore::Document::~Document):
    2714         (WebCore::Document::setDocType):
    2715         * dom/Element.h:
    2716         * dom/Node.cpp:
    2717         (WebCore::Node::treeScope):
    2718         (WebCore::Node::setTreeScopeRecursively):
    2719         * dom/Node.h:
    2720         (WebCore::Node::document):
    2721         * dom/ShadowRoot.cpp:
    2722         (WebCore::ShadowRoot::ShadowRoot):
    2723         (WebCore::ShadowRoot::~ShadowRoot):
    2724         (WebCore::ShadowRoot::nodeType):
    2725         (WebCore::ShadowRoot::cloneNode):
    2726         (WebCore::ShadowRoot::childTypeAllowed):
    2727         * dom/ShadowRoot.h:
    2728         (WebCore::toShadowRoot):
    2729         * dom/TreeScope.cpp:
    2730         (WebCore::TreeScope::TreeScope):
    2731         (WebCore::TreeScope::setParentTreeScope):
    2732         * dom/TreeScope.h:
    2733         * rendering/RenderSlider.cpp:
    2734 
    2735 2011-04-15  Geoffrey Garen  <ggaren@apple.com>
    2736 
    2737         Reviewed by Oliver Hunt.
    2738 
    2739         DOM object handles are never removed from cache
    2740         https://bugs.webkit.org/show_bug.cgi?id=58707
    2741 
    2742         We were trying to remove hash table items by value instead of by key.
    2743 
    2744         * bindings/js/DOMWrapperWorld.cpp:
    2745         (WebCore::JSNodeHandleOwner::finalize): Changed to work more like
    2746         DOMObjectHandleOwner::finalize because I'm going to merge them.
    2747 
    2748         (WebCore::DOMObjectHandleOwner::finalize): Remove hash table items
    2749         by key, not value. (Oops!) Use a helper function to make sure we get
    2750         this right.
    2751 
    2752         * bindings/js/JSDOMBinding.cpp:
    2753         (WebCore::cacheDOMObjectWrapper): Store the hash table key as our weak
    2754         handle context, so we can use it at destruction time.
    2755 
    2756         * bindings/js/JSDOMBinding.h: Removed unnecessary include.
    2757 
    2758         * bindings/js/JSNodeCustom.h:
    2759         (WebCore::cacheDOMNodeWrapper): Store the hash table key as our weak
    2760         handle context, so we can use it at destruction time.
    2761 
    2762         * bindings/js/ScriptWrappable.h:
    2763         (WebCore::ScriptWrappable::setWrapper): Forward context parameter, to
    2764         support the above.
    2765 
    2766 2011-04-15  Kenneth Russell  <kbr@google.com>
    2767 
    2768         Unreviewed. Chromium Linux Release build fix due to unused variables.
    2769 
    2770         * platform/audio/mkl/FFTFrameMKL.cpp:
    2771         (WebCore::FFTFrame::doFFT):
    2772         (WebCore::FFTFrame::doInverseFFT):
    2773         (WebCore::FFTFrame::cleanup):
    2774 
    2775 2011-04-15  Brent Fulgham  <bfulgham@webkit.org>
    2776 
    2777         Unreviewed build change after r83945.
    2778 
    2779         New 'PlatformPathCairo.cpp' was not added to the WinCairo build.
    2780 
    2781         * WebCore.vcproj/WebCore.vcproj: Add missing file to WinCairo
    2782           build.  Exclude for standard Apple build.
    2783 
    2784 2011-04-15  Anders Carlsson  <andersca@apple.com>
    2785 
    2786         Reviewed by Dan Bernstein.
    2787 
    2788         Fade the find page overlay
    2789         https://bugs.webkit.org/show_bug.cgi?id=58697
    2790 
    2791         Add a symbol that WebKit2 needs.
    2792 
    2793         * WebCore.exp.in:
    2794 
    2795 2011-04-15  MORITA Hajime  <morrita@google.com>
    2796 
    2797         Reviewed by Dimitri Glazkov.
    2798 
    2799         RenderDetailsMarker should belong to shadow element.
    2800         https://bugs.webkit.org/show_bug.cgi?id=58591
    2801 
    2802         - Introduced DetailsMarkerControl element, which is a shadow element of <summary>, creates RenderDetailsMarker.
    2803         - Removed custom layout code from RenderDetails, RenderDetailsMarker, which is now done by usual CSS layout.
    2804           Note that marker size is given via style for -webkit-details-marker pseudo class.
    2805         - Converted default summary implementation from pure-renderer style to shadow of HTMLDetailsElement.
    2806           Now RenderDetails knows nothing about default summary.
    2807         - Moved event handling code from HTMLDetailsElement to HTMLSummaryElement because now the marker is always child of
    2808           <summary>, and the clickable area is now <summary> itself.
    2809 
    2810         - Note that the rendering result is changed due to the conversion from custom layout code to usual CSS styling.
    2811 
    2812         * Android.mk:
    2813         * CMakeLists.txt:
    2814         * GNUmakefile.list.am:
    2815         * WebCore.gypi:
    2816         * WebCore.pro:
    2817         * WebCore.vcproj/WebCore.vcproj:
    2818         * WebCore.xcodeproj/project.pbxproj:
    2819         * css/html.css:
    2820         (summary::-webkit-details-marker):
    2821         * dom/Element.cpp:
    2822         (WebCore::Element::attach):
    2823         * dom/Node.cpp:
    2824         (WebCore::shouldCreateRendererFor):
    2825         * dom/Node.h:
    2826         (WebCore::Node::canHaveLightChildRendererWithShadow):
    2827         * html/HTMLDetailsElement.cpp:
    2828         (WebCore::HTMLDetailsElement::findSummaryFor):
    2829         (WebCore::HTMLDetailsElement::findMainSummary):
    2830         (WebCore::HTMLDetailsElement::refreshMainSummary):
    2831         (WebCore::HTMLDetailsElement::createShadowSubtree):
    2832         (WebCore::HTMLDetailsElement::childrenChanged):
    2833         (WebCore::HTMLDetailsElement::finishParsingChildren):
    2834         (WebCore::HTMLDetailsElement::toggleOpen):
    2835         * html/HTMLDetailsElement.h:
    2836         (WebCore::HTMLDetailsElement::canHaveLightChildRendererWithShadow):
    2837         * html/HTMLSummaryElement.cpp:
    2838         (WebCore::HTMLSummaryElement::create):
    2839         (WebCore::HTMLSummaryElement::createShadowSubtree):
    2840         (WebCore::HTMLSummaryElement::detailsElement):
    2841         (WebCore::HTMLSummaryElement::isMainSummary):
    2842         (WebCore::HTMLSummaryElement::defaultEventHandler):
    2843         * html/HTMLSummaryElement.h:
    2844         (WebCore::HTMLSummaryElement::canHaveLightChildRendererWithShadow):
    2845         * html/shadow/DetailsMarkerControl.cpp: Added.
    2846         (WebCore::DetailsMarkerControl::DetailsMarkerControl):
    2847         (WebCore::DetailsMarkerControl::createRenderer):
    2848         (WebCore::DetailsMarkerControl::rendererIsNeeded):
    2849         (WebCore::DetailsMarkerControl::shadowPseudoId):
    2850         (WebCore::DetailsMarkerControl::summaryElement):
    2851         * html/shadow/DetailsMarkerControl.h: Added.
    2852         (WebCore::DetailsMarkerControl::create):
    2853         * rendering/RenderDetails.cpp:
    2854         (WebCore::RenderDetails::RenderDetails):
    2855         (WebCore::RenderDetails::styleDidChange):
    2856         (WebCore::RenderDetails::moveSummaryToContents):
    2857         (WebCore::RenderDetails::checkMainSummary):
    2858         (WebCore::RenderDetails::layout):
    2859         * rendering/RenderDetails.h:
    2860         * rendering/RenderDetailsMarker.cpp:
    2861         (WebCore::RenderDetailsMarker::RenderDetailsMarker):
    2862         (WebCore::RenderDetailsMarker::isOpen):
    2863         (WebCore::RenderDetailsMarker::getPath):
    2864         (WebCore::RenderDetailsMarker::paint):
    2865         (WebCore::RenderDetailsMarker::details):
    2866         * rendering/RenderDetailsMarker.h:
    2867 
    2868 2011-04-15  Sam Weinig  <sam@webkit.org>
    2869 
    2870         Reviewed by Adam Roben.
    2871 
    2872         Implement localize strings for windows WebKit2
    2873         https://bugs.webkit.org/show_bug.cgi?id=58688
    2874 
    2875         * platform/win/LocalizedStringsWin.cpp:
    2876         (WebCore::createWebKitBundle):
    2877         (WebCore::webKitBundle):
    2878         (WebCore::localizedString):
    2879         Add implementation of localizedString for Windows.
    2880 
    2881 2011-04-15  Geoffrey Garen  <ggaren@apple.com>
    2882 
    2883         Reviewed by Oliver Hunt.
    2884 
    2885         Some mechanical DOM wrapper cleanup
    2886         https://bugs.webkit.org/show_bug.cgi?id=58689
    2887 
    2888         * WebCore.exp.in: Export!
    2889 
    2890         * bindings/js/DOMWrapperWorld.cpp:
    2891         (WebCore::isReachableFromDOM): Inverted the inDocument test to make the
    2892         relationship of the special cases to the normal case clearer.
    2893 
    2894         * bindings/js/JSArrayBufferViewHelper.h:
    2895         (WebCore::toJSArrayBufferView):
    2896         * bindings/js/JSCSSRuleCustom.cpp:
    2897         (WebCore::toJS):
    2898         * bindings/js/JSCSSValueCustom.cpp:
    2899         (WebCore::toJS):
    2900         * bindings/js/JSDOMBinding.cpp:
    2901         (WebCore::getCachedDOMObjectWrapper):
    2902         (WebCore::cacheDOMObjectWrapper):
    2903         * bindings/js/JSDOMBinding.h:
    2904         (WebCore::createDOMObjectWrapper):
    2905         (WebCore::getDOMObjectWrapper):
    2906         (WebCore::createDOMNodeWrapper):
    2907         (WebCore::getDOMNodeWrapper): Changed DOM wrapper functions to operate
    2908         in terms of DOMWrapperWorlds instead of ExecStates. This is clearer,
    2909         and ever-so-slightly faster.
    2910        
    2911         Removed hasCachedXXX functions, now that they're unused.
    2912 
    2913         * bindings/js/JSDOMWindowCustom.cpp:
    2914         (WebCore::JSDOMWindow::history):
    2915         (WebCore::JSDOMWindow::location):
    2916         * bindings/js/JSDocumentCustom.cpp:
    2917         (WebCore::JSDocument::location):
    2918         (WebCore::toJS):
    2919         * bindings/js/JSElementCustom.cpp:
    2920         (WebCore::toJSNewlyCreated):
    2921         * bindings/js/JSEventCustom.cpp:
    2922         (WebCore::toJS):
    2923         * bindings/js/JSHTMLCollectionCustom.cpp:
    2924         (WebCore::toJS):
    2925         * bindings/js/JSImageDataCustom.cpp:
    2926         (WebCore::toJS):
    2927         * bindings/js/JSNodeCustom.cpp:
    2928         (WebCore::createWrapperInline):
    2929         * bindings/js/JSNodeCustom.h:
    2930         (WebCore::getCachedDOMNodeWrapper):
    2931         (WebCore::cacheDOMNodeWrapper):
    2932         (WebCore::toJS):
    2933         * bindings/js/JSSVGPathSegCustom.cpp:
    2934         (WebCore::toJS):
    2935         * bindings/js/JSStyleSheetCustom.cpp:
    2936         (WebCore::toJS): Updated for changes above.
    2937 
    2938         * xml/XMLHttpRequest.cpp:
    2939         (WebCore::XMLHttpRequest::dropProtection): Removed use of hasCachedDOMObjectWrapper
    2940         because XHR is almost always created and used by JavaScript, so it's
    2941         simpler to just always report extra cost.
    2942 
    2943 2011-04-15  Andreas Kling  <kling@webkit.org>
    2944 
    2945         Rolling out accidental part of r84010.
    2946 
    2947         * platform/qt/RenderThemeQt.cpp:
    2948         (WebCore::RenderThemeQt::computeSizeBasedOnStyle):
    2949         (WebCore::RenderThemeQt::setButtonPadding):
    2950 
    2951 2011-04-15  Oliver Hunt  <oliver@apple.com>
    2952 
    2953         Forgot windows build fix.
    2954 
    2955         * bindings/js/JSNodeFilterCondition.cpp:
    2956         (WebCore::JSNodeFilterCondition::WeakOwner::isReachableFromOpaqueRoots):
    2957 
    2958 2011-04-15  Joseph Pecoraro  <joepeck@webkit.org>
    2959 
    2960         Reviewed by Yury Semikhatsky.
    2961 
    2962         Frontend Part of Web Inspector: Remote Web Inspector - Cross Platform InspectorServer
    2963         https://bugs.webkit.org/show_bug.cgi?id=51364
    2964 
    2965         The front end should not use a transparent background when
    2966         loaded as a web page (remote debugging) but should when loaded
    2967         regularly in a custom window. This adds a "remote" style class
    2968         onto the document body when the page is loaded remotely.
    2969 
    2970         * inspector/front-end/inspector.css:
    2971         (body.detached.platform-mac-snowleopard:not(.remote) #toolbar): respect the "remote" class.
    2972         * inspector/front-end/inspector.js: add a "remote" class on the body when loaded remotely.
    2973 
    2974 2011-04-15  Joseph Pecoraro  <joepeck@webkit.org>
    2975 
    2976         Reviewed by David Kilzer.
    2977 
    2978         JSLock ASSERT seen often when using the inspector for long
    2979         periods of time. We should take the JSLock whenever we
    2980         might allocate memory in the JavaScript Heap.
    2981 
    2982         JSC InjectedScriptHost::nodeAsScriptValue should take JSLock before possible JavaScript Allocations
    2983         https://bugs.webkit.org/show_bug.cgi?id=58674
    2984 
    2985         * bindings/js/JSInjectedScriptHostCustom.cpp:
    2986         (WebCore::InjectedScriptHost::nodeAsScriptValue): take the JSLock.
    2987 
    2988 2011-04-14  Oliver Hunt  <oliver@apple.com>
    2989 
    2990         Reviewed by Geoffrey Garen.
    2991 
    2992         Make JSNodeFilterCondition handle its lifetime correctly
    2993         https://bugs.webkit.org/show_bug.cgi?id=58622
    2994 
    2995         Switch over to a WeakHandle and external roots to keep the
    2996         condition value live.
    2997 
    2998         * bindings/js/JSNodeFilterCondition.cpp:
    2999         (WebCore::JSNodeFilterCondition::JSNodeFilterCondition):
    3000         (WebCore::JSNodeFilterCondition::markAggregate):
    3001         (WebCore::JSNodeFilterCondition::acceptNode):
    3002         (WebCore::JSNodeFilterCondition::WeakOwner::isReachableFromOpaqueRoots):
    3003         * bindings/js/JSNodeFilterCondition.h:
    3004         (WebCore::JSNodeFilterCondition::create):
    3005         * bindings/js/JSNodeFilterCustom.cpp:
    3006         (WebCore::toNodeFilter):
    3007         * bindings/scripts/CodeGeneratorJS.pm:
    3008 
    3009 2011-04-13  Luiz Agostini  <luiz.agostini@openbossa.org>
    3010 
    3011         Reviewed by Andreas Kling.
    3012 
    3013         [Qt] QNetworkReplyHandler refactoring: some adjustments
    3014         https://bugs.webkit.org/show_bug.cgi?id=57092
    3015 
    3016         - Removing flag m_redirected from QNetworkReplyHandler and using m_redirectionTargetUrl.isValid() instead.
    3017         - Moving flag m_responseContainsData from QNetworkReplyHandler to the reply wrapper and removing the connection of
    3018         signal metaDataChanged for m_responseContainsData to be consistent.
    3019         - Using an OwnPtr to keep the reference to the QNetworkReplyWrapper.
    3020 
    3021         * platform/network/qt/QNetworkReplyHandler.cpp:
    3022         (WebCore::QNetworkReplyWrapper::QNetworkReplyWrapper):
    3023         (WebCore::QNetworkReplyWrapper::receiveMetaData):
    3024         (WebCore::QNetworkReplyWrapper::didReceiveReadyRead):
    3025         (WebCore::QNetworkReplyHandler::QNetworkReplyHandler):
    3026         (WebCore::QNetworkReplyHandler::release):
    3027         (WebCore::shouldIgnoreHttpError):
    3028         (WebCore::QNetworkReplyHandler::finish):
    3029         (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
    3030         (WebCore::QNetworkReplyHandler::redirect):
    3031         (WebCore::QNetworkReplyHandler::forwardData):
    3032         * platform/network/qt/QNetworkReplyHandler.h:
    3033         (WebCore::QNetworkReplyWrapper::responseContainsData):
    3034         (WebCore::QNetworkReplyWrapper::redirected):
    3035 
    3036 2011-04-15  Alexey Proskuryakov  <ap@apple.com>
    3037 
    3038         Chromium build fix.
    3039 
    3040         * platform/SecureTextInput.h: CARBON_SECURE_INPUT_MODE no longer exists.
    3041 
    3042 2011-04-15  Mike Reed  <reed@google.com>
    3043 
    3044         Reviewed by Darin Fisher.
    3045 
    3046         hide unused static function when SKIA_GPU is enabled
    3047         https://bugs.webkit.org/show_bug.cgi?id=58670
    3048 
    3049         No new tests. Just fixes a warning (treated as an error) when SKIA_GPU is enabled
    3050 
    3051         * platform/graphics/skia/ImageSkia.cpp:
    3052 
    3053 2011-04-15  Simon Fraser  <simon.fraser@apple.com>
    3054 
    3055         Reviewed by Beth Dakin.
    3056 
    3057         Some borders with border-radius do not have rounded inner edges
    3058         https://bugs.webkit.org/show_bug.cgi?id=58457
    3059        
    3060         Improve the logic used to compute the inner radii on curved
    3061         borders, to maintain borders of even thickness around the curve.
    3062        
    3063         Tests: fast/borders/mixed-border-styles-radius.html
    3064                fast/borders/mixed-border-styles.html
    3065 
    3066         * rendering/RenderBoxModelObject.h:
    3067         * rendering/RenderBoxModelObject.cpp:
    3068         (WebCore::RenderBoxModelObject::computeBorderOuterRect):
    3069         (WebCore::RenderBoxModelObject::computeBorderInnerRect):
    3070         Two new utility functions to share some code that was in both paintBorder()
    3071         and paintBoxShaadow().
    3072         getRoundedInnerBorderWithBorderWidths() now takes the outer border box
    3073         as well as the inner box.
    3074        
    3075         (WebCore::RenderBoxModelObject::paintBorder): Call new methods.
    3076         (WebCore::RenderBoxModelObject::paintBoxShadow): Ditto.
    3077 
    3078         * rendering/RenderObject.cpp:
    3079         (WebCore::RenderObject::drawBoxSideFromPath):
    3080         getRoundedInnerBorderWithBorderWidths() now takes the outer border box
    3081         as well as the inner box.
    3082 
    3083         * rendering/style/RenderStyle.cpp:
    3084         (WebCore::RenderStyle::getRoundedInnerBorderWithBorderWidths):
    3085         * rendering/style/RenderStyle.h:
    3086         Compute the inner radii by starting with teh radii used for the
    3087         outer box, and then shrinking them down based on the border thickness.
    3088 
    3089 2011-04-14  Alexey Proskuryakov  <ap@apple.com>
    3090 
    3091         Reviewed by Dan Bernstein.
    3092 
    3093         WebKit2: Password field input does not switch to ASCII-compatible source
    3094         https://bugs.webkit.org/show_bug.cgi?id=58583
    3095         <rdar://problem/9059651>
    3096 
    3097         * platform/SecureTextInput.cpp:
    3098         (WebCore::enableSecureTextInput):
    3099         (WebCore::disableSecureTextInput):
    3100         This is now only used by Chromium. There is no need to change TSMDocument properties in
    3101         renderer process (and really, all secure text input logic in WebCore should be eliminated).
    3102 
    3103 2011-04-13  Xiaomei Ji  <xji@chromium.org>
    3104 
    3105         Reviewed by Ryosuke Niwa.
    3106 
    3107         Continue (3rd) experiment with moving caret by word in visual order.
    3108         https://bugs.webkit.org/show_bug.cgi?id=58294
    3109 
    3110         This patch along with r82588 and r83483 implements moving caret by
    3111         word in visual order.
    3112        
    3113         The overall algorithm is:
    3114         1. First get the InlineBox and offset of the pass-in VisiblePosition.
    3115         2. Based on the position (left boundary, middle, right boundary) of the offset and the
    3116            direction of the movement, look for visually adjacent word breaks.
    3117         2.1 If the offset is the minimum offset of the box,
    3118             return the rightmost word boundary in previous boxes if moving left.
    3119             return the leftmost word boundary in box and next boxes if moving right.
    3120         2.2 Similar for the case when offset is at the maximum offset of the box.
    3121         2.3 When offset is inside the box (not at boundaries), first find the previousWordPosition
    3122             or nextWordPosition based on the directionality of the box. If this word break position
    3123             is also inside the same box, return it. Otherwise (the nextWordPosition or
    3124             previousWordPosition is not in the same box or is at the box boundary), collect all the
    3125             word breaks in the box and search for the one closest to the input "offset" based on
    3126             box directionality, block directionality, and movement direction. Continue search in
    3127             adjacent boxes if needed.
    3128 
    3129         Notes:
    3130         1. Word boundaries are collected one box at a time. Only when a boundary that is closest to
    3131            the input position (in the moving direction) is not available in current box, word
    3132            boundaries in adjacent box will be collected. So, there is no need to save InlineBox in
    3133            word boundaries. Instead, the word boundaries are saved as a pair
    3134            (VisiblePosition, offset) to avoid recomputing VisiblePosition.
    3135  
    3136         2. We only collect boundaries of the right kind (i.e. left boundary of a word in LTR block
    3137            and right boundary of a word in RTL block). And word boundaries are collected using
    3138            previousWordPosition() and nextWordPosition(). So when box directionality is the same as
    3139            block directionality, word boundaries are collected from right to left visually in a LTR
    3140            box, and word boundaries are collected from left to right visually in a RTL box. It is
    3141            the other way around when box directionality is different from block directionality.
    3142 
    3143         3. To find the right kinds of word boundaries, we must move back and forth between words
    3144            in some situations. For example, if we're moving to the right in a LTR box in LTR block,
    3145            we cannot simply return nextWordPosition() because it would return the right boundary
    3146            of a word. Instead, we return nextWordPosition()'s nextWordPosition()'s previousWordPosition().
    3147 
    3148         4. When collecting word breaks inside a box, it first computes a start position, then
    3149            collect the right kind of word breaks until it reaches the end of (or beyond) the box.
    3150            In the meanwhile, it might need special handling on the rightmost or leftmost position
    3151            based on the directionality of the box and block. These computations do not consider the
    3152            box's bidi level.
    3153 
    3154         * editing/visible_units.cpp:
    3155         (WebCore::nextWordBreakInBoxInsideBlockWithDifferentDirectionality):
    3156         (WebCore::collectWordBreaksInBox):
    3157         (WebCore::previousWordBoundaryInBox):
    3158         (WebCore::nextWordBoundaryInBox):
    3159         (WebCore::visuallyLastWordBoundaryInBox):
    3160         (WebCore::leftWordBoundary):
    3161         (WebCore::rightWordBoundary):
    3162         (WebCore::leftWordPosition):
    3163         (WebCore::rightWordPosition):
    3164 
    3165 2011-04-14  Zhenyao Mo  <zmo@google.com>
    3166 
    3167         Reviewed by Kenneth Russell.
    3168 
    3169         Use HTMLImageElement in Canvas 2D / WebGL before response is ready causes crash
    3170         https://bugs.webkit.org/show_bug.cgi?id=58501
    3171 
    3172         * html/canvas/WebGLRenderingContext.cpp:
    3173         (WebCore::WebGLRenderingContext::texImage2D): Call validateHTMLImageElement().
    3174         (WebCore::WebGLRenderingContext::texSubImage2D): Ditto.
    3175         (WebCore::WebGLRenderingContext::validateHTMLImageElement): Make sure image is ready.
    3176         * html/canvas/WebGLRenderingContext.h:
    3177 
    3178 2011-04-07  MORITA Hajime  <morrita@google.com>
    3179 
    3180         Reviewed by Ryosuke Niwa.
    3181 
    3182         DocumentMaker::AllMarkers should not be a part of DocumentMarker::MarkerType
    3183         https://bugs.webkit.org/show_bug.cgi?id=58112
    3184        
    3185         - Converted DocumentMarker::MarkerTypes from unsigned int to a class.
    3186         - Converted DocumentMarker::AllMarkers from an enum entry to a subclass of MarkerTypes.
    3187         - Changed type of some MarkerType argument on DocumentMarkerController API to MarkerTypes
    3188           which should allow a combination of MarkerType constansts.
    3189         - Removed some MarkerType arguments on DocumentMarkerController API
    3190           which only received AllMarkers.
    3191        
    3192         No new tests, no behavior change.
    3193 
    3194         * WebCore.exp.in:
    3195         * dom/DocumentMarker.h:
    3196         (WebCore::DocumentMarker::MarkerTypes::MarkerTypes):
    3197         (WebCore::DocumentMarker::MarkerTypes::contains):
    3198         (WebCore::DocumentMarker::MarkerTypes::intersects):
    3199         (WebCore::DocumentMarker::MarkerTypes::operator==):
    3200         (WebCore::DocumentMarker::MarkerTypes::add):
    3201         (WebCore::DocumentMarker::MarkerTypes::remove):
    3202         (WebCore::DocumentMarker::AllMarkers::AllMarkers):
    3203         * dom/DocumentMarkerController.cpp:
    3204         (WebCore::DocumentMarkerController::possiblyHasMarkers):
    3205         (WebCore::DocumentMarkerController::addMarker):
    3206         (WebCore::DocumentMarkerController::copyMarkers):
    3207         (WebCore::DocumentMarkerController::removeMarkers):
    3208         (WebCore::DocumentMarkerController::markerContainingPoint):
    3209         (WebCore::DocumentMarkerController::markersInRange):
    3210         (WebCore::DocumentMarkerController::renderedRectsForMarkers):
    3211         (WebCore::DocumentMarkerController::removeMarkersFromMarkerMapVectorPair):
    3212         (WebCore::DocumentMarkerController::repaintMarkers):
    3213         (WebCore::DocumentMarkerController::shiftMarkers):
    3214         (WebCore::DocumentMarkerController::setMarkersActive):
    3215         (WebCore::DocumentMarkerController::hasMarkers):
    3216         (WebCore::DocumentMarkerController::clearDescriptionOnMarkersIntersectingRange):
    3217         * dom/DocumentMarkerController.h:
    3218 
    3219 2011-04-14  Geoffrey Garen  <ggaren@apple.com>
    3220 
    3221         Reviewed by Oliver Hunt.
    3222 
    3223         Complicated hash table is complicated
    3224         https://bugs.webkit.org/show_bug.cgi?id=58631
    3225        
    3226         Now that we use the opaque roots system to track node wrapper lifetime,
    3227         we can remove a lot of complicated hash-tablery that used to do the same.
    3228        
    3229         Now normal world node wrappers are just set as direct properties of
    3230         ScriptWrappable, while isolated world node wrappers and other DOM object
    3231         wrappers are stored in a shared, per-world hash table.
    3232 
    3233         In addition to reducing complexity, this makes DOM wrapper allocation
    3234         1.6X faster (tested with scratch-gc-dom3.html), and it reduces the memory
    3235         footprint of normal world wrappers by ~2/3, and isolated world wrappers
    3236         by ~1/3.
    3237 
    3238         * WebCore.exp.in: Paying the patch tithe.
    3239 
    3240         * bindings/js/DOMWrapperWorld.cpp:
    3241         (WebCore::DOMWrapperWorld::~DOMWrapperWorld):
    3242         (WebCore::DOMWrapperWorld::clearWrappers): No more per-document hash tables.
    3243 
    3244         (WebCore::JSNodeHandleOwner::finalize): Changed to call a helper function,
    3245         so the code to destroy a wrapper can live next to the code to create one.
    3246 
    3247         * bindings/js/DOMWrapperWorld.h: No more per-document hash tables.
    3248 
    3249         * bindings/js/JSDOMBinding.cpp:
    3250         (WebCore::uncacheDOMObjectWrapper):
    3251         * bindings/js/JSDOMBinding.h:
    3252         (WebCore::createDOMNodeWrapper):
    3253         (WebCore::getDOMNodeWrapper): No more per-document hash tables.
    3254         Added uncacheDOMObjectWrapper to be symmetrical with cacheDOMObjectWrapper.
    3255 
    3256         * bindings/js/JSDocumentCustom.cpp:
    3257         (WebCore::toJS):
    3258         * bindings/js/JSElementCustom.cpp:
    3259         (WebCore::toJSNewlyCreated):
    3260         * bindings/js/JSNodeCustom.cpp:
    3261         (WebCore::createWrapperInline): Ditto.
    3262 
    3263         * bindings/js/JSNodeCustom.h:
    3264         (WebCore::getCachedDOMNodeWrapper):
    3265         (WebCore::cacheDOMNodeWrapper):
    3266         (WebCore::uncacheDOMNodeWrapper):
    3267         (WebCore::toJS): Implemented the scheme described above.
    3268 
    3269         * bindings/js/ScriptWrappable.h:
    3270         (WebCore::ScriptWrappable::wrapper):
    3271         (WebCore::ScriptWrappable::setWrapper):
    3272         (WebCore::ScriptWrappable::clearWrapper): ScriptWrappable needs a handle
    3273         owner now, since we don't have an extra handle living in a hash table
    3274         to maintain ownership for us.
    3275 
    3276         * dom/Document.cpp:
    3277         (WebCore::Document::Document):
    3278         (WebCore::Document::~Document):
    3279         * dom/Document.h:
    3280         * dom/Node.cpp:
    3281         (WebCore::Node::setDocument): No more per-document hash tables.
    3282 
    3283         * html/HTMLCanvasElement.cpp:
    3284         (WebCore::HTMLCanvasElement::createImageBuffer): Removed call to
    3285         hasCachedDOMNodeWrapperUnchecked because that was the old way of doing
    3286         things, and I was in the mood for getting rid of the old way. It's
    3287         debatable whether the check was ever a good idea. Even when a <canvas>
    3288         doesn't have a direct JS wrapper, other JS references can still keep
    3289         the <canvas> alive. So, it's probably best always to report extra cost.
    3290 
    3291 2011-04-15  Vsevolod Vlasov  <vsevik@chromium.org>
    3292 
    3293         Reviewed by Pavel Feldman.
    3294 
    3295         Web Inspector: Rename rawRequestHeadersText and RawResponseHeadersText to requestHeadersText and responseHeadersText
    3296         https://bugs.webkit.org/show_bug.cgi?id=58650
    3297 
    3298         * inspector/Inspector.json:
    3299         * inspector/InspectorResourceAgent.cpp:
    3300         (WebCore::buildObjectForResourceResponse):
    3301         * inspector/front-end/NetworkManager.js:
    3302         (WebInspector.NetworkDispatcher.prototype._updateResourceWithResponse):
    3303         * inspector/front-end/Resource.js:
    3304         (WebInspector.Resource.prototype.get requestHeadersText):
    3305         (WebInspector.Resource.prototype.set requestHeadersText):
    3306         (WebInspector.Resource.prototype.get requestHeadersSize):
    3307         (WebInspector.Resource.prototype.get responseHeadersText):
    3308         (WebInspector.Resource.prototype.set responseHeadersText):
    3309         (WebInspector.Resource.prototype.get responseHeadersSize):
    3310         (WebInspector.Resource.prototype._headersSize):
    3311         * inspector/front-end/ResourceHeadersView.js:
    3312         (WebInspector.ResourceHeadersView):
    3313         (WebInspector.ResourceHeadersView.prototype._refreshRequestHeaders):
    3314         (WebInspector.ResourceHeadersView.prototype._refreshResponseHeaders):
    3315         (WebInspector.ResourceHeadersView.prototype._refreshHeadersTitle):
    3316         (WebInspector.ResourceHeadersView.prototype._refreshHeadersText):
    3317         (WebInspector.ResourceHeadersView.prototype._toggleRequestHeadersText):
    3318         (WebInspector.ResourceHeadersView.prototype._toggleResponseHeadersText):
    3319         (WebInspector.ResourceHeadersView.prototype._createHeadersToggleButton):
    3320         * inspector/front-end/networkPanel.css:
    3321         (.resource-headers-view .outline-disclosure li.headers-text):
    3322         * platform/network/ResourceLoadInfo.h:
    3323 
    3324 2011-04-15  Luke Macpherson   <macpherson@chromium.org>
    3325 
    3326         Reviewed by Dimitri Glazkov.
    3327 
    3328         Implement css overflow properties in CSSStyleApplyProperty
    3329         https://bugs.webkit.org/show_bug.cgi?id=58633
    3330 
    3331         No new tests required as no functionality changes.
    3332 
    3333         * css/CSSStyleApplyProperty.cpp:
    3334         (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
    3335         Add initializers for CSSPropertyOverflowX, CSSPropertyOverflowY and CSSPropertyOverflow.
    3336         * css/CSSStyleSelector.cpp:
    3337         (WebCore::CSSStyleSelector::applyProperty):
    3338         Delete existing implementations.
    3339 
    3340 2011-04-15  Sam Weinig  <sam@webkit.org>
    3341 
    3342         Reviewed by Maciej Stachowiak.
    3343 
    3344         Make mac WebKit1 use the default localization strategy
    3345         https://bugs.webkit.org/show_bug.cgi?id=58628
    3346 
    3347         * English.lproj/Localizable.strings:
    3348         Update by running update-webkit-localizable-strings.
    3349 
    3350         * platform/DefaultLocalizationStrategy.cpp:
    3351         (WebCore::DefaultLocalizationStrategy::contextMenuItemTagLookUpInDictionary):
    3352         (WebCore::DefaultLocalizationStrategy::keygenKeychainItemName):
    3353         (WebCore::DefaultLocalizationStrategy::imageTitle):
    3354         Match the WebKit1 versions of these functions by special casing CF platforms.
    3355 
    3356 2011-04-15  Vsevolod Vlasov  <vsevik@chromium.org>
    3357 
    3358         Reviewed by Pavel Feldman.
    3359 
    3360         Web Inspector: No console message and headers in inspector when X-Frame-Options header blocks a load
    3361         https://bugs.webkit.org/show_bug.cgi?id=58136
    3362 
    3363         Passed response info to inspector when X-Frame-Options header blocks resource loading.
    3364 
    3365         Test: http/tests/inspector/network/x-frame-options-deny.html
    3366 
    3367         * inspector/InspectorInstrumentation.cpp:
    3368         (WebCore::InspectorInstrumentation::continueAfterXFrameOptionsDeniedImpl):
    3369         * inspector/InspectorInstrumentation.h:
    3370         (WebCore::InspectorInstrumentation::continueAfterXFrameOptionsDenied):
    3371         * loader/MainResourceLoader.cpp:
    3372         (WebCore::MainResourceLoader::didReceiveResponse):
    3373 
    3374 2011-04-15  Andrey Adaikin  <aandrey@google.com>
    3375 
    3376         Reviewed by Pavel Feldman.
    3377 
    3378         Web Inspector: TextViewer and TextEditorModel must support both \n and \r\n as line separators
    3379         https://bugs.webkit.org/show_bug.cgi?id=58449
    3380 
    3381         Test: inspector/editor/text-editor-model.html
    3382 
    3383         * inspector/front-end/TextEditorModel.js:
    3384         (WebInspector.TextEditorModel):
    3385         (WebInspector.TextEditorModel.prototype.get text):
    3386         (WebInspector.TextEditorModel.prototype.setText):
    3387         (WebInspector.TextEditorModel.prototype._innerSetText):
    3388         (WebInspector.TextEditorModel.prototype.copyRange):
    3389 
    3390 2011-04-15  Sergey Vorobyev  <sergeyvorobyev@google.com>
    3391 
    3392         Reviewed by Yury Semikhatsky.
    3393 
    3394         Web Inspector: Network events don't preserves,
    3395         when inspector frontend closed and open again
    3396         https://bugs.webkit.org/show_bug.cgi?id=58064
    3397 
    3398         Added InspectorFrontendProxy and EventsCollector.
    3399         They allow captured messages from InspectorResourceAgent
    3400         to frontend (or mockFrontend if frontend disabled) and
    3401         push collected data when frontend reconnect.
    3402         This functionality is disabled by default.
    3403 
    3404         * CMakeLists.txt:
    3405         * GNUmakefile.list.am:
    3406         * WebCore.gypi:
    3407         * WebCore.pro:
    3408         * WebCore.vcproj/WebCore.vcproj:
    3409         * WebCore.xcodeproj/project.pbxproj:
    3410         * inspector/EventsCollector.cpp: Added.
    3411         (WebCore::EventsCollector::EventsCollector):
    3412         (WebCore::EventsCollector::addEvent):
    3413         (WebCore::EventsCollector::sendCollectedEvents):
    3414         * inspector/EventsCollector.h: Added.
    3415         (WebCore::EventsCollector::~EventsCollector):
    3416         * inspector/Inspector.json:
    3417         * inspector/InspectorFrontendProxy.cpp: Added.
    3418         (WebCore::InspectorFrontendProxy::InspectorFrontendProxy):
    3419         (WebCore::InspectorFrontendProxy::setInspectorFrontendChannel):
    3420         (WebCore::InspectorFrontendProxy::setEventsCollector):
    3421         (WebCore::InspectorFrontendProxy::sendMessageToFrontend):
    3422         * inspector/InspectorFrontendProxy.h: Added.
    3423         (WebCore::InspectorFrontendProxy::~InspectorFrontendProxy):
    3424         * inspector/InspectorInstrumentation.cpp:
    3425         (WebCore::InspectorInstrumentation::domContentLoadedEventFiredImpl):
    3426         (WebCore::InspectorInstrumentation::loadEventFiredImpl):
    3427         * inspector/InspectorInstrumentation.h:
    3428         (WebCore::InspectorInstrumentation::willSendRequest):
    3429         (WebCore::InspectorInstrumentation::willReceiveResourceResponse):
    3430         (WebCore::InspectorInstrumentation::didReceiveContentLength):
    3431         (WebCore::InspectorInstrumentation::didFinishLoading):
    3432         (WebCore::InspectorInstrumentation::domContentLoadedEventFired):
    3433         (WebCore::InspectorInstrumentation::loadEventFired):
    3434         (WebCore::InspectorInstrumentation::frameDetachedFromParent):
    3435         (WebCore::InspectorInstrumentation::didCreateWebSocket):
    3436         (WebCore::InspectorInstrumentation::willSendWebSocketHandshakeRequest):
    3437         (WebCore::InspectorInstrumentation::didReceiveWebSocketHandshakeResponse):
    3438         (WebCore::InspectorInstrumentation::didCloseWebSocket):
    3439         * inspector/InspectorResourceAgent.cpp:
    3440         (WebCore::InspectorResourceAgent::setFrontend):
    3441         (WebCore::InspectorResourceAgent::resourceContent):
    3442         (WebCore::InspectorResourceAgent::~InspectorResourceAgent):
    3443         (WebCore::InspectorResourceAgent::didReceiveResponse):
    3444         (WebCore::InspectorResourceAgent::domContentEventFired):
    3445         (WebCore::InspectorResourceAgent::loadEventFired):
    3446         (WebCore::InspectorResourceAgent::enabledBackgoundEventsCoollection):
    3447         (WebCore::InspectorResourceAgent::enable):
    3448         (WebCore::InspectorResourceAgent::InspectorResourceAgent):
    3449         * inspector/InspectorResourceAgent.h:
    3450         * inspector/front-end/NetworkManager.js:
    3451         (WebInspector.NetworkDispatcher.prototype.domContentEventFired):
    3452         (WebInspector.NetworkDispatcher.prototype.loadEventFired):
    3453         * inspector/front-end/inspector.js:
    3454         (WebInspector.domContentEventFired):
    3455         (WebInspector.loadEventFired):
    3456 
    3457 2011-04-15  Alexis Menard  <alexis.menard@openbossa.org>
    3458 
    3459         Reviewed by Dimitri Glazkov.
    3460 
    3461         REGRESSION(r83397) [Qt] When clicking on the media elements they grow 2 pixels.
    3462         https://bugs.webkit.org/show_bug.cgi?id=58477
    3463 
    3464         Since r83397 the media controls elements are actual DOM elements.
    3465         Therefore the global style-sheet applies to them. html.css defines
    3466         input[type="button"]:active to be border-style: inset which means
    3467         that when the buttons are active they grow by their border size. Therefore
    3468         ports which are not using the borders must explicitly disable them in their custom
    3469         stylesheet.
    3470 
    3471         * css/mediaControlsQt.css:
    3472         (audio::-webkit-media-controls-mute-button):
    3473         (video::-webkit-media-controls-mute-button):
    3474         (audio::-webkit-media-controls-play-button):
    3475         (video::-webkit-media-controls-play-button):
    3476         (video::-webkit-media-controls-fullscreen-button):
    3477         * css/mediaControlsQuickTime.css:
    3478         (audio::-webkit-media-controls-mute-button, video::-webkit-media-controls-mute-button):
    3479         (audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-button):
    3480         (audio::-webkit-media-controls-seek-back-button, video::-webkit-media-controls-seek-back-button):
    3481         (audio::-webkit-media-controls-seek-forward-button, video::-webkit-media-controls-seek-forward-button):
    3482         (audio::-webkit-media-controls-fullscreen-button, video::-webkit-media-controls-fullscreen-button):
    3483         (audio::-webkit-media-controls-rewind-button, video::-webkit-media-controls-rewind-button):
    3484         (audio::-webkit-media-controls-return-to-realtime-button, video::-webkit-media-controls-return-to-realtime-button):
    3485         (audio::-webkit-media-controls-toggle-closed-captions-button, video::-webkit-media-controls-toggle-closed-captions-button):
    3486         (audio::-webkit-media-controls-volume-slider-mute-button, video::-webkit-media-controls-volume-slider-mute-button):
    3487 
    3488 2011-04-15  Zelidrag Hornung  <zelidrag@chromium.org>
    3489 
    3490         Reviewed by Darin Fisher.
    3491 
    3492         Added enums for external file system type.
    3493         https://bugs.webkit.org/show_bug.cgi?id=58456
    3494 
    3495         * fileapi/DOMFileSystemBase.cpp:
    3496         (WebCore::DOMFileSystemBase::crackFileSystemURL):
    3497         * fileapi/DOMFileSystemBase.h:
    3498         * fileapi/EntryBase.cpp:
    3499         (WebCore::EntryBase::toURL):
    3500         * page/DOMWindow.cpp:
    3501         (WebCore::DOMWindow::requestFileSystem):
    3502         * page/DOMWindow.h:
    3503         * platform/AsyncFileSystem.h:
    3504         * workers/WorkerContext.cpp:
    3505         (WebCore::WorkerContext::requestFileSystem):
    3506         (WebCore::WorkerContext::requestFileSystemSync):
    3507         * workers/WorkerContext.h:
    3508 
    3509 2011-04-15  Pavel Feldman  <pfeldman@google.com>
    3510 
    3511         Reviewed by Yury Semikhatsky.
    3512 
    3513         Web Inspector: make resource revisions use dedicated type (not Resource clone).
    3514         https://bugs.webkit.org/show_bug.cgi?id=58659
    3515 
    3516         * inspector/front-end/CSSStyleModel.js:
    3517         (WebInspector.CSSStyleModel.prototype.setStyleSheetText):
    3518         * inspector/front-end/Resource.js:
    3519         (WebInspector.Resource.prototype.addRevision):
    3520         (WebInspector.Resource.prototype._innerRequestContent.onResourceContent):
    3521         (WebInspector.Resource.prototype._innerRequestContent):
    3522         (WebInspector.ResourceRevision):
    3523         (WebInspector.ResourceRevision.prototype.get resource):
    3524         (WebInspector.ResourceRevision.prototype.get timestamp):
    3525         (WebInspector.ResourceRevision.prototype.get content):
    3526         (WebInspector.ResourceRevision.prototype.revertToThis):
    3527         (WebInspector.ResourceRevision.prototype.requestContent.mycallback):
    3528         (WebInspector.ResourceRevision.prototype.requestContent):
    3529         * inspector/front-end/ResourceView.js:
    3530         (WebInspector.ResourceView.resourceViewTypeMatchesResource):
    3531         (WebInspector.ResourceView.resourceViewForResource):
    3532         (WebInspector.ResourceView.recreateResourceView):
    3533         (WebInspector.ResourceView.existingResourceViewForResource):
    3534         (WebInspector.RevisionSourceFrame):
    3535         (WebInspector.RevisionSourceFrame.prototype.get resource):
    3536         (WebInspector.RevisionSourceFrame.prototype.isContentEditable):
    3537         (WebInspector.RevisionSourceFrame.prototype.requestContent):
    3538         * inspector/front-end/ResourcesPanel.js:
    3539         (WebInspector.ResourcesPanel.prototype._showResourceView):
    3540         (WebInspector.ResourcesPanel.prototype._showRevisionView):
    3541         (WebInspector.ResourcesPanel.prototype._fetchAndApplyDiffMarkup.step1):
    3542         (WebInspector.ResourcesPanel.prototype._fetchAndApplyDiffMarkup.step2):
    3543         (WebInspector.ResourcesPanel.prototype._fetchAndApplyDiffMarkup):
    3544         (WebInspector.ResourceRevisionTreeElement):
    3545         (WebInspector.ResourceRevisionTreeElement.prototype.get itemURL):
    3546         (WebInspector.ResourceRevisionTreeElement.prototype.onselect):
    3547         (WebInspector.ResourceRevisionTreeElement.prototype._ondragstart):
    3548         (WebInspector.ResourceRevisionTreeElement.prototype._handleContextMenuEvent):
    3549         * inspector/front-end/SourceFrame.js:
    3550         (WebInspector.SourceFrame.prototype._ensureContentLoaded):
    3551         (WebInspector.SourceFrame.prototype.requestContent):
    3552         (WebInspector.SourceFrame.prototype.commitEditing.didEditContent):
    3553         (WebInspector.SourceFrame.prototype.commitEditing):
    3554 
    3555 2011-04-15  Alexander Pavlov  <apavlov@chromium.org>
    3556 
    3557         Reviewed by Yury Semikhatsky.
    3558 
    3559         Web Inspector: Prevent Backspace keypresses from routing into the inspected page
    3560         https://bugs.webkit.org/show_bug.cgi?id=58653
    3561 
    3562         * inspector/front-end/inspector.js:
    3563         (WebInspector.documentKeyDown):
    3564 
    3565 2011-04-15  Alice Boxhall  <aboxhall@chromium.org>
    3566 
    3567         Reviewed by Ryosuke Niwa.
    3568 
    3569         Text selection changes unexpectedly when dragging out of the <input>
    3570         https://bugs.webkit.org/show_bug.cgi?id=55552
    3571 
    3572         Tests: editing/selection/select-out-of-editable.html
    3573                editing/selection/select-out-of-floated-contenteditable.html
    3574                editing/selection/select-out-of-floated-input.html
    3575                editing/selection/select-out-of-floated-textarea.html
    3576 
    3577         * page/EventHandler.cpp:
    3578         (WebCore::selectionExtentRespectingEditingBoundary): When dragging from an editable element, check that
    3579         the endpoint is not outside the element. If it is, translate the point into a local point within
    3580         the editable element.
    3581         (WebCore::EventHandler::updateSelectionForMouseDrag): Call targetPositionForSelectionEndpoint() to
    3582         calculate the selection endpoint.
    3583 
    3584 2011-04-15  Adam Roben  <aroben@apple.com>
    3585 
    3586         Roll out r83954
    3587 
    3588         It was causing fast/dom/Window/timer-null-script-execution-context.html to crash on multiple
    3589         bots.
    3590 
    3591         See <http://webkit.org/b/58610>.
    3592 
    3593         * bindings/js/JSDOMWindowCustom.cpp:
    3594         (WebCore::JSDOMWindow::setTimeout):
    3595         (WebCore::JSDOMWindow::setInterval):
    3596         * bindings/js/JSWorkerContextCustom.cpp:
    3597         (WebCore::JSWorkerContext::setTimeout):
    3598         (WebCore::JSWorkerContext::setInterval):
    3599         * bindings/js/ScheduledAction.cpp:
    3600         (WebCore::ScheduledAction::create):
    3601         * bindings/js/ScheduledAction.h:
    3602         * bindings/v8/custom/V8DOMWindowCustom.cpp:
    3603         (WebCore::WindowSetTimeoutImpl):
    3604         * page/ContentSecurityPolicy.cpp:
    3605         * page/ContentSecurityPolicy.h:
    3606 
    3607 2011-04-15  Pavel Feldman  <pfeldman@google.com>
    3608 
    3609         Reviewed by Yury Semikhatsky.
    3610 
    3611         Web Inspector: refactor resource setContent / revisions infrastructure to get
    3612         rid of onRevert callback.
    3613         https://bugs.webkit.org/show_bug.cgi?id=58649
    3614 
    3615         Instead, we will have DomainModel/Resource binding responsible for changing
    3616         underlying model upon resource changes and vice versa.
    3617 
    3618         * inspector/Inspector.json:
    3619         * inspector/InspectorCSSAgent.cpp:
    3620         (WebCore::InspectorCSSAgent::getStyleSheet):
    3621         (WebCore::InspectorCSSAgent::getStyleSheetText):
    3622         (WebCore::InspectorCSSAgent::setStyleSheetText):
    3623         (WebCore::InspectorCSSAgent::setPropertyText):
    3624         (WebCore::InspectorCSSAgent::toggleProperty):
    3625         (WebCore::InspectorCSSAgent::setRuleSelector):
    3626         (WebCore::InspectorCSSAgent::assertStyleSheetForId):
    3627         * inspector/InspectorCSSAgent.h:
    3628         * inspector/front-end/CSSStyleModel.js:
    3629         (WebInspector.CSSStyleModel):
    3630         (WebInspector.CSSStyleModel.prototype.setRuleSelector):
    3631         (WebInspector.CSSStyleModel.prototype.addRule):
    3632         (WebInspector.CSSStyleModel.prototype._fireStyleSheetChanged.callback):
    3633         (WebInspector.CSSStyleModel.prototype._fireStyleSheetChanged):
    3634         (WebInspector.CSSStyleModel.prototype.setStyleSheetText):
    3635         (WebInspector.CSSStyleDeclaration.prototype.insertPropertyAt):
    3636         (WebInspector.CSSProperty.prototype.setText):
    3637         (WebInspector.CSSProperty.prototype.setText.callback):
    3638         (WebInspector.CSSProperty.prototype.setDisabled.callback):
    3639         (WebInspector.CSSProperty.prototype.setDisabled):
    3640         (WebInspector.CSSStyleSheet.prototype.setText):
    3641         (WebInspector.CSSStyleModelResourceBinding):
    3642         (WebInspector.CSSStyleModelResourceBinding.prototype.setContent):
    3643         (WebInspector.CSSStyleModelResourceBinding.prototype._frameNavigated):
    3644         (WebInspector.CSSStyleModelResourceBinding.prototype._innerSetContent):
    3645         (WebInspector.CSSStyleModelResourceBinding.prototype._loadStyleSheetHeaders):
    3646         (WebInspector.CSSStyleModelResourceBinding.prototype._styleSheetChanged.setContent):
    3647         (WebInspector.CSSStyleModelResourceBinding.prototype._styleSheetChanged):
    3648         * inspector/front-end/DebuggerPresentationModel.js:
    3649         (WebInspector.DebuggerPresentationModel):
    3650         (WebInspector.DebuggerPresentationModel.prototype.editScriptSource.didEditScriptSource):
    3651         (WebInspector.DebuggerPresentationModel.prototype.editScriptSource.didReceiveSource):
    3652         (WebInspector.DebuggerPresentationModel.prototype.editScriptSource):
    3653         (WebInspector.DebuggerPresentationModelResourceBinding):
    3654         (WebInspector.DebuggerPresentationModelResourceBinding.prototype.canSetContent):
    3655         (WebInspector.DebuggerPresentationModelResourceBinding.prototype.setContent):
    3656         * inspector/front-end/Object.js:
    3657         (WebInspector.Object.prototype.hasEventListeners):
    3658         * inspector/front-end/Resource.js:
    3659         (WebInspector.Resource):
    3660         (WebInspector.Resource.registerDomainModelBinding):
    3661         (WebInspector.Resource.prototype.isEditable):
    3662         (WebInspector.Resource.prototype.setContent):
    3663         (WebInspector.Resource.prototype.addRevision):
    3664         (WebInspector.Resource.prototype.revertToThis.callback):
    3665         (WebInspector.Resource.prototype.revertToThis):
    3666         (WebInspector.ResourceDomainModelBinding):
    3667         (WebInspector.ResourceDomainModelBinding.prototype.canSetContent):
    3668         (WebInspector.ResourceDomainModelBinding.prototype.setContent):
    3669         * inspector/front-end/ResourceView.js:
    3670         (WebInspector.ResourceView.createResourceView):
    3671         (WebInspector.ResourceView.resourceViewTypeMatchesResource):
    3672         (WebInspector.ResourceSourceFrame.prototype.isContentEditable):
    3673         (WebInspector.ResourceSourceFrame.prototype.editContent):
    3674         (WebInspector.ResourceSourceFrame.prototype.endEditing):
    3675         (WebInspector.ResourceSourceFrame.prototype._clearIncrementalUpdateTimer):
    3676         (WebInspector.ResourceSourceFrame.prototype._requestContent):
    3677         * inspector/front-end/ResourcesPanel.js:
    3678         (WebInspector.ResourcesPanel.prototype._resourceAdded):
    3679         (WebInspector.FrameResourceTreeElement):
    3680         (WebInspector.FrameResourceTreeElement.prototype._populateRevisions):
    3681         (WebInspector.FrameResourceTreeElement.prototype._revisionAdded):
    3682         (WebInspector.FrameResourceTreeElement.prototype._appendRevision):
    3683         * inspector/front-end/inspector.html:
    3684 
    3685 2011-04-15  Andrey Kosyakov  <caseq@chromium.org>
    3686 
    3687         Unreviewed, rolling out r83949.
    3688         http://trac.webkit.org/changeset/83949
    3689         https://bugs.webkit.org/show_bug.cgi?id=57960
    3690 
    3691         broke 31 tests in chromium win & linux
    3692 
    3693         * platform/graphics/chromium/GLES2Canvas.cpp:
    3694         (WebCore::GLES2Canvas::drawTexturedRect):
    3695         * platform/graphics/chromium/GLES2Canvas.h:
    3696         * platform/graphics/gpu/Texture.cpp:
    3697         (WebCore::copySubRect):
    3698         (WebCore::Texture::load):
    3699         (WebCore::Texture::updateSubRect):
    3700         * platform/graphics/gpu/Texture.h:
    3701         * platform/graphics/skia/ImageBufferSkia.cpp:
    3702         (WebCore::getImageData):
    3703         (WebCore::putImageData):
    3704         (WebCore::ImageBuffer::putUnmultipliedImageData):
    3705         (WebCore::ImageBuffer::putPremultipliedImageData):
    3706 
    3707 2011-04-15  Ben Taylor  <bentaylor.solx86@gmail.com>
    3708 
    3709         Reviewed by Alexey Proskuryakov.
    3710 
    3711         Fix building with Sun Studio 12: function pointers for extern "C" are treated differently
    3712         https://bugs.webkit.org/show_bug.cgi?id=58508
    3713 
    3714         Since extern "C" makes a different type (although most compilers ignore that),
    3715         we should be more careful when passing NPAPI callback functions.
    3716 
    3717         * plugins/npapi.cpp:
    3718         (NPN_PluginThreadAsyncCall):
    3719 
    3720 2011-04-15  Adam Barth  <abarth@webkit.org>
    3721 
    3722         Reviewed by Eric Seidel.
    3723 
    3724         CSP should block string arguments to setTimeout and setInterval unless options eval-script
    3725         https://bugs.webkit.org/show_bug.cgi?id=58610
    3726 
    3727         It's somewhat sadness that the JSC and V8 code for setTimeout and
    3728         setInterval are so different.  I struggled for a while with how to
    3729         handle the worker case, but I decided to punt on it for now.
    3730 
    3731         Tests: http/tests/security/contentSecurityPolicy/eval-scripts-setInterval-allowed.html
    3732                http/tests/security/contentSecurityPolicy/eval-scripts-setInterval-blocked.html
    3733                http/tests/security/contentSecurityPolicy/eval-scripts-setTimeout-allowed.html
    3734                http/tests/security/contentSecurityPolicy/eval-scripts-setTimeout-blocked.html
    3735 
    3736         * bindings/js/JSDOMWindowCustom.cpp:
    3737         (WebCore::JSDOMWindow::setTimeout):
    3738         (WebCore::JSDOMWindow::setInterval):
    3739         * bindings/js/JSWorkerContextCustom.cpp:
    3740         (WebCore::JSWorkerContext::setTimeout):
    3741         (WebCore::JSWorkerContext::setInterval):
    3742         * bindings/js/ScheduledAction.cpp:
    3743         (WebCore::ScheduledAction::create):
    3744         * bindings/js/ScheduledAction.h:
    3745         * bindings/v8/custom/V8DOMWindowCustom.cpp:
    3746         (WebCore::WindowSetTimeoutImpl):
    3747         * page/ContentSecurityPolicy.cpp:
    3748         (WebCore::ContentSecurityPolicy::allowEval):
    3749         * page/ContentSecurityPolicy.h:
    3750 
    3751 2011-04-15  Adam Barth  <abarth@webkit.org>
    3752 
    3753         Reviewed by Eric Seidel.
    3754 
    3755         Add support for CSP's 'self' source
    3756         https://bugs.webkit.org/show_bug.cgi?id=58604
    3757 
    3758         This change is now trivially easy.
    3759 
    3760         Test: http/tests/security/contentSecurityPolicy/script-src-self.html
    3761 
    3762         * page/ContentSecurityPolicy.cpp:
    3763         (WebCore::CSPSourceList::addSourceSelf):
    3764 
    3765 2011-04-15  Anna Cavender  <annacc@chromium.org>
    3766 
    3767         Reviewed by Eric Carlson.
    3768 
    3769         Renaming TRACK feature define to VIDEO_TRACK
    3770         https://bugs.webkit.org/show_bug.cgi?id=53556
    3771 
    3772         No new tests. No new functionality.
    3773 
    3774         * CMakeLists.txt:
    3775         * Configurations/FeatureDefines.xcconfig:
    3776         * DerivedSources.make:
    3777         * GNUmakefile.am:
    3778         * features.pri:
    3779         * html/HTMLTagNames.in:
    3780         * html/HTMLTrackElement.cpp:
    3781         * html/HTMLTrackElement.h:
    3782         * html/HTMLTrackElement.idl:
    3783 
    3784 2011-04-14  Andrey Adaikin  <aandrey@google.com>
    3785 
    3786         Reviewed by Pavel Feldman.
    3787 
    3788         Web Inspector: Ctrl+Left/Right switch panels during live editing
    3789         https://bugs.webkit.org/show_bug.cgi?id=58521
    3790 
    3791         Disable Ctrl+Left/Right keyboard shortcuts while in live edit.
    3792 
    3793         * inspector/front-end/SourceFrame.js:
    3794         (WebInspector.SourceFrame.prototype.readOnlyStateChanged):
    3795         * inspector/front-end/TextViewer.js:
    3796         (WebInspector.TextViewer.prototype.set readOnly):
    3797         (WebInspector.TextViewer.prototype.get readOnly):
    3798         (WebInspector.TextViewer.prototype._doubleClick):
    3799         (WebInspector.TextViewer.prototype._commitEditing.didCommitEditing):
    3800         (WebInspector.TextViewer.prototype._commitEditing):
    3801         (WebInspector.TextViewer.prototype._cancelEditing):
    3802         (WebInspector.TextViewerDelegate.prototype.readOnlyStateChanged):
    3803         (WebInspector.TextEditorMainPanel.prototype.set readOnly):
    3804         * inspector/front-end/inspector.js:
    3805         (WebInspector.markBeingEdited):
    3806         (WebInspector.isEditingAnyField):
    3807         (WebInspector.startEditing.cleanUpAfterEditing):
    3808 
    3809 2011-04-14  Vsevolod Vlasov  <vsevik@chromium.org>
    3810 
    3811         Reviewed by Pavel Feldman.
    3812 
    3813         Web Inspector: Enable raw HTTP headers support
    3814         https://bugs.webkit.org/show_bug.cgi?id=58259
    3815 
    3816         Added raw headers text support to inspector.
    3817 
    3818         * English.lproj/localizedStrings.js:
    3819         * inspector/Inspector.json:
    3820         * inspector/InspectorResourceAgent.cpp:
    3821         (WebCore::buildObjectForResourceResponse):
    3822         * inspector/front-end/NetworkManager.js:
    3823         (WebInspector.NetworkDispatcher.prototype._updateResourceWithResponse):
    3824         * inspector/front-end/Resource.js:
    3825         (WebInspector.Resource):
    3826         (WebInspector.Resource.prototype.get transferSize):
    3827         (WebInspector.Resource.prototype.set requestHeaders):
    3828         (WebInspector.Resource.prototype.get rawRequestHeadersText):
    3829         (WebInspector.Resource.prototype.set rawRequestHeadersText):
    3830         (WebInspector.Resource.prototype.get requestHeadersSize):
    3831         (WebInspector.Resource.prototype.set responseHeaders):
    3832         (WebInspector.Resource.prototype.get rawResponseHeadersText):
    3833         (WebInspector.Resource.prototype.set rawResponseHeadersText):
    3834         (WebInspector.Resource.prototype.get responseHeadersSize):
    3835         (WebInspector.Resource.prototype._headersSize):
    3836         * inspector/front-end/ResourceHeadersView.js:
    3837         (WebInspector.ResourceHeadersView):
    3838         (WebInspector.ResourceHeadersView.prototype._refreshParms):
    3839         (WebInspector.ResourceHeadersView.prototype._refreshRequestHeaders):
    3840         (WebInspector.ResourceHeadersView.prototype._refreshResponseHeaders):
    3841         (WebInspector.ResourceHeadersView.prototype._refreshHeadersTitle):
    3842         (WebInspector.ResourceHeadersView.prototype._refreshHeaders):
    3843         (WebInspector.ResourceHeadersView.prototype._refreshRawHeadersText):
    3844         (WebInspector.ResourceHeadersView.prototype._toggleRawRequestHeadersText):
    3845         (WebInspector.ResourceHeadersView.prototype._toggleRawResponseHeadersText):
    3846         (WebInspector.ResourceHeadersView.prototype._createToggleButton):
    3847         (WebInspector.ResourceHeadersView.prototype._createHeadersToggleButton):
    3848         * inspector/front-end/networkPanel.css:
    3849         (.resource-headers-view .outline-disclosure li .header-toggle):
    3850         (.resource-headers-view .outline-disclosure li.expanded .header-toggle):
    3851         (.resource-headers-view .outline-disclosure li .header-toggle:hover):
    3852         (.resource-headers-view .outline-disclosure li.raw-headers-text):
    3853         * platform/network/ResourceLoadInfo.h:
    3854 
    3855 2011-04-14  Justin Novosad  <junov@chromium.org>
    3856 
    3857         Reviewed by Kenneth Russell.
    3858 
    3859         [Chromium] Accelerated 2D Canvas is slow to execute putImageData
    3860         https://bugs.webkit.org/show_bug.cgi?id=57960
    3861 
    3862         * platform/graphics/chromium/GLES2Canvas.cpp:
    3863         (WebCore::GLES2Canvas::drawTexturedRect):
    3864         Added an option for using the blend ops for alpha multiplication
    3865         instead of compositing.
    3866         (WebCore::GLES2Canvas::applyClipping):
    3867         (WebCore::GLES2Canvas::putImageData):
    3868         New method for drawing raw pixel data from memory to the canvas
    3869         (WebCore::GLES2Canvas::putUnmultipliedImageData):
    3870         Wrapper for putImageData
    3871         (WebCore::GLES2Canvas::putPremultipliedImageData):
    3872         Wrapper for putImageData
    3873         * platform/graphics/chromium/GLES2Canvas.h:
    3874         * platform/graphics/gpu/Texture.cpp:
    3875         (WebCore::copySubRect):
    3876         (WebCore::Texture::load):
    3877         (WebCore::Texture::updateSubRect):
    3878         Added an overload of the updateSubRect method that can receive a pixel
    3879         of a size that is different from texture size. Improved the performance
    3880         of updateSubrect by avoiding the allocation of a temporary buffer when
    3881         not required.
    3882         * platform/graphics/gpu/Texture.h:
    3883         * platform/graphics/skia/ImageBufferSkia.cpp:
    3884         (WebCore::getImageData):
    3885         In the unmultiplied path, division by alpha now performs proper
    3886         rounding in order to avoid generational degradation with putImageData
    3887         (WebCore::putImageData):
    3888         Alpha multiplication now performs proper rounding in order to be
    3889         consistent with the hardware rendering path: OpenGL always rounds when
    3890         converting to fixed point representation.
    3891         (WebCore::ImageBuffer::putUnmultipliedImageData):
    3892         Now supports a hardware rendering path, which eliminates the need
    3893         for a readback from the GPU
    3894         (WebCore::ImageBuffer::putPremultipliedImageData):
    3895         Now supports a hardware rendering path, which eliminates the need
    3896         for a readback from the GPU
    3897 
    3898 2011-04-14  Joone Hur  <joone.hur@collabora.co.uk>
    3899 
    3900         Reviewed by Martin Robinson.
    3901 
    3902         Creating a CairoPath instance is not thread safe
    3903         https://bugs.webkit.org/show_bug.cgi?id=58514
    3904 
    3905         This patch allows a cairo surface to be created just one time in order to
    3906         guarantee thread safety.
    3907         In addition, CairoPath.{h,cpp} is renamed to PlatformPathCairo.{h,cpp} to
    3908         prevent confusing them with PathCairo.cpp
    3909 
    3910         * CMakeListsEfl.txt: Added PlatformPathCairo.cpp
    3911         * GNUmakefile.list.am: Added PlatformPathCairo.{h,cpp} instead of CairoPath.h.
    3912         * platform/graphics/cairo/CairoPath.h: Removed.
    3913         * platform/graphics/cairo/CairoUtilities.cpp: Include PlatformPathCairo.h instead of CairoPath.h.
    3914         * platform/graphics/cairo/GraphicsContextCairo.cpp: Ditto.
    3915         * platform/graphics/cairo/PathCairo.cpp: Ditto.
    3916         * platform/graphics/cairo/PlatformPathCairo.cpp: Added.
    3917         (WebCore::getPathSurface): Getting a static cairo surface.
    3918         (WebCore::CairoPath::CairoPath): Moved the implementation of the constructor
    3919         into the CPP file.
    3920         * platform/graphics/cairo/PlatformPathCairo.h: Renamed CairoPath.h to this.
    3921         (WebCore::CairoPath::~CairoPath):
    3922         (WebCore::CairoPath::context):
    3923 
    3924 2011-04-14  Nat Duca  <nduca@chromium.org>
    3925 
    3926         Reviewed by Darin Fisher.
    3927 
    3928         [chromium] Add lowpass filter and graph to fps indicator
    3929         https://bugs.webkit.org/show_bug.cgi?id=58186
    3930 
    3931         * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
    3932         (WebCore::CCHeadsUpDisplay::CCHeadsUpDisplay):
    3933         (WebCore::CCHeadsUpDisplay::drawHudContents):
    3934         (WebCore::CCHeadsUpDisplay::drawFPSCounter):
    3935         (WebCore::CCHeadsUpDisplay::drawPlatformLayerTree):
    3936         (WebCore::CCHeadsUpDisplay::onPresent):
    3937         * platform/graphics/chromium/cc/CCHeadsUpDisplay.h:
    3938 
    3939 2011-04-14  Beth Dakin  <bdakin@apple.com>
    3940 
    3941         Reviewed by Adele Peterson.
    3942 
    3943         https://bugs.webkit.org/show_bug.cgi?id=58612
    3944         Crash switching overlay/non-overlay scrollbar preference
    3945         (WebCore::Page::setNeedsRecalcStyleInAllFrames + 9)
    3946         -and corresponding-
    3947         <rdar://problem/9241920>
    3948 
    3949         Speculative fix: Page could definitely be null here.
    3950         * page/FrameView.cpp:
    3951         (WebCore::FrameView::scrollbarStyleChanged):
    3952 
    3953 2011-04-14  Vsevolod Vlasov  <vsevik@chromium.org>
    3954 
    3955         Reviewed by Pavel Feldman.
    3956 
    3957         Web Inspector: ResourceResponse should have encodedDataLength field for synchronous requests transfer size
    3958         https://bugs.webkit.org/show_bug.cgi?id=58447
    3959 
    3960         FrameLoader now takes encoded data length for synchronous requests from the field with the same name.
    3961 
    3962         * loader/FrameLoader.cpp:
    3963         (WebCore::FrameLoader::loadResourceSynchronously):
    3964         * platform/network/ResourceLoadInfo.h:
    3965         (WebCore::ResourceLoadInfo::ResourceLoadInfo):
    3966 
    3967 2011-04-14  Alok Priyadarshi  <alokp@chromium.org>
    3968 
    3969         Reviewed by James Robinson.
    3970 
    3971         Remove dependency on chromium skia::PlatformCanvas
    3972         https://bugs.webkit.org/show_bug.cgi?id=57563
    3973 
    3974         This patch does not change any functionality, just the type of object skia::PlatformCanvas -> SkCanvas. The object is still being created by a factory method skia::CreateBitmapCanvas defined in Chromium. We will eventually define an API that every port using skia will define.
    3975 
    3976         * platform/graphics/chromium/FontChromiumWin.cpp:
    3977         (WebCore::TransparencyAwareFontPainter::TransparencyAwareFontPainter::initializeForGDI):
    3978         (WebCore::TransparencyAwareFontPainter::TransparencyAwareFontPainter::~TransparencyAwareFontPainter):
    3979         (WebCore::Font::drawComplexText):
    3980         * platform/graphics/chromium/ImageBufferDataSkia.h:
    3981         * platform/graphics/chromium/LayerChromium.h:
    3982         * platform/graphics/chromium/LayerRendererChromium.h:
    3983         * platform/graphics/chromium/PlatformCanvas.cpp:
    3984         (WebCore::PlatformCanvas::resize):
    3985         * platform/graphics/chromium/PlatformCanvas.h:
    3986         * platform/graphics/chromium/TransparencyWin.cpp:
    3987         (WebCore::TransparencyWin::compositeTextComposite):
    3988         (WebCore::TransparencyWin::makeLayerOpaque):
    3989         * platform/graphics/skia/ImageBufferSkia.cpp:
    3990         (WebCore::ImageBuffer::ImageBuffer):
    3991         * platform/graphics/skia/ImageSkia.cpp:
    3992         (WebCore::paintSkBitmap):
    3993         (WebCore::Image::drawPattern):
    3994         * platform/graphics/skia/PlatformContextSkia.cpp:
    3995         (WebCore::PlatformContextSkia::PlatformContextSkia):
    3996         (WebCore::PlatformContextSkia::setCanvas):
    3997         (WebCore::PlatformContextSkia::isNativeFontRenderingAllowed):
    3998         * platform/graphics/skia/PlatformContextSkia.h:
    3999         (WebCore::PlatformContextSkia::canvas):
    4000         (WebCore::PlatformContextSkia::printing):
    4001         (WebCore::PlatformContextSkia::setPrinting):
    4002 
    4003 2011-04-14  Eric Seidel  <eric@webkit.org>
    4004 
    4005         Reviewed by Simon Fraser.
    4006 
    4007         PumpSession should not call currentTime() in the constructor
    4008         https://bugs.webkit.org/show_bug.cgi?id=55211
    4009 
    4010         currentTime() is expensive.  So we avoid calling it in the constructor
    4011         and instead set startTime on the first check for a yield
    4012         (which in the synchronous case never happens, and in the yielding
    4013         case will happen immediately after the first token due to
    4014         processedTokens being set to INT_MAX).
    4015 
    4016         This ended up being a large win on (my local copy of)
    4017         peacekeeper's domDynamicCreationCreateElement:
    4018 
    4019         Before:
    4020         avg 366.3333333333333
    4021         median 366
    4022         stdev 2.712112747574399
    4023         min 362
    4024         max 377
    4025 
    4026         After:
    4027         avg 345.96666666666664
    4028         median 346
    4029         stdev 1.6829207415152454
    4030         min 343
    4031         max 349
    4032 
    4033         * html/parser/HTMLDocumentParser.cpp:
    4034         * html/parser/HTMLParserScheduler.h:
    4035         (WebCore::PumpSession::PumpSession):
    4036         (WebCore::HTMLParserScheduler::checkForYieldBeforeToken):
    4037 
    4038 2011-04-14  Ami Fischman  <fischman@google.com>
    4039 
    4040         Reviewed by Eric Carlson.
    4041 
    4042         Remove unnecessary bottom margin of controls in video elements on media documents.
    4043         This makes the cases of media documents and non-media documents consistent,
    4044         and makes it possible to reason about the height of a rendered media document
    4045         (needed e.g. for sizing iframes).
    4046 
    4047         This change is covered by (the currently Skipped, but soon-to-be-un-Skipped)
    4048         media/video-controls-in-media-document.html layouttest (see bug 54634 for
    4049         the un-Skipping).
    4050 
    4051         https://bugs.webkit.org/show_bug.cgi?id=58442
    4052 
    4053         * css/mediaControls.css:
    4054         (video:-webkit-full-page-media::-webkit-media-controls-panel):
    4055         * css/mediaControlsEfl.css:
    4056         (video:-webkit-full-page-media::-webkit-media-controls-panel):
    4057         * css/mediaControlsQuickTime.css:
    4058         (video:-webkit-full-page-media::-webkit-media-controls-panel):
    4059 
    4060 2011-04-14  Geoffrey Garen  <ggaren@apple.com>
    4061 
    4062         Reviewed by Oliver Hunt.
    4063 
    4064         Use opaque roots instead of direct marking for nodes in the DOM
    4065         https://bugs.webkit.org/show_bug.cgi?id=58624
    4066 
    4067         A node treats the root of its tree (usually the document) as its opaque
    4068         root during GC.
    4069        
    4070         This is needed for correctness in a generational GC world, but it also
    4071         happens to be a 3.5X speedup in a DOM-heavy GC test (scratch-gc-dom2.html).
    4072 
    4073         * bindings/js/DOMWrapperWorld.cpp:
    4074         (WebCore::isObservable):
    4075         (WebCore::isReachableFromDOM): Moved a helper function from JSDOMBinding.
    4076         We use this function to determine whether a node is observable.
    4077 
    4078         (WebCore::JSNodeHandleOwner::isReachableFromOpaqueRoots): Start using
    4079         our weak handle callback to determine reachability, instead of direct
    4080         marking traversal through the DOM.
    4081 
    4082         * bindings/js/JSAttrCustom.cpp:
    4083         (WebCore::JSAttr::markChildren): Updated to use the opaque roots mechanism
    4084         instead of direct marking.
    4085 
    4086         * bindings/js/JSDOMBinding.cpp:
    4087         * bindings/js/JSDOMBinding.h: Moved code mentioned above. Removed
    4088         markDOMNodeWrapper because it is now unused. This is a good thing because
    4089         markDOMNodeWrapper used deprecatedAppend, which is not compatible
    4090         with generational GC.
    4091 
    4092         * bindings/js/JSDOMImplementationCustom.cpp:
    4093         (WebCore::JSDOMImplementation::markChildren): Updated to use opaque roots.
    4094 
    4095         * bindings/js/JSDocumentCustom.cpp:
    4096         (WebCore::JSDocument::markChildren): No need to mark our child nodes directly,
    4097         since they will take care of themselves through the opaque roots mechanism.
    4098 
    4099         * bindings/js/JSNamedNodeMapCustom.cpp:
    4100         (WebCore::JSNamedNodeMap::markChildren): Updated to use opaque roots.
    4101 
    4102         * bindings/js/JSNodeCustom.cpp:
    4103         (WebCore::JSNode::markChildren): No need to mark our tree or our document
    4104         directly, since they will take care of themselves through the opaque
    4105         roots mechanism.
    4106 
    4107         * bindings/js/JSNodeCustom.h:
    4108         (WebCore::root): Helper function for accessing the root of a node tree.
    4109         This is O(1) while you're in the document, O(log(N)) when you're in a
    4110         reasonably balanced disconnected tree, and O(N) in the pathological case
    4111         of a disconnected tree that's shaped like a linked list. If average case
    4112         O(long(N)) turns out to be too slow, we can optimize through use of
    4113         rare data or an external hash table, but it is so uncommon that I have
    4114         ignored it for now.
    4115 
    4116         * bindings/js/JSSVGElementInstanceCustom.cpp:
    4117         (WebCore::JSSVGElementInstance::markChildren): Updated to use opaque roots.
    4118 
    4119 2011-04-14  Mike Reed  <reed@google.com>
    4120 
    4121         Reviewed by Kenneth Russell.
    4122 
    4123         fix shadows with gradients
    4124         https://bugs.webkit.org/show_bug.cgi?id=58376
    4125 
    4126         No new tests. Existing tests exercise this
    4127         LayoutTests/fast/canvas/canvas-fillPath-gradient-shadow.html
    4128 
    4129         * platform/graphics/skia/GraphicsContextSkia.cpp:
    4130         (WebCore::GraphicsContext::setPlatformShadow):
    4131 
    4132 2011-04-14  Vsevolod Vlasov  <vsevik@chromium.org>
    4133 
    4134         Reviewed by Pavel Feldman.
    4135 
    4136         Web Inspector: No headers information in network panel for downloads.
    4137         https://bugs.webkit.org/show_bug.cgi?id=58139
    4138 
    4139         Passed resource response to inspector for PolicyDownload and PolicyIgnore requests.
    4140 
    4141         Test: http/tests/inspector/network/download.html
    4142 
    4143         * inspector/InspectorInstrumentation.cpp:
    4144         (WebCore::InspectorInstrumentation::didReceiveResourceResponseButCanceledImpl):
    4145         (WebCore::InspectorInstrumentation::continueWithPolicyDownloadImpl):
    4146         (WebCore::InspectorInstrumentation::continueWithPolicyIgnoreImpl):
    4147         * inspector/InspectorInstrumentation.h:
    4148         (WebCore::InspectorInstrumentation::continueWithPolicyDownload):
    4149         (WebCore::InspectorInstrumentation::continueWithPolicyIgnore):
    4150         * loader/MainResourceLoader.cpp:
    4151         (WebCore::MainResourceLoader::continueAfterContentPolicy):
    4152 
    4153 2011-04-14  Joone Hur  <joone.hur@collabora.co.uk>
    4154 
    4155         Reviewed by Martin Robinson.
    4156 
    4157         Convert use of raw pointers to RefPtr in using Cairo
    4158         https://bugs.webkit.org/show_bug.cgi?id=57717
    4159 
    4160         No new tests added becaue of just replacing raw pointers with smart pointers.
    4161 
    4162         * platform/graphics/cairo/ContextShadowCairo.cpp: Use a RefPtr<cairo_surface_t> instead of raw pointer.
    4163         (WebCore::purgeScratchBuffer):
    4164         (WebCore::getScratchBuffer):
    4165         * platform/graphics/cairo/ImageBufferCairo.cpp: Use a RefPtr<cairo_t> instead of raw pointer.
    4166         (copySurface):
    4167 
    4168 2011-04-14  Naoki Takano  <takano.naoki@gmail.com>
    4169 
    4170         Reviewed by Eric Seidel.
    4171 
    4172         [Chromium]Change menu list background fallback value to transparent to work background:none for HTML select tag.
    4173         https://bugs.webkit.org/show_bug.cgi?id=57818
    4174 
    4175         Test: fast/forms/select-background-none.html
    4176 
    4177         This fix is only for Chromium on Linux. Chromium on Mac already works fine.
    4178         But Windows has the same problem. This change doesn't include Windows part.
    4179 
    4180         * rendering/RenderThemeChromiumLinux.cpp:
    4181         (WebCore::RenderThemeChromiumLinux::paintMenuList): Change the default color to transparent.
    4182 
    4183 2011-04-14  Luke Macpherson   <macpherson@chromium.org>
    4184 
    4185         Reviewed by Dimitri Glazkov.
    4186 
    4187         Implement border style css properties in CSSStyleApplyProperty
    4188         https://bugs.webkit.org/show_bug.cgi?id=58506
    4189 
    4190         No new functionality added.
    4191 
    4192         * css/CSSStyleApplyProperty.cpp:
    4193         (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
    4194         Added new property initializers.
    4195 
    4196         * css/CSSStyleSelector.cpp:
    4197         (WebCore::CSSStyleSelector::applyProperty):
    4198         Removed old property handlers.
    4199 
    4200 2011-04-14  Dimitri Glazkov  <dglazkov@chromium.org>
    4201 
    4202         Reviewed by Ojan Vafai.
    4203 
    4204         Presence of shadow DOM should suppress rendering of ordinary child nodes
    4205         https://bugs.webkit.org/show_bug.cgi?id=58073
    4206 
    4207         Test: fast/dom/shadow/no-renderers-for-light-children.html
    4208 
    4209         * dom/Node.cpp:
    4210         (WebCore::shadowRoot): Added a helper function.
    4211         (WebCore::Node::setDocumentRecursively): Changed to use the helper.
    4212         (WebCore::shouldCreateRendererFor): Expanded a long condition check into a helper function,
    4213             added a check for children of an element with a shadow DOM.
    4214         (WebCore::Node::createRendererAndStyle): Changed to use the helper.
    4215 
    4216 2011-04-14  Adrienne Walker  <enne@google.com>
    4217 
    4218         Reviewed by James Robinson.
    4219 
    4220         [chromium] Tile content and image layers
    4221         https://bugs.webkit.org/show_bug.cgi?id=57113
    4222 
    4223         Layers tile by default if any dimension is larger than 512.  Smaller
    4224         layers are contained within a single texture but still use the tiler
    4225         infrastructure so that there's only one code path.
    4226 
    4227         Remove large layer support from content layers.  Content layers no
    4228         longer own a platform canvas--they own a tiler.  Refactor tiler to
    4229         allow for better separation of update/upload/paint.  Add rect
    4230         parameter to update and draw functions on layers for the layer-space
    4231         rect of interest.  This is necessary to know which tiles need to be
    4232         drawn.
    4233 
    4234         * platform/graphics/chromium/ContentLayerChromium.cpp:
    4235         (WebCore::ContentLayerChromium::ContentLayerChromium):
    4236         (WebCore::ContentLayerChromium::~ContentLayerChromium):
    4237         (WebCore::ContentLayerPainter::ContentLayerPainter):
    4238         (WebCore::ContentLayerPainter::paint):
    4239         (WebCore::ContentLayerChromium::paintContentsIfDirty):
    4240         (WebCore::ContentLayerChromium::setLayerRenderer):
    4241         (WebCore::ContentLayerChromium::tilingTransform):
    4242         (WebCore::ContentLayerChromium::visibleLayerRect):
    4243         (WebCore::ContentLayerChromium::layerBounds):
    4244         (WebCore::ContentLayerChromium::updateLayerSize):
    4245         (WebCore::ContentLayerChromium::draw):
    4246         (WebCore::ContentLayerChromium::createTilerIfNeeded):
    4247         (WebCore::ContentLayerChromium::updateCompositorResources):
    4248         (WebCore::ContentLayerChromium::setTilingOption):
    4249         (WebCore::ContentLayerChromium::bindContentsTexture):
    4250         (WebCore::ContentLayerChromium::unreserveContentsTexture):
    4251         (WebCore::ContentLayerChromium::setIsMask):
    4252         (WebCore::ContentLayerChromium::dumpLayerProperties):
    4253         * platform/graphics/chromium/ContentLayerChromium.h:
    4254         (WebCore::ContentLayerChromium::drawsContent):
    4255         * platform/graphics/chromium/GraphicsLayerChromium.cpp:
    4256         (WebCore::GraphicsLayerChromium::setMaskLayer):
    4257         * platform/graphics/chromium/ImageLayerChromium.cpp:
    4258         (WebCore::ImageLayerChromium::paintContentsIfDirty):
    4259         (WebCore::ImageLayerChromium::updateCompositorResources):
    4260         (WebCore::ImageLayerChromium::layerBounds):
    4261         (WebCore::ImageLayerChromium::tilingTransform):
    4262         * platform/graphics/chromium/ImageLayerChromium.h:
    4263         * platform/graphics/chromium/LayerChromium.h:
    4264         (WebCore::LayerChromium::invalidateRect):
    4265         (WebCore::LayerChromium::paintContentsIfDirty):
    4266         (WebCore::LayerChromium::setIsMask):
    4267         (WebCore::LayerChromium::draw):
    4268         * platform/graphics/chromium/LayerRendererChromium.cpp:
    4269         (WebCore::LayerRendererChromium::drawRootLayer):
    4270         (WebCore::LayerRendererChromium::drawLayers):
    4271         (WebCore::LayerRendererChromium::paintContentsRecursive):
    4272         (WebCore::LayerRendererChromium::copyOffscreenTextureToDisplay):
    4273         (WebCore::LayerRendererChromium::drawLayer):
    4274         (WebCore::LayerRendererChromium::initializeSharedObjects):
    4275         (WebCore::LayerRendererChromium::cleanupSharedObjects):
    4276         * platform/graphics/chromium/LayerRendererChromium.h:
    4277         * platform/graphics/chromium/LayerTilerChromium.cpp:
    4278         (WebCore::LayerTilerChromium::setTileSize):
    4279         (WebCore::LayerTilerChromium::getSingleTexture):
    4280         (WebCore::LayerTilerChromium::invalidateRect):
    4281         (WebCore::LayerTilerChromium::update):
    4282         (WebCore::LayerTilerChromium::uploadCanvas):
    4283         (WebCore::LayerTilerChromium::updateFromPixels):
    4284         (WebCore::LayerTilerChromium::draw):
    4285         (WebCore::LayerTilerChromium::unreserveTextures):
    4286         * platform/graphics/chromium/LayerTilerChromium.h:
    4287         (WebCore::LayerTilerChromium::setLayerRenderer):
    4288         (WebCore::LayerTilerChromium::skipsDraw):
    4289         * platform/graphics/chromium/PlatformCanvas.cpp:
    4290         (WebCore::PlatformCanvas::AutoLocker::AutoLocker):
    4291         (WebCore::PlatformCanvas::Painter::Painter):
    4292         * platform/graphics/chromium/PlatformCanvas.h:
    4293         * platform/graphics/chromium/RenderSurfaceChromium.cpp:
    4294         (WebCore::RenderSurfaceChromium::draw):
    4295         * platform/graphics/chromium/RenderSurfaceChromium.h:
    4296         * platform/graphics/chromium/cc/CCCanvasLayerImpl.cpp:
    4297         (WebCore::CCCanvasLayerImpl::draw):
    4298         * platform/graphics/chromium/cc/CCCanvasLayerImpl.h:
    4299         * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
    4300         (WebCore::CCHeadsUpDisplay::draw):
    4301         * platform/graphics/chromium/cc/CCLayerImpl.cpp:
    4302         (WebCore::CCLayerImpl::draw):
    4303         * platform/graphics/chromium/cc/CCLayerImpl.h:
    4304         * platform/graphics/chromium/cc/CCPluginLayerImpl.cpp:
    4305         (WebCore::CCPluginLayerImpl::draw):
    4306         * platform/graphics/chromium/cc/CCPluginLayerImpl.h:
    4307         * platform/graphics/chromium/cc/CCVideoLayerImpl.cpp:
    4308         (WebCore::CCVideoLayerImpl::draw):
    4309         * platform/graphics/chromium/cc/CCVideoLayerImpl.h:
    4310 
    4311 2011-04-14  James Robinson  <jamesr@chromium.org>
    4312 
    4313         Reviewed by Darin Fisher.
    4314 
    4315         [chromium] REGRESSION(83820): Composited scrollbar layers sometimes not positioned when initially creating frame
    4316         https://bugs.webkit.org/show_bug.cgi?id=58575
    4317 
    4318         Tell the RenderLayerCompositor to create/destroy composited layers for overflow controls on a FrameView when visibleContentsResized()
    4319         is called, not contentsResized() so that we always update layers when adding or removing scrollbars.
    4320 
    4321         Covered by several chromium pixel tests.
    4322 
    4323         * page/FrameView.cpp:
    4324         (WebCore::FrameView::contentsResized):
    4325         (WebCore::FrameView::visibleContentsResized):
    4326 
    4327 2011-04-07  David Levin  <levin@chromium.org>
    4328 
    4329         Reviewed by Brady Eidson.
    4330 
    4331         Fix some threading issues in IconDatabase.
    4332         https://bugs.webkit.org/show_bug.cgi?id=57985
    4333 
    4334         No functionality change so no new tests. It would be very hard to test this, but
    4335         I am working on a change for bug 31639 to detect these (which makes layout tests
    4336         fail for at least one of these issues).
    4337 
    4338         * loader/icon/IconDatabase.cpp:
    4339         (WebCore::IconDatabase::setIconDataForIconURL): Release imageData so that it won't get deref'ed outside of locks.
    4340         (WebCore::IconDatabase::readFromDatabase): Ditto.
    4341         (WebCore::IconDatabase::writeToDatabase): Acquire m_urlAndIconLock because the SharedBuffer<> data
    4342         is used, and this lock seems to be the one which consistently guards it.
    4343 
    4344 2011-04-14  Dmitry Titov  <dimich@chromium.org>
    4345 
    4346         Reviewed by David Levin.
    4347 
    4348         Simplifying Worker termination sequence (removing unnecessary mutex)
    4349         https://bugs.webkit.org/show_bug.cgi?id=57090
    4350 
    4351         No new tests. Existing Worker tests should pass.
    4352 
    4353         * bindings/js/JSEventListener.cpp:
    4354         (WebCore::JSEventListener::handleEvent):
    4355         Check for Terminator-caused exception (or Terminator::shouldTerminate since sometimes
    4356         JS might not run significant enough chunk to be terminated by Terminator) and set
    4357         the flag to forbid future reentry into JS.
    4358 
    4359         * bindings/js/WorkerScriptController.cpp:
    4360         (WebCore::WorkerScriptController::evaluate):
    4361         (WebCore::WorkerScriptController::scheduleExecutionTermination):
    4362         (WebCore::WorkerScriptController::forbidExecution):
    4363         (WebCore::WorkerScriptController::isExecutionForbidden):
    4364         * bindings/js/WorkerScriptController.h:
    4365         * bindings/v8/WorkerScriptController.cpp:
    4366         (WebCore::WorkerScriptController::evaluate):
    4367         (WebCore::WorkerScriptController::scheduleExecutionTermination):
    4368         (WebCore::WorkerScriptController::forbidExecution):
    4369         (WebCore::WorkerScriptController::isExecutionForbidden):
    4370         * bindings/v8/WorkerScriptController.h:
    4371         (WebCore::WorkerScriptController::proxy):
    4372         Symmetrical changes to JSC and V8 WorkerScriptControllers:
    4373         - remove Mutex around operations with executionForbidden flag.
    4374         - set/check that flag only on Worker thread.
    4375         - some renaming in attempt to better reflect what the methods do.
    4376 
    4377         * bindings/v8/V8AbstractEventListener.cpp:
    4378         (WebCore::V8AbstractEventListener::handleEvent):
    4379         (WebCore::V8AbstractEventListener::invokeEventHandler):
    4380         * bindings/v8/WorkerContextExecutionProxy.cpp:
    4381         (WebCore::WorkerContextExecutionProxy::evaluate):
    4382         Check for v8::TryCatch::CanContinue() and set forbidExecution flag.
    4383         This result indicates that TerminateExecution() was in effect - we should
    4384         not reenter V8 anymore after that.
    4385 
    4386         * dom/Document.h:
    4387         (WebCore::Document::isJSExecutionForbidden):
    4388         * dom/MessagePort.cpp:
    4389         (WebCore::MessagePort::dispatchMessages):
    4390         Stop dispatching messages once the worker context started to close.
    4391         Per Workers spec, once WorkerGlobalScope.Close() is called, the next
    4392         JS execution does not happen, including onmessage events. Before this
    4393         change, Close() was setting the forbidExecution flag, indirectly stopping
    4394         events from dispatching.
    4395 
    4396         * dom/ScriptExecutionContext.h:
    4397         * workers/WorkerContext.cpp:
    4398         (WebCore::WorkerContext::close):
    4399         (WebCore::WorkerContext::isJSExecutionForbidden):
    4400         * workers/WorkerContext.h:
    4401         * workers/WorkerThread.cpp:
    4402         (WebCore::WorkerThread::workerThread):
    4403         (WebCore::WorkerThread::stop):
    4404 
    4405 2011-04-14  Beth Dakin  <bdakin@apple.com>
    4406 
    4407         Reviewed by Simon Fraser.
    4408 
    4409         https://bugs.webkit.org/show_bug.cgi?id=56493
    4410         Drag-scrolling overlay scrollbars thumb in overflow regions does not work
    4411         -and corresponding-
    4412         <rdar://problem/9112688>
    4413 
    4414         There was an original change to fix this in the normal hit-testing case, but hit
    4415         testing of transformed and/or positioned objects was still broken. The transformed
    4416         case is fixed by sending an OverlayScrollbarSizeRelevancy parameter to
    4417         calculateRects(). Getting positioned objects right is a little trickier. Those need
    4418         to opt into using temporary clip rects during hit testing. To avoid doing that when
    4419         it is not necessary, I added a new bit to ScrollView to track whether there are
    4420         currently overlay scrollbars painted in the view.
    4421         * platform/ScrollView.cpp:
    4422         (WebCore::ScrollView::ScrollView):
    4423         (WebCore::ScrollView::wheelEvent):
    4424         * platform/ScrollView.h:
    4425         (WebCore::ScrollView::containsScrollableAreaWithOverlayScrollbars):
    4426         (WebCore::ScrollView::setContainsScrollableAreaWithOverlayScrollbars):
    4427         * rendering/RenderLayer.cpp:
    4428         (WebCore::RenderLayer::paintOverflowControls):
    4429         (WebCore::RenderLayer::hitTestLayer):
    4430         (WebCore::RenderLayer::updateClipRects):
    4431         (WebCore::RenderLayer::calculateClipRects):
    4432         (WebCore::RenderLayer::parentClipRects):
    4433         (WebCore::RenderLayer::backgroundClipRect):
    4434         (WebCore::RenderLayer::calculateRects):
    4435         * rendering/RenderLayer.h:
    4436 
    4437 2011-04-14  Antti Koivisto  <antti@apple.com>
    4438 
    4439         Reviewed by Oliver Hunt.
    4440 
    4441         REGRESSION(r74107): Including svg format in @font-face rules makes Web Fonts fail to load
    4442         https://bugs.webkit.org/show_bug.cgi?id=57766
    4443         <rdar://problem/9232183>
    4444 
    4445         Move the knowledge of whether to interpret a font as SVG from CachedFont to CSSFontFaceSource. This way
    4446         we can try to interpret the same cached resource in multiple ways.
    4447 
    4448         Test: fast/css/font-face-repeated-url.html
    4449 
    4450         * css/CSSFontFaceSource.cpp:
    4451         (WebCore::CSSFontFaceSource::CSSFontFaceSource):
    4452         (WebCore::CSSFontFaceSource::getFontData):
    4453         * css/CSSFontFaceSource.h:
    4454         (WebCore::CSSFontFaceSource::setHasExternalSVGFont):
    4455         * css/CSSFontSelector.cpp:
    4456         (WebCore::CSSFontSelector::addFontFaceRule):
    4457         * loader/cache/CachedFont.cpp:
    4458         (WebCore::CachedFont::CachedFont):
    4459         (WebCore::CachedFont::ensureCustomFontData):
    4460         (WebCore::CachedFont::ensureSVGFontData):
    4461 
    4462             Use TextResourceDecoder correctly.
    4463 
    4464         (WebCore::CachedFont::getSVGFontById):
    4465         * loader/cache/CachedFont.h:
    4466         * svg/SVGFontFaceUriElement.cpp:
    4467         (WebCore::SVGFontFaceUriElement::loadFont):
    4468 
    4469 2011-04-14  Kenneth Russell  <kbr@google.com>
    4470 
    4471         Reviewed by Dimitri Glazkov.
    4472 
    4473         Enable building Web Audio with MKL in Chrome-branded builds
    4474         https://bugs.webkit.org/show_bug.cgi?id=58561
    4475 
    4476         Factored out MKL support into a separate GYP file that is
    4477         incorporated in Chrome-branded builds. Changed how the FFTFrame
    4478         implementations are pulled in and chosen so that all files can be
    4479         unconditionally compiled.
    4480 
    4481         Tested with both Chrome-branded build (incorporating MKL) and
    4482         Chromium build (building just FFTFrameStub.cpp) on Linux.
    4483 
    4484         * WebCore.gyp/WebCore.gyp:
    4485         * platform/audio/fftw/FFTFrameFFTW.cpp:
    4486         * platform/audio/mkl/FFTFrameMKL.cpp:
    4487 
    4488 2011-04-14  Ragner Magalhaes  <ragner.magalhaes@openbossa.org>
    4489 
    4490         Reviewed by Antonio Gomes.
    4491 
    4492         [Qt] Web Inspector does not highlight elements
    4493         https://bugs.webkit.org/show_bug.cgi?id=35125
    4494 
    4495         We should call drawNodeHighlight() just if a highlighted node exists
    4496         to avoid do save()/restore() on the Graphics Context unnecessarily.
    4497 
    4498         Added highlightedNode() method to check if we need to call drawNodeHighlight()
    4499         and only on this case do save()/restore() on the Graphics Context.
    4500 
    4501         * inspector/InspectorAgent.h:
    4502         (WebCore::InspectorAgent::highlightedNode):
    4503 
    4504 2011-04-14  Adrienne Walker  <enne@google.com>
    4505 
    4506         Reviewed by James Robinson.
    4507 
    4508         [chromium] TilingData should return 1 tile when tile size is texture size.
    4509         https://bugs.webkit.org/show_bug.cgi?id=58364
    4510 
    4511         * platform/graphics/gpu/TilingData.cpp:
    4512         (WebCore::computeNumTiles):
    4513 
    4514 2011-04-14  Andy Estes  <aestes@apple.com>
    4515 
    4516         Reviewed by Dan Bernstein.
    4517 
    4518         REGRESSION (r72141): Acid3 rendering is not pixel perfect.
    4519         https://bugs.webkit.org/show_bug.cgi?id=55734
    4520        
    4521         WebCore should render text with a 0px font size at 0px regardless of
    4522         minimum font size settings. This is compatible with other browsers that
    4523         have a minimum font size preference and ensures pixel-perfect rendering
    4524         on Acid3.
    4525 
    4526         Test: fast/text/zero-font-size.html
    4527 
    4528         * css/CSSStyleSelector.cpp:
    4529         (WebCore::CSSStyleSelector::getComputedSizeFromSpecifiedSize): If
    4530         specifiedSize is 0, return specified size regardless of zoom factor or
    4531         minimum font size.
    4532 
    4533 2011-04-14  Matthew Delaney  <mdelaney@apple.com>
    4534 
    4535         Reviewed by Simon Fraser.
    4536 
    4537         Have canvas drawImageFromRect just redirect to use drawImage
    4538         https://bugs.webkit.org/show_bug.cgi?id=58516
    4539 
    4540         Test: fast/canvas/drawImageFromRect_withToDataURLAsSource.html
    4541 
    4542         * html/canvas/CanvasRenderingContext2D.cpp:
    4543         (WebCore::CanvasRenderingContext2D::drawImage):
    4544         (WebCore::CanvasRenderingContext2D::drawImageFromRect):
    4545         * html/canvas/CanvasRenderingContext2D.h:
    4546 
    4547 2011-04-14  James Robinson  <jamesr@chromium.org>
    4548 
    4549         Reviewed by Simon Fraser.
    4550 
    4551         REGRESSION (r83820): Lots of compositing tests failing on Windows 7 Release (Tests)
    4552         https://bugs.webkit.org/show_bug.cgi?id=58535
    4553 
    4554         Change PLATFORM(MAC) guards to !PLATFORM(CHROMIUM) so they apply correctly to the windows build.
    4555 
    4556         * rendering/RenderLayerBacking.cpp:
    4557         (WebCore::RenderLayerBacking::requiresHorizontalScrollbarLayer):
    4558         (WebCore::RenderLayerBacking::requiresVerticalScrollbarLayer):
    4559         (WebCore::RenderLayerBacking::requiresScrollCornerLayer):
    4560         * rendering/RenderLayerCompositor.cpp:
    4561         (WebCore::shouldCompositeOverflowControls):
    4562 
    4563 2011-04-14  Jian Li  <jianli@chromium.org>
    4564 
    4565         Reviewed by Darin Fisher.
    4566 
    4567         BlobBuilder should be vendor-prefixed
    4568         https://bugs.webkit.org/show_bug.cgi?id=58518
    4569 
    4570         Renamed BlobBuilder to WebKitBlobBuilder.
    4571 
    4572         * Android.derived.jscbindings.mk:
    4573         * Android.derived.v8bindings.mk:
    4574         * CMakeLists.txt:
    4575         * CodeGenerators.pri:
    4576         * DerivedSources.cpp:
    4577         * DerivedSources.make:
    4578         * GNUmakefile.list.am:
    4579         * WebCore.gypi:
    4580         * WebCore.pro:
    4581         * WebCore.vcproj/WebCore.vcproj:
    4582         * WebCore.xcodeproj/project.pbxproj:
    4583         * fileapi/WebKitBlobBuilder.cpp: Renamed from Source/WebCore/fileapi/BlobBuilder.cpp.
    4584         (WebCore::WebKitBlobBuilder::WebKitBlobBuilder):
    4585         (WebCore::WebKitBlobBuilder::getBuffer):
    4586         (WebCore::WebKitBlobBuilder::append):
    4587         (WebCore::WebKitBlobBuilder::getBlob):
    4588         * fileapi/WebKitBlobBuilder.h: Renamed from Source/WebCore/fileapi/BlobBuilder.h.
    4589         (WebCore::WebKitBlobBuilder::create):
    4590         * fileapi/WebKitBlobBuilder.idl: Renamed from Source/WebCore/fileapi/BlobBuilder.idl.
    4591         * page/DOMWindow.idl:
    4592         * workers/WorkerContext.idl:
    4593 
    4594 2011-04-14  Adam Barth  <abarth@webkit.org>
    4595 
    4596         Remove some trailing whitespace.  I'm making this change to initialize
    4597         the SVN credentials on a new commit-queue machine.  I'm sure there's a
    4598         better way to do this, but I don't know it.
    4599 
    4600         * dom/Document.cpp:
    4601         (WebCore::Document::Document):
    4602 
    4603 2011-04-14  Pratik Solanki  <psolanki@apple.com>
    4604 
    4605         Reviewed by David Kilzer.
    4606 
    4607         Set minimum priority for fast lane connections
    4608         https://bugs.webkit.org/show_bug.cgi?id=58353
    4609 
    4610         * WebCore.exp.in:
    4611         * platform/mac/WebCoreSystemInterface.h:
    4612         * platform/mac/WebCoreSystemInterface.mm:
    4613         * platform/network/cf/ResourceRequestCFNet.cpp:
    4614         (WebCore::initializeMaximumHTTPConnectionCountPerHost): Call
    4615         wkSetHTTPPipeliningMinimumFastLanePriority to allow javascript resources to use the fast
    4616         lane connections.
    4617 
    4618 2011-04-14  Kenneth Russell  <kbr@google.com>
    4619 
    4620         Reviewed by Dimitri Glazkov.
    4621 
    4622         Fix Web Audio build on Linux Debug and with stub FFTFrame
    4623         https://bugs.webkit.org/show_bug.cgi?id=58555
    4624 
    4625         Built Chromium/Linux in Debug mode to test.
    4626 
    4627         * platform/audio/FFTFrame.cpp:
    4628         * platform/audio/FFTFrameStub.cpp:
    4629         (WebCore::FFTFrame::initialize):
    4630         * webaudio/AudioContext.cpp:
    4631         * webaudio/DefaultAudioDestinationNode.cpp:
    4632 
    4633 2011-04-14  Yury Semikhatsky  <yurys@chromium.org>
    4634 
    4635         Reviewed by Pavel Feldman.
    4636 
    4637         [v8] Web Inspector: add initial implementation of WorkerScriptDebugServer
    4638         https://bugs.webkit.org/show_bug.cgi?id=58552
    4639 
    4640         * bindings/v8/DebuggerScript.js:
    4641         * bindings/v8/WorkerContextExecutionProxy.cpp:
    4642         (WebCore::WorkerContextExecutionProxy::initContextIfNeeded): each worker context
    4643         now have a debug id (similar to frame contexts).
    4644         * bindings/v8/WorkerScriptDebugServer.cpp:
    4645         (WebCore::retrieveWorkerContext):
    4646         (WebCore::WorkerScriptDebugServer::WorkerScriptDebugServer):
    4647         (WebCore::WorkerScriptDebugServer::addListener):
    4648         (WebCore::WorkerScriptDebugServer::removeListener):
    4649         (WebCore::WorkerScriptDebugServer::getDebugListenerForContext):
    4650         (WebCore::WorkerScriptDebugServer::runMessageLoopOnPause): run message loop until
    4651         debugger command is received and execution is resumed.
    4652         (WebCore::WorkerScriptDebugServer::quitMessageLoopOnPause):
    4653         * bindings/v8/WorkerScriptDebugServer.h:
    4654         * inspector/WorkerDebuggerAgent.cpp:
    4655         (WebCore::WorkerDebuggerAgent::startListeningScriptDebugServer):
    4656         (WebCore::WorkerDebuggerAgent::stopListeningScriptDebugServer):
    4657 
    4658 2011-04-14  Jian Li  <jianli@chromium.org>
    4659 
    4660         Reviewed by Darin Fisher.
    4661 
    4662         Add webkit prefix to Blob.slice method and change its semantics to be
    4663         like Array.slice
    4664         https://bugs.webkit.org/show_bug.cgi?id=58496
    4665 
    4666         Renamed Blob.slice to blob.webkitSlice and made it take start and end
    4667         parameters that're like Array.slice.
    4668 
    4669         Test: fast/files/blob-slice-test.html
    4670 
    4671         * fileapi/Blob.cpp:
    4672         (WebCore::Blob::webkitSlice):
    4673         * fileapi/Blob.h:
    4674         * fileapi/Blob.idl:
    4675 
    4676 2011-04-14  Andreas Kling  <kling@webkit.org>
    4677 
    4678         Reviewed by Benjamin Poulain.
    4679 
    4680         [Qt] Height of "Ahem" font differs from all other ports.
    4681         https://bugs.webkit.org/show_bug.cgi?id=57954
    4682 
    4683         QFontMetricsF::descent() returns the actual descent minus 1,
    4684         to account for the baseline. Add it back to get correct metrics
    4685         for WebKit.
    4686 
    4687         QFontMetricsF::leading() may return negative values on some
    4688         platforms (those using FreeType), this breaks WebKit's assumption
    4689         that lineSpacing >= (ascent + descent), so we work around this in
    4690         the same fashion as SimpleFontDataFreeType and SimpleFontDataPango.
    4691 
    4692         This is covered by thousands of layout tests.
    4693 
    4694         * platform/graphics/qt/SimpleFontDataQt.cpp:
    4695         (WebCore::SimpleFontData::platformInit):
    4696 
    4697 2011-04-14  Kevin Ollivier  <kevino@theolliviers.com>
    4698 
    4699         [wx] Unreviewed build fixes for wxMSW and wx 2.9.1.1.
    4700 
    4701         * platform/graphics/wx/FontPlatformDataWx.cpp:
    4702         (WebCore::FontPlatformData::FontPlatformData):
    4703         * platform/wx/FileSystemWx.cpp:
    4704         (WebCore::writeToFile):
    4705 
    4706 2011-04-14  Anders Carlsson  <andersca@apple.com>
    4707 
    4708         Fix build.
    4709 
    4710         RuntimeApplicationChecks.h needs to be a private header so WebKit can find it.
    4711 
    4712         * WebCore.xcodeproj/project.pbxproj:
    4713 
    4714 2011-04-14  Pavel Podivilov  <podivilov@chromium.org>
    4715 
    4716         Unreviewed, build fix for r83864.
    4717 
    4718         * inspector/front-end/DOMAgent.js:
    4719         (WebInspector.DOMAgent.prototype._childNodeRemoved):
    4720 
    4721 2011-04-14  Alexander Pavlov  <apavlov@chromium.org>
    4722 
    4723         Reviewed by Pavel Feldman.
    4724 
    4725         Web Inspector: Content area highlight does not cover scrollbars
    4726         https://bugs.webkit.org/show_bug.cgi?id=58528
    4727 
    4728         * inspector/DOMNodeHighlighter.cpp:
    4729         (WebCore::DOMNodeHighlighter::DrawNodeHighlight):
    4730 
    4731 2011-04-14  Pavel Podivilov  <podivilov@chromium.org>
    4732 
    4733         Reviewed by Pavel Feldman.
    4734 
    4735         Web Inspector: re-implement dom breakpoints.
    4736         https://bugs.webkit.org/show_bug.cgi?id=57038
    4737 
    4738         * WebCore.gypi:
    4739         * WebCore.vcproj/WebCore.vcproj:
    4740         * inspector/front-end/BreakpointManager.js: Removed.
    4741         * inspector/front-end/BreakpointsSidebarPane.js:
    4742         (WebInspector.NativeBreakpointsSidebarPane):
    4743         (WebInspector.NativeBreakpointsSidebarPane.prototype._reset):
    4744         (WebInspector.XHRBreakpointsSidebarPane.prototype._restoreBreakpoints):
    4745         * inspector/front-end/CallStackSidebarPane.js:
    4746         (WebInspector.CallStackSidebarPane.prototype.update):
    4747         (WebInspector.CallStackSidebarPane.prototype.setStatus):
     790        * inspector/InspectorDOMAgent.cpp:
     791        (WebCore::InspectorDOMAgent::pushChildNodesToFrontend):
     792        (WebCore::InspectorDOMAgent::buildObjectForNode):
     793        (WebCore::InspectorDOMAgent::didInsertDOMNode):
     794        (WebCore::InspectorDOMAgent::didRemoveDOMNode):
     795        * inspector/InspectorDOMAgent.h:
    4748796        * inspector/front-end/DOMAgent.js:
    4749797        (WebInspector.DOMNode):
    4750         (WebInspector.DOMAgent.prototype._childNodeRemoved):
    4751         * inspector/front-end/DOMBreakpointsSidebarPane.js: Added.
    4752         (WebInspector.DOMBreakpointsSidebarPane):
    4753         (WebInspector.DOMBreakpointsSidebarPane.prototype.setInspectedURL):
    4754         (WebInspector.DOMBreakpointsSidebarPane.prototype.populateNodeContextMenu.toggleBreakpoint):
    4755         (WebInspector.DOMBreakpointsSidebarPane.prototype.populateNodeContextMenu):
    4756         (WebInspector.DOMBreakpointsSidebarPane.prototype.createBreakpointHitStatusMessage.didPushNodeToFrontend):
    4757         (WebInspector.DOMBreakpointsSidebarPane.prototype.createBreakpointHitStatusMessage):
    4758         (WebInspector.DOMBreakpointsSidebarPane.prototype._doCreateBreakpointHitStatusMessage.formatters.s):
    4759         (WebInspector.DOMBreakpointsSidebarPane.prototype._doCreateBreakpointHitStatusMessage.append):
    4760         (WebInspector.DOMBreakpointsSidebarPane.prototype._doCreateBreakpointHitStatusMessage):
    4761         (WebInspector.DOMBreakpointsSidebarPane.prototype.nodeRemoved):
    4762         (WebInspector.DOMBreakpointsSidebarPane.prototype._removeBreakpointsForNode):
    4763         (WebInspector.DOMBreakpointsSidebarPane.prototype._setBreakpoint):
    4764         (WebInspector.DOMBreakpointsSidebarPane.prototype._removeBreakpoint):
    4765         (WebInspector.DOMBreakpointsSidebarPane.prototype._contextMenu.removeBreakpoint):
    4766         (WebInspector.DOMBreakpointsSidebarPane.prototype._contextMenu):
    4767         (WebInspector.DOMBreakpointsSidebarPane.prototype._checkboxClicked):
    4768         (WebInspector.DOMBreakpointsSidebarPane.prototype.highlightBreakpoint):
    4769         (WebInspector.DOMBreakpointsSidebarPane.prototype.clearBreakpointHighlight):
    4770         (WebInspector.DOMBreakpointsSidebarPane.prototype._createBreakpointId):
    4771         (WebInspector.DOMBreakpointsSidebarPane.prototype._saveBreakpoints):
    4772         (WebInspector.DOMBreakpointsSidebarPane.prototype.restoreBreakpoints):
    4773         * inspector/front-end/ElementsPanel.js:
    4774         (WebInspector.ElementsPanel):
    4775         (WebInspector.ElementsPanel.prototype.show):
    4776         (WebInspector.ElementsPanel.prototype.updateModifiedNodes):
    4777         (WebInspector.ElementsPanel.prototype.updateBreadcrumbSizes.coalesceCollapsedCrumbs):
    4778         * inspector/front-end/ElementsTreeOutline.js:
    4779         (WebInspector.ElementsTreeElement.prototype._populateTagContextMenu):
    4780         * inspector/front-end/ScriptsPanel.js:
    4781         (WebInspector.ScriptsPanel):
    4782         (WebInspector.ScriptsPanel.prototype.show):
    4783         (WebInspector.ScriptsPanel.prototype._debuggerPaused.didCreateBreakpointHitStatusMessage):
    4784         (WebInspector.ScriptsPanel.prototype._debuggerPaused.else.didGetSourceLocation):
    4785         (WebInspector.ScriptsPanel.prototype._debuggerPaused):
    4786         (WebInspector.ScriptsPanel.prototype._clearInterface):
    4787         * inspector/front-end/Settings.js:
    4788         (WebInspector.Settings):
    4789         (WebInspector.Settings.prototype._set):
    4790         * inspector/front-end/WebKit.qrc:
    4791         * inspector/front-end/inspector.html:
    4792         * inspector/front-end/inspector.js:
    4793         (WebInspector.inspectedURLChanged):
    4794         * inspector/front-end/utilities.js:
    4795         ():
    4796 
    4797 2011-04-14  Satish Sampath  <satish@chromium.org>
    4798 
    4799         Reviewed by Kent Tamura.
    4800 
    4801         Disable speech input for readonly and disabled input fields.
    4802         https://bugs.webkit.org/show_bug.cgi?id=58540
    4803 
    4804         Test: fast/speech/input-readonly-and-disabled.html
    4805 
    4806         * html/shadow/TextControlInnerElements.cpp:
    4807         (WebCore::InputFieldSpeechButtonElement::defaultEventHandler):
    4808         (WebCore::InputFieldSpeechButtonElement::setRecognitionResult):
    4809 
    4810 2011-04-14  Ilya Tikhonovsky  <loislo@chromium.org>
    4811 
    4812         Unreviewed. Rollout r83849 and r83857.
    4813 
    4814         * inspector/Inspector.json:
    4815         * inspector/InspectorDatabaseAgent.cpp:
    4816         (WebCore::InspectorDatabaseAgent::didOpenDatabase):
    4817         (WebCore::InspectorDatabaseAgent::InspectorDatabaseAgent):
    4818         (WebCore::InspectorDatabaseAgent::setFrontend):
    4819         (WebCore::InspectorDatabaseAgent::clearFrontend):
    4820         (WebCore::InspectorDatabaseAgent::getDatabaseTableNames):
    4821         (WebCore::InspectorDatabaseAgent::executeSQL):
    4822         * inspector/InspectorDatabaseAgent.h:
    4823         * inspector/front-end/inspector.js:
    4824 
    4825 2011-04-14  Dimitri Glazkov  <dglazkov@chromium.org>
    4826 
    4827         Unreviewed, rolling out r83847.
    4828         http://trac.webkit.org/changeset/83847
    4829         https://bugs.webkit.org/show_bug.cgi?id=58477
    4830 
    4831         Chromium media controls do use button borders, so this change
    4832         is incorrect.
    4833 
    4834         * css/mediaControls.css:
    4835         (audio::-webkit-media-controls-mute-button, video::-webkit-media-controls-mute-button):
    4836         (audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-button):
    4837         (audio::-webkit-media-controls-timeline, video::-webkit-media-controls-timeline):
    4838         (audio::-webkit-media-controls-volume-slider, video::-webkit-media-controls-volume-slider):
    4839         (audio::-webkit-media-controls-seek-back-button, video::-webkit-media-controls-seek-back-button):
    4840         (audio::-webkit-media-controls-seek-forward-button, video::-webkit-media-controls-seek-forward-button):
    4841         (audio::-webkit-media-controls-fullscreen-button, video::-webkit-media-controls-fullscreen-button):
    4842         (audio::-webkit-media-controls-rewind-button, video::-webkit-media-controls-rewind-button):
    4843         (audio::-webkit-media-controls-return-to-realtime-button, video::-webkit-media-controls-return-to-realtime-button):
    4844         (audio::-webkit-media-controls-toggle-closed-captions-button, video::-webkit-media-controls-toggle-closed-captions-button):
    4845         (audio::-webkit-media-controls-volume-slider-mute-button, video::-webkit-media-controls-volume-slider-mute-button):
    4846 
    4847 2011-04-14  Andrew Wason  <rectalogic@rectalogic.com>
    4848 
    4849         Reviewed by Andreas Kling.
    4850 
    4851         Fix GraphicsContext3DQt.cpp compilation warnings treated as errors
    4852         https://bugs.webkit.org/show_bug.cgi?id=58478
    4853 
    4854         No new tests.
    4855 
    4856         * platform/graphics/qt/GraphicsContext3DQt.cpp:
    4857         (WebCore::GraphicsContext3DInternal::getProcAddress):
    4858          Do not use deprecated QString constructor to avoid warning.
    4859         (WebCore::GraphicsContext3D::reshape):
    4860          Use parenthesis to avoid warning.
    4861 
    4862 2011-04-14  Andrey Kosyakov  <caseq@chromium.org>
    4863 
    4864         Unreviewed. Removed ScrollableArea::paintScrollCorner() added in r83820,
    4865         as it breaks chromium clang build (shadowed by RenderLayer::paintScrollCorner()
    4866         with a different signature)
    4867 
    4868         * platform/ScrollableArea.h:
    4869 
    4870 2011-04-14  Mikhail Naganov  <mnaganov@chromium.org>
    4871 
    4872         Reviewed by Pavel Feldman.
    4873 
    4874         Web Inspector: [Chromium] Ready to move detailed heap snapshots storage and processing into workers.
    4875         https://bugs.webkit.org/show_bug.cgi?id=58534
    4876 
    4877         * inspector/front-end/DetailedHeapshotGridNodes.js:
    4878         (WebInspector.HeapSnapshotGenericObjectNode.prototype.get _countPercent):
    4879         (WebInspector.HeapSnapshotDiffNode):
    4880         (WebInspector.HeapSnapshotDiffNode.prototype.calculateDiff.diffCalculated):
    4881         (WebInspector.HeapSnapshotDiffNode.prototype.calculateDiff):
    4882         (WebInspector.HeapSnapshotDiffNode.prototype.calculateDiff.baseIdsReceived):
    4883         (WebInspector.HeapSnapshotDiffNode.prototype.calculateDiff.idsReceived):
    4884         (WebInspector.HeapSnapshotDiffNode.prototype._createNodesProvider.createProvider):
    4885         (WebInspector.HeapSnapshotDiffNode.prototype._createNodesProvider):
    4886         (WebInspector.HeapSnapshotDiffNode.prototype.get data):
    4887         * inspector/front-end/DetailedHeapshotView.js:
    4888         (WebInspector.HeapSnapshotDiffDataGrid.prototype.setBaseDataSource):
    4889         (WebInspector.HeapSnapshotDiffDataGrid.prototype.populateChildren.baseAggregatesReceived.aggregatesReceived.addNodeIfNonZeroDiff):
    4890         (WebInspector.HeapSnapshotDiffDataGrid.prototype.populateChildren.baseAggregatesReceived.aggregatesReceived):
    4891         (WebInspector.HeapSnapshotDiffDataGrid.prototype.populateChildren):
    4892         * inspector/front-end/HeapSnapshot.js:
    4893         (WebInspector.HeapSnapshot):
    4894         (WebInspector.HeapSnapshot.prototype.dispose):
    4895         (WebInspector.HeapSnapshot.prototype.nodeFieldValuesByIndex):
    4896         (WebInspector.HeapSnapshot.prototype._numbersComparator):
    4897         (WebInspector.HeapSnapshot.prototype.baseSnapshotHasNode):
    4898         (WebInspector.HeapSnapshot.prototype.updateBaseNodeIds):
    4899         (WebInspector.HeapSnapshotsDiff):
    4900         (WebInspector.HeapSnapshotsDiff.prototype.set baseIds):
    4901         (WebInspector.HeapSnapshotsDiff.prototype.set baseSelfSizes):
    4902         (WebInspector.HeapSnapshotsDiff.prototype.calculate):
    4903         * inspector/front-end/HeapSnapshotProxy.js:
    4904         (WebInspector.HeapSnapshotProxy):
    4905         (WebInspector.HeapSnapshotProxy.prototype.createDiff):
    4906         (WebInspector.HeapSnapshotProxy.prototype.createEdgesProvider):
    4907         (WebInspector.HeapSnapshotProxy.prototype.createNodesProvider):
    4908         (WebInspector.HeapSnapshotProxy.prototype.dispose):
    4909         (WebInspector.HeapSnapshotProxy.prototype.nodeFieldValuesByIndex):
    4910         (WebInspector.HeapSnapshotProxy.prototype.pushBaseIds):
    4911         (WebInspector.HeapSnapshotsDiffProxy):
    4912         (WebInspector.HeapSnapshotsDiffProxy.prototype.calculate):
    4913         (WebInspector.HeapSnapshotsDiffProxy.prototype.pushBaseIds):
    4914         (WebInspector.HeapSnapshotsDiffProxy.prototype.pushBaseSelfSizes):
    4915 
    4916 2011-04-14  Ilya Tikhonovsky  <loislo@chromium.org>
    4917 
    4918         Reviewed by Pavel Feldman.
    4919 
    4920         Web Inspector: The list of Database entries is empty if the page opens a database just before Web Inspector.
    4921         https://bugs.webkit.org/show_bug.cgi?id=57833
    4922 
    4923         * inspector/Inspector.json:
    4924         * inspector/InspectorDatabaseAgent.cpp:
    4925         (WebCore::InspectorDatabaseAgent::didOpenDatabase):
    4926         (WebCore::InspectorDatabaseAgent::InspectorDatabaseAgent):
    4927         (WebCore::InspectorDatabaseAgent::setFrontend):
    4928         (WebCore::InspectorDatabaseAgent::enable):
    4929         (WebCore::InspectorDatabaseAgent::disable):
    4930         (WebCore::InspectorDatabaseAgent::getDatabaseTableNames):
    4931         (WebCore::InspectorDatabaseAgent::executeSQL):
    4932         * inspector/InspectorDatabaseAgent.h:
    4933         * inspector/front-end/inspector.js:
    4934 
    4935 2011-04-14  Alexander Pavlov  <apavlov@chromium.org>
    4936 
    4937         Reviewed by Yury Semikhatsky.
    4938 
    4939         Web Inspector: [Chromium] "Remove Breakpoint" menu item is absent in the DOM breakpoints sidebar pane
    4940         https://bugs.webkit.org/show_bug.cgi?id=58530
    4941 
    4942         * inspector/front-end/ElementsPanel.js:
    4943 
    4944 2011-04-14  Alexis Menard  <alexis.menard@openbossa.org>
    4945 
    4946         Reviewed by Dimitri Glazkov.
    4947 
    4948         REGRESSION(r83397) [Qt] When clicking on the media elements they
    4949         grow 2 pixels.
    4950         https://bugs.webkit.org/show_bug.cgi?id=58477
    4951 
    4952         Since r83397 the media controls elements are actual DOM elements.
    4953         Therefore the global style-sheet applies to them. html.css defines
    4954         input[type="button"]:active to be border-style: inset which means
    4955         that when the buttons are active they grow by their border size.
    4956 
    4957         * css/mediaControls.css:
    4958         (audio::-webkit-media-controls-mute-button, video::-webkit-media-controls-mute-button):
    4959         (audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-button):
    4960         (audio::-webkit-media-controls-timeline, video::-webkit-media-controls-timeline):
    4961         (audio::-webkit-media-controls-volume-slider, video::-webkit-media-controls-volume-slider):
    4962         (audio::-webkit-media-controls-seek-back-button, video::-webkit-media-controls-seek-back-button):
    4963         (audio::-webkit-media-controls-seek-forward-button, video::-webkit-media-controls-seek-forward-button):
    4964         (audio::-webkit-media-controls-fullscreen-button, video::-webkit-media-controls-fullscreen-button):
    4965         (audio::-webkit-media-controls-rewind-button, video::-webkit-media-controls-rewind-button):
    4966         (audio::-webkit-media-controls-return-to-realtime-button, video::-webkit-media-controls-return-to-realtime-button):
    4967         (audio::-webkit-media-controls-toggle-closed-captions-button, video::-webkit-media-controls-toggle-closed-captions-button):
    4968         (audio::-webkit-media-controls-volume-slider-mute-button, video::-webkit-media-controls-volume-slider-mute-button):
    4969 
    4970 2011-04-14  Diego Gonzalez  <diegohcg@webkit.org>
    4971 
    4972         Reviewed by Kenneth Rohde Christiansen.
    4973 
    4974         [Qt] Improve disable style for input elements in mobile theme
    4975         https://bugs.webkit.org/show_bug.cgi?id=58480
    4976 
    4977         * platform/qt/QtMobileWebStyle.cpp:
    4978         (QtMobileWebStyle::drawControl):
    4979         (QtMobileWebStyle::drawPrimitive):
    4980         (QtMobileWebStyle::drawComplexControl):
    4981 
    4982 2011-04-14  Pavel Feldman  <pfeldman@google.com>
    4983 
    4984         Reviewed by Yury Semikhatsky.
    4985 
    4986         Web Inspector: restore previous selection in Resources panel upon front-end reopen.
    4987         https://bugs.webkit.org/show_bug.cgi?id=58533
    4988 
    4989         * inspector/front-end/ResourceTreeModel.js:
    4990         (WebInspector.ResourceTreeModel.prototype._processCachedResources):
    4991         * inspector/front-end/ResourcesPanel.js:
    4992         (WebInspector.ResourcesPanel.prototype._initDefaultSelection):
    4993         (WebInspector.ResourcesPanel.prototype._populateResourceTree):
    4994         (WebInspector.ResourcesPanel.prototype._cachedResourcesLoaded):
    4995         * inspector/front-end/inspector.css:
    4996         (#close-button-left, #close-button-right):
    4997 
    4998 2011-04-14  Pavel Feldman  <pfeldman@google.com>
    4999 
    5000         Reviewed by Yury Semikhatsky.
    5001 
    5002         Web Inspector: implement incremental CSS free flow editing.
    5003         https://bugs.webkit.org/show_bug.cgi?id=58529
    5004 
    5005         * inspector/front-end/CSSStyleModel.js:
    5006         (WebInspector.CSSStyleSheet.prototype.setText):
    5007         * inspector/front-end/Resource.js:
    5008         (WebInspector.Resource.prototype.isResourceRevision):
    5009         (WebInspector.Resource.prototype.setContent):
    5010         * inspector/front-end/ResourceView.js:
    5011         (WebInspector.CSSSourceFrame.prototype.isContentEditable):
    5012         (WebInspector.CSSSourceFrame.prototype.editContent):
    5013         (WebInspector.CSSSourceFrame.prototype.endEditing.commitIncrementalEdit):
    5014         (WebInspector.CSSSourceFrame.prototype.endEditing):
    5015         * inspector/front-end/SourceFrame.js:
    5016         (WebInspector.SourceFrame.prototype.commitEditing):
    5017         (WebInspector.SourceFrame.prototype.editContent):
    5018 
    5019 2011-04-14  Ilya Tikhonovsky  <loislo@chromium.org>
    5020 
    5021         Reviewed by Pavel Feldman.
    5022 
    5023         Web Inspector:Duplicated display of storage db when running Web SQL from an iframe.
    5024         https://bugs.webkit.org/show_bug.cgi?id=57830
    5025 
    5026         There was created a new InspectorDatabaseResource entry for every didOpenDatabase event.
    5027         Moreover there is new WebCore::Database for each didOpenDatabase event.
    5028         I decided to change the old instance of the Database to a new one if they both use the same file.
    5029 
    5030         * inspector/InspectorDatabaseAgent.cpp:
    5031         (WebCore::InspectorDatabaseAgent::didOpenDatabase):
    5032         (WebCore::InspectorDatabaseAgent::findByFileName):
    5033         * inspector/InspectorDatabaseAgent.h:
    5034         * inspector/InspectorDatabaseResource.h:
    5035         (WebCore::InspectorDatabaseResource::setDatabase):
    5036 
    5037 2011-04-14  Zoltan Herczeg  <zherczeg@inf.u-szeged.hu>
    5038 
    5039         Reviewed by Dirk Schulze.
    5040 
    5041         svg/W3C-SVG-1.1-SE/svgdom-over-01-f.svg crashes in Debug build
    5042         https://bugs.webkit.org/show_bug.cgi?id=58525
    5043 
    5044         A renderer is created even for those filter primitives
    5045         which parent is not a filter. A rendererIsNeeded() is
    5046         added to SVGFilterPrimitiveStandardAttributes.
    5047 
    5048         Test: svg/W3C-SVG-1.1-SE/svgdom-over-01-f.svg
    5049 
    5050         * svg/SVGFilterPrimitiveStandardAttributes.cpp:
    5051         (WebCore::SVGFilterPrimitiveStandardAttributes::rendererIsNeeded):
    5052         * svg/SVGFilterPrimitiveStandardAttributes.h:
    5053 
    5054 2011-04-14  Alexis Menard  <alexis.menard@openbossa.org>
    5055 
    5056         Reviewed by Andreas Kling.
    5057 
    5058         REGRESSION(r83397) [Qt] When the video is loading and the poster is shown
    5059         all the controls are not visible except the play button.
    5060         https://bugs.webkit.org/show_bug.cgi?id=58484
    5061 
    5062         r83397 introduces a new API hasOwnDisabledStateHandlingFor to handle when
    5063         the controls should be disabled. Qt port paints its own controls, we don't want
    5064         the default implementation to handle the hidden/disable state for us.
    5065 
    5066         Existing tests covers the visibility of the controls.
    5067 
    5068         * platform/qt/RenderThemeQt.h:
    5069         (WebCore::RenderThemeQt::hasOwnDisabledStateHandlingFor):
    5070 
    5071 2011-04-14  Andreas Kling  <andreas.kling@nokia.com>
    5072 
    5073         Reviewed by Kenneth Rohde Christiansen.
    5074 
    5075         [Qt] Disabled form controls don't actually look disabled.
    5076         https://bugs.webkit.org/show_bug.cgi?id=58490
    5077 
    5078         Unsetting QStyle::State_Enabled is not enough to get the "disabled" appearance
    5079         when painting controls. We must also set the QStyleOption's palette's current
    5080         color group.
    5081 
    5082         * platform/qt/RenderThemeQt.cpp:
    5083         (WebCore::RenderThemeQt::initializeCommonQStyleOptions):
    5084 
    5085 2011-04-14  Nancy Piedra  <nancy.piedra@nokia.com>
    5086 
    5087         Reviewed by Benjamin Poulain.
    5088 
    5089         [Qt] MediaPlayerPrivateQt::supportsType does not parse codec parameter
    5090         https://bugs.webkit.org/show_bug.cgi?id=58188
    5091 
    5092         The codec parameter in MediaPlayerPrivateQt::supportsType was not parsed into
    5093         a QStringList. This change parses and trims the list.
    5094 
    5095         An additional test was added to video-can-play-type.html to test parsing of codec parameter.
    5096 
    5097         * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
    5098         (WebCore::MediaPlayerPrivateQt::supportsType):
    5099 
    5100 2011-04-14  Zoltan Herczeg  <zherczeg@webkit.org>
    5101 
    5102         Reviewed by Nikolas Zimmermann.
    5103 
    5104         Optimizing lightning filter to ARM-NEON SIMD instruction set
    5105         https://bugs.webkit.org/show_bug.cgi?id=54456
    5106 
    5107         NEON is the SIMD instruction set for ARM. This instruction set
    5108         allows to speed-up the lighting filter by 4 times on ARM
    5109         (on WebCore/manual-tests/svg-filter-animation.svg).
    5110 
    5111         * WebCore.pri:
    5112         * WebCore.pro:
    5113         * platform/graphics/filters/FELighting.cpp:
    5114         (WebCore::FELighting::drawLighting):
    5115         (WebCore::getPowerCoefficients):
    5116         (WebCore::FELighting::drawInteriorPixels):
    5117         * platform/graphics/filters/FELighting.h:
    5118         * platform/graphics/filters/arm/FELightingNEON.cpp: Added.
    5119         (__attribute__):
    5120         * platform/graphics/filters/arm/FELightingNEON.h: Added.
    5121 
    5122 2011-04-14  Jarkko Sakkinen  <jarkko.j.sakkinen@gmail.com>
    5123 
    5124         Reviewed by Benjamin Poulain.
    5125 
    5126         [Qt] GraphicsContext3D internal buffers are not freed
    5127         https://bugs.webkit.org/show_bug.cgi?id=57530
    5128 
    5129         * platform/graphics/qt/GraphicsContext3DQt.cpp:
    5130         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
    5131 
    5132 2011-04-14  Andy Estes  <aestes@apple.com>
    5133 
    5134         Reviewed by Maciej Stachowiak.
    5135 
    5136         REGRESSION (r75555): Safari RSS sidebar jiggles when scrolling
    5137         https://bugs.webkit.org/show_bug.cgi?id=52988
    5138        
    5139         Safari RSS relies on synchronous dispatch of ScrollEvent to update the
    5140         position of its sidebar during scrolling without producing a jiggling
    5141         effect. Due to r75555, this event is no longer dispatched synchronously
    5142         which results in stale repaints before the onscroll handler gets a
    5143         chance to update the position of the sidebar.
    5144        
    5145         Since it is impractical to resolve this issue in Safari RSS itself, add
    5146         a quirk that restores synchronous ScrollEvent dispatch for Safari RSS.
    5147        
    5148         No tests. This is an app-specific change that doesn't affect web
    5149         content.
    5150 
    5151         * Android.mk: Add platform/RuntimeApplicationChecks.[cpp|h]
    5152         * CMakeLists.txt: Ditto.
    5153         * GNUmakefile.list.am: Ditto.
    5154         * WebCore.gypi: Ditto.
    5155         * WebCore.pro: Ditto.
    5156         * WebCore.vcproj/WebCore.vcproj: Ditto.
    5157         * WebCore.xcodeproj/project.pbxproj: Ditto.
    5158         * dom/EventQueue.cpp:
    5159         (WebCore::shouldDispatchScrollEventSynchronously): Send ScrollEvent
    5160         synchronously if the embedding application is Safari and the document's
    5161         URL scheme is "feed" or "feeds".
    5162         (WebCore::EventQueue::enqueueOrDispatchScrollEvent): Dispatch
    5163         ScrollEvent synchronously if shouldDispatchScrollEventSynchronously()
    5164         returns true.
    5165         * dom/EventQueue.h:
    5166         * page/EventHandler.cpp:
    5167         (WebCore::EventHandler::sendScrollEvent): Call enqueueOrDispatchScrollEvent().
    5168         * platform/RuntimeApplicationChecks.cpp: Added.
    5169         (WebCore::mainBundleIsEqualTo): Add a helper routine for CF platforms
    5170         that checks if the main bundle's identifier is equal to a given string.
    5171         This function returns false for non-CF platforms.
    5172         (WebCore::applicationIsSafari): Call mainBundleIsEqualTo().
    5173         (WebCore::applicationIsAppleMail): Ditto.
    5174         (WebCore::applicationIsMicrosoftMessenger): Ditto.
    5175         (WebCore::applicationIsAdobeInstaller): Ditto.
    5176         (WebCore::applicationIsAOLInstantMessenger): Ditto.
    5177         (WebCore::applicationIsMicrosoftMyDay): Ditto.
    5178         (WebCore::applicationIsMicrosoftOutlook): Ditto.
    5179         * platform/mac/RuntimeApplicationChecks.mm: Removed. Functions moved to
    5180         RuntimeApplicationChecks.cpp.
    5181         * rendering/RenderLayer.cpp:
    5182         (WebCore::RenderLayer::scrollTo): Call enqueueOrDispatchScrollEvent().
    5183         * rendering/RenderListBox.cpp:
    5184         (WebCore::RenderListBox::scrollTo): Call enqueueOrDispatchScrollEvent().
    5185 
    5186 2011-04-14  John Bates  <jbates@google.com>
    5187 
    5188         Reviewed by Kenneth Russell.
    5189 
    5190         Fix bug with adding wrong context to LayerRendererChromium and get rid of RefPtr loop.
    5191         https://bugs.webkit.org/show_bug.cgi?id=58383
    5192 
    5193         * platform/graphics/chromium/LayerRendererChromium.cpp:
    5194         (WebCore::LayerRendererChromium::addChildContext):
    5195         (WebCore::LayerRendererChromium::removeChildContext):
    5196         * platform/graphics/chromium/LayerRendererChromium.h:
    5197 
    5198 2011-04-14  Renata Hodovan  <reni@webkit.org>
    5199 
    5200         Reviewed by Nikolas Zimmermann.
    5201 
    5202         CSS related SVG*Element changes doesn't require relayout
    5203         https://bugs.webkit.org/show_bug.cgi?id=56906
    5204 
    5205         The changes of some CSS related SVGFilter properties e.g. lighting_color, flood_color, flood_opacity
    5206         need only repaint. To avoid the default invalidation of filters in SVGResourceCache::clientStyleChange()
    5207         we need an early return. So RenderSVGResourceFilterPrimitive::styleDidChange() can handle these properties
    5208         via RenderSVGResourceFilter::primitiveAttributeChanged() the same way like we do it for the other SVGAttributes.
    5209 
    5210         Tests: svg/dynamic-updates/SVGFEDiffuseLightingElement-inherit-lighting-color-css-prop.html
    5211                svg/dynamic-updates/SVGFEFloodElement-inherit-flood-color.html
    5212                svg/dynamic-updates/SVGFESpecularLightingElement-inherit-lighting-color-css-prop.html
    5213                svg/dynamic-updates/SVGFESpecularLightingElement-lighting-color-css-prop.html
    5214 
    5215         * platform/graphics/filters/FEFlood.cpp:
    5216         (WebCore::FEFlood::setFloodColor):
    5217         (WebCore::FEFlood::setFloodOpacity):
    5218         * platform/graphics/filters/FEFlood.h:
    5219         * platform/graphics/filters/FESpecularLighting.cpp:
    5220         (WebCore::FESpecularLighting::setLightingColor):
    5221         * platform/graphics/filters/FESpecularLighting.h:
    5222         * rendering/svg/RenderSVGResourceFilterPrimitive.cpp:
    5223         (WebCore::RenderSVGResourceFilterPrimitive::styleDidChange):
    5224         * rendering/svg/RenderSVGResourceFilterPrimitive.h:
    5225         * rendering/svg/SVGResourcesCache.cpp:
    5226         (WebCore::SVGResourcesCache::clientStyleChanged):
    5227         * svg/SVGFEDiffuseLightingElement.cpp:
    5228         (WebCore::SVGFEDiffuseLightingElement::setFilterEffectAttribute):
    5229         * svg/SVGFEFloodElement.cpp:
    5230         (WebCore::SVGFEFloodElement::setFilterEffectAttribute):
    5231         * svg/SVGFEFloodElement.h:
    5232         * svg/SVGFESpecularLightingElement.cpp:
    5233         (WebCore::SVGFESpecularLightingElement::setFilterEffectAttribute):
    5234 
    5235 2011-04-13  James Robinson  <jamesr@chromium.org>
    5236 
    5237         Reviewed by Simon Fraser.
    5238 
    5239         Allow setting composited backing stores for scrollbars and scroll corners
    5240         https://bugs.webkit.org/show_bug.cgi?id=57202
    5241 
    5242         This teaches ScrollableArea to manage GraphicsLayer backings for the two scrollbars and
    5243         scroll corner. ScrollableArea can position the layers and route invalidation and paint calls to
    5244         the correct place but depends on subclasses to manage the lifetime of the GraphicsLayers and
    5245         place them into the correct place in the hierarchy.
    5246 
    5247         FrameView and RenderLayerCompositor updated to provide layers for frames with overflow controls.
    5248         that need them.  The overflow control layers are siblings of the frame's clip layer.
    5249 
    5250         RenderLayer and RenderLayerBacking updated to provide overflow control layers for layers that
    5251         need them.  Currently, layers are only created for overflow controls on layers that are already composited
    5252         for other reasons and not necessarily for every RenderLayer with overflow.  Overflow control layers are siblings
    5253         of the RenderLayerBacking's clipping layer if it exists, otherwise they are siblings of the layer's normal
    5254         children.
    5255 
    5256         Tested by a number of compositing/ tests that have scrollbars and by these new tests:
    5257                compositing/iframes/repaint-after-losing-scrollbars.html
    5258                compositing/overflow/clip-content-under-overflow-controls.html
    5259                compositing/overflow/content-gains-scrollbars.html
    5260                compositing/overflow/content-loses-scrollbars.html
    5261                compositing/overflow/overflow-scrollbar-layers.html
    5262                compositing/overflow/repaint-after-losing-scrollbars.html
    5263 
    5264         * css/CSSStyleSelector.cpp:
    5265         (WebCore::CSSStyleSelector::SelectorChecker::checkScrollbarPseudoClass):
    5266         * page/FrameView.cpp:
    5267         (WebCore::FrameView::layerForHorizontalScrollbar):
    5268         (WebCore::FrameView::layerForVerticalScrollbar):
    5269         (WebCore::FrameView::layerForScrollCorner):
    5270         (WebCore::FrameView::syncCompositingStateForThisFrame):
    5271         (WebCore::FrameView::contentsResized):
    5272         (WebCore::FrameView::updateScrollCorner):
    5273         * page/FrameView.h:
    5274         * platform/ScrollView.cpp:
    5275         (WebCore::ScrollView::wheelEvent):
    5276         * platform/ScrollView.h:
    5277         * platform/ScrollableArea.cpp:
    5278         (WebCore::ScrollableArea::invalidateScrollbar):
    5279         (WebCore::ScrollableArea::invalidateScrollCorner):
    5280         * platform/ScrollableArea.h:
    5281         (WebCore::ScrollableArea::paintScrollCorner):
    5282         (WebCore::ScrollableArea::layerForHorizontalScrollbar):
    5283         (WebCore::ScrollableArea::layerForVerticalScrollbar):
    5284         (WebCore::ScrollableArea::layerForScrollCorner):
    5285         * platform/Scrollbar.cpp:
    5286         (WebCore::Scrollbar::invalidateRect):
    5287         * platform/Scrollbar.h:
    5288         * platform/ScrollbarThemeComposite.cpp:
    5289         (WebCore::ScrollbarThemeComposite::paint):
    5290         * platform/graphics/chromium/ContentLayerChromium.cpp:
    5291         (WebCore::ContentLayerChromium::paintContentsIfDirty):
    5292         * platform/graphics/chromium/LayerRendererChromium.cpp:
    5293         (WebCore::LayerRendererChromium::create):
    5294         (WebCore::LayerRendererChromium::LayerRendererChromium):
    5295         (WebCore::LayerRendererChromium::invalidateRootLayerRect):
    5296         (WebCore::LayerRendererChromium::drawRootLayer):
    5297         (WebCore::LayerRendererChromium::setViewport):
    5298         (WebCore::LayerRendererChromium::updateAndDrawLayers):
    5299         (WebCore::LayerRendererChromium::updateLayers):
    5300         (WebCore::LayerRendererChromium::setRootLayer):
    5301         (WebCore::LayerRendererChromium::cleanupSharedObjects):
    5302         * platform/graphics/chromium/LayerRendererChromium.h:
    5303         * platform/mac/ScrollAnimatorMac.mm:
    5304         (-[ScrollbarPartAnimation setCurrentProgress:]):
    5305         * platform/win/PopupMenuWin.h:
    5306         (WebCore::PopupMenuWin::invalidateScrollCornerRect):
    5307         (WebCore::PopupMenuWin::isScrollCornerVisible):
    5308         (WebCore::PopupMenuWin::scrollCornerRect):
    5309         * rendering/RenderLayer.cpp:
    5310         (WebCore::RenderLayer::scrollCornerRect):
    5311         (WebCore::RenderLayer::scrollCornerAndResizerRect):
    5312         (WebCore::RenderLayer::isScrollCornerVisible):
    5313         (WebCore::RenderLayer::invalidateScrollbarRect):
    5314         (WebCore::RenderLayer::invalidateScrollCornerRect):
    5315         (WebCore::RenderLayer::positionOverflowControls):
    5316         (WebCore::RenderLayer::paintOverflowControls):
    5317         (WebCore::RenderLayer::paintScrollCorner):
    5318         (WebCore::RenderLayer::layerForHorizontalScrollbar):
    5319         (WebCore::RenderLayer::layerForVerticalScrollbar):
    5320         (WebCore::RenderLayer::layerForScrollCorner):
    5321         * rendering/RenderLayer.h:
    5322         (WebCore::RenderLayer::horizontalScrollbar):
    5323         (WebCore::RenderLayer::verticalScrollbar):
    5324         * rendering/RenderLayerBacking.cpp:
    5325         (WebCore::RenderLayerBacking::~RenderLayerBacking):
    5326         (WebCore::RenderLayerBacking::updateAfterWidgetResize):
    5327         (WebCore::RenderLayerBacking::updateGraphicsLayerConfiguration):
    5328         (WebCore::RenderLayerBacking::updateInternalHierarchy):
    5329         (WebCore::RenderLayerBacking::updateClippingLayers):
    5330         (WebCore::RenderLayerBacking::requiresHorizontalScrollbarLayer):
    5331         (WebCore::RenderLayerBacking::requiresVerticalScrollbarLayer):
    5332         (WebCore::RenderLayerBacking::requiresScrollCornerLayer):
    5333         (WebCore::RenderLayerBacking::updateOverflowControlsLayers):
    5334         (WebCore::paintScrollbar):
    5335         (WebCore::RenderLayerBacking::paintContents):
    5336         * rendering/RenderLayerBacking.h:
    5337         (WebCore::RenderLayerBacking::layerForHorizontalScrollbar):
    5338         (WebCore::RenderLayerBacking::layerForVerticalScrollbar):
    5339         (WebCore::RenderLayerBacking::layerForScrollCorner):
    5340         * rendering/RenderLayerCompositor.cpp:
    5341         (WebCore::RenderLayerCompositor::updateCompositingLayers):
    5342         (WebCore::RenderLayerCompositor::rebuildCompositingLayerTree):
    5343         (WebCore::RenderLayerCompositor::frameViewDidChangeLocation):
    5344         (WebCore::RenderLayerCompositor::frameViewDidChangeSize):
    5345         (WebCore::RenderLayerCompositor::rootPlatformLayer):
    5346         (WebCore::RenderLayerCompositor::updateRootLayerPosition):
    5347         (WebCore::paintScrollbar):
    5348         (WebCore::RenderLayerCompositor::paintContents):
    5349         (WebCore::shouldCompositeOverflowControls):
    5350         (WebCore::RenderLayerCompositor::requiresHorizontalScrollbarLayer):
    5351         (WebCore::RenderLayerCompositor::requiresVerticalScrollbarLayer):
    5352         (WebCore::RenderLayerCompositor::requiresScrollCornerLayer):
    5353         (WebCore::RenderLayerCompositor::updateOverflowControlsLayers):
    5354         (WebCore::RenderLayerCompositor::ensureRootPlatformLayer):
    5355         (WebCore::RenderLayerCompositor::destroyRootPlatformLayer):
    5356         (WebCore::RenderLayerCompositor::detachRootPlatformLayer):
    5357         * rendering/RenderLayerCompositor.h:
    5358         (WebCore::RenderLayerCompositor::layerForHorizontalScrollbar):
    5359         (WebCore::RenderLayerCompositor::layerForVerticalScrollbar):
    5360         (WebCore::RenderLayerCompositor::layerForScrollCorner):
    5361         * rendering/RenderListBox.h:
    5362         (WebCore::RenderListBox::isScrollCornerVisible):
    5363         (WebCore::RenderListBox::scrollCornerRect):
    5364         (WebCore::RenderListBox::invalidateScrollCornerRect):
    5365 
    5366 2011-04-13  Cary Clark  <caryclark@chromium.org>
    5367  
    5368          Reviewed by Eric Seidel.
    5369          
    5370          [Chromium] allow concurrent Skia and CG datatypes
    5371          https://bugs.webkit.org/show_bug.cgi?id=57848
    5372 
    5373          The Chromium port is experimenting with running Skia as the WebKit rendering engine, and CoreGraphics
    5374          as the UI rendering engine. This permits Chromium to unify its graphics story while leveraging OS X to
    5375          draw elements like scrollbars and buttons.
    5376  
    5377          Restructure the common graphics units, points, and rectangles, to convert to Sk-types and CG-types at
    5378          the same time. This requires only adding to the existing preprocessor commands, and will have no effect
    5379          on any existing platform.
    5380          
    5381          Eventually, WTF_USE_SKIA_ON_MAC_CHROME will be defined to enable this, but for now, there's no
    5382          functional change.
    5383  
    5384          No new tests as this provides no new functionality.
    5385  
    5386          * platform/graphics/FloatPoint.h: Add USE(SKIA_ON_MAC_CHROME) to make CG type and operators visible
    5387          to a Skia-based Chrome Mac build.
    5388          * platform/graphics/FloatRect.h: Ditto.
    5389          * platform/graphics/FloatSize.h: Ditto.
    5390          * platform/graphics/IntPoint.h: Ditto.
    5391          * platform/graphics/IntRect.h: Ditto.
    5392          * platform/graphics/IntSize.h: Ditto.
    5393          * platform/graphics/cg/FloatPointCG.cpp: Ditto.
    5394          * platform/graphics/cg/FloatRectCG.cpp: Ditto.
    5395          * platform/graphics/cg/FloatSizeCG.cpp: Ditto.
    5396          * platform/graphics/cg/IntPointCG.cpp: Ditto.
    5397          * platform/graphics/cg/IntRectCG.cpp: Ditto.
    5398          * platform/graphics/cg/IntSizeCG.cpp: Ditto.
    5399  
    5400 2011-04-13  Roland Steiner  <rolandsteiner@chromium.org>
    5401 
    5402         Reviewed by Dimitri Glazkov.
    5403 
    5404         Bug 58460 - childTypeAllowed() should be const
    5405         https://bugs.webkit.org/show_bug.cgi?id=58460
    5406 
    5407         Made childTypeAllowed const.
    5408 
    5409         No new tests. (minor refactoring).
    5410 
    5411         * dom/Attr.cpp:
    5412         (WebCore::Attr::childTypeAllowed):
    5413         * dom/Attr.h:
    5414         * dom/CDATASection.cpp:
    5415         (WebCore::CDATASection::childTypeAllowed):
    5416         * dom/CDATASection.h:
    5417         * dom/Comment.cpp:
    5418         (WebCore::Comment::childTypeAllowed):
    5419         * dom/Comment.h:
    5420         * dom/Document.cpp:
    5421         (WebCore::Document::childTypeAllowed):
    5422         * dom/Document.h:
    5423         * dom/DocumentFragment.cpp:
    5424         (WebCore::DocumentFragment::childTypeAllowed):
    5425         * dom/DocumentFragment.h:
    5426         * dom/Element.cpp:
    5427         (WebCore::Element::childTypeAllowed):
    5428         * dom/Element.h:
    5429         * dom/Node.h:
    5430         (WebCore::Node::childTypeAllowed):
    5431         * dom/Notation.cpp:
    5432         (WebCore::Notation::childTypeAllowed):
    5433         * dom/Notation.h:
    5434         * dom/ProcessingInstruction.cpp:
    5435         (WebCore::ProcessingInstruction::childTypeAllowed):
    5436         * dom/ProcessingInstruction.h:
    5437         * dom/Text.cpp:
    5438         (WebCore::Text::childTypeAllowed):
    5439         * dom/Text.h:
    5440 
    5441 2011-04-13  Jon Lee  <jonlee@apple.com>
    5442 
    5443         Reviewed by Maciej Stachowiak.
    5444 
    5445         REGRESSION(r81880): Paste menu is disabled for many edit fields (yahoo and google search, yahoo mail msg, forms, etc)
    5446         https://bugs.webkit.org/show_bug.cgi?id=58284
    5447         <rdar://problem/9246149>
    5448 
    5449         * WebCore.exp.in: Exporting EditingBehavior.h for use in WebKit2
    5450         * editing/EditingBehavior.h:
    5451         (WebCore::EditingBehavior::shouldClearSelectionWhenLosingWebPageFocus): moving the platform-specific code out of an #ifdef and into this class for run-time instead of compile-time checking
    5452 
    5453 2011-04-13  Yael Aharon  <yael.aharon@nokia.com>
    5454 
    5455         Reviewed by Eric Seidel.
    5456 
    5457         constructLine should take bidiRuns as a parameter
    5458         https://bugs.webkit.org/show_bug.cgi?id=58458
    5459 
    5460         Pass bidiRuns to constructLine and move reachedEndOfTextRenderer so that it is
    5461         declared before constructLine.
    5462 
    5463         No new tests as this is refactoring only.
    5464 
    5465         * rendering/RenderBlock.h:
    5466         * rendering/RenderBlockLineLayout.cpp:
    5467         (WebCore::reachedEndOfTextRenderer):
    5468         (WebCore::RenderBlock::constructLine):
    5469         (WebCore::RenderBlock::layoutInlineChildren):
    5470 
    5471 2011-04-13  Cary Clark  <caryclark@google.com>
    5472 
    5473         Reviewed by Eric Seidel.
    5474 
    5475         Allow CG Font support in Chrome Darwin build using Skia
    5476         https://bugs.webkit.org/show_bug.cgi?id=58321
    5477        
    5478         This allows Chrome to use Skia to do WebKit rendering, while
    5479         using CoreGraphics for glyph creation and computing font metrics.
    5480         It relies on an undefined platform token, WTF_USE_SKIA_ON_MAC_CHROME.
    5481 
    5482         No new tests needed, no functionality change.
    5483 
    5484         * loader/cache/CachedFont.cpp: Make CGFontRef functions and
    5485         CG-specific font code available to Chrome builds on Darwin using Skia.
    5486         * platform/graphics/FontPlatformData.h: Ditto.
    5487         (WebCore::FontPlatformData::hash): Ditto.
    5488         * platform/graphics/GlyphBuffer.h: Ditto.
    5489         (WebCore::GlyphBuffer::advanceAt): Ditto.
    5490         (WebCore::GlyphBuffer::add): Ditto.
    5491         (WebCore::GlyphBuffer::expandLastAdvance): Ditto.
    5492         * platform/graphics/SimpleFontData.h: Ditto.
    5493 
    5494 2011-04-13  Alexis Menard  <alexis.menard@openbossa.org>
    5495 
    5496         Reviewed by Dimitri Glazkov.
    5497 
    5498         The timeline of the video controls is unusable if the multimedia backend returns a
    5499         infinite duration.
    5500         https://bugs.webkit.org/show_bug.cgi?id=58452
    5501 
    5502         In case the underlaying media element backend returns crazy values, e.g.
    5503         an infinite duration for the video we need to bail out and hide the timeline
    5504         rather than in a broken state where you can't use it. The previous code was just
    5505         checking if the duration was NaN.
    5506 
    5507         We can't control from JS what the backend will return as a duration for the video
    5508         so we can't make an test for it.
    5509 
    5510         * html/shadow/MediaControlRootElement.cpp:
    5511         (WebCore::MediaControlRootElement::reset):
    5512 
    5513 2011-04-13  Abhishek Arya  <inferno@chromium.org>
    5514 
    5515         Reviewed by James Robinson.
    5516 
    5517         Draw outline for render widgets.
    5518         https://bugs.webkit.org/show_bug.cgi?id=57439
    5519 
    5520         Test: fast/frames/iframe-outline.html
    5521 
    5522         * rendering/RenderWidget.cpp:
    5523         (WebCore::RenderWidget::paint):
    5524 
    5525 2011-04-13  Kent Tamura  <tkent@chromium.org>
    5526 
    5527         Reviewed by Dimitri Glazkov.
    5528 
    5529         Change the representation of ShadowRoot nodes in render tree dumps
    5530         https://bugs.webkit.org/show_bug.cgi?id=58432
    5531 
    5532         Show "#shadow-root" for ShadorRoot nodes instead of "#document-fragment"
    5533         in DRT results.
    5534 
    5535         No new tests. This change doesn't affect existing tests yet.
    5536 
    5537         * dom/DocumentFragment.h:
    5538           Make nodeName() protected in order that ShdowRoot can override it.
    5539         * dom/ShadowRoot.cpp:
    5540         (WebCore::ShadowRoot::nodeName): Returns "#shadow-root".
    5541         * dom/ShadowRoot.h: Declare nodeName().
    5542         * rendering/RenderTreeAsText.cpp:
    5543         (WebCore::nodePosition): Don't show "child N " if the node is a shadow boundary.
    5544           We don't use isShadowRoot() here because the legacy shadow root nodes
    5545           return true for isShadowRoot() and we don't want to update existing
    5546           test results.
    5547 
    5548 2011-04-13  Ryosuke Niwa  <rniwa@webkit.org>
    5549 
    5550         Reviewed by Eric Seidel.
    5551 
    5552         Merge LineOffsets and LineWidth
    5553         https://bugs.webkit.org/show_bug.cgi?id=58411
    5554 
    5555         Merged lineOffsets into LineWidth.
    5556 
    5557         After this patch, available width is updated in positionNewFloatOnLine via updateAvailableWidth and
    5558         shrinkAvailableWidthForNewFloatIfNeeded instead of findNextBreak. This is correct because
    5559         - LineOffsets::update and LineOffsets::shrinkWidthForNewFloatIfNeeded were only called in positionNewFloatOnLine
    5560           besides LineOffsets' constructor
    5561         - positionNewFloatOnLine was only called in skipLeadingWhitespace and findNextLineBreak
    5562         - findNextLineBreak updates the available width whenever it calls skipLeadingWhitespace or positionNewFloatOnLine
    5563 
    5564         * rendering/RenderBlock.h:
    5565         * rendering/RenderBlockLineLayout.cpp:
    5566         (WebCore::RenderBlock::skipLeadingWhitespace): Takes LineWidth instead of LineOffset
    5567         (WebCore::LineWidth::LineWidth): Takes RenderBlock* and boolean isFirstLine; call updateAvailableWidth
    5568         because the initial available width was used to be computed from lineOffsets.width().
    5569         (WebCore::LineWidth::computeAvailableWidthFromLeftAndRight): Added.
    5570         (WebCore::LineWidth::updateAvailableWidth): Renamed from LineOffsets::update; this function now updates
    5571         m_availableWidth via computeAvailableWidthFromLeftAndRight as well as m_left and m_right.
    5572         (WebCore::LineWidth::shrinkAvailableWidthForNewFloatIfNeeded): Renamed from
    5573         LineOffsets::shrinkWidthForNewFloatIfNeeded. This function also calls computeAvailableWidthFromLeftAndRight.
    5574         (WebCore::LineWidth::applyOverhang): No longer takes arguments since both arguments were member variables
    5575         of LineOffsets.
    5576         (WebCore::LineWidth::fitBelowFloats): No longer takes isFirstLine.
    5577         (WebCore::RenderBlock::findNextLineBreak): Uses LineWidth.
    5578         (WebCore::RenderBlock::positionNewFloatOnLine): Takes a reference to LineWidth.
    5579 
    5580 2011-04-13  Ryuan Choi  <ryuan.choi@samsung.com>
    5581 
    5582         Reviewed by Kenneth Rohde Christiansen.
    5583 
    5584         [CMAKE] Separate DerivedSources.
    5585         https://bugs.webkit.org/show_bug.cgi?id=58427
    5586 
    5587         No new tests since these are refactoring only.
    5588 
    5589         * CMakeLists.txt:
    5590         * UseJSC.cmake:
    5591 
    5592 2011-04-13  Noel Gordon  <noel.gordon@gmail.com>
    5593 
    5594         Reviewed by Kenneth Russell.
    5595 
    5596         [chromium] Fix canvas.toDataURL mimeType assertion
    5597         https://bugs.webkit.org/show_bug.cgi?id=58425
    5598 
    5599         Following r81213, reassert expected toDataURL() mimeType, remove an unused variable.
    5600 
    5601         No new tests. Covered by existing tests.
    5602 
    5603         * platform/graphics/skia/ImageBufferSkia.cpp:
    5604         (WebCore::ImageToDataURL):
    5605         (WebCore::ImageBuffer::toDataURL):
    5606 
    5607 2011-04-12  Luiz Agostini  <luiz.agostini@openbossa.org>
    5608 
    5609         Reviewed by Andreas Kling.
    5610 
    5611         [Qt] QNetworkReplyHandler refactoring: remove nested event loop.
    5612         https://bugs.webkit.org/show_bug.cgi?id=58375
    5613 
    5614         As QNAM now makes actual synchronous loads there is no need for a nested event loop
    5615         in ResourceHandleQt.
    5616 
    5617         Moving the call for QNetworkReplyWrapper::synchronousLoad from
    5618         ResourceHandle::loadResourceSynchronously to QNetworkReplyHandler::start for the
    5619         redirections to work in synchronous requests.
    5620 
    5621         * platform/network/qt/QNetworkReplyHandler.cpp:
    5622         (WebCore::QNetworkReplyHandler::start):
    5623         * platform/network/qt/QNetworkReplyHandler.h:
    5624         * platform/network/qt/ResourceHandleQt.cpp:
    5625         (WebCore::WebCoreSynchronousLoader::WebCoreSynchronousLoader):
    5626         (WebCore::WebCoreSynchronousLoader::didReceiveResponse):
    5627         (WebCore::WebCoreSynchronousLoader::didReceiveData):
    5628         (WebCore::WebCoreSynchronousLoader::didFinishLoading):
    5629         (WebCore::WebCoreSynchronousLoader::didFail):
    5630         (WebCore::ResourceHandle::loadResourceSynchronously):
    5631 
    5632 2011-04-13  Roland Steiner  <rolandsteiner@chromium.org>
    5633 
    5634         Reviewed by David Hyatt.
    5635 
    5636         Bug 55930 - Incorrect handling of 'display:' property within nested <ruby> tags
    5637         https://bugs.webkit.org/show_bug.cgi?id=55930
    5638 
    5639         Non-inline :before/:after generated content is now wrapped with an anonymous inline block.
    5640 
    5641         Also, added an additional check in RenderObjectChildList::updateBeforeAfterContent()
    5642         to verify that the created render object is legal under the parent.
    5643 
    5644         Tests: fast/ruby/after-block-doesnt-crash.html
    5645                fast/ruby/after-table-doesnt-crash.html
    5646                fast/ruby/before-block-doesnt-crash.html
    5647                fast/ruby/before-table-doesnt-crash.html
    5648 
    5649         * rendering/RenderObjectChildList.cpp:
    5650         (WebCore::RenderObjectChildList::updateBeforeAfterContent):
    5651         * rendering/RenderRuby.cpp:
    5652         (WebCore::isAnonymousRubyInlineBlock):
    5653         (WebCore::rubyBeforeBlock):
    5654         (WebCore::rubyAfterBlock):
    5655         (WebCore::createAnonymousRubyInlineBlock):
    5656         (WebCore::lastRubyRun):
    5657         (WebCore::RenderRubyAsInline::addChild):
    5658         (WebCore::RenderRubyAsInline::removeChild):
    5659         (WebCore::RenderRubyAsBlock::addChild):
    5660         (WebCore::RenderRubyAsBlock::removeChild):
    5661         * rendering/RenderRuby.h:
    5662 
    5663 2011-04-13  Matthew Delaney  <mdelaney@apple.com>
    5664 
    5665         Reviewed by Simon Fraser.
    5666 
    5667         [CG] Refactor get/putImageData routines from ImageBufferCG into a (new) ImageBufferDataCG.cpp
    5668         https://bugs.webkit.org/show_bug.cgi?id=58084
    5669 
    5670         No new tests. Does not affect outward behavior.
    5671 
    5672         * WebCore.gypi:
    5673         * WebCore.vcproj/WebCore.vcproj:
    5674         * WebCore.xcodeproj/project.pbxproj:
    5675         * platform/graphics/ImageBuffer.h:
    5676         * platform/graphics/ImageBufferData.h: Added.
    5677         * platform/graphics/cairo/ImageBufferData.h: Removed.
    5678         * platform/graphics/cairo/ImageBufferDataCairo.h: Added.
    5679         * platform/graphics/cg/ImageBufferCG.cpp:
    5680         (WebCore::ImageBuffer::getUnmultipliedImageData):
    5681         (WebCore::ImageBuffer::getPremultipliedImageData):
    5682         (WebCore::ImageBuffer::putUnmultipliedImageData):
    5683         (WebCore::ImageBuffer::putPremultipliedImageData):
    5684         * platform/graphics/cg/ImageBufferDataCG.cpp: Added.
    5685         (WebCore::ImageBufferData::ImageBufferData):
    5686         (WebCore::haveVImageRoundingErrorFix):
    5687         (WebCore::ImageBufferData::getData):
    5688         (WebCore::ImageBufferData::putData):
    5689         * platform/graphics/cg/ImageBufferData.h: Removed.
    5690         * platform/graphics/cg/ImageBufferDataCG.h: Added.
    5691         * platform/graphics/chromium/ImageBufferData.h: Removed.
    5692         * platform/graphics/chromium/ImageBufferDataSkia.h: Added.
    5693         * platform/graphics/haiku/ImageBufferData.h: Removed.
    5694         * platform/graphics/haiku/ImageBufferDataHaiku.h: Added.
    5695         * platform/graphics/qt/ImageBufferData.h: Removed.
    5696         * platform/graphics/qt/ImageBufferDataQt.h: Added.
    5697         * platform/graphics/wince/ImageBufferData.h: Removed.
    5698         * platform/graphics/wince/ImageBufferDataWince.h: Added.
    5699         * platform/graphics/wx/ImageBufferData.h: Removed.
    5700         * platform/graphics/wx/ImageBufferDataWx.h: Added.
    5701 
    5702 2011-04-13  Simon Fraser  <simon.fraser@apple.com>
    5703 
    5704         Reviewed by Dan Bernstein.
    5705 
    5706         Remove std:: prefix on some min/max calls
    5707         https://bugs.webkit.org/show_bug.cgi?id=58493
    5708 
    5709         Remove std:: namespacing on min/max in favor of a 'using' clause.
    5710 
    5711         * platform/graphics/RoundedIntRect.cpp:
    5712         (WebCore::RoundedIntRect::Radii::expand):
    5713         * rendering/style/RenderStyle.cpp:
    5714         (WebCore::calcConstraintScaleFor):
    5715 
    5716 2011-04-13  Alexis Menard  <alexis.menard@openbossa.org>
    5717 
    5718         Reviewed by Andreas Kling.
    5719 
    5720         Replace our own RenderThemeQt::getMediaElementFromRenderObject by
    5721         MediaControlsElement::toParentMediaElement used by every other port.
    5722 
    5723         * platform/qt/RenderThemeQt.cpp:
    5724         (WebCore::RenderThemeQt::paintMediaFullscreenButton):
    5725         (WebCore::RenderThemeQt::paintMediaMuteButton):
    5726         (WebCore::RenderThemeQt::paintMediaPlayButton):
    5727         (WebCore::RenderThemeQt::paintMediaSliderTrack):
    5728         * platform/qt/RenderThemeQt.h:
    5729 
    5730 2011-04-13  Geoffrey Garen  <ggaren@apple.com>
    5731 
    5732         Reviewed by Oliver Hunt.
    5733 
    5734         Switched DOM wrappers to use HashMap of Weak<T> instead of WeakGCMap<T>
    5735         https://bugs.webkit.org/show_bug.cgi?id=58482
    5736 
    5737         This will allow wrappers to make individual decisions about their lifetimes.
    5738 
    5739         * bindings/js/DOMWrapperWorld.cpp:
    5740         (WebCore::DOMWrapperWorld::DOMWrapperWorld):
    5741         (WebCore::JSNodeHandleOwner::isReachableFromOpaqueRoots):
    5742         (WebCore::JSNodeHandleOwner::finalize):
    5743         (WebCore::DOMObjectHandleOwner::isReachableFromOpaqueRoots):
    5744         (WebCore::DOMObjectHandleOwner::finalize):
    5745         * bindings/js/DOMWrapperWorld.h:
    5746         (WebCore::JSNodeHandleOwner::JSNodeHandleOwner):
    5747         (WebCore::DOMObjectHandleOwner::DOMObjectHandleOwner):
    5748         (WebCore::DOMWrapperWorld::jsNodeHandleOwner):
    5749         (WebCore::DOMWrapperWorld::domObjectHandleOwner): Added handle owners
    5750         for JSNode and DOMObject, our two hash table values. For now, the owners
    5751         just take care to remove their handles from their respective hash tables.
    5752        
    5753         Changed the hash table type to be a standard HashMap of weak pointers,
    5754         instead of a WeakGCMap.
    5755 
    5756         * bindings/js/JSDOMBinding.cpp:
    5757         (WebCore::getCachedDOMObjectWrapper):
    5758         (WebCore::cacheDOMObjectWrapper):
    5759         (WebCore::cacheDOMNodeWrapper):
    5760         (WebCore::isObservableThroughDOM):
    5761         (WebCore::markDOMNodesForDocument):
    5762         (WebCore::takeWrappers):
    5763         (WebCore::updateDOMNodeDocument):
    5764         (WebCore::markDOMObjectWrapper):
    5765         (WebCore::markDOMNodeWrapper): Updated wrapper hash table access to
    5766         accomodate its new data type.
    5767 
    5768         * bindings/js/JSNodeCustom.h:
    5769         (WebCore::getCachedDOMNodeWrapper): Ditto.
    5770 
    5771         * dom/Document.h: Updated declaration to match the above.
    5772 
    5773 2011-04-13  Sam Weinig  <sam@webkit.org>
    5774 
    5775         Fix Mac builds.
    5776 
    5777         * WebCore.exp.in:
    5778 
    5779 2011-04-13  Sam Weinig  <sam@webkit.org>
    5780 
    5781         Reviewed by Gavin Barraclough.
    5782 
    5783         WebKit2 doesn't keep overlay scrollers shown while scroll gesture held
    5784         <rdar://problem/9260518>
    5785 
    5786         Notify the scrollbar painter controller when gesture scrolls begin and end.
    5787 
    5788         * WebCore.exp.in:
    5789         * platform/mac/ScrollAnimatorMac.h:
    5790         * platform/mac/ScrollAnimatorMac.mm:
    5791         (WebCore::ScrollAnimatorMac::didBeginScrollGesture):
    5792         (WebCore::ScrollAnimatorMac::didEndScrollGesture):
    5793         (WebCore::ScrollAnimatorMac::beginScrollGesture):
    5794         (WebCore::ScrollAnimatorMac::endScrollGesture):
    5795         * platform/mac/WebCoreSystemInterface.h:
    5796         * platform/mac/WebCoreSystemInterface.mm:
    5797 
    5798 2011-04-13  Eric Carlson  <eric.carlson@apple.com>
    5799 
    5800         Reviewed by Maciej Stachowiak.
    5801 
    5802         MediaPlayerPrivateAVFoundationObjC should adopt [AVURLAsset isPlayableExtendedMIMEType:]
    5803         https://bugs.webkit.org/show_bug.cgi?id=58451
    5804         <rdar://problem/9278468>
    5805 
    5806         No new tests, supported MIME types haven't changed.
    5807 
    5808         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm:
    5809         (WebCore::MediaPlayerPrivateAVFoundationObjC::supportsType): Use
    5810         [AVURLAsset isPlayableExtendedMIMEType] instead of just the list of types.
    5811 
    5812 2011-04-13  Eric Carlson  <eric.carlson@apple.com>
    5813 
    5814         Reviewed by Alexey Proskuryakov.
    5815 
    5816         Media engine fallback doesn't always work
    5817         https://bugs.webkit.org/show_bug.cgi?id=58462
    5818 
    5819         No new tests, this was verified manually with the url noted in the bug.
    5820 
    5821         * platform/graphics/MediaPlayer.cpp:
    5822         (WebCore::MediaPlayer::networkStateChanged):
    5823 
    5824 2011-04-13  Zhenyao Mo  <zmo@google.com>
    5825 
    5826         Reviewed by Kenneth Russell.
    5827 
    5828         Extension3D needs to provide a way to check if an extension is enabled
    5829         https://bugs.webkit.org/show_bug.cgi?id=58410
    5830 
    5831         * html/canvas/WebGLRenderingContext.cpp:
    5832         (WebCore::WebGLRenderingContext::setupFlags): Use isEnabled() instead of supports().
    5833         * platform/graphics/Extensions3D.h: Add isEnabled().
    5834         * platform/graphics/chromium/Extensions3DChromium.h: Ditto.
    5835         * platform/graphics/opengl/Extensions3DOpenGL.cpp: Ditto.
    5836         (WebCore::Extensions3DOpenGL::isEnabled):
    5837         * platform/graphics/opengl/Extensions3DOpenGL.h: Ditto.
    5838         * platform/graphics/qt/Extensions3DQt.cpp: Ditto.
    5839         (WebCore::Extensions3DQt::isEnabled):
    5840         * platform/graphics/qt/Extensions3DQt.h: Ditto.
    5841 
    5842 2011-04-13  Oliver Hunt  <oliver@apple.com>
    5843 
    5844         Reviewed by Gavin Barraclough.
    5845 
    5846         Make PropertyMapEntry use a WriteBarrier for specificValue
    5847         https://bugs.webkit.org/show_bug.cgi?id=58407
    5848 
    5849         Pass JSGlobalData reference on to APIs that now need them
    5850 
    5851         * bindings/js/JSDOMWindowShell.h:
    5852         (WebCore::JSDOMWindowShell::setWindow):
    5853         * bindings/js/JSHTMLDocumentCustom.cpp:
    5854         (WebCore::JSHTMLDocument::all):
    5855 
    5856 2011-04-12  Pavel Podivilov  <podivilov@chromium.org>
    5857 
    5858         Reviewed by Pavel Feldman.
    5859 
    5860         Web Inspector: fix source mapping for de-obfuscated scripts.
    5861         https://bugs.webkit.org/show_bug.cgi?id=58231
    5862 
    5863         * inspector/front-end/ScriptFormatterWorker.js:
    5864         (buildMapping):
    5865         * inspector/front-end/SourceFile.js:
    5866         (WebInspector.SourceMapping):
    5867         (WebInspector.SourceMapping.prototype.sourceLineToScriptLocation):
    5868         (WebInspector.SourceMapping.prototype._sourceLocationToScriptLocation):
    5869         (WebInspector):
    5870         (WebInspector.FormattedSourceMapping):
    5871         (WebInspector.FormattedSourceMapping.prototype.scriptLocationToSourceLine):
    5872         (WebInspector.FormattedSourceMapping.prototype.sourceLineToScriptLocation):
    5873 
    5874 2011-04-13  Mario Sanchez Prada  <msanchez@igalia.com>
    5875 
    5876         Reviewed by Martin Robinson.
    5877 
    5878         [GTK] Consider editable and non editable nodes when calculating selection offsets
    5879         https://bugs.webkit.org/show_bug.cgi?id=58431
    5880 
    5881         Use firstPositionInOrBeforeNode() and lastPositionInOrAfterNode().
    5882 
    5883         This is needed to ensure that getSelectionOffsetsForObject() works
    5884         well when non editable nodes are present in the selection, since
    5885         firstPositionInNode() and lastPositionInNode() don't work in those
    5886         cases (they assume the node is editable).
    5887 
    5888         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
    5889         (getSelectionOffsetsForObject): Updated calls.
    5890 
    5891 2011-04-13  Mario Sanchez Prada  <msanchez@igalia.com>
    5892 
    5893         Reviewed by Martin Robinson.
    5894 
    5895         [GTK] Missing nullchecks in GTK's a11y wrapper
    5896         https://bugs.webkit.org/show_bug.cgi?id=58429
    5897 
    5898         Add missing nullchecks for coreObject->document().
    5899 
    5900         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
    5901         (atkParentOfRootObject): Add missing nullcheck.
    5902         (getPangoLayoutForAtk): Ditto.
    5903         (webkit_accessible_text_get_caret_offset): Ditto.
    5904         (textExtents): Ditto.
    5905         (webkit_accessible_editable_text_insert_text): Ditto.
    5906         (webkit_accessible_editable_text_delete_text): Ditto.
    5907 
    5908 2011-04-13  Thierry Reding  <thierry.reding@avionic-design.de>
    5909 
    5910         Gtk+ port fails to build when enabling WebGL
    5911         https://bugs.webkit.org/show_bug.cgi?id=58434
    5912 
    5913         Fix the GTK+ WebGL build after the introduction of PlatformContextCairo.
    5914 
    5915         * platform/graphics/GraphicsContext3D.h:
    5916         * platform/graphics/cairo/GraphicsContext3DCairo.cpp:
    5917         (WebCore::GraphicsContext3D::paintToCanvas):
    5918 
    5919 2011-04-12  Philippe Normand  <pnormand@igalia.com>
    5920 
    5921         Reviewed by Martin Robinson.
    5922 
    5923         REGRESSION(r83561): doesn't pause in-window playback during fullscreen playback
    5924         https://bugs.webkit.org/show_bug.cgi?id=58312
    5925 
    5926         Make sure to link the videoValve in all cases, fpsdisplaysink
    5927         being used or not.
    5928 
    5929         No new test, this patch fixes an internal feature of the player,
    5930         not publicly exposed. Having two video sinks and pausing one while
    5931         the other displays the fullscreen video is an implementation
    5932         detail of the GStreamer player.
    5933 
    5934         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
    5935         (WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin):
    5936 
    5937 2011-04-13  Ilya Tikhonovsky  <loislo@chromium.org>
    5938 
    5939         Reviewed by Yury Semikhatsky.
    5940 
    5941         Web Inspector: there is a problem if an optional param is not at the end of a params list.
    5942         https://bugs.webkit.org/show_bug.cgi?id=58440
    5943 
    5944         In InspectorBackend.dispatch method we are converting the message's params object into array of arguments
    5945         for a callback. But in some cases the optional parameter is declared in the middle of the params list.
    5946         That gets us into a problem if this param has been skipped in the message. In that case the tail of the
    5947         event params will be shifted. We can slightly modify dispatcher and it will put the params in right places.
    5948 
    5949         * inspector/CodeGeneratorInspector.pm:
    5950 
    5951 2011-04-13  Ben Taylor  <bentaylor.solx86@gmail.com>
    5952 
    5953         Reviewed by Eric Seidel.
    5954 
    5955         https://bugs.webkit.org/show_bug.cgi?id=57337
    5956 
    5957         Work around a bug in ternary opertions in the Solaris Studio
    5958         12/12.1/12.2 compilers, using an if clause.
    5959 
    5960         * dom/NodeRenderStyle.h:
    5961         (WebCore::Node::renderStyle):
    5962 
    5963 2011-04-13  Brian Salomon  <bsalomon@google.com>
    5964 
    5965         Reviewed by Kenneth Russell.
    5966 
    5967         Use new skia API for wrapping DrawingBuffer's FBO/Tex IDs in skia object
    5968         https://bugs.webkit.org/show_bug.cgi?id=58363
    5969 
    5970         No new tests needed, exercised by all existing canvas2d tests.
    5971 
    5972         * platform/graphics/chromium/DrawingBufferChromium.cpp:
    5973         (WebCore::DrawingBuffer::getGrPlatformSurfaceDesc):
    5974         * platform/graphics/gpu/DrawingBuffer.h:
    5975         * platform/graphics/skia/PlatformContextSkia.cpp:
    5976         (WebCore::PlatformContextSkia::setSharedGraphicsContext3D):
    5977 
    5978 2011-04-13  Andrey Kosyakov  <caseq@chromium.org>
    5979 
    5980         Unreviewed. Fix chromium clang build problem:
    5981         ApplyPropertyExpandingSuppressValue::applyValue() shadows a virtual method
    5982         with a different signature in base class instead of overriding it.
    5983 
    5984         * css/CSSStyleApplyProperty.cpp:
    5985         (WebCore::ApplyPropertyExpandingSuppressValue::applyValue):
    5986 
    5987 2011-04-13  Kinuko Yasuda  <kinuko@chromium.org>
    5988 
    5989         Reviewed by David Levin.
    5990 
    5991         Add mock implementation and plumbing code for unified Quota API
    5992         https://bugs.webkit.org/show_bug.cgi?id=57927
    5993 
    5994         Added mock implementation and some plumbing code for the quota API,
    5995         that is based on the discussion on public-webapps:
    5996         http://lists.w3.org/Archives/Public/public-webapps/2011JanMar/0346.html
    5997 
    5998         No new tests: tests will be added when we expose the API.
    5999 
    6000         * CMakeLists.txt: Added new file entries.
    6001         * DerivedSources.cpp: Added new file entries.
    6002         * DerivedSources.make: Added new file entries.
    6003         * GNUmakefile.am: Added new file entries.
    6004         * WebCore.gypi: Added new file entries.
    6005         * WebCore.pro: Added new file entries.
    6006         * WebCore.vcproj/WebCore.vcproj: Added new file entries.
    6007         * WebCore.xcodeproj/project.pbxproj: Added new file entries.
    6008         * storage/StorageInfo.cpp: Added.
    6009         * storage/StorageInfo.h: Added.
    6010         * storage/StorageInfoErrorCallback.h: Added.
    6011         * storage/StorageInfoQuotaCallback.h: Added.
    6012         * storage/StorageInfoUsageCallback.h: Added.
    6013 
    6014 2011-04-13  Gustavo Noronha Silva  <gns@gnome.org>
    6015 
    6016         Reviewed by Martin Robinson.
    6017 
    6018         [GTK] PluginPackage should check whether a plugin mixes GTK+ 2 and 3 symbols itself
    6019         https://bugs.webkit.org/show_bug.cgi?id=58297
    6020 
    6021         Make sure we do not load plugins that use symbols of a different
    6022         GTK+ major version to avoid bugs and crashes.
    6023 
    6024         * plugins/gtk/PluginPackageGtk.cpp:
    6025         (WebCore::moduleMixesGtkSymbols):
    6026         (WebCore::PluginPackage::load):
    6027 
    6028 2011-04-13  Andrey Adaikin  <aandrey@google.com>
    6029 
    6030         Reviewed by Pavel Feldman.
    6031 
    6032         Web Inspector: Implement undo/redo in text editor
    6033         https://bugs.webkit.org/show_bug.cgi?id=58426
    6034 
    6035         Native undo/redo does not work because we modify DOM structure (highlights, chunks and etc.)
    6036         Implement it via keyboard shortcuts for now (Cmd/Ctrl+Z and Cmd/Ctrl+Shift+Z).
    6037         FIXME: Do something with the popup's Undo and Redo menu options - they invoke native's undo/redo.
    6038 
    6039         * inspector/front-end/SourceFrame.js:
    6040         (WebInspector.SourceFrame.prototype.endEditing):
    6041         * inspector/front-end/TextEditorModel.js:
    6042         (WebInspector.TextEditorModel.prototype.setText):
    6043         (WebInspector.TextEditorModel.prototype._innerSetText):
    6044         (WebInspector.TextEditorModel.prototype._pushUndoableCommand):
    6045         (WebInspector.TextEditorModel.prototype.undo):
    6046         (WebInspector.TextEditorModel.prototype.redo):
    6047         (WebInspector.TextEditorModel.prototype._doUndo):
    6048         * inspector/front-end/TextViewer.js:
    6049         (WebInspector.TextViewer.prototype._textChanged):
    6050         (WebInspector.TextViewer.prototype._enterInternalTextChangeMode):
    6051         (WebInspector.TextViewer.prototype._exitInternalTextChangeMode):
    6052         (WebInspector.TextViewer.prototype._registerShortcuts):
    6053         (WebInspector.TextViewer.prototype._cancelEditing):
    6054         (WebInspector.TextViewer.prototype._handleUndoRedo):
    6055         (WebInspector.TextEditorChunkedPanel.prototype.makeLineAChunk):
    6056         (WebInspector.TextEditorChunkedPanel.prototype._repaintAll):
    6057         (WebInspector.TextEditorGutterPanel.prototype.textChanged):
    6058         (WebInspector.TextEditorMainPanel.prototype.handleUndoRedo.callback):
    6059         (WebInspector.TextEditorMainPanel.prototype.handleUndoRedo):
    6060         (WebInspector.TextEditorMainPanel.prototype._restoreSelection):
    6061         (WebInspector.TextEditorMainPanel.prototype._applyDomUpdates):
    6062         (WebInspector.TextEditorMainPanel.prototype.textChanged):
    6063         (WebInspector.TextEditorMainPanel.prototype._updateChunksForRanges):
    6064 
    6065 2011-04-13  Pavel Feldman  <pfeldman@chromium.org>
    6066 
    6067         Reviewed by Yury Semikhatsky.
    6068 
    6069         Web Inspector: make optional event parameter last to prevent regressions.
    6070         https://bugs.webkit.org/show_bug.cgi?id=58433
    6071 
    6072         * inspector/Inspector.json:
    6073         * inspector/InspectorResourceAgent.cpp:
    6074         (WebCore::InspectorResourceAgent::willSendRequest):
    6075         * inspector/front-end/NetworkManager.js:
    6076         (WebInspector.NetworkDispatcher.prototype.requestWillBeSent):
    6077 
    6078 2011-04-13  Pavel Feldman  <pfeldman@chromium.org>
    6079 
    6080         Not reviewed: revert Inspector.json change for breaking world.
    6081 
    6082         * inspector/Inspector.json:
    6083 
    6084 2011-04-13  Pavel Feldman  <pfeldman@chromium.org>
    6085 
    6086         Not reviewed: swap methods in the Inspector.json.
    6087 
    6088         * inspector/Inspector.json:
    6089 
    6090 2011-04-13  Csaba Osztrogonác  <ossy@webkit.org>
    6091 
    6092         Unreviewed, rolling out r83695.
    6093         http://trac.webkit.org/changeset/83695
    6094         https://bugs.webkit.org/show_bug.cgi?id=58375
    6095 
    6096         [Qt][WK2]It broke http tests
    6097 
    6098         * platform/network/qt/QNetworkReplyHandler.cpp:
    6099         (WebCore::QNetworkReplyHandler::start):
    6100         (WebCore::QNetworkReplyHandler::synchronousLoad):
    6101         * platform/network/qt/QNetworkReplyHandler.h:
    6102         * platform/network/qt/ResourceHandleQt.cpp:
    6103         (WebCore::WebCoreSynchronousLoader::resourceResponse):
    6104         (WebCore::WebCoreSynchronousLoader::resourceError):
    6105         (WebCore::WebCoreSynchronousLoader::data):
    6106         (WebCore::WebCoreSynchronousLoader::setReplyFinished):
    6107         (WebCore::WebCoreSynchronousLoader::WebCoreSynchronousLoader):
    6108         (WebCore::WebCoreSynchronousLoader::didReceiveResponse):
    6109         (WebCore::WebCoreSynchronousLoader::didReceiveData):
    6110         (WebCore::WebCoreSynchronousLoader::didFinishLoading):
    6111         (WebCore::WebCoreSynchronousLoader::didFail):
    6112         (WebCore::WebCoreSynchronousLoader::waitForCompletion):
    6113         (WebCore::ResourceHandle::loadResourceSynchronously):
    6114 
    6115 2011-04-13  Pavel Podivilov  <podivilov@chromium.org>
    6116 
    6117         Reviewed by Pavel Feldman.
    6118 
    6119         Web Inspector: inactive style sheets should be read only.
    6120         https://bugs.webkit.org/show_bug.cgi?id=58423
    6121 
    6122         * inspector/front-end/ResourceView.js:
    6123         (WebInspector.CSSSourceFrame):
    6124         (WebInspector.CSSSourceFrame.prototype.isContentEditable):
    6125         (WebInspector.CSSSourceFrame.prototype._loadStyleSheet.didGetAllStyleSheets.didCreateForId):
    6126         (WebInspector.CSSSourceFrame.prototype._loadStyleSheet):
    6127 
    6128 2011-04-13  Mikhail Naganov  <mnaganov@chromium.org>
    6129 
    6130         Reviewed by Pavel Feldman.
    6131 
    6132         Web Inspector: [Chromium] Prepare to move detailed heap snapshots storage and processing into workers.
    6133         https://bugs.webkit.org/show_bug.cgi?id=58320
    6134 
    6135         Introduce a proxy object that emulates worker behavior and change UI code to cope with it.
    6136 
    6137         * WebCore.gypi:
    6138         * WebCore.vcproj/WebCore.vcproj:
    6139         * inspector/front-end/DetailedHeapshotGridNodes.js:
    6140         (WebInspector.HeapSnapshotGridNode.prototype._populate.doPopulate.sorted):
    6141         (WebInspector.HeapSnapshotGridNode.prototype._populate.doPopulate):
    6142         (WebInspector.HeapSnapshotGridNode.prototype._populate):
    6143         (WebInspector.HeapSnapshotGridNode.prototype.populateChildren.childrenRetrieved.notify):
    6144         (WebInspector.HeapSnapshotGridNode.prototype.populateChildren.childrenRetrieved):
    6145         (WebInspector.HeapSnapshotGridNode.prototype.populateChildren):
    6146         (WebInspector.HeapSnapshotGridNode.prototype.sort.doSort.afterSort.afterPopulate):
    6147         (WebInspector.HeapSnapshotGridNode.prototype.sort.doSort.afterSort):
    6148         (WebInspector.HeapSnapshotGridNode.prototype.sort):
    6149         (WebInspector.HeapSnapshotGenericObjectNode):
    6150         (WebInspector.HeapSnapshotGenericObjectNode.prototype.get _shallowSizePercent):
    6151         (WebInspector.HeapSnapshotGenericObjectNode.prototype._updateHasChildren):
    6152         (WebInspector.HeapSnapshotObjectNode):
    6153         (WebInspector.HeapSnapshotObjectNode.prototype._createChildNode):
    6154         (WebInspector.HeapSnapshotObjectNode.prototype._createProvider):
    6155         (WebInspector.HeapSnapshotInstanceNode):
    6156         (WebInspector.HeapSnapshotInstanceNode.prototype._createChildNode):
    6157         (WebInspector.HeapSnapshotInstanceNode.prototype._createProvider):
    6158         (WebInspector.HeapSnapshotConstructorNode.prototype._createChildNode):
    6159         (WebInspector.HeapSnapshotConstructorNode.prototype._createNodesProvider):
    6160         (WebInspector.HeapSnapshotIteratorsTuple.prototype.sortAndRewind):
    6161         (WebInspector.HeapSnapshotDiffNode.prototype._calculateDiff):
    6162         (WebInspector.HeapSnapshotDiffNode.prototype._createChildNode):
    6163         (WebInspector.HeapSnapshotDiffNode.prototype._createNodesProvider.createProvider):
    6164         (WebInspector.HeapSnapshotDiffNode.prototype._createNodesProvider):
    6165         (WebInspector.HeapSnapshotDiffNode.prototype._childHashForEntity):
    6166         (WebInspector.HeapSnapshotDiffNode.prototype._childHashForNode):
    6167         (WebInspector.HeapSnapshotDiffNode.prototype.populateChildren.firstProviderPopulated):
    6168         (WebInspector.HeapSnapshotDiffNode.prototype.populateChildren.else.firstProviderPopulated):
    6169         (WebInspector.HeapSnapshotDiffNode.prototype.populateChildren):
    6170         (WebInspector.HeapSnapshotDominatorObjectNode):
    6171         (WebInspector.HeapSnapshotDominatorObjectNode.prototype._createChildNode):
    6172         (WebInspector.HeapSnapshotDominatorObjectNode.prototype._createProvider):
    6173         * inspector/front-end/DetailedHeapshotView.js:
    6174         (WebInspector.HeapSnapshotSortableDataGrid.prototype.sortingChanged):
    6175         (WebInspector.HeapSnapshotSortableDataGrid.prototype._performSorting):
    6176         (WebInspector.HeapSnapshotConstructorsDataGrid.prototype.setDataSource):
    6177         (WebInspector.HeapSnapshotConstructorsDataGrid.prototype.populateChildren):
    6178         (WebInspector.HeapSnapshotDiffDataGrid.prototype.setBaseDataSource.baseSnapshotNodeIdsReceived):
    6179         (WebInspector.HeapSnapshotDiffDataGrid.prototype.setBaseDataSource.pushBaseSnapshotNodeIds):
    6180         (WebInspector.HeapSnapshotDiffDataGrid.prototype.setBaseDataSource.snapshotNodeIdsReceived):
    6181         (WebInspector.HeapSnapshotDiffDataGrid.prototype.setBaseDataSource):
    6182         (WebInspector.HeapSnapshotDiffDataGrid.prototype.populateChildren.baseAggregatesReceived.aggregatesReceived):
    6183         (WebInspector.HeapSnapshotDiffDataGrid.prototype.populateChildren):
    6184         (WebInspector.HeapSnapshotRetainingPathsList):
    6185         (WebInspector.HeapSnapshotRetainingPathsList.prototype._resetPaths):
    6186         (WebInspector.HeapSnapshotRetainingPathsList.prototype.setDataSource):
    6187         (WebInspector.HeapSnapshotRetainingPathsList.prototype.refresh):
    6188         (WebInspector.HeapSnapshotRetainingPathsList.prototype.showNext.pathFound):
    6189         (WebInspector.HeapSnapshotRetainingPathsList.prototype.showNext.startSearching):
    6190         (WebInspector.HeapSnapshotRetainingPathsList.prototype.showNext):
    6191         (WebInspector.DetailedHeapshotView.profileCallback):
    6192         (WebInspector.DetailedHeapshotView):
    6193         (WebInspector.DetailedHeapshotView.prototype.get profileWrapper):
    6194         (WebInspector.DetailedHeapshotView.prototype.get baseProfileWrapper):
    6195         (WebInspector.DetailedHeapshotView.prototype.show.profileCallback1):
    6196         (WebInspector.DetailedHeapshotView.prototype.show.profileCallback2):
    6197         (WebInspector.DetailedHeapshotView.prototype.show):
    6198         (WebInspector.DetailedHeapshotView.prototype._changeBase.baseProfileLoaded):
    6199         * inspector/front-end/HeapSnapshot.js:
    6200         * inspector/front-end/HeapSnapshotProxy.js: Added.
    6201         * inspector/front-end/PleaseWaitMessage.js:
    6202         * inspector/front-end/ProfilesPanel.js:
    6203         (WebInspector.ProfilesPanel.prototype._reset):
    6204         (WebInspector.ProfilesPanel.prototype.loadHeapSnapshot):
    6205         (WebInspector.ProfilesPanel.prototype._addHeapSnapshotChunk):
    6206         (WebInspector.ProfilesPanel.prototype._finishHeapSnapshot.doParse):
    6207         (WebInspector.ProfilesPanel.prototype._finishHeapSnapshot.else.parsed):
    6208         (WebInspector.ProfilesPanel.prototype._finishHeapSnapshot):
    6209         * inspector/front-end/WebKit.qrc:
    6210         * inspector/front-end/inspector.html:
    6211 
    6212 2011-04-13  Alexander Pavlov  <apavlov@chromium.org>
    6213 
    6214         Reviewed by Pavel Feldman.
    6215 
    6216         Web Inspector: Web Page Performance auditing fails
    6217         https://bugs.webkit.org/show_bug.cgi?id=58322
    6218 
    6219         * inspector/front-end/AuditRules.js:
    6220         (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.evalCallback):
    6221         (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.evalCallback.documentLoaded):
    6222         (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun):
    6223         (WebInspector.AuditRules.CssInHeadRule.prototype.doRun.externalStylesheetsReceived):
    6224         (WebInspector.AuditRules.CssInHeadRule.prototype.doRun.inlineStylesReceived):
    6225         (WebInspector.AuditRules.CssInHeadRule.prototype.doRun.onDocumentAvailable):
    6226         (WebInspector.AuditRules.CssInHeadRule.prototype.doRun):
    6227         (WebInspector.AuditRules.StylesScriptsOrderRule.prototype.doRun.cssBeforeInlineReceived):
    6228         (WebInspector.AuditRules.StylesScriptsOrderRule.prototype.doRun.lateStylesReceived):
    6229         (WebInspector.AuditRules.StylesScriptsOrderRule.prototype.doRun.onDocumentAvailable):
    6230         (WebInspector.AuditRules.StylesScriptsOrderRule.prototype.doRun):
    6231 
    6232 2011-04-13  Pavel Feldman  <pfeldman@google.com>
    6233 
    6234         Reviewed by Yury Semikhatsky.
    6235 
    6236         Web Inspector: enumerate properties in Inspector.json using array, not object keys.
    6237         https://bugs.webkit.org/show_bug.cgi?id=58418
    6238 
    6239         * inspector/Inspector.json:
    6240 
    6241 2011-04-06  Pavel Podivilov  <podivilov@chromium.org>
    6242 
    6243         Reviewed by Pavel Feldman.
    6244 
    6245         Web Inspector: add "De-obfuscate Source" item to source frame text area context menu.
    6246         https://bugs.webkit.org/show_bug.cgi?id=57942
    6247 
    6248         * English.lproj/localizedStrings.js:
    6249         * inspector/front-end/DebuggerPresentationModel.js:
    6250         (WebInspector.DebuggerPresentationModel.prototype.formatSourceFilesToggled):
    6251         * inspector/front-end/ScriptsPanel.js:
    6252         (WebInspector.ScriptsPanel):
    6253         (WebInspector.ScriptsPanel.prototype._togglePauseOnExceptions):
    6254         (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.releaseEvaluationResult):
    6255         (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.toggleFormatSourceFiles):
    6256         (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.formatSourceFilesToggled):
    6257         * inspector/front-end/SourceFrame.js:
    6258         (WebInspector.SourceFrame.prototype._contextMenu):
    6259         (WebInspector.SourceFrame.prototype._populateLineGutterContextMenu):
    6260         (WebInspector.SourceFrame.prototype._populateTextAreaContextMenu):
    6261         (WebInspector.SourceFrameDelegate.prototype.releaseEvaluationResult):
    6262         (WebInspector.SourceFrameDelegate.prototype.toggleFormatSourceFiles):
    6263         (WebInspector.SourceFrameDelegate.prototype.formatSourceFilesToggled):
    6264 
    6265 2011-04-13  Nikolas Zimmermann  <nzimmermann@rim.com>
    6266 
    6267         Reviewed by Dirk Schulze.
    6268 
    6269         SVGTextContentElements textLength returns 0
    6270         https://bugs.webkit.org/show_bug.cgi?id=52543
    6271 
    6272         Add proper handling of the SVGTextContentElement textLength property, according to SVG 1.1 2nd edition.
    6273 
    6274         If the textLength attributes is not explicitely set "textContentElement.textLength.baseVal"
    6275         will return the same as "textContentElement.getComputedTextLength()". If it's set the values
    6276         aren't equal anymore. getComputedTextLength() ignores the textLength attributes as well as the
    6277         lengthAdjust attribute. Adapt all of SVGTextQuery to ignore the lengthAdjust/textLength attributes.
    6278         This is how Opera implements it, and it makes sense to a certain degree, as otherwhise getComputedTextLength()
    6279         and textLength.baseVal.value would always be the same. Nor does the spec mention that textLength is honored
    6280         in the SVG Text DOM API.
    6281 
    6282         Fixes svg/custom/text-dom-01-f.svg (from SVG 1.1 2nd edition, should be moved into the new W3C-SVG-1.1-SE directory).
    6283         Fixes svg/W3C-SVG-1.1-SE/svgdom-over-01-f.svg (last subtest related to textLength now passes).
    6284 
    6285         Added new svg/dynamic-updates testcases covering dynamic changes of lengthAdjust/textLength and the synchronization
    6286         with getComputedTextLength().
    6287 
    6288         Tests: svg/W3C-SVG-1.1-SE/svgdom-over-01-f.svg
    6289                svg/dynamic-updates/SVGTextElement-dom-lengthAdjust-attr.html
    6290                svg/dynamic-updates/SVGTextElement-dom-textLength-attr.html
    6291                svg/dynamic-updates/SVGTextElement-svgdom-lengthAdjust-prop.html
    6292                svg/dynamic-updates/SVGTextElement-svgdom-textLength-prop.html
    6293 
    6294         * rendering/svg/RenderSVGInlineText.cpp:
    6295         (WebCore::RenderSVGInlineText::positionForPoint):
    6296         * rendering/svg/SVGInlineFlowBox.cpp:
    6297         (WebCore::SVGInlineFlowBox::computeTextMatchMarkerRectForRenderer):
    6298         * rendering/svg/SVGInlineTextBox.cpp:
    6299         (WebCore::SVGInlineTextBox::offsetForPositionInFragment):
    6300         (WebCore::SVGInlineTextBox::selectionRect):
    6301         (WebCore::SVGInlineTextBox::paintSelectionBackground):
    6302         (WebCore::SVGInlineTextBox::paint):
    6303         (WebCore::SVGInlineTextBox::calculateBoundaries):
    6304         * rendering/svg/SVGTextChunkBuilder.cpp:
    6305         (WebCore::SVGTextChunkBuilder::buildTextChunks):
    6306         (WebCore::SVGTextChunkBuilder::layoutTextChunks):
    6307         (WebCore::SVGTextChunkBuilder::addTextChunk):
    6308         (WebCore::SVGTextChunkBuilder::processTextChunk):
    6309         (WebCore::SVGTextChunkBuilder::processTextLengthSpacingCorrection):
    6310         (WebCore::SVGTextChunkBuilder::processTextAnchorCorrection):
    6311         * rendering/svg/SVGTextFragment.h:
    6312         (WebCore::SVGTextFragment::SVGTextFragment):
    6313         (WebCore::SVGTextFragment::buildFragmentTransform):
    6314         (WebCore::SVGTextFragment::transformAroundOrigin):
    6315         (WebCore::SVGTextFragment::buildTransformForTextOnPath):
    6316         (WebCore::SVGTextFragment::buildTransformForTextOnLine):
    6317         * rendering/svg/SVGTextLayoutEngine.cpp:
    6318         (WebCore::SVGTextLayoutEngine::parentDefinesTextLength):
    6319         (WebCore::SVGTextLayoutEngine::beginTextPathLayout):
    6320         (WebCore::dumpTextBoxes):
    6321         (WebCore::SVGTextLayoutEngine::finalizeTransformMatrices):
    6322         (WebCore::SVGTextLayoutEngine::finishLayout):
    6323         (WebCore::SVGTextLayoutEngine::layoutTextOnLineOrPath):
    6324         * rendering/svg/SVGTextQuery.cpp:
    6325         (WebCore::SVGTextQuery::textLengthCallback):
    6326         (WebCore::SVGTextQuery::subStringLengthCallback):
    6327         (WebCore::SVGTextQuery::startPositionOfCharacterCallback):
    6328         (WebCore::SVGTextQuery::endPositionOfCharacterCallback):
    6329         (WebCore::SVGTextQuery::rotationOfCharacterCallback):
    6330         (WebCore::calculateGlyphBoundaries):
    6331         * svg/SVGTextContentElement.cpp:
    6332         (WebCore::SVGTextContentElement::SVGTextContentElement):
    6333         (WebCore::SVGTextContentElement::synchronizeTextLength):
    6334         (WebCore::SVGTextContentElement::textLengthAnimated):
    6335         (WebCore::SVGTextContentElement::parseMappedAttribute):
    6336         (WebCore::SVGTextContentElement::svgAttributeChanged):
    6337         * svg/SVGTextContentElement.h:
    6338         (WebCore::SVGTextContentElement::specifiedTextLength):
    6339         * svg/SVGTextPathElement.cpp:
    6340         (WebCore::SVGTextPathElement::svgAttributeChanged):
    6341         * svg/SVGTextPositioningElement.cpp:
    6342         (WebCore::SVGTextPositioningElement::svgAttributeChanged):
    6343 
    6344 2011-04-13  Pavel Feldman  <pfeldman@google.com>
    6345 
    6346         Reviewed by Yury Semikhatsky.
    6347 
    6348         Web Inspector: requestDocument can result in race condition in DOMAgent.js
    6349         https://bugs.webkit.org/show_bug.cgi?id=58415
    6350 
    6351         * inspector/front-end/DOMAgent.js:
    6352         (WebInspector.DOMAgent.prototype.requestDocument.onDocumentAvailable):
    6353         (WebInspector.DOMAgent.prototype.requestDocument):
    6354 
    6355 2011-04-12  Pavel Feldman  <pfeldman@google.com>
    6356 
    6357         Reviewed by Yury Semikhatsky.
    6358 
    6359         Web Inspector: another pass of protocol renames.
    6360         https://bugs.webkit.org/show_bug.cgi?id=58340
    6361 
    6362         * inspector/Inspector.json:
    6363         * inspector/InspectorDOMAgent.cpp:
    6364         (WebCore::InspectorDOMAgent::getDocument):
    6365         (WebCore::InspectorDOMAgent::performSearch):
    6366         (WebCore::InspectorDOMAgent::setSearchingForNode):
    6367         * inspector/InspectorDOMAgent.h:
    6368         * inspector/InspectorDebuggerAgent.cpp:
    6369         (WebCore::InspectorDebuggerAgent::evaluateOnCallFrame):
    6370         * inspector/InspectorDebuggerAgent.h:
    6371         * inspector/InspectorRuntimeAgent.cpp:
    6372         (WebCore::InspectorRuntimeAgent::evaluate):
    6373         * inspector/InspectorRuntimeAgent.h:
    6374         * inspector/front-end/ElementsPanel.js:
    6375         (WebInspector.ElementsPanel.prototype._setSearchingForNode):
    6376         (WebInspector.ElementsPanel.prototype.setSearchingForNode):
    6377 
    6378 2011-04-12  Luke Macpherson   <macpherson@chromium.org>
    6379 
    6380         Reviewed by Dimitri Glazkov.
    6381 
    6382         Implement remaining Background and Mask css properties in CSSStyleApplyProperty
    6383         https://bugs.webkit.org/show_bug.cgi?id=58390
    6384 
    6385         No new tests required as no functionality changed.
    6386 
    6387         * css/CSSStyleApplyProperty.cpp:
    6388         (WebCore::ApplyPropertyExpanding): Class to expand one property to 0-4 properties.
    6389         (WebCore::ApplyPropertyExpandingSuppressValue): Expand properties but suppress applyValue.
    6390 
    6391         (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
    6392         (WebCore::CSSStyleSelector::applyProperty): Remove implementations that have been moved to CSSStyleApplyProperty.
    6393 
    6394 2011-04-12  Sergey Glazunov  <serg.glazunov@gmail.com>
    6395 
    6396         Reviewed by Dimitri Glazkov.
    6397 
    6398         Element::setAttribute should check the namespace of an id attribute
    6399         https://bugs.webkit.org/show_bug.cgi?id=58359
    6400 
    6401         Test: fast/dom/id-attribute-with-namespace-crash.html
    6402 
    6403         * dom/Element.cpp:
    6404         (WebCore::Element::setAttribute):
    6405 
    6406 2011-04-12  Mike Lawther  <mikelawther@chromium.org>
    6407 
    6408         Reviewed by James Robinson.
    6409 
    6410         Update boolean operators in RenderStyle to be compatible with check-webkit-style
    6411         https://bugs.webkit.org/show_bug.cgi?id=58409
    6412 
    6413         No new functionality, so no new tests.
    6414 
    6415         * rendering/style/RenderStyle.cpp:
    6416         (WebCore::RenderStyle::operator==):
    6417         (WebCore::RenderStyle::inheritedNotEqual):
    6418         (WebCore::positionedObjectMoved):
    6419         (WebCore::RenderStyle::diff):
    6420         (WebCore::RenderStyle::applyTransform):
    6421         * rendering/style/RenderStyle.h:
    6422         (WebCore::InheritedFlags::isOriginalDisplayInlineType):
    6423 
    6424 2011-04-12  Luiz Agostini  <luiz.agostini@openbossa.org>
    6425 
    6426         Reviewed by Andreas Kling.
    6427 
    6428         [Qt] QNetworkReplyHandler refactoring: remove nested event loop.
    6429         https://bugs.webkit.org/show_bug.cgi?id=58375
    6430 
    6431         As QNAM now makes actual synchronous loads there is no need for a nested event loop
    6432         in ResourceHandleQt.
    6433 
    6434         Moving the call for QNetworkReplyWrapper::synchronousLoad from
    6435         ResourceHandle::loadResourceSynchronously to QNetworkReplyHandler::start for the
    6436         redirections to work in synchronous requests.
    6437 
    6438         * platform/network/qt/QNetworkReplyHandler.cpp:
    6439         (WebCore::QNetworkReplyHandler::start):
    6440         * platform/network/qt/QNetworkReplyHandler.h:
    6441         * platform/network/qt/ResourceHandleQt.cpp:
    6442         (WebCore::WebCoreSynchronousLoader::WebCoreSynchronousLoader):
    6443         (WebCore::WebCoreSynchronousLoader::didReceiveResponse):
    6444         (WebCore::WebCoreSynchronousLoader::didReceiveData):
    6445         (WebCore::WebCoreSynchronousLoader::didFinishLoading):
    6446         (WebCore::WebCoreSynchronousLoader::didFail):
    6447         (WebCore::ResourceHandle::loadResourceSynchronously):
    6448 
    6449 2011-04-12  Vangelis Kokkevis  <vangelis@chromium.org>
    6450 
    6451         Reviewed by James Robinson.
    6452 
    6453         [chromium] Move the calculation of the layer's z coordinate to the
    6454         right spot so that it can be picked up by its sublayers.
    6455         https://bugs.webkit.org/show_bug.cgi?id=58397
    6456 
    6457         Test: platform/chromium/compositing/child-layer-3d-sorting.html
    6458 
    6459         * platform/graphics/chromium/LayerRendererChromium.cpp:
    6460         (WebCore::LayerRendererChromium::updatePropertiesAndRenderSurfaces):
    6461 
    6462 2011-04-12  Luiz Agostini  <luiz.agostini@openbossa.org>
    6463 
    6464         Reviewed by Andreas Kling.
    6465 
    6466         [Qt] QNetworkReplyHandler refactoring: signal queue
    6467         https://bugs.webkit.org/show_bug.cgi?id=57075
    6468 
    6469         The idea is to make all signals that come from the QNetworkReply to pass through a queue and to
    6470         stop that queue when loading is deferred. This way almost all the deferred logic can be removed
    6471         from QNetworkReplyHandler class and encapsulated in its own class.
    6472 
    6473         To stop the queue during wrapper methods execution avoids stacking handler methods over wrapper
    6474         methods. Because of this there is no chance for the wrapper to be destroyed inside one of its methods.
    6475         This together with empting the queue at wrapper destruction time makes sure that the handler will
    6476         not receive calls from a dead wrapper.
    6477 
    6478         The new class is named QNetworkReplyHandlerCallQueue.
    6479 
    6480         * platform/network/qt/QNetworkReplyHandler.cpp:
    6481         (WebCore::QNetworkReplyHandlerCallQueue::QNetworkReplyHandlerCallQueue):
    6482         (WebCore::QNetworkReplyHandlerCallQueue::push):
    6483         (WebCore::QNetworkReplyHandlerCallQueue::lock):
    6484         (WebCore::QNetworkReplyHandlerCallQueue::unlock):
    6485         (WebCore::QNetworkReplyHandlerCallQueue::setDeferSignals):
    6486         (WebCore::QNetworkReplyHandlerCallQueue::flush):
    6487         (WebCore::QueueLocker::QueueLocker):
    6488         (WebCore::QueueLocker::~QueueLocker):
    6489         (WebCore::QNetworkReplyWrapper::QNetworkReplyWrapper):
    6490         (WebCore::QNetworkReplyWrapper::~QNetworkReplyWrapper):
    6491         (WebCore::QNetworkReplyWrapper::receiveMetaData):
    6492         (WebCore::QNetworkReplyWrapper::readyRead):
    6493         (WebCore::QNetworkReplyWrapper::didReceiveFinished):
    6494         (WebCore::QNetworkReplyHandler::QNetworkReplyHandler):
    6495         (WebCore::QNetworkReplyHandler::resetState):
    6496         (WebCore::QNetworkReplyHandler::release):
    6497         (WebCore::QNetworkReplyHandler::finish):
    6498         (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
    6499         (WebCore::QNetworkReplyHandler::forwardData):
    6500         (WebCore::QNetworkReplyHandler::start):
    6501         (WebCore::QNetworkReplyHandler::synchronousLoad):
    6502         * platform/network/qt/QNetworkReplyHandler.h:
    6503         (WebCore::QNetworkReplyHandlerCallQueue::deferSignals):
    6504         (WebCore::QNetworkReplyHandlerCallQueue::clear):
    6505         (WebCore::QNetworkReplyWrapper::synchronousLoad):
    6506         (WebCore::QNetworkReplyHandler::setLoadingDeferred):
    6507         * platform/network/qt/ResourceHandleQt.cpp:
    6508         (WebCore::ResourceHandle::loadResourceSynchronously):
    6509 
    6510 2011-04-12  Kenichi Ishibashi  <bashi@chromium.org>
    6511 
    6512         Reviewed by Kent Tamura.
    6513 
    6514         Fix wrong calculation of HTMLFormElement::m_associatedElementsAfterIndex.
    6515         https://bugs.webkit.org/show_bug.cgi?id=58247
    6516 
    6517         - Increment m_associatedElementsAfterIndex when the form owner and an
    6518         inserted form associated element have the same parent chain.
    6519         - Always iterate over m_associatedElements to decrease indexes when a
    6520         form associated element is removed. This is needed for a case that the
    6521         form associated element is removed from the form element due to
    6522         deleting the 'form' attribute. No behavioral change expected with this
    6523         change.
    6524 
    6525         Tests: fast/dom/HTMLFormElement/associated-elements-after-index-assertion-fail1.html
    6526                fast/dom/HTMLFormElement/associated-elements-after-index-assertion-fail2.html
    6527 
    6528         * html/HTMLFormElement.cpp:
    6529         (WebCore::HTMLFormElement::formElementIndexWithFormAttribute):
    6530         Incremet m_associatedElementsAfterIndex when compareDocumentPosition()
    6531         returns DOCUMENT_POSITION_CONTAINED_BY.
    6532         (WebCore::HTMLFormElement::removeFormElement):
    6533         Always iterate m_associatedElements to adjust indexes.
    6534 
    6535 2011-04-12  Diego Gonzalez  <diegohcg@webkit.org>
    6536 
    6537         Reviewed by Kenneth Rohde Christiansen.
    6538 
    6539         [Qt] Do not show scrollbars when use mobile theme
    6540         https://bugs.webkit.org/show_bug.cgi?id=58380
    6541 
    6542         * platform/qt/ScrollbarThemeQt.cpp:
    6543         (WebCore::ScrollbarThemeQt::scrollbarThickness):
    6544 
    6545 2011-04-12  Anantanarayanan G Iyengar  <ananta@chromium.org>
    6546 
    6547         Reviewed by Alexey Proskuryakov.
    6548 
    6549         The default backspace event handler should mark the event as handled if navigation succeeds.
    6550         https://bugs.webkit.org/show_bug.cgi?id=58379
    6551 
    6552         We should mark the event as handled only if we were able to successfully navigate backwards or forwards.
    6553         These navigations can fail if there is now back/forward history. This can occur in cases like ChromeFrame
    6554         where history is managed by an external browser like IE.
    6555 
    6556         No new tests added as this scenario can occur when the history view is split across two browsers (WebKit and IE)
    6557         It is non trivial to simulate this environment.
    6558 
    6559         * page/EventHandler.cpp:
    6560         (WebCore::EventHandler::defaultBackspaceEventHandler):
    6561 
    6562 2011-04-12  Ryosuke Niwa  <rniwa@webkit.org>
    6563 
    6564         Reviewed by Eric Seidel.
    6565 
    6566         Make availableWidth and totalOverhangWidth in findNextLineBreak member variables of LineWidth
    6567         https://bugs.webkit.org/show_bug.cgi?id=58400
    6568 
    6569         Added m_availableWidth and m_overhangWidth to LineWidth this allows us to encapsulate m_overhangWidth.
    6570 
    6571         * rendering/RenderBlock.h:
    6572         * rendering/RenderBlockLineLayout.cpp:
    6573         (WebCore::LineWidth::LineWidth):
    6574         (WebCore::LineWidth::fitsOnLine): Added; returns true if current width + first argument <= availableWidth.
    6575         (WebCore::LineWidth::availableWidth): Added.
    6576         (WebCore::LineWidth::setAvailableWidth): Added; takes LineOffsets.
    6577         (WebCore::LineWidth::applyOverhang): Added; obtains the overhang width from ruby run and inflates
    6578         the available width.
    6579         (WebCore::LineWidth::fitBelowFloats): Moved from RenderBlock.
    6580         (WebCore::RenderBlock::findNextLineBreak): Uses LineWidth.
    6581 
    6582 2011-04-12  Alexis Menard  <alexis.menard@openbossa.org>
    6583 
    6584         Unreviewed warning fix.
    6585 
    6586         MediaControlElements has been moved to html/shadow.
    6587 
    6588         * WebCore.pro:
    6589 
    6590 2011-04-12  Yael Aharon  <yael.aharon@nokia.com>
    6591 
    6592         Reviewed by Eric Seidel.
    6593 
    6594         Rename onEndChain and make it a static method.
    6595         https://bugs.webkit.org/show_bug.cgi?id=58403
    6596 
    6597         No new tests since this is refactoring only.
    6598 
    6599         * rendering/InlineFlowBox.cpp:
    6600         (WebCore::isLastChildForRenderer):
    6601         (WebCore::InlineFlowBox::determineSpacingForFlowBoxes):
    6602         * rendering/InlineFlowBox.h:
    6603 
    6604 2011-04-12  Eric Carlson  <eric.carlson@apple.com>
    6605 
    6606         Not reviewed, build fix.
    6607 
    6608         Fix non-accelerated build after r83667.
    6609 
    6610         * html/HTMLMediaElement.cpp:
    6611         (WebCore::HTMLMediaElement::mediaPlayerFirstVideoFrameAvailable): Guard call to
    6612             mediaPlayerRenderingModeChanged with USE(ACCELERATED_COMPOSITING.
    6613 
    6614 2011-04-12  Adrienne Walker  <enne@google.com>
    6615 
    6616         Reviewed by James Robinson.
    6617 
    6618         [chromium] TilingData mishandles very small texture sizes
    6619         https://bugs.webkit.org/show_bug.cgi?id=58364
    6620 
    6621         Use zero tiles when the texture size is too small for tiling.
    6622 
    6623         * platform/graphics/gpu/TilingData.cpp:
    6624         (WebCore::TilingData::TilingData):
    6625         (WebCore::TilingData::setMaxTextureSize):
    6626 
    6627 2011-04-12  Csaba Osztrogonác  <ossy@webkit.org>
    6628 
    6629         Unreviewed, rolling out r83634 and r83659.
    6630         http://trac.webkit.org/changeset/83634
    6631         http://trac.webkit.org/changeset/83659
    6632         https://bugs.webkit.org/show_bug.cgi?id=57075
    6633 
    6634         It made 2 tests time out
    6635 
    6636         * platform/network/qt/QNetworkReplyHandler.cpp:
    6637         (WebCore::QNetworkReplyWrapper::QNetworkReplyWrapper):
    6638         (WebCore::QNetworkReplyWrapper::~QNetworkReplyWrapper):
    6639         (WebCore::QNetworkReplyWrapper::receiveMetaData):
    6640         (WebCore::QNetworkReplyWrapper::didReceiveFinished):
    6641         (WebCore::QNetworkReplyHandler::QNetworkReplyHandler):
    6642         (WebCore::QNetworkReplyHandler::resetState):
    6643         (WebCore::QNetworkReplyHandler::setLoadingDeferred):
    6644         (WebCore::QNetworkReplyHandler::resumeDeferredLoad):
    6645         (WebCore::QNetworkReplyHandler::release):
    6646         (WebCore::QNetworkReplyHandler::finish):
    6647         (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
    6648         (WebCore::QNetworkReplyHandler::forwardData):
    6649         (WebCore::QNetworkReplyHandler::start):
    6650         * platform/network/qt/QNetworkReplyHandler.h:
    6651         * platform/network/qt/ResourceHandleQt.cpp:
    6652         (WebCore::WebCoreSynchronousLoader::resourceResponse):
    6653         (WebCore::WebCoreSynchronousLoader::resourceError):
    6654         (WebCore::WebCoreSynchronousLoader::data):
    6655         (WebCore::WebCoreSynchronousLoader::setReplyFinished):
    6656         (WebCore::WebCoreSynchronousLoader::WebCoreSynchronousLoader):
    6657         (WebCore::WebCoreSynchronousLoader::didReceiveResponse):
    6658         (WebCore::WebCoreSynchronousLoader::didReceiveData):
    6659         (WebCore::WebCoreSynchronousLoader::didFinishLoading):
    6660         (WebCore::WebCoreSynchronousLoader::didFail):
    6661         (WebCore::WebCoreSynchronousLoader::waitForCompletion):
    6662         (WebCore::ResourceHandle::loadResourceSynchronously):
    6663 
    6664 2011-04-12  Sam Weinig  <sam@webkit.org>
    6665 
    6666         Reviewed by Simon Fraser.
    6667 
    6668         Frames prevent scrolling containing page
    6669         <rdar://problem/8990409>
    6670         https://bugs.webkit.org/show_bug.cgi?id=58392
    6671 
    6672         Also fixes:
    6673         Should rubber-band on pages with no scrollbars
    6674         <rdar://problem/9034280>
    6675 
    6676         * page/FrameView.cpp:
    6677         (WebCore::FrameView::FrameView):
    6678         Make the main frame rubber-band horizontally and vertically always.
    6679 
    6680         * platform/ScrollTypes.h:
    6681         Add ScrollElasticity enum.
    6682 
    6683         * platform/ScrollableArea.cpp:
    6684         Default to no elasticity.
    6685 
    6686         (WebCore::ScrollableArea::ScrollableArea):
    6687         * platform/ScrollableArea.h:
    6688         (WebCore::ScrollableArea::setVerticalScrollElasticity):
    6689         (WebCore::ScrollableArea::verticalScrollElasticity):
    6690         (WebCore::ScrollableArea::setHorizontalScrollElasticity):
    6691         (WebCore::ScrollableArea::horizontalScrollElasticity):
    6692         Add state for horizontal and vertical elasticity.
    6693 
    6694         * platform/mac/ScrollAnimatorMac.mm:
    6695         (WebCore::ScrollAnimatorMac::handleWheelEvent):
    6696         Bail out of new scrolling behavior if we can't rubber-band. By bailing before
    6697         accepting the wheel event, we allow the wheel event to be forwarded. We will
    6698         need to refine this logic to allow subframe scrolling in the future.
    6699 
    6700         (WebCore::ScrollAnimatorMac::allowsVerticalStretching):
    6701         (WebCore::ScrollAnimatorMac::allowsHorizontalStretching):
    6702         Switch stretching behavior based on the ScrollableArea's elasticity.
    6703 
    6704 2011-04-12  Geoffrey Garen  <ggaren@apple.com>
    6705 
    6706         Not reviewed.
    6707 
    6708         Try to fix the Chromium build.
    6709        
    6710         Why have one URL when you can have two at twice the price?
    6711 
    6712         * platform/KURL.h:
    6713         (WebCore::KURL::KURL):
    6714         (WebCore::KURL::isHashTableDeletedValue):
    6715         * platform/KURLGoogle.cpp:
    6716         (WebCore::KURLGooglePrivate::KURLGooglePrivate):
    6717         * platform/KURLGooglePrivate.h: Added a GoogleURL path for KURL's hash
    6718         table deleted value constructor.
    6719 
    6720 2011-04-12  Stephanie Lewis  <slewis@apple.com>
    6721 
    6722         Reviewed by Oliver Hunt.
    6723         https://bugs.webkit.org/show_bug.cgi?id=58280
    6724         Fix a layout test by correctly comparing enums, and not adding exceptions.
    6725 
    6726         * bindings/js/SerializedScriptValue.cpp:
    6727         (WebCore::SerializedScriptValue::create):
    6728         (WebCore::SerializedScriptValue::deserialize):
    6729         * bindings/js/SerializedScriptValue.h:
    6730 
    6731 2011-04-12  Eric Carlson  <eric.carlson@apple.com>
    6732 
    6733         Reviewed by Simon Fraser.
    6734 
    6735         Apple movie trailers play only audio
    6736         https://bugs.webkit.org/show_bug.cgi?id=58339
    6737         <rdar://problem/9237606>
    6738 
    6739         No new tests, covered by existing layout and manual tests.
    6740 
    6741         * html/HTMLMediaElement.cpp:
    6742         (WebCore::HTMLMediaElement::mediaPlayerEngineUpdated): Do the logging before calling any functions.
    6743         (WebCore::HTMLMediaElement::mediaPlayerFirstVideoFrameAvailable): New, if still displaying the poster
    6744             change the display mode to Video and force a style recalc so the video layer gets hooked
    6745             up the the render tree.
    6746         * html/HTMLMediaElement.h: Define new display mode, PosterWaitingForVideo, to signal that we
    6747             want to stop displaying the poster as soon as the first frame of video is available.
    6748 
    6749         * html/HTMLVideoElement.cpp:
    6750         (WebCore::HTMLVideoElement::setDisplayMode): Change display mode to PosterWaitingForVideo when
    6751             we want to display Video but the media engines doesn't have the first frame yet.
    6752         * html/HTMLVideoElement.h:
    6753         (WebCore::HTMLVideoElement::shouldDisplayPosterImage): Update to return true when display mode
    6754             is PosterWaitingForVideo.
    6755 
    6756         * manual-tests/media-elements/video-replaces-poster.html: Clean up bit-rot from patch changes.
    6757 
    6758         * platform/graphics/MediaPlayer.cpp:
    6759         (WebCore::MediaPlayer::firstVideoFrameAvailable): New, passthrough from media engien to element.
    6760         * platform/graphics/MediaPlayer.h:
    6761         (WebCore::MediaPlayerClient::mediaPlayerFirstVideoFrameAvailable):
    6762 
    6763         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
    6764         (WebCore::MediaPlayerPrivateAVFoundation::MediaPlayerPrivateAVFoundation): Initialize
    6765             m_haveReportedFirstVideoFrame and m_playWhenFramesAvailable.
    6766         (WebCore::MediaPlayerPrivateAVFoundation::play): Don't actually start playback until the first
    6767             frame of video has loaded, or audio will begin to play before we can show video.
    6768         (WebCore::MediaPlayerPrivateAVFoundation::pause): Clear m_playWhenFramesAvailable.
    6769         (WebCore::MediaPlayerPrivateAVFoundation::updateStates): When first frame of video is
    6770             available, inform elment and begin playback if it was previousl requested.
    6771         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
    6772 
    6773         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.h:
    6774         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm:
    6775         (WebCore::MediaPlayerPrivateAVFoundationObjC::destroyContextVideoRenderer): Correct logging.
    6776         (WebCore::MediaPlayerPrivateAVFoundationObjC::createVideoLayer): Ditto.
    6777         (WebCore::MediaPlayerPrivateAVFoundationObjC::platformPlay): Renamed from play.
    6778         (WebCore::MediaPlayerPrivateAVFoundationObjC::platformPause): Rename from pause.
    6779 
    6780 2011-04-12  Jian Li  <jianli@chromium.org>
    6781 
    6782         Unreviewed, rolling out r83649.
    6783         http://trac.webkit.org/changeset/83649
    6784         https://bugs.webkit.org/show_bug.cgi?id=57563
    6785 
    6786         This patch causes compiling errors for chromium
    6787 
    6788         * platform/graphics/chromium/FontChromiumWin.cpp:
    6789         (WebCore::TransparencyAwareFontPainter::TransparencyAwareFontPainter::initializeForGDI):
    6790         (WebCore::TransparencyAwareFontPainter::TransparencyAwareFontPainter::~TransparencyAwareFontPainter):
    6791         (WebCore::Font::drawComplexText):
    6792         * platform/graphics/chromium/ImageBufferData.h:
    6793         * platform/graphics/chromium/LayerChromium.h:
    6794         * platform/graphics/chromium/LayerRendererChromium.h:
    6795         * platform/graphics/chromium/PlatformCanvas.cpp:
    6796         (WebCore::PlatformCanvas::resize):
    6797         * platform/graphics/chromium/PlatformCanvas.h:
    6798         * platform/graphics/chromium/TransparencyWin.cpp:
    6799         (WebCore::TransparencyWin::compositeTextComposite):
    6800         (WebCore::TransparencyWin::makeLayerOpaque):
    6801         * platform/graphics/skia/ImageBufferSkia.cpp:
    6802         (WebCore::ImageBuffer::ImageBuffer):
    6803         * platform/graphics/skia/ImageSkia.cpp:
    6804         (WebCore::paintSkBitmap):
    6805         (WebCore::Image::drawPattern):
    6806         * platform/graphics/skia/PlatformContextSkia.cpp:
    6807         (WebCore::PlatformContextSkia::PlatformContextSkia):
    6808         (WebCore::PlatformContextSkia::setCanvas):
    6809         (WebCore::PlatformContextSkia::isPrinting):
    6810         (WebCore::PlatformContextSkia::isNativeFontRenderingAllowed):
    6811         * platform/graphics/skia/PlatformContextSkia.h:
    6812         (WebCore::PlatformContextSkia::canvas):
    6813 
    6814 2011-04-12  Enrica Casucci  <enrica@apple.com>
    6815 
    6816         Reviewed by Alexey Proskuryakov.
    6817 
    6818         Implement non-activating clicks to allow dragging out of a background window.
    6819         https://bugs.webkit.org/show_bug.cgi?id=55053
    6820         <rdar://problem/9042197>
    6821 
    6822         * WebCore.exp.in: Added new exported method.
    6823 
    6824 2011-04-12  Geoffrey Garen  <ggaren@apple.com>
    6825 
    6826         Reviewed by Geoffrey Garen.
    6827 
    6828         Cleaned up hash traits, and added hash traits for handles
    6829         https://bugs.webkit.org/show_bug.cgi?id=58381
    6830 
    6831         * dom/QualifiedName.h: Use new SimpleClassHashTraits to avoid duplication.
    6832 
    6833         * platform/KURL.h:
    6834         (WebCore::KURL::KURL):
    6835         (WebCore::KURL::isHashTableDeletedValue): Added explicit hash table
    6836         deleted value constructor, to be more explicit and enable use of
    6837         SimpleClassHashTraits.
    6838 
    6839         * platform/KURLHash.h: Use new SimpleClassHashTraits to avoid duplication.
    6840 
    6841         * platform/graphics/FontCache.cpp: Ditto.
    6842         * platform/network/ProtectionSpaceHash.h: Ditto.
    6843         * svg/properties/SVGAnimatedPropertyDescription.h: Ditto.
    6844 
    6845 2011-04-12  Luiz Agostini  <luiz.agostini@openbossa.org>
    6846 
    6847         Reviewed by Andreas Kling.
    6848 
    6849         [Qt] QNetworkReplyHandler refactoring: remove nested event loop.
    6850         https://bugs.webkit.org/show_bug.cgi?id=58375
    6851 
    6852         As QNAM now makes actual synchronous loads there is no need for a nested event loop
    6853         in ResourceHandleQt.
    6854 
    6855         Moving the call for QNetworkReplyWrapper::synchronousLoad from
    6856         ResourceHandle::loadResourceSynchronously to QNetworkReplyHandler::start for the
    6857         redirections to work in synchronous requests.
    6858 
    6859         * platform/network/qt/QNetworkReplyHandler.cpp:
    6860         (WebCore::QNetworkReplyHandler::start):
    6861         * platform/network/qt/QNetworkReplyHandler.h:
    6862         * platform/network/qt/ResourceHandleQt.cpp:
    6863         (WebCore::WebCoreSynchronousLoader::WebCoreSynchronousLoader):
    6864         (WebCore::WebCoreSynchronousLoader::didReceiveResponse):
    6865         (WebCore::WebCoreSynchronousLoader::didReceiveData):
    6866         (WebCore::WebCoreSynchronousLoader::didFinishLoading):
    6867         (WebCore::WebCoreSynchronousLoader::didFail):
    6868         (WebCore::ResourceHandle::loadResourceSynchronously):
    6869 
    6870 2011-04-11  Jer Noble  <jer.noble@apple.com>
    6871 
    6872         Reviewed by Simon Fraser.
    6873 
    6874         REGRESSION: Vimeo fullscreen video displays incorrectly
    6875         https://bugs.webkit.org/show_bug.cgi?id=58291
    6876 
    6877         Set the RenderFullScreen's zIndex to the max.  And make sure to override
    6878         a video element's specified width and height by making its full screen rules
    6879         important.  Also, always show the controls when a media element is in full
    6880         screen mode.
    6881 
    6882         Test: fullscreen/video-specified-size.html
    6883         Test: fullscreen/full-screen-zIndex.html
    6884 
    6885         * css/fullscreen.css:
    6886         (video:-webkit-full-screen):
    6887         * html/HTMLMediaElement.cpp:
    6888         (WebCore::HTMLMediaElement::controls): Always show controls in full screen mode.
    6889         (WebCore::HTMLMediaElement::preDispatchEventHandler): Added. Handle the fullscreen
    6890             change event and hide or show the controls accordingly.
    6891         * html/HTMLMediaElement.h:
    6892         * rendering/RenderFullScreen.cpp:
    6893         (RenderFullScreen::createFullScreenStyle): Set the zIndex to INT_MAX and use a
    6894             vertical flexbox instead of a horizontal one.
    6895 
    6896 2011-04-12  Chris Marrin  <cmarrin@apple.com>
    6897 
    6898         Reviewed by Simon Fraser.
    6899 
    6900         Page tears and stutters in WebKit2 when page is > 2048 pixels wide
    6901         https://bugs.webkit.org/show_bug.cgi?id=58330
    6902 
    6903         Added API to GraphicsLayer to disable switching to tiled layers. This is
    6904         set in the nonCompositedContentLayer in WK2, causing that layer to never
    6905         switch to tiles and avoiding the asynchronous update of the content during
    6906         scroll.
    6907 
    6908         * platform/graphics/ca/GraphicsLayerCA.cpp:
    6909             Implement setAllowTiledLayer() to simulate a SizeChanged action to
    6910             properly switch between tiled and untiled layer.
    6911         * platform/graphics/ca/GraphicsLayerCA.h:
    6912 
    6913 2011-04-12  Alok Priyadarshi  <alokp@chromium.org>
    6914 
    6915         Reviewed by James Robinson.
    6916 
    6917         Remove dependency on chromium skia::PlatformCanvas
    6918         https://bugs.webkit.org/show_bug.cgi?id=57563
    6919 
    6920         This patch does not change any functionality, just the type of object skia::PlatformCanvas -> SkCanvas.
    6921         The object is still being created by a factory method skia::CreateBitmapCanvas defined in Chromium.
    6922         We will eventually define an API that every port using skia will define.
    6923 
    6924         * platform/graphics/chromium/FontChromiumWin.cpp:
    6925         (WebCore::TransparencyAwareFontPainter::TransparencyAwareFontPainter::initializeForGDI):
    6926         (WebCore::TransparencyAwareFontPainter::TransparencyAwareFontPainter::~TransparencyAwareFontPainter):
    6927         (WebCore::Font::drawComplexText):
    6928         * platform/graphics/chromium/ImageBufferData.h:
    6929         * platform/graphics/chromium/LayerChromium.h:
    6930         * platform/graphics/chromium/LayerRendererChromium.h:
    6931         * platform/graphics/chromium/PlatformCanvas.cpp:
    6932         (WebCore::PlatformCanvas::resize):
    6933         * platform/graphics/chromium/PlatformCanvas.h:
    6934         * platform/graphics/chromium/TransparencyWin.cpp:
    6935         (WebCore::TransparencyWin::compositeTextComposite):
    6936         (WebCore::TransparencyWin::makeLayerOpaque):
    6937         * platform/graphics/skia/ImageBufferSkia.cpp:
    6938         (WebCore::ImageBuffer::ImageBuffer):
    6939         * platform/graphics/skia/ImageSkia.cpp:
    6940         (WebCore::paintSkBitmap):
    6941         (WebCore::Image::drawPattern):
    6942         * platform/graphics/skia/PlatformContextSkia.cpp:
    6943         (WebCore::PlatformContextSkia::PlatformContextSkia):
    6944         (WebCore::PlatformContextSkia::setCanvas):
    6945         (WebCore::PlatformContextSkia::isNativeFontRenderingAllowed):
    6946         * platform/graphics/skia/PlatformContextSkia.h:
    6947         (WebCore::PlatformContextSkia::canvas):
    6948         (WebCore::PlatformContextSkia::printing):
    6949         (WebCore::PlatformContextSkia::setPrinting):
    6950 
    6951 2011-04-11  Stephanie Lewis  <slewis@apple.com>
    6952 
    6953         Reviewed by Oliver Hunt.
    6954 
    6955         https://bugs.webkit.org/show_bug.cgi?id=58280
    6956         <rdar://problem/9252824> javascript in an inconsistent state due to serialization returning an un-handled exception
    6957         Currently serialization and deserialization can throw javascript exceptions.  Since SerializedScriptValue is called in
    6958         several places that do not always involve direct calls into javascript have the functions return an error code and the callers
    6959         decide whether or not to throw exceptions.
    6960 
    6961         Don't allow SerializedScriptValue to attempt to serialize objects that inherit from JSNavigator.h.  Walking that object creates
    6962         additional objects which eventually causes serialization to end up throwing a stack overflow error.  Instead fail immediately.
    6963 
    6964         Untangle header includes.  SerializedScriptValue was inheriting ScriptValue.h, but not using it.  Since ScriptValue depends on
    6965         SerializedScriptValue this could lead to a circular header dependency.
    6966 
    6967         No change in functionality, covered by current tests
    6968 
    6969         * WebCore.exp.in:
    6970         * bindings/js/JSMessageEventCustom.cpp:
    6971         (WebCore::JSMessageEvent::initMessageEvent):
    6972         * bindings/js/ScriptValue.cpp:
    6973         (WebCore::ScriptValue::serialize):
    6974         (WebCore::ScriptValue::deserialize):
    6975         * bindings/js/ScriptValue.h:
    6976         * bindings/js/SerializedScriptValue.cpp:
    6977         (WebCore::CloneSerializer::serialize):
    6978         (WebCore::CloneSerializer::dumpIfTerminal):
    6979         (WebCore::CloneDeserializer::deserialize):
    6980         (WebCore::SerializedScriptValue::create):
    6981         (WebCore::SerializedScriptValue::deserialize):
    6982         (WebCore::SerializedScriptValue::maybeThrowExceptionIfSerializationFailed):
    6983         (WebCore::SerializedScriptValue::serializationDidCompleteSuccessfully):
    6984         * bindings/js/SerializedScriptValue.h:
    6985 
    6986         * bindings/js/JSWorkerContextBase.cpp: header include fix
    6987         * loader/FrameLoader.h: header include fix
    6988         * page/Frame.cpp: header include fix
    6989 
    6990 2011-03-28  Adam Barth  <abarth@webkit.org>
    6991 
    6992         Reviewed by Kenneth Russell.
    6993 
    6994         Move libtess from WebCore/thirdparty to ThirdParty
    6995         https://bugs.webkit.org/show_bug.cgi?id=57288
    6996 
    6997         * WebCore.gyp/WebCore.gyp:
    6998             - Add libtess as a legit dependency.
    6999         * WebCore.gypi:
    7000             - Remove libtess files from the gypi.
    7001         * thirdparty/glu: Removed.
    7002 
    7003 2011-04-12  Ryosuke Niwa  <rniwa@webkit.org>
    7004 
    7005         Reviewed by David Hyatt.
    7006 
    7007         Bundle w and tmpW in findNextLineBreak together as a class
    7008         https://bugs.webkit.org/show_bug.cgi?id=58362
    7009 
    7010         Renamed w, tempW, and width in findNextLineBreak to committedWidth, uncommittedWidth,
    7011         and availableWidth respectively. Also bundled committedWidth and uncommittedWith as a class
    7012         named LineWidth.
    7013 
    7014         * rendering/RenderBlockLineLayout.cpp:
    7015         (WebCore::LineWidth::LineWidth): Added.
    7016         (WebCore::LineWidth::currentWidth): Added; returns the sum of committed and uncommitted width.
    7017         (WebCore::LineWidth::uncommittedWidth): Added.
    7018         (WebCore::LineWidth::committedWidth): Added.
    7019         (WebCore::LineWidth::addUncommittedWidth): Added; adds the specified width to the uncommitted width.
    7020         (WebCore::LineWidth::commit): Added; commits the current width and clears the uncommitted width.
    7021         (WebCore::RenderBlock::findNextLineBreak): Uses LineWidth.
    7022 
    7023 2011-04-12  Yael Aharon  <yael.aharon@nokia.com>
    7024 
    7025         Reviewed by Eric Seidel.
    7026 
    7027         REGRESSION(r82419): extra border in t0805-c5519-ibrdr-r-00-a.html
    7028         https://bugs.webkit.org/show_bug.cgi?id=57459
    7029 
    7030         Slightly change the way we decide if a InlineFlowBox is the last box for its renderer.
    7031         We include the border in that box under these conditions:
    7032         (1) The next line was not created, or it is constructed. We check the previous line for rtl.
    7033         (2) The logicallyLastRun is not a descendant of this renderer.
    7034         (3) The logicallyLastRun is a descendant of this renderer, but it is the last child of this renderer and it does not wrap to the next line.
    7035         I added the tests from bug 47210, because now the draw the borders correctly.
    7036 
    7037         Tests: fast/borders/bidi-002.html
    7038                fast/borders/bidi-004.html
    7039                fast/borders/bidi-009a.html
    7040 
    7041         * rendering/InlineFlowBox.cpp:
    7042         (WebCore::InlineFlowBox::onEndChain):
    7043         (WebCore::isAnsectorAndWithinBlock):
    7044         (WebCore::InlineFlowBox::determineSpacingForFlowBoxes):
    7045         * rendering/InlineFlowBox.h:
    7046         * rendering/RenderBlock.h:
    7047         * rendering/RenderBlockLineLayout.cpp:
    7048         (WebCore::RenderBlock::constructLine):
    7049         (WebCore::RenderBlock::layoutInlineChildren):
    7050 
    7051 2011-04-12  Geoffrey Garen  <ggaren@apple.com>
    7052 
    7053         Reviewed by Sam Weinig.
    7054 
    7055         Cleaned up some Vector traits, and added missing Vector traits for handles
    7056         https://bugs.webkit.org/show_bug.cgi?id=58372
    7057 
    7058         * platform/graphics/BitmapImage.h: Added a FIXME because the current
    7059         Vector traits for FrameData are logically incorrect, but I couldn't find
    7060         a place where this currently results in bad behavior, and it's not
    7061         immediately obvious what the right solution is.
    7062 
    7063 2011-04-12  Dimitri Glazkov  <dglazkov@chromium.org>
    7064 
    7065         Reviewed by Eric Seidel.
    7066 
    7067         Move MediaControlElements to html/shadow.
    7068         https://bugs.webkit.org/show_bug.cgi?id=58347
    7069 
    7070         Mechanical move of the files.
    7071 
    7072         * Android.mk: Updated the build file.
    7073         * CMakeLists.txt: Ditto.
    7074         * GNUmakefile.list.am: Ditto.
    7075         * WebCore.gypi: Ditto.
    7076         * WebCore.pro: Ditto.
    7077         * WebCore.vcproj/WebCore.vcproj: Ditto.
    7078         * WebCore.xcodeproj/project.pbxproj: Ditto, also ran sort-XCode-project-files.
    7079         * html/shadow/MediaControlElements.cpp: Copied from Source/WebCore/rendering/MediaControlElements.cpp.
    7080         (WebCore::MediaControlFullscreenButtonElement::defaultEventHandler):
    7081         * html/shadow/MediaControlElements.h: Copied from Source/WebCore/rendering/MediaControlElements.h.
    7082         * rendering/MediaControlElements.cpp: Removed.
    7083         * rendering/MediaControlElements.h: Removed.
    7084         * rendering/RenderingAllInOne.cpp: Removed the files that were moved.
    7085 
    7086 2011-04-12  Luiz Agostini  <luiz.agostini@openbossa.org>
    7087 
    7088         Reviewed by Andreas Kling.
    7089 
    7090         [Qt] QNetworkReplyHandler refactoring: signal queue
    7091         https://bugs.webkit.org/show_bug.cgi?id=57075
    7092 
    7093         The idea is to make all signals that come from the QNetworkReply to pass through a queue and to
    7094         stop that queue when loading is deferred. This way almost all the deferred logic can be removed
    7095         from QNetworkReplyHandler class and encapsulated in its own class.
    7096 
    7097         To stop the queue during wrapper methods execution avoids stacking handler methods over wrapper
    7098         methods. Because of this there is no chance for the wrapper to be destroyed inside one of its methods.
    7099         This together with empting the queue at wrapper destruction time makes sure that the handler will
    7100         not receive calls from a dead wrapper.
    7101 
    7102         The new class is named QNetworkReplyHandlerCallQueue.
    7103 
    7104         * platform/network/qt/QNetworkReplyHandler.cpp:
    7105         (WebCore::QNetworkReplyHandlerCallQueue::QNetworkReplyHandlerCallQueue):
    7106         (WebCore::QNetworkReplyHandlerCallQueue::push):
    7107         (WebCore::QNetworkReplyHandlerCallQueue::lock):
    7108         (WebCore::QNetworkReplyHandlerCallQueue::unlock):
    7109         (WebCore::QNetworkReplyHandlerCallQueue::setDeferSignals):
    7110         (WebCore::QueueLocker::QueueLocker):
    7111         (WebCore::QueueLocker::~QueueLocker):
    7112         (WebCore::QNetworkReplyWrapper::QNetworkReplyWrapper):
    7113         (WebCore::QNetworkReplyWrapper::~QNetworkReplyWrapper):
    7114         (WebCore::QNetworkReplyWrapper::receiveMetaData):
    7115         (WebCore::QNetworkReplyWrapper::readyRead):
    7116         (WebCore::QNetworkReplyWrapper::didReceiveFinished):
    7117         (WebCore::QNetworkReplyHandler::QNetworkReplyHandler):
    7118         (WebCore::QNetworkReplyHandler::resetState):
    7119         (WebCore::QNetworkReplyHandler::release):
    7120         (WebCore::QNetworkReplyHandler::finish):
    7121         (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
    7122         (WebCore::QNetworkReplyHandler::forwardData):
    7123         (WebCore::QNetworkReplyHandler::start):
    7124         (WebCore::QNetworkReplyHandler::synchronousLoad):
    7125         * platform/network/qt/QNetworkReplyHandler.h:
    7126         (WebCore::QNetworkReplyHandlerCallQueue::deferSignals):
    7127         (WebCore::QNetworkReplyHandlerCallQueue::clear):
    7128         (WebCore::QNetworkReplyWrapper::synchronousLoad):
    7129         (WebCore::QNetworkReplyHandler::setLoadingDeferred):
    7130         * platform/network/qt/ResourceHandleQt.cpp:
    7131         (WebCore::ResourceHandle::loadResourceSynchronously):
    7132 
    7133 2011-04-12  David Hyatt  <hyatt@apple.com>
    7134 
    7135         Reviewed by Dan Bernstein.
    7136 
    7137         https://bugs.webkit.org/show_bug.cgi?id=58176
    7138        
    7139         Inline replaced elements following positioned elements on lines are not rendered. Make sure the
    7140         logic for skipping run construction in appendRunsForObject matches the new logic that I added
    7141         to findNextLineBreak. If they don't match up, you risk confusing the run construction code and
    7142         causing it to not make runs for objects that follow the positioned object on the line.
    7143 
    7144         Added fast/inline/positioned-object-between-replaced-elements.html
    7145        
    7146         * rendering/RenderBlockLineLayout.cpp:
    7147         (WebCore::RenderBlock::appendRunsForObject):
    7148 
    7149 2011-04-12  Alice Liu  <alice.liu@apple.com>
    7150 
    7151         Reviewed by Sam Weinig.
    7152 
    7153         https://bugs.webkit.org/show_bug.cgi?id=58292
    7154         Provide new setting to allow site icon loading despite disabling automatic image loading in general.
    7155 
    7156         Test: http/tests/misc/favicon-loads-with-icon-loading-override.html
    7157 
    7158         * WebCore.exp.in: Added export symbol
    7159         * loader/FrameLoader.cpp:
    7160         (WebCore::FrameLoader::startIconLoader): Check new setting before deciding that site icon images shouldn't be loaded.
    7161         * page/Settings.cpp:
    7162         (WebCore::Settings::Settings): Add initializer for new setting
    7163         (WebCore::Settings::setLoadsSiteIconsIgnoringImageLoadingSetting): Add setter for new setting.
    7164         * page/Settings.h: Explain nuances regarding loadsImagesAutomatically setting.
    7165         (WebCore::Settings::loadsSiteIconsIgnoringImageLoadingSetting): Added getter.
    7166 
    7167 2011-04-12  Ryosuke Niwa  <rniwa@webkit.org>
    7168 
    7169         Reviewed by Eric Seidel.
    7170 
    7171         Move StyleChange and other global functions from ApplyStyleCommand to EditingStyle
    7172         https://bugs.webkit.org/show_bug.cgi?id=55974
    7173 
    7174         Moved StyleChange, getIdentifierValue, and legacyFontSizeFromCSSValue from ApplyStyleCommand
    7175         to EditingStyle. Also moved reconcileTextDecorationProperties, getIdentifierValue,
    7176         setTextDecorationProperty, isCSSValueLength, legacyFontSizeFromCSSValue, extractTextStyles,
    7177         diffTextDecorations, fontWeightIsBold, getTextAlignment, and getPropertiesNotIn.
    7178 
    7179         Because of this move, getPropertiesNotIn is no longer visible outside of EditingStyle.cpp
    7180 
    7181         * editing/ApplyStyleCommand.cpp:
    7182         * editing/ApplyStyleCommand.h:
    7183         * editing/EditingStyle.cpp:
    7184         (WebCore::reconcileTextDecorationProperties):
    7185         (WebCore::StyleChange::StyleChange):
    7186         (WebCore::setTextDecorationProperty):
    7187         (WebCore::getRGBAFontColor):
    7188         (WebCore::StyleChange::extractTextStyles):
    7189         (WebCore::diffTextDecorations):
    7190         (WebCore::fontWeightIsBold):
    7191         (WebCore::getTextAlignment):
    7192         (WebCore::getPropertiesNotIn):
    7193         (WebCore::getIdentifierValue):
    7194         (WebCore::isCSSValueLength):
    7195         (WebCore::legacyFontSizeFromCSSValue):
    7196         * editing/EditingStyle.h:
    7197         (WebCore::StyleChange::cssStyle):
    7198         (WebCore::StyleChange::applyBold):
    7199         (WebCore::StyleChange::applyItalic):
    7200         (WebCore::StyleChange::applyUnderline):
    7201         (WebCore::StyleChange::applyLineThrough):
    7202         (WebCore::StyleChange::applySubscript):
    7203         (WebCore::StyleChange::applySuperscript):
    7204         (WebCore::StyleChange::applyFontColor):
    7205         (WebCore::StyleChange::applyFontFace):
    7206         (WebCore::StyleChange::applyFontSize):
    7207         (WebCore::StyleChange::fontColor):
    7208         (WebCore::StyleChange::fontFace):
    7209         (WebCore::StyleChange::fontSize):
    7210         (WebCore::StyleChange::operator==):
    7211         (WebCore::StyleChange::operator!=):
    7212 
    7213 2011-04-12  Diego Gonzalez  <diegohcg@webkit.org>
    7214 
    7215         Reviewed by Kenneth Rohde Christiansen.
    7216 
    7217         [Qt] Better padding for inputs and comboxes in mobile theme
    7218         https://bugs.webkit.org/show_bug.cgi?id=58248
    7219 
    7220         * platform/qt/RenderThemeQt.cpp:
    7221         (WebCore::RenderThemeQt::setButtonPadding):
    7222         (WebCore::RenderThemeQt::adjustTextFieldStyle):
    7223         (WebCore::RenderThemeQt::paintTextField):
    7224         (WebCore::RenderThemeQt::adjustMenuListStyle):
    7225 
    7226 2011-04-11  Abhishek Arya  <inferno@chromium.org>
    7227 
    7228         Reviewed by Dave Hyatt.
    7229 
    7230         Replace insertChildNode with addChild in handleRunIn's reparenting
    7231         of inlineRunIn to currBlock.
    7232         https://bugs.webkit.org/show_bug.cgi?id=58228
    7233 
    7234         Use addChild instead of insertChildNode since it handles
    7235         correct placement of the children, esp where we cannot insert
    7236         anything before the first child. e.g. details tag requires that its
    7237         first child be a summary child and won't be able to remove child if
    7238         that is not the case.
    7239 
    7240         Test: fast/runin/runin-reparent-crash.html
    7241 
    7242         * rendering/RenderBlock.cpp:
    7243         (WebCore::RenderBlock::handleRunInChild):
    7244 
    7245 2011-04-12  Chris Fleizach  <cfleizach@apple.com>
    7246 
    7247         Unreviewed. Fixing Leopard build.
    7248 
    7249         REGRESSION: WK2: misspelled AX attributes no longer returned from text fields
    7250         https://bugs.webkit.org/show_bug.cgi?id=58304
    7251 
    7252         checkTextOfParagraph is not available on Leopard. That code needs to be conditionalized with USE(UNIFIED_TEXT_CHECKING).
    7253 
    7254         * accessibility/mac/AccessibilityObjectWrapper.mm:
    7255         (AXAttributeStringSetSpelling):
    7256 
    7257 2011-04-12  Mario Sanchez Prada  <msanchez@igalia.com>
    7258 
    7259         Unreviewed. Added missing files to GNUmakefile.list.am.
    7260 
    7261         * GNUmakefile.list.am: Added IDBLevelDBBackingStore.[h|cpp].
    7262 
    7263 2011-04-12  Cris Neckar  <cdn@chromium.org>
    7264 
    7265         Reviewed by Nikolas Zimmermann.
    7266 
    7267         Add handling for non-svg inline text boxes in text box lists.
    7268         https://bugs.webkit.org/show_bug.cgi?id=57933
    7269 
    7270         Test: svg/text/svg-rtl-text-crash.html
    7271 
    7272         * rendering/svg/RenderSVGInlineText.cpp:
    7273         (WebCore::RenderSVGInlineText::positionForPoint):
    7274         * rendering/svg/SVGInlineFlowBox.cpp:
    7275         (WebCore::SVGInlineFlowBox::computeTextMatchMarkerRectForRenderer):
    7276         * rendering/svg/SVGRenderTreeAsText.cpp:
    7277         (WebCore::writeSVGInlineTextBoxes):
    7278         * rendering/svg/SVGRootInlineBox.cpp:
    7279         (WebCore::SVGRootInlineBox::closestLeafChildForPosition):
    7280         (WebCore::reverseInlineBoxRangeAndValueListsIfNeeded):
    7281         * rendering/svg/SVGTextQuery.cpp:
    7282         (WebCore::SVGTextQuery::collectTextBoxesInFlowBox):
    7283 
    7284 2011-04-12  Mario Sanchez Prada  <msanchez@igalia.com>
    7285 
    7286         Reviewed by Chris Fleizach.
    7287 
    7288         [GTK] Expose menu items and menus as children of a menu bar
    7289         https://bugs.webkit.org/show_bug.cgi?id=56659
    7290 
    7291         Ensure menu items get exposed when they're children of menu bars.
    7292 
    7293         * accessibility/AccessibilityRenderObject.cpp:
    7294         (WebCore::AccessibilityRenderObject::determineAriaRoleAttribute):
    7295         Consider menu bars as potential parent objects for menu items.
    7296 
    7297 2011-04-12  Pavel Feldman  <pfeldman@google.com>
    7298 
    7299         Reviewed by Yury Semikhatsky.
    7300 
    7301         Web Inspector: remove scriptWorldType from the protocol.
    7302         https://bugs.webkit.org/show_bug.cgi?id=58324
    7303 
    7304         * inspector/Inspector.json:
    7305         * inspector/InspectorDebuggerAgent.cpp:
    7306         (WebCore::InspectorDebuggerAgent::didParseSource):
    7307         * inspector/ScriptDebugListener.h:
    7308         (WebCore::ScriptDebugListener::~ScriptDebugListener):
    7309         * inspector/front-end/DebuggerModel.js:
    7310         (WebInspector.DebuggerModel.prototype._parsedScriptSource):
    7311         (WebInspector.DebuggerDispatcher.prototype.scriptParsed):
    7312         * inspector/front-end/Script.js:
    7313         (WebInspector.Script):
    7314         * inspector/front-end/ScriptsPanel.js:
    7315         * inspector/front-end/SourceFile.js:
    7316         (WebInspector.SourceFile):
    7317 
    7318 2011-04-11  Dimitri Glazkov  <dglazkov@chromium.org>
    7319 
    7320         Reviewed by Eric Carlson.
    7321 
    7322         Should MediaControls::changedNetworkState fiddle with Fullscreen controls?
    7323         https://bugs.webkit.org/show_bug.cgi?id=58163
    7324 
    7325         Covered by existing tests and manual-tests/media-controls.html.
    7326 
    7327         * html/shadow/MediaControls.cpp:
    7328         (WebCore::MediaControls::reset): Moved fullscreen showing/hiding here.
    7329         (WebCore::MediaControls::changedNetworkState): ... from here.
    7330 
    7331 2011-04-12  Ilya Tikhonovsky  <loislo@chromium.org>
    7332 
    7333         Reviewed by Pavel Feldman.
    7334 
    7335         Web Inspector: remove unnecessary method InspectorAgent.didEvaluateForTestInFrontend.
    7336         https://bugs.webkit.org/show_bug.cgi?id=58335
    7337 
    7338         It was the method for Inspector layout tests.
    7339         We can use RuntimeAgent.evaluate instead.
    7340 
    7341         * inspector/Inspector.json:
    7342         * inspector/InspectorAgent.cpp:
    7343         * inspector/InspectorAgent.h:
    7344         * inspector/InspectorController.cpp:
    7345         (WebCore::InspectorController::connectFrontend):
    7346         * inspector/front-end/TestController.js:
    7347         (WebInspector.TestController.prototype.notifyDone):
    7348 
    7349 2011-04-12  Philippe Normand  <pnormand@igalia.com>
    7350 
    7351         Reviewed by Martin Robinson.
    7352 
    7353         [GStreamer] some public callbacks remain
    7354         https://bugs.webkit.org/show_bug.cgi?id=58307
    7355 
    7356         Cleanup of the player public/private APIs. Moving the GstMessage
    7357         handling code inside of the player allowed some APIs to move to
    7358         the private scope of the class.
    7359 
    7360         No new tests, this patch is a cleanup and should not affect
    7361         current tests coverage.
    7362 
    7363         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
    7364         (WebCore::mediaPlayerPrivateMessageCallback):
    7365         (WebCore::mediaPlayerPrivateSourceChangedCallback):
    7366         (WebCore::mediaPlayerPrivateVolumeChangedCallback):
    7367         (WebCore::mediaPlayerPrivateMuteChangedCallback):
    7368         (WebCore::mediaPlayerPrivateRepaintCallback):
    7369         (WebCore::MediaPlayerPrivateGStreamer::playbackPosition):
    7370         (WebCore::MediaPlayerPrivateGStreamer::currentTime):
    7371         (WebCore::MediaPlayerPrivateGStreamer::seek):
    7372         (WebCore::MediaPlayerPrivateGStreamer::setRate):
    7373         (WebCore::MediaPlayerPrivateGStreamer::handleMessage):
    7374         (WebCore::MediaPlayerPrivateGStreamer::sourceChanged):
    7375         (WebCore::MediaPlayerPrivateGStreamer::triggerRepaint):
    7376         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
    7377 
    7378 2011-04-12  Philippe Normand  <pnormand@igalia.com>
    7379 
    7380         Reviewed by Martin Robinson.
    7381 
    7382         [GStreamer] advertize HTTP Live Streaming mime-type
    7383         https://bugs.webkit.org/show_bug.cgi?id=58318
    7384 
    7385         Register the hls mime-type in the internal cache if found in the
    7386         typefind factories.
    7387 
    7388         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
    7389         (WebCore::mimeTypeCache):
    7390 
    7391 2011-04-11  MORITA Hajime  <morrita@google.com>
    7392 
    7393         Reviewed by Ryosuke Niwa.
    7394        
    7395         RenderIndicator and ShadowBlockElement are no longer used.
    7396         https://bugs.webkit.org/show_bug.cgi?id=58277
    7397 
    7398         Removed RenderIndicator and ShadowBlockElement.
    7399        
    7400         No new tests. Just removed unused code.
    7401 
    7402         * CMakeLists.txt:
    7403         * GNUmakefile.list.am:
    7404         * WebCore.gypi:
    7405         * WebCore.pro:
    7406         * WebCore.vcproj/WebCore.vcproj:
    7407         * WebCore.xcodeproj/project.pbxproj:
    7408         * rendering/RenderIndicator.cpp: Removed.
    7409         * rendering/RenderIndicator.h: Removed.
    7410         * rendering/RenderMeter.h:
    7411         * rendering/RenderingAllInOne.cpp:
    7412         * rendering/ShadowElement.cpp:
    7413         * rendering/ShadowElement.h:
    7414 
    7415 2011-04-12  Csaba Osztrogonác  <ossy@webkit.org>
    7416 
    7417         Reviewed by Benjamin Poulain.
    7418 
    7419         fast/css/dashboard-regions-attr-crash.html asserts
    7420         https://bugs.webkit.org/show_bug.cgi?id=58233
    7421 
    7422         Move DASHBOARD_SUPPORT feature detection from features.pri to CodeGenerators.pri
    7423         not to generate incorrect properties into CSSPropertyNames.h.
    7424 
    7425         * CodeGenerators.pri:
    7426         * features.pri:
    7427 
    7428 2011-04-12  Chris Fleizach  <cfleizach@apple.com>
    7429 
    7430         Reviewed by Dan Bernstein.
    7431 
    7432         REGRESSION: WK2: misspelled AX attributes no longer returned from text fields
    7433         https://bugs.webkit.org/show_bug.cgi?id=58304
    7434 
    7435         checkSpellingOfString is no longer implemented in WK2. Accessibility needs to change to use
    7436         checkTextOfParagraph in order to retrieve misspelled ranges.
    7437 
    7438         Existing tests cover this functionality.
    7439 
    7440         * accessibility/mac/AccessibilityObjectWrapper.mm:
    7441         (AXAttributeStringSetSpelling):
    7442 
    7443 2011-04-12  Sergio Villar Senin  <svillar@igalia.com>
    7444 
    7445         Reviewed by Martin Robinson.
    7446 
    7447         [GTK] Remove m_idleHandler from ResourceHandleSoup
    7448         https://bugs.webkit.org/show_bug.cgi?id=58319
    7449 
    7450         The m_idleHandler attribute is no longer used in ResourceHandleSoup.
    7451         No new tests needed, no functionality change.
    7452 
    7453         * platform/network/ResourceHandleInternal.h:
    7454         (WebCore::ResourceHandleInternal::ResourceHandleInternal):
    7455         * platform/network/soup/ResourceHandleSoup.cpp:
    7456         (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
    7457 
    7458 2011-04-12  Andrey Adaikin  <aandrey@google.com>
    7459 
    7460         Reviewed by Yury Semikhatsky.
    7461 
    7462         Web Inspector: Breakpoints and execution line decoration should stay in place if the edited line is not whitespace
    7463         https://bugs.webkit.org/show_bug.cgi?id=58314
    7464 
    7465         * inspector/front-end/SourceFrame.js:
    7466         (WebInspector.SourceFrame.prototype._lineNumberAfterEditing):
    7467 
    7468 2011-04-11  Pavel Podivilov  <podivilov@chromium.org>
    7469 
    7470         Reviewed by Pavel Feldman.
    7471 
    7472         Web Inspector: move shortcut handlers from SourceFrame to TextViewer.
    7473         https://bugs.webkit.org/show_bug.cgi?id=58238
    7474 
    7475         Commit/cancel editing functionality is common for all resource types, and it deals with TextViewer state.
    7476 
    7477         * inspector/front-end/SourceFrame.js:
    7478         (WebInspector.SourceFrame):
    7479         (WebInspector.SourceFrame.prototype.isContentEditable):
    7480         (WebInspector.SourceFrame.prototype._createTextViewer):
    7481         (WebInspector.SourceFrame.prototype.commitEditing.didEditContent):
    7482         (WebInspector.SourceFrame.prototype.commitEditing):
    7483         (WebInspector.SourceFrame.prototype.cancelEditing):
    7484         * inspector/front-end/TextViewer.js:
    7485         (WebInspector.TextViewer.prototype._doubleClick):
    7486         (WebInspector.TextViewer.prototype._registerShortcuts):
    7487         (WebInspector.TextViewer.prototype._handleKeyDown):
    7488         (WebInspector.TextViewer.prototype._commitEditing.didCommitEditing):
    7489         (WebInspector.TextViewer.prototype._commitEditing):
    7490         (WebInspector.TextViewer.prototype._cancelEditing):
    7491         (WebInspector.TextViewerDelegate.prototype.endEditing):
    7492         (WebInspector.TextViewerDelegate.prototype.commitEditing):
    7493         (WebInspector.TextViewerDelegate.prototype.cancelEditing):
    7494 
    7495 2011-04-12  Pavel Feldman  <pfeldman@google.com>
    7496 
    7497         Reviewed by Yury Semikhatsky.
    7498 
    7499         Web Inspector: cookies view is empty even for sites with cookies.
    7500         https://bugs.webkit.org/show_bug.cgi?id=58316
    7501 
    7502         Test: http/tests/inspector/resource-tree-model.html
    7503 
    7504         * inspector/front-end/ResourceTreeModel.js:
    7505         (WebInspector.ResourceTreeModel.prototype._callForFrameResources):
    7506 
    7507 2011-04-11  Stephen White  <senorblanco@chromium.org>
    7508 
    7509         Reviewed by James Robinson.
    7510 
    7511         [chromium] GPU-accelerated canvas-to-canvas drawImage is incorrect.
    7512         https://bugs.webkit.org/show_bug.cgi?id=58258
    7513 
    7514         When one accelerated canvas is drawn to another via drawImage(), if the
    7515         prior call in the source canvas was non-accelerated, the
    7516         hardware canvas is not up-to-date, and the results will be incorrect.
    7517         Fixed by calling prepareForHardwareDraw() on the source context.
    7518 
    7519         Test: fast/canvas/canvas-to-canvas.html
    7520 
    7521         * platform/graphics/skia/ImageBufferSkia.cpp:
    7522         (WebCore::ImageBuffer::draw):
    7523 
    7524 2011-04-12  Mikhail Naganov  <mnaganov@chromium.org>
    7525 
    7526         Reviewed by Pavel Feldman.
    7527 
    7528         Web Inspector: [Chromium] Add some more tests for detailed heap snapshots UI.
    7529         https://bugs.webkit.org/show_bug.cgi?id=58146
    7530 
    7531         Tests: inspector/profiler/detailed-heapshots-comparison-expansion-preserved-when-sorting.html
    7532                inspector/profiler/detailed-heapshots-comparison-show-all.html
    7533                inspector/profiler/detailed-heapshots-comparison-show-next.html
    7534                inspector/profiler/detailed-heapshots-comparison-shown-node-count-preserved-when-sorting.html
    7535                inspector/profiler/detailed-heapshots-comparison-sorting.html
    7536                inspector/profiler/detailed-heapshots-containment-shown-node-count-preserved-when-sorting.html
    7537                inspector/profiler/detailed-heapshots-dominators-expansion-preserved-when-sorting.html
    7538                inspector/profiler/detailed-heapshots-dominators-show-all.html
    7539                inspector/profiler/detailed-heapshots-dominators-show-next.html
    7540                inspector/profiler/detailed-heapshots-dominators-shown-node-count-preserved-when-sorting.html
    7541                inspector/profiler/detailed-heapshots-dominators-sorting.html
    7542                inspector/profiler/detailed-heapshots-summary-shown-node-count-preserved-when-sorting.html
    7543 
    7544         * inspector/front-end/DetailedHeapshotView.js:
    7545         (WebInspector.HeapSnapshotDiffDataGrid):
    7546 
    7547 2011-04-12  Ilya Tikhonovsky  <loislo@chromium.org>
    7548 
    7549         Reviewed by Yury Semikhatsky.
    7550 
    7551         Web Inspector: there was incorrect value of id property of responses for malformed json-rpc 2.0 requests.
    7552         https://bugs.webkit.org/show_bug.cgi?id=58305
    7553 
    7554         It was 0 if the message is not a json object or it has no id property. But according to spec it must be null.
    7555 
    7556         * inspector/CodeGeneratorInspector.pm:
    7557 
    7558 2011-04-11  Pavel Podivilov  <podivilov@chromium.org>
    7559 
    7560         Reviewed by Pavel Feldman.
    7561 
    7562         Web Inspector: [chromium] script formatting doesn't work when chromium is built with debug_devtools=1.
    7563         https://bugs.webkit.org/show_bug.cgi?id=58232
    7564 
    7565         * WebCore.gypi:
    7566 
    7567 2011-04-12  Pavel Podivilov  <podivilov@chromium.org>
    7568 
    7569         Reviewed by Pavel Feldman.
    7570 
    7571         Web Inspector: REGRESSION: Most resources in the Network panel show a blank panel when clicked.
    7572         https://bugs.webkit.org/show_bug.cgi?id=58273
    7573 
    7574         * inspector/front-end/SourceFrame.js:
    7575         (WebInspector.SourceFrame):
    7576         (WebInspector.SourceFrame.prototype.get visible):
    7577         (WebInspector.SourceFrame.prototype.set visible):
    7578         (WebInspector.SourceFrame.prototype.show):
    7579         (WebInspector.SourceFrame.prototype.hide):
    7580         (WebInspector.SourceFrame.prototype.detach):
    7581         (WebInspector.SourceFrame.prototype._ensureContentLoaded):
    7582         (WebInspector.SourceFrame.prototype.markDiff):
    7583         (WebInspector.SourceFrame.prototype.addMessage):
    7584         (WebInspector.SourceFrame.prototype.clearMessages):
    7585         (WebInspector.SourceFrame.prototype.get scrollTop):
    7586         (WebInspector.SourceFrame.prototype.set scrollTop):
    7587         (WebInspector.SourceFrame.prototype.highlightLine):
    7588         (WebInspector.SourceFrame.prototype._clearLineHighlight):
    7589         (WebInspector.SourceFrame.prototype._initializeTextViewer):
    7590         (WebInspector.SourceFrame.prototype.performSearch):
    7591         (WebInspector.SourceFrame.prototype.searchCanceled):
    7592         (WebInspector.SourceFrame.prototype._jumpToSearchResult):
    7593         (WebInspector.SourceFrame.prototype.setExecutionLine):
    7594         (WebInspector.SourceFrame.prototype.clearExecutionLine):
    7595         (WebInspector.SourceFrame.prototype.resize):
    7596 
    7597 2011-04-12  Pavel Feldman  <pfeldman@google.com>
    7598 
    7599         Reviewed by Yury Semikhatsky.
    7600 
    7601         Web Inspector: document runtime agent, share remote object definition between domains.
    7602         https://bugs.webkit.org/show_bug.cgi?id=58246
    7603 
    7604         * inspector/Inspector.json:
    7605 
    7606 2011-04-12  Pavel Feldman  <pfeldman@google.com>
    7607 
    7608         Reviewed by Yury Semikhatsky.
    7609 
    7610         Web Inspector: document console domain, support cross-domain type references.
    7611         https://bugs.webkit.org/show_bug.cgi?id=58240
    7612 
    7613         * inspector/ConsoleMessage.cpp:
    7614         (WebCore::messageSourceValue):
    7615         (WebCore::messageTypeValue):
    7616         (WebCore::messageLevelValue):
    7617         (WebCore::ConsoleMessage::addToFrontend):
    7618         * inspector/Inspector.json:
    7619         * inspector/ScriptCallFrame.cpp:
    7620         (WebCore::ScriptCallFrame::buildInspectorObject):
    7621         * inspector/front-end/ConsoleView.js:
    7622         (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher.dispatcher.messageAdded):
    7623         (WebInspector.ConsoleMessage):
    7624         (WebInspector.ConsoleMessage.prototype._populateStackTraceTreeElement):
    7625         (WebInspector.ConsoleMessage.prototype.isEqual):
    7626         * inspector/front-end/NetworkManager.js:
    7627         (WebInspector.NetworkDispatcher.prototype.requestWillBeSent):
    7628         * inspector/generate-inspector-idl:
    7629         * page/Console.h:
    7630 
    7631 2011-04-06  Philippe Normand  <pnormand@igalia.com>
    7632 
    7633         Reviewed by Martin Robinson.
    7634 
    7635         [GStreamer] RTSP playback broken
    7636         https://bugs.webkit.org/show_bug.cgi?id=56930
    7637 
    7638         Rely on {audio,video}-changed playbin2 signals instead of the
    7639         -tags-changed signals because some media don't provide tags and
    7640         then can trick the media-player to not paint video, for instance.
    7641 
    7642         Also trigger a video size calculation after the video sink
    7643         negotiated its caps. This is useful in the cases where
    7644         audio-changed signal is emitted but the video sink takes more time
    7645         to negociate caps with its peer.
    7646 
    7647         This patch also fixes the rtsp manual-test with a new stream url
    7648         which seems to be more permanent than the previous WWDC keynote
    7649         stream.
    7650 
    7651         * manual-tests/video-rtsp.html:
    7652         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
    7653         (WebCore::mediaPlayerPrivateVideoChangedCallback):
    7654         (WebCore::mediaPlayerPrivateAudioChangedCallback):
    7655         (WebCore::mediaPlayerPrivateAudioChangeTimeoutCallback):
    7656         (WebCore::mediaPlayerPrivateVideoChangeTimeoutCallback):
    7657         (WebCore::MediaPlayerPrivateGStreamer::MediaPlayerPrivateGStreamer):
    7658         (WebCore::MediaPlayerPrivateGStreamer::~MediaPlayerPrivateGStreamer):
    7659         (WebCore::MediaPlayerPrivateGStreamer::naturalSize):
    7660         (WebCore::MediaPlayerPrivateGStreamer::videoChanged):
    7661         (WebCore::MediaPlayerPrivateGStreamer::notifyPlayerOfVideo):
    7662         (WebCore::MediaPlayerPrivateGStreamer::audioChanged):
    7663         (WebCore::MediaPlayerPrivateGStreamer::notifyPlayerOfAudio):
    7664         (WebCore::MediaPlayerPrivateGStreamer::paint):
    7665         (WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin):
    7666         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
    7667 
    7668 2011-04-12  Vsevolod Vlasov  <vsevik@chromium.org>
    7669 
    7670         Reviewed by Pavel Feldman.
    7671 
    7672         Web Inspector: Failed/canceled resource requests kept showing as Pending in network panel.
    7673         https://bugs.webkit.org/show_bug.cgi?id=58135
    7674 
    7675         Added statuses for failed/canceled resource loading.
    7676 
    7677         * English.lproj/localizedStrings.js:
    7678         * inspector/Inspector.json:
    7679         * inspector/InspectorResourceAgent.cpp:
    7680         (WebCore::InspectorResourceAgent::didFailLoading):
    7681         * inspector/front-end/NetworkManager.js:
    7682         * inspector/front-end/NetworkPanel.js:
    7683         * inspector/front-end/Resource.js:
    7684 
    7685 2011-04-12  Steve Block  <steveblock@google.com>
    7686 
    7687         Reviewed by Oliver Hunt.
    7688 
    7689         Callable objects created via JavaScriptCore API cannot be used as Geolocation callbacks
    7690         https://bugs.webkit.org/show_bug.cgi?id=40012
    7691 
    7692         Covered by fast/dom/Geolocation/argument-types.html
    7693 
    7694         * bindings/js/CallbackFunction.cpp:
    7695         (WebCore::checkFunctionOnlyCallback):
    7696 
    7697 2011-04-07  Philippe Normand  <pnormand@igalia.com>
    7698 
    7699         Reviewed by Martin Robinson.
    7700 
    7701         [GStreamer] report playback statistics
    7702         https://bugs.webkit.org/show_bug.cgi?id=58033
    7703 
    7704         Provide media playback statistics using fpsdisplaysink and
    7705         position queries.
    7706 
    7707         * manual-tests/video-statistics.html: Added.
    7708         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
    7709         (WebCore::MediaPlayerPrivateGStreamer::decodedFrameCount):
    7710         (WebCore::MediaPlayerPrivateGStreamer::droppedFrameCount):
    7711         (WebCore::MediaPlayerPrivateGStreamer::audioDecodedByteCount):
    7712         (WebCore::MediaPlayerPrivateGStreamer::videoDecodedByteCount):
    7713         (WebCore::MediaPlayerPrivateGStreamer::updateAudioSink):
    7714         (WebCore::MediaPlayerPrivateGStreamer::updateStates):
    7715         (WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin):
    7716         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
    7717 
    7718 2011-04-11  Philippe Normand  <pnormand@igalia.com>
    7719 
    7720         Reviewed by Martin Robinson.
    7721 
    7722         [GStreamer] warnings in media/video-set-rate-from-pause.html
    7723         https://bugs.webkit.org/show_bug.cgi?id=58220
    7724 
    7725         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
    7726         (WebCore::MediaPlayerPrivateGStreamer::setRate): Pause the
    7727         pipeline if new rate is zero, like advised in the GStreamer
    7728         documentation of gst_event_new_seek().
    7729 
    7730 2011-04-11  Vangelis Kokkevis  <vangelis@chromium.org>
    7731 
    7732         Reviewed by James Robinson.
    7733 
    7734         [chromium] Properly invalidate the contents of ImageLayerChromium's
    7735         when the actual image contents change.
    7736         https://bugs.webkit.org/show_bug.cgi?id=58181
    7737 
    7738         Test: compositing/images/content-image-change.html
    7739 
    7740         * platform/graphics/chromium/ContentLayerChromium.cpp:
    7741         (WebCore::ContentLayerChromium::updateTexture):
    7742         * platform/graphics/chromium/ImageLayerChromium.cpp:
    7743         (WebCore::ImageLayerChromium::ImageLayerChromium):
    7744         (WebCore::ImageLayerChromium::setContents):
    7745         (WebCore::ImageLayerChromium::paintContentsIfDirty):
    7746         * platform/graphics/chromium/ImageLayerChromium.h:
    7747 
    7748 2011-04-11  Simon Fraser  <simon.fraser@apple.com>
    7749 
    7750         Reviewed by Dan Bernstein.
    7751 
    7752         -webkit-box-shadow:inset does not animate transform as an inset shadow
    7753         https://bugs.webkit.org/show_bug.cgi?id=45176
    7754        
    7755         Two fixes:
    7756         1. Don't run transitions between different shadow styles (normal vs. inset).
    7757         2. When either source or destination is null, use a default shadow with a
    7758         matching style so that the transition runs.
    7759 
    7760         Test: transitions/mismatched-shadow-styles.html
    7761 
    7762         * page/animation/AnimationBase.cpp:
    7763         (WebCore::blendFunc):
    7764         (WebCore::PropertyWrapperShadow::blend):
    7765 
    7766 2011-04-11  John Bates  <jbates@google.com>
    7767 
    7768         Reviewed by Kenneth Russell.
    7769 
    7770         chromium support for glSetLatch and glWaitLatch between 3D contexts
    7771         https://bugs.webkit.org/show_bug.cgi?id=58003
    7772 
    7773         * platform/graphics/chromium/Canvas2DLayerChromium.cpp:
    7774         (WebCore::Canvas2DLayerChromium::~Canvas2DLayerChromium):
    7775         (WebCore::Canvas2DLayerChromium::setDrawingBuffer):
    7776         (WebCore::Canvas2DLayerChromium::setLayerRenderer):
    7777         * platform/graphics/chromium/Canvas2DLayerChromium.h:
    7778         * platform/graphics/chromium/Extensions3DChromium.h:
    7779         * platform/graphics/chromium/GLES2Canvas.cpp:
    7780         (WebCore::Cubic::Cubic):
    7781         * platform/graphics/chromium/LayerRendererChromium.cpp:
    7782         (WebCore::LayerRendererChromium::LayerRendererChromium):
    7783         (WebCore::LayerRendererChromium::updateAndDrawLayers):
    7784         (WebCore::LayerRendererChromium::updateLayers):
    7785         (WebCore::LayerRendererChromium::addChildContext):
    7786         (WebCore::LayerRendererChromium::removeChildContext):
    7787         * platform/graphics/chromium/LayerRendererChromium.h:
    7788         * platform/graphics/chromium/WebGLLayerChromium.cpp:
    7789         (WebCore::WebGLLayerChromium::~WebGLLayerChromium):
    7790         (WebCore::WebGLLayerChromium::updateCompositorResources):
    7791         (WebCore::WebGLLayerChromium::setContext):
    7792         (WebCore::WebGLLayerChromium::setLayerRenderer):
    7793         * platform/graphics/chromium/WebGLLayerChromium.h:
    7794 
    7795 2011-04-11  Alexey Marinichev  <amarinichev@chromium.org>
    7796 
    7797         Reviewed by James Robinson.
    7798 
    7799         LayerChromium/CCLayerImpl ownership fix
    7800         https://bugs.webkit.org/show_bug.cgi?id=58283
    7801 
    7802         CCLayerImpl's m_owner field lifetime should match the lifetime of the
    7803         corresponding LayerChromium.  This change moves resetting of m_owner
    7804         into LayerChromium's destructor.
    7805 
    7806         Tested similarly to bug 57577.
    7807 
    7808         * platform/graphics/chromium/LayerChromium.cpp:
    7809         (WebCore::LayerChromium::~LayerChromium):
    7810         * platform/graphics/chromium/cc/CCLayerImpl.cpp:
    7811         (WebCore::CCLayerImpl::cleanupResources):
    7812         * platform/graphics/chromium/cc/CCLayerImpl.h:
    7813         (WebCore::CCLayerImpl::resetOwner):
    7814 
    7815 2011-04-11  Daniel Bates  <dbates@rim.com>
    7816 
    7817         Attempt to fix the GTK build after changeset 83527 <http://trac.webkit.org/changeset/83527>
    7818         (https://bugs.webkit.org/show_bug.cgi?id=53556).
    7819 
    7820         * GNUmakefile.list.am: Append files HTMLTrackElement.{h, cpp} to the list webcore_sources.
    7821 
    7822 2011-04-11  Brady Eidson  <beidson@apple.com>
    7823 
    7824         Reviewed by Maciej Stachowiak.
    7825 
    7826         <rdar://problem/9251515> and https://bugs.webkit.org/show_bug.cgi?id=58072
    7827         URLs accessed as a result of pushState/replaceState should count as "visited" and be in the global history
    7828 
    7829         Test: fast/loader/stateobjects/state-url-sets-links-visited.html
    7830 
    7831         * loader/HistoryController.cpp:
    7832         (WebCore::HistoryController::pushState): Notify the history client and add the visited link.
    7833         (WebCore::HistoryController::replaceState): Ditto.
    7834 
    7835 2011-04-11  Dimitri Glazkov  <dglazkov@chromium.org>
    7836 
    7837         Reviewed by Eric Carlson.
    7838 
    7839         Rename MediaControls to MediaControlRootElement.
    7840         https://bugs.webkit.org/show_bug.cgi?id=58250
    7841 
    7842         Mechanical move using do-webcore-rename.
    7843 
    7844 2011-04-11  Dean Jackson  <dino@apple.com>
    7845 
    7846         Reviewed by Simon Fraser.
    7847 
    7848         https://bugs.webkit.org/show_bug.cgi?id=58285
    7849         CompositeAnimation is cleared while an AnimationBase is waiting for notification
    7850 
    7851         Occasionally hardware animations would trigger a state where
    7852         they would tell the AnimationControllerPrivate that it should notify
    7853         any waiting animations that they are ready to start, even though
    7854         the RenderObject had gone away and hence the CompositeAnimation
    7855         had been destroyed. The fix is to zero the pointer from AnimationBase
    7856         when the CompositeAnimation destructor runs (or its animations are
    7857         cleared) and test the validity of the CompositeAnimation before it
    7858         is used in AnimationBase.
    7859 
    7860         * page/animation/AnimationBase.cpp:
    7861         (WebCore::AnimationBase::updateStateMachine):
    7862         (WebCore::AnimationBase::fireAnimationEventsIfNeeded):
    7863         (WebCore::AnimationBase::updatePlayState):
    7864         (WebCore::AnimationBase::freezeAtTime):
    7865         (WebCore::AnimationBase::beginAnimationUpdateTime):
    7866         - test that the CompositeAnimation exists
    7867         * page/animation/AnimationBase.h:
    7868         (WebCore::AnimationBase::clear):
    7869         - rename clearRenderer() to clear() as it now also clears the CompositeAnimation
    7870         * page/animation/CompositeAnimation.cpp:
    7871         (WebCore::CompositeAnimation::clearRenderer):
    7872         (WebCore::CompositeAnimation::updateKeyframeAnimations):
    7873         - call clear() rather than clearRenderer()
    7874 
    7875 2011-04-11  Justin Novosad  <junov@chromium.org>
    7876 
    7877         Reviewed by Kenneth Russell.
    7878 
    7879         [Chromium] Text anti-aliasing fails when rendering text with shadow
    7880         https://bugs.webkit.org/show_bug.cgi?id=57584
    7881 
    7882         * platform/graphics/chromium/FontChromiumWin.cpp:
    7883         (WebCore::drawGlyphsWin): new static function, code factored-out
    7884         from WebCore::Font::drawGlyphs
    7885         (WebCore::Font::drawGlyphs): may separate font rendering into two
    7886         passes to allow foreground glyphs to be rendered with GDI when Skia
    7887         is required for rendering shadows
    7888         * platform/graphics/skia/SkiaFontWin.cpp:
    7889         (WebCore::windowsCanHandleDrawTextShadow):
    7890         Modified method so that it does not assume a shadow is present, and
    7891         returns true if there is no shadow (GDI can draw 'no shadow')
    7892         (WebCore::windowsCanHandleTextDrawing):
    7893         Factored out into sub methods so that the the shadow and foregound
    7894         glyph properties can be tested separately independently.
    7895         (WebCore::windowsCanHandleTextDrawingWithoutShadow):
    7896         New method returns true if the foreground glyph only has effect
    7897         that can be draw with GDI
    7898         (WebCore::paintSkiaText):
    7899         * platform/graphics/skia/SkiaFontWin.h:
    7900 
    7901 2011-04-11  Ryosuke Niwa  <rniwa@webkit.org>
    7902 
    7903         Unreviewed, rolling out r83515.
    7904         http://trac.webkit.org/changeset/83515
    7905         https://bugs.webkit.org/show_bug.cgi?id=57178
    7906 
    7907         Broke GTK builds. nextOnLineExists and prevOnLineExists are still used in AccessibilityObjectWrapperAtk.cpp.
    7908 
    7909         * rendering/InlineBox.cpp:
    7910         (WebCore::InlineBox::nextOnLineExists):
    7911         (WebCore::InlineBox::prevOnLineExists):
    7912         * rendering/InlineBox.h:
    7913         (WebCore::InlineBox::InlineBox):
    7914 
    7915 2011-04-11  Brady Eidson  <beidson@apple.com>
    7916 
    7917         Reverting, seeing something else still broken.  Sorry.
    7918 
    7919         * html/HTMLTrackElement.cpp:
    7920 
    7921 2011-04-11  Brady Eidson  <beidson@apple.com>
    7922 
    7923         Fix the build.
    7924 
    7925         * html/HTMLTrackElement.cpp: Case-sensitive, please.
    7926 
    7927 2011-04-11  Alexis Menard  <alexis.menard@openbossa.org>
    7928 
    7929         Unreviewed build fix for Mac.
    7930 
    7931         An idl file was added in the wrong place.
    7932 
    7933         * WebCore.xcodeproj/project.pbxproj:
    7934 
    7935 2011-04-11  Chris Marrin  <cmarrin@apple.com>
    7936 
    7937         Rubberstamped by Dan Bernstein.
    7938 
    7939         xhr.responseType = 'arraybuffer' works on Mac but not on Windows
    7940         https://bugs.webkit.org/show_bug.cgi?id=50334
    7941 
    7942         Got rid of guards around arraybuffer logic in XHR. ArrayBuffer and friends
    7943         are always turned on now, so there's not need for the guard. I reenabled the
    7944         test that was Skipped on Windows and it works now.
    7945 
    7946         * bindings/js/JSXMLHttpRequestCustom.cpp:
    7947         (WebCore::JSXMLHttpRequest::markChildren):
    7948         (WebCore::JSXMLHttpRequest::send):
    7949         (WebCore::JSXMLHttpRequest::response):
    7950         * xml/XMLHttpRequest.cpp:
    7951         (WebCore::XMLHttpRequest::responseArrayBuffer):
    7952         (WebCore::XMLHttpRequest::setResponseType):
    7953         (WebCore::XMLHttpRequest::send):
    7954         (WebCore::XMLHttpRequest::clearResponseBuffers):
    7955         (WebCore::XMLHttpRequest::didReceiveData):
    7956         * xml/XMLHttpRequest.h:
    7957         (WebCore::XMLHttpRequest::optionalResponseArrayBuffer):
    7958 
    7959 2011-04-11  Anna Cavender  <annacc@chromium.org>
    7960 
    7961         Reviewed by Eric Carlson.
    7962 
    7963         Setup ENABLE(TRACK) feature define + initial HTMLTrackElement
    7964         https://bugs.webkit.org/show_bug.cgi?id=53556
    7965 
    7966         No new tests. No real functionality added just yet.
    7967 
    7968         * CMakeLists.txt:
    7969         * CodeGenerators.pri:
    7970         * Configurations/FeatureDefines.xcconfig:
    7971         * DerivedSources.make:
    7972         * GNUmakefile.am:
    7973         * GNUmakefile.list.am:
    7974         * WebCore.gypi:
    7975         * WebCore.xcodeproj/project.pbxproj:
    7976         * features.pri:
    7977         * html/HTMLAttributeNames.in:
    7978         * html/HTMLTagNames.in:
    7979         * html/HTMLTrackElement.cpp: Added.
    7980         (WebCore::HTMLTrackElement::HTMLTrackElement):
    7981         (WebCore::HTMLTrackElement::create):
    7982         (WebCore::HTMLTrackElement::insertedIntoTree):
    7983         (WebCore::HTMLTrackElement::willRemove):
    7984         (WebCore::HTMLTrackElement::src):
    7985         (WebCore::HTMLTrackElement::setSrc):
    7986         (WebCore::HTMLTrackElement::kind):
    7987         (WebCore::HTMLTrackElement::setKind):
    7988         (WebCore::HTMLTrackElement::srclang):
    7989         (WebCore::HTMLTrackElement::setSrclang):
    7990         (WebCore::HTMLTrackElement::label):
    7991         (WebCore::HTMLTrackElement::setLabel):
    7992         (WebCore::HTMLTrackElement::isDefault):
    7993         (WebCore::HTMLTrackElement::setIsDefault):
    7994         (WebCore::HTMLTrackElement::isURLAttribute):
    7995         * html/HTMLTrackElement.h: Added.
    7996         * html/HTMLTrackElement.idl: Added.
    7997 
    7998 2011-04-11  Ben Taylor  <bentaylor.solx86@gmail.com>
    7999 
    8000         Reviewed by David Levin.
    8001 
    8002         https://bugs.webkit.org/show_bug.cgi?id=57535
    8003 
    8004         Better compile fix for Solaris 10/Sun Studio 12 CC
    8005         needing <sys/time.h>
    8006 
    8007         * loader/icon/IconRecord.h:
    8008         * page/Page.h:
    8009         * platform/network/ResourceResponseBase.h:
    8010 
    8011 2011-04-11  Alexey Proskuryakov  <ap@apple.com>
    8012 
    8013         Reviewed by Maciej Stachowiak.
    8014 
    8015         WebKit2: Cannot use Ctrl-Delete as a custom keyboard shortcut
    8016         https://bugs.webkit.org/show_bug.cgi?id=58265
    8017         <rdar://problem/9221468>
    8018 
    8019         * page/EventHandler.cpp:
    8020         (WebCore::EventHandler::defaultKeyboardEventHandler): Handle Backspace.
    8021         (WebCore::EventHandler::defaultSpaceEventHandler): Enabled this on Mac, and added checks for
    8022         other modifiers - no one wants to scroll on Ctrl+Alt+Space and such.
    8023         (WebCore::EventHandler::defaultBackspaceEventHandler): Backspace goes back, Shift-backspace
    8024         goes forward. All browsers do it.
    8025         (WebCore::EventHandler::defaultArrowEventHandler): Assert that this function was called
    8026         for a correct event.
    8027         (WebCore::EventHandler::defaultTabEventHandler): Ditto.
    8028 
    8029         * page/EventHandler.h: Added defaultBackspaceEventHandler.
    8030 
    8031 2011-04-11  Matthew Delaney  <mdelaney@apple.com>
    8032 
    8033         Reviewed by Dan Bernstein.
    8034 
    8035         [CG] drawImage with a subimage bleeds pixel data at borders
    8036         https://bugs.webkit.org/show_bug.cgi?id=58267
    8037 
    8038         Test: fast/canvas/DrawImageSinglePixelStretch.html
    8039 
    8040         * platform/graphics/cg/ImageCG.cpp:
    8041         (WebCore::BitmapImage::draw): Any interpolation quality other than 'none' will graft out the subimage first now.
    8042 
    8043 2011-04-11  Chris Marrin  <cmarrin@apple.com>
    8044 
    8045         Reviewed by Simon Fraser.
    8046 
    8047         iframe/compositing propagation should also work for <object> and framesets
    8048         https://bugs.webkit.org/show_bug.cgi?id=39037
    8049 
    8050         Generalized the code that handles the parenting of composited <iframe> elements
    8051         to include <frame> and <object> elements. This includes forcing the parent
    8052         element to be composited and constructing the layer tree in the child document
    8053         and properly parenting it. Much of the change is giving the function calls more
    8054         generic names (from ...IFrame... to ...Frame...)
    8055        
    8056         Compositing tests that were done in RenderIFrame have been moved to RenderPart
    8057         since this is the highest base class common to all 3 elements.
    8058        
    8059         I also renamed several ...IFrame... functions to
    8060         ...Frame... and changed them so they work on a RenderPart for determining
    8061         if the renderer is composited. One other detail is that <iframe> and
    8062         <object> never share style since they might be composited. I had to add
    8063         <frame> to that list.
    8064 
    8065         Tests: compositing/framesets/composited-frame-alignment.html
    8066                compositing/objects/composited-object-alignment.html
    8067 
    8068         * css/CSSStyleSelector.cpp: Add <frame> to list of element types that should never share style since it might be composited.
    8069         (WebCore::CSSStyleSelector::canShareStyleWithElement):
    8070         * page/FrameView.cpp:
    8071         (WebCore::FrameView::hasCompositedContentIncludingDescendants):
    8072         (WebCore::FrameView::setIsOverlapped):
    8073         * rendering/RenderIFrame.cpp: Moved methods to RenderPart
    8074         * rendering/RenderIFrame.h:
    8075         * rendering/RenderLayerBacking.cpp:
    8076         (WebCore::RenderLayerBacking::updateAfterWidgetResize):
    8077         (WebCore::RenderLayerBacking::updateGraphicsLayerConfiguration):
    8078         (WebCore::RenderLayerBacking::paintingGoesToWindow):
    8079         * rendering/RenderLayerCompositor.cpp:
    8080         (WebCore::RenderLayerCompositor::updateBacking):
    8081         (WebCore::RenderLayerCompositor::rebuildCompositingLayerTree):
    8082         (WebCore::RenderLayerCompositor::frameContentsCompositor):
    8083         (WebCore::RenderLayerCompositor::parentFrameContentLayers):
    8084         (WebCore::RenderLayerCompositor::didMoveOnscreen):
    8085         (WebCore::RenderLayerCompositor::allowsIndependentlyCompositedFrames):
    8086         (WebCore::RenderLayerCompositor::shouldPropagateCompositingToEnclosingFrame):
    8087         (WebCore::RenderLayerCompositor::enclosingFrameElement):
    8088         (WebCore::RenderLayerCompositor::requiresCompositingLayer):
    8089         (WebCore::RenderLayerCompositor::requiresCompositingForFrame):
    8090         (WebCore::RenderLayerCompositor::requiresScrollLayer):
    8091         (WebCore::RenderLayerCompositor::ensureRootPlatformLayer):
    8092         (WebCore::RenderLayerCompositor::attachRootPlatformLayer):
    8093         (WebCore::RenderLayerCompositor::detachRootPlatformLayer):
    8094         * rendering/RenderLayerCompositor.h:
    8095         * rendering/RenderPart.cpp: Functions moved from RenderIFrame
    8096         (WebCore::RenderPart::requiresLayer):
    8097         (WebCore::RenderPart::requiresAcceleratedCompositing):
    8098         * rendering/RenderPart.h:
    8099 
    8100 2011-04-11  Yael Aharon  <yael.aharon@nokia.com>
    8101 
    8102         Reviewed by Eric Seidel.
    8103 
    8104         InlineBox::prevOnline and InlineBox::prevOnlineExists() are confusing and should be renamed
    8105         https://bugs.webkit.org/show_bug.cgi?id=57178
    8106 
    8107         Remove prevOnLineExists() and nextOnLineExists() as they are not used anymore.
    8108         No new tests needed because this is cleanup only.
    8109 
    8110         * rendering/InlineBox.cpp:
    8111         * rendering/InlineBox.h:
    8112         (WebCore::InlineBox::InlineBox):
    8113         (WebCore::InlineBox::setPrevOnLine):
    8114 
    8115 2011-04-11  David Hyatt  <hyatt@apple.com>
    8116 
    8117         Reviewed by Dan Bernstein.
    8118 
    8119         https://bugs.webkit.org/show_bug.cgi?id=58261
    8120 
    8121         Fix for layout regression on marketwatch.com. When I converted TrailingFloatsRootInlineBox over
    8122         to the new overflow model, I messed up the math and passed a bottom value where I should have
    8123         passed a height value. This patch fixes the code to be logically equivalent to the way it
    8124         was prior to my changes.
    8125 
    8126         Added fast/overflow/trailing-float-linebox.html.
    8127 
    8128         * rendering/RenderBlockLineLayout.cpp:
    8129         (WebCore::RenderBlock::layoutInlineChildren):
    8130 
    8131 2011-04-11  Adrienne Walker  <enne@google.com>
    8132 
    8133         Unreviewed, rolling out r83500.
    8134         http://trac.webkit.org/changeset/83500
    8135         https://bugs.webkit.org/show_bug.cgi?id=57113
    8136 
    8137         Regresses huge-layer-rotated test
    8138 
    8139         * platform/graphics/chromium/ContentLayerChromium.cpp:
    8140         (WebCore::ContentLayerChromium::ContentLayerChromium):
    8141         (WebCore::ContentLayerChromium::~ContentLayerChromium):
    8142         (WebCore::ContentLayerChromium::cleanupResources):
    8143         (WebCore::ContentLayerChromium::requiresClippedUpdateRect):
    8144         (WebCore::ContentLayerChromium::paintContentsIfDirty):
    8145         (WebCore::ContentLayerChromium::resizeUploadBuffer):
    8146         (WebCore::ContentLayerChromium::updateTextureIfNeeded):
    8147         (WebCore::ContentLayerChromium::updateTexture):
    8148         (WebCore::ContentLayerChromium::draw):
    8149         (WebCore::ContentLayerChromium::updateCompositorResources):
    8150         (WebCore::ContentLayerChromium::unreserveContentsTexture):
    8151         (WebCore::ContentLayerChromium::bindContentsTexture):
    8152         (WebCore::ContentLayerChromium::dumpLayerProperties):
    8153         * platform/graphics/chromium/ContentLayerChromium.h:
    8154         (WebCore::ContentLayerChromium::drawsContent):
    8155         * platform/graphics/chromium/GraphicsLayerChromium.cpp:
    8156         (WebCore::GraphicsLayerChromium::setMaskLayer):
    8157         * platform/graphics/chromium/ImageLayerChromium.cpp:
    8158         (WebCore::ImageLayerChromium::paintContentsIfDirty):
    8159         (WebCore::ImageLayerChromium::updateTextureIfNeeded):
    8160         * platform/graphics/chromium/ImageLayerChromium.h:
    8161         * platform/graphics/chromium/LayerChromium.h:
    8162         (WebCore::LayerChromium::draw):
    8163         * platform/graphics/chromium/LayerRendererChromium.cpp:
    8164         (WebCore::LayerRendererChromium::drawRootLayer):
    8165         (WebCore::LayerRendererChromium::drawLayers):
    8166         (WebCore::LayerRendererChromium::paintContentsRecursive):
    8167         (WebCore::LayerRendererChromium::copyOffscreenTextureToDisplay):
    8168         (WebCore::LayerRendererChromium::drawLayer):
    8169         (WebCore::LayerRendererChromium::initializeSharedObjects):
    8170         (WebCore::LayerRendererChromium::cleanupSharedObjects):
    8171         * platform/graphics/chromium/LayerRendererChromium.h:
    8172         (WebCore::LayerRendererChromium::contentLayerProgram):
    8173         * platform/graphics/chromium/LayerTilerChromium.cpp:
    8174         (WebCore::LayerTilerChromium::invalidateRect):
    8175         (WebCore::LayerTilerChromium::update):
    8176         (WebCore::LayerTilerChromium::updateFromPixels):
    8177         (WebCore::LayerTilerChromium::draw):
    8178         * platform/graphics/chromium/LayerTilerChromium.h:
    8179         * platform/graphics/chromium/PlatformCanvas.cpp:
    8180         (WebCore::PlatformCanvas::AutoLocker::AutoLocker):
    8181         (WebCore::PlatformCanvas::Painter::Painter):
    8182         * platform/graphics/chromium/PlatformCanvas.h:
    8183         * platform/graphics/chromium/RenderSurfaceChromium.cpp:
    8184         (WebCore::RenderSurfaceChromium::draw):
    8185         * platform/graphics/chromium/RenderSurfaceChromium.h:
    8186         * platform/graphics/chromium/cc/CCCanvasLayerImpl.cpp:
    8187         (WebCore::CCCanvasLayerImpl::draw):
    8188         * platform/graphics/chromium/cc/CCCanvasLayerImpl.h:
    8189         * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
    8190         (WebCore::CCHeadsUpDisplay::draw):
    8191         * platform/graphics/chromium/cc/CCLayerImpl.cpp:
    8192         (WebCore::CCLayerImpl::draw):
    8193         * platform/graphics/chromium/cc/CCLayerImpl.h:
    8194         * platform/graphics/chromium/cc/CCPluginLayerImpl.cpp:
    8195         (WebCore::CCPluginLayerImpl::draw):
    8196         * platform/graphics/chromium/cc/CCPluginLayerImpl.h:
    8197         * platform/graphics/chromium/cc/CCVideoLayerImpl.cpp:
    8198         (WebCore::CCVideoLayerImpl::draw):
    8199         * platform/graphics/chromium/cc/CCVideoLayerImpl.h:
    8200 
    8201 2011-04-11  Jon Honeycutt  <jhoneycutt@apple.com>
    8202 
    8203         <rdar://problem/9267042> Assertion failure on launch in
    8204         LayerChangesFlusher::setHook().
    8205 
    8206         https://bugs.webkit.org/show_bug.cgi?id=58270
    8207 
    8208         Reviewed by Adam Roben.
    8209 
    8210         * platform/graphics/ca/win/LayerChangesFlusher.cpp:
    8211         (WebCore::LayerChangesFlusher::setHook):
    8212         MSDN says that the HINSTANCE passed in must be null if the thread ID
    8213         passed is a thread created by this process and the hook procedure is
    8214         within this process.
    8215 
    8216 2011-04-11  MORITA Hajime  <morrita@google.com>
    8217 
    8218         Unreviewed build fix.
    8219 
    8220         Changeset 83492 broke Leopard build.
    8221         https://bugs.webkit.org/show_bug.cgi?id=58268
    8222 
    8223         * editing/Editor.cpp:
    8224         (WebCore::Editor::markMisspellingsAfterTypingToWord):
    8225 
    8226 2011-03-25  Adrienne Walker  <enne@google.com>
    8227 
    8228         Reviewed by James Robinson.
    8229 
    8230         [chromium] Tile content and image layers
    8231         https://bugs.webkit.org/show_bug.cgi?id=57113
    8232 
    8233         Layers tile by default if any dimension is larger than 512.  Smaller
    8234         layers are contained within a single texture but still use the tiler
    8235         infrastructure so that there's only one code path.
    8236 
    8237         Remove large layer support from content layers.  Content layers no
    8238         longer own a platform canvas--they own a tiler.  Refactor tiler to
    8239         allow for better separation of update/upload/paint.  Add rect
    8240         parameter to update and draw functions on layers for the layer-space
    8241         rect of interest.  This is necessary to know which tiles need to be
    8242         drawn.
    8243 
    8244         * platform/graphics/chromium/ContentLayerChromium.cpp:
    8245         (WebCore::ContentLayerChromium::ContentLayerChromium):
    8246         (WebCore::ContentLayerChromium::~ContentLayerChromium):
    8247         (WebCore::ContentLayerPainter::ContentLayerPainter):
    8248         (WebCore::ContentLayerPainter::paint):
    8249         (WebCore::ContentLayerChromium::paintContentsIfDirty):
    8250         (WebCore::ContentLayerChromium::setLayerRenderer):
    8251         (WebCore::ContentLayerChromium::tilingTransform):
    8252         (WebCore::ContentLayerChromium::visibleLayerRect):
    8253         (WebCore::ContentLayerChromium::layerBounds):
    8254         (WebCore::ContentLayerChromium::updateLayerSize):
    8255         (WebCore::ContentLayerChromium::draw):
    8256         (WebCore::ContentLayerChromium::createTilerIfNeeded):
    8257         (WebCore::ContentLayerChromium::updateCompositorResources):
    8258         (WebCore::ContentLayerChromium::setTilingOption):
    8259         (WebCore::ContentLayerChromium::bindContentsTexture):
    8260         (WebCore::ContentLayerChromium::unreserveContentsTexture):
    8261         (WebCore::ContentLayerChromium::setIsMask):
    8262         (WebCore::ContentLayerChromium::dumpLayerProperties):
    8263         * platform/graphics/chromium/ContentLayerChromium.h:
    8264         (WebCore::ContentLayerChromium::drawsContent):
    8265         * platform/graphics/chromium/GraphicsLayerChromium.cpp:
    8266         (WebCore::GraphicsLayerChromium::setMaskLayer):
    8267         * platform/graphics/chromium/ImageLayerChromium.cpp:
    8268         (WebCore::ImageLayerChromium::paintContentsIfDirty):
    8269         (WebCore::ImageLayerChromium::updateCompositorResources):
    8270         (WebCore::ImageLayerChromium::layerBounds):
    8271         (WebCore::ImageLayerChromium::tilingTransform):
    8272         * platform/graphics/chromium/ImageLayerChromium.h:
    8273         * platform/graphics/chromium/LayerChromium.h:
    8274         (WebCore::LayerChromium::invalidateRect):
    8275         (WebCore::LayerChromium::paintContentsIfDirty):
    8276         (WebCore::LayerChromium::setIsMask):
    8277         (WebCore::LayerChromium::draw):
    8278         * platform/graphics/chromium/LayerRendererChromium.cpp:
    8279         (WebCore::LayerRendererChromium::drawRootLayer):
    8280         (WebCore::LayerRendererChromium::drawLayers):
    8281         (WebCore::LayerRendererChromium::paintContentsRecursive):
    8282         (WebCore::LayerRendererChromium::copyOffscreenTextureToDisplay):
    8283         (WebCore::LayerRendererChromium::drawLayer):
    8284         (WebCore::LayerRendererChromium::initializeSharedObjects):
    8285         (WebCore::LayerRendererChromium::cleanupSharedObjects):
    8286         * platform/graphics/chromium/LayerRendererChromium.h:
    8287         * platform/graphics/chromium/LayerTilerChromium.cpp:
    8288         (WebCore::LayerTilerChromium::getSingleTexture):
    8289         (WebCore::LayerTilerChromium::invalidateRect):
    8290         (WebCore::LayerTilerChromium::update):
    8291         (WebCore::LayerTilerChromium::uploadCanvas):
    8292         (WebCore::LayerTilerChromium::updateFromPixels):
    8293         (WebCore::LayerTilerChromium::draw):
    8294         (WebCore::LayerTilerChromium::unreserveTextures):
    8295         * platform/graphics/chromium/LayerTilerChromium.h:
    8296         (WebCore::LayerTilerChromium::setLayerRenderer):
    8297         (WebCore::LayerTilerChromium::skipsDraw):
    8298         * platform/graphics/chromium/PlatformCanvas.cpp:
    8299         (WebCore::PlatformCanvas::AutoLocker::AutoLocker):
    8300         (WebCore::PlatformCanvas::Painter::Painter):
    8301         * platform/graphics/chromium/PlatformCanvas.h:
    8302         * platform/graphics/chromium/RenderSurfaceChromium.cpp:
    8303         (WebCore::RenderSurfaceChromium::draw):
    8304         * platform/graphics/chromium/RenderSurfaceChromium.h:
    8305         * platform/graphics/chromium/cc/CCCanvasLayerImpl.cpp:
    8306         (WebCore::CCCanvasLayerImpl::draw):
    8307         * platform/graphics/chromium/cc/CCCanvasLayerImpl.h:
    8308         * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
    8309         (WebCore::CCHeadsUpDisplay::draw):
    8310         * platform/graphics/chromium/cc/CCLayerImpl.cpp:
    8311         (WebCore::CCLayerImpl::draw):
    8312         * platform/graphics/chromium/cc/CCLayerImpl.h:
    8313         * platform/graphics/chromium/cc/CCPluginLayerImpl.cpp:
    8314         (WebCore::CCPluginLayerImpl::draw):
    8315         * platform/graphics/chromium/cc/CCPluginLayerImpl.h:
    8316         * platform/graphics/chromium/cc/CCVideoLayerImpl.cpp:
    8317         (WebCore::CCVideoLayerImpl::draw):
    8318         * platform/graphics/chromium/cc/CCVideoLayerImpl.h:
    8319 
    8320 2011-04-11  Eric Carlson  <eric.carlson@apple.com>
    8321 
    8322         Reviewed by Simon Fraser.
    8323 
    8324         Ignore context change callbacks when not on the main thread
    8325         https://bugs.webkit.org/show_bug.cgi?id=58256
    8326         <rdar://problem/9266090>
    8327 
    8328         * platform/graphics/ca/win/WKCACFViewLayerTreeHost.cpp:
    8329         (WebCore::WKCACFViewLayerTreeHost::contextDidChange): Do nothing when not called
    8330             on the main thread. This should only happen when no changes have actually
    8331             been committed to the context, eg. when a video frame has been added to an image
    8332             queue, so return without triggering animations etc.
    8333 
    8334 2011-04-11  Daniel Cheng  <dcheng@chromium.org>
    8335 
    8336         Reviewed by Dmitry Titov.
    8337 
    8338         [chromium] Implement image/png support in DataTransferItems
    8339         https://bugs.webkit.org/show_bug.cgi?id=58106
    8340 
    8341         This patch implements DataTransferItem::getAsFile() using Blobs. In
    8342         addition, plumbing for image/png has been added so image paste will be
    8343         supported as long as the renderer makes that data available.
    8344 
    8345         Tests: editing/pasteboard/data-transfer-items-image-png.html
    8346 
    8347         * dom/DataTransferItem.h:
    8348         * dom/DataTransferItem.idl:
    8349         * platform/chromium/ClipboardMimeTypes.cpp:
    8350         * platform/chromium/ClipboardMimeTypes.h:
    8351         * platform/chromium/DataTransferItemChromium.cpp:
    8352         (WebCore::DataTransferItemChromium::getAsString):
    8353         (WebCore::DataTransferItemChromium::getAsFile):
    8354         * platform/chromium/DataTransferItemChromium.h:
    8355         * platform/chromium/PlatformBridge.h:
    8356 
    8357 2011-04-11  Mario Sanchez Prada  <msanchez@igalia.com>
    8358 
    8359         Reviewed by Chris Fleizach.
    8360 
    8361         [Gtk] Implement support for Embedded Objects
    8362         https://bugs.webkit.org/show_bug.cgi?id=52148
    8363 
    8364         Expose special OBJECT character for replaced elements, implementing
    8365         AtkText and AtkHyperlink when required.
    8366 
    8367         * accessibility/AccessibilityRenderObject.cpp:
    8368         (WebCore::textIteratorBehaviorForTextRange): New helper function,
    8369         to return the right behavior, depending on the platform, so it
    8370         ensures that object replacement characters get emitted for GTK.
    8371         (WebCore::AccessibilityRenderObject::textUnderElement): Use the
    8372         new helper function textIteratorBehaviorForTextRange.
    8373         (WebCore::AccessibilityRenderObject::stringValue): Ditto.
    8374         (WebCore::AccessibilityRenderObject::indexForVisiblePosition):
    8375         Consider replaced elements when calculating range length in GTK.
    8376 
    8377         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
    8378         (textForRenderer): Ouput the 'object replacement character' for
    8379         replaced objects.
    8380         (getSelectionOffsetsForObject): Consider replaced elements when
    8381         calculating range length in GTK.
    8382         (webkitAccessibleHypertextGetLink): Remove wrong extra check that
    8383         were causing only links to be considered.
    8384         (webkitAccessibleHypertextGetNLinks): Replace wrong 'isLink()'
    8385         check with the right one, by checking that the right ATK interface
    8386         is being implemented by the AtkObject.
    8387         (getInterfaceMaskFromObject): Implement the Hyperlink interface
    8388         both for links and replaced objects.
    8389         (objectAndOffsetUnignored): Consider replaced elements when
    8390         calculating range length in GTK.
    8391 
    8392         * accessibility/gtk/WebKitAccessibleHyperlink.cpp:
    8393         (getRangeLengthForObject): Ensure spaces are used for replaced
    8394         elements when calling to TextIterator::rangeLength().
    8395 
    8396         * editing/TextIterator.h: New value in the TextIteratorBehavior
    8397         enumeration (TextIteratorEmitsObjectReplacementCharacters) and new
    8398         private variable to consider that new option internally.
    8399         * editing/TextIterator.cpp:
    8400         (WebCore::TextIterator::TextIterator): Initialize the new private
    8401         attribute m_emitsObjectReplacementCharacters in constructors.
    8402         (WebCore::TextIterator::handleReplacedElement): Emit the 'object
    8403         replacement character' when m_emitsObjectReplacementCharacters.
    8404 
    8405 2011-04-11  Jia Pu  <jpu@apple.com>
    8406 
    8407         Reviewed by Adele Peterson.
    8408 
    8409         Shouldn't carry out autocorrection when start typing a new word
    8410         https://bugs.webkit.org/show_bug.cgi?id=58241
    8411         <rdar://problem/9264736>
    8412 
    8413         Tests: platform/mac/editing/spelling/autocorrection-at-beginning-of-word-1.html
    8414                platform/mac/editing/spelling/autocorrection-at-beginning-of-word-2.html
    8415 
    8416         In TypingCommand::markMisspellingsAfterTyping(), we want to call Editor::markMisspellingsAfterTypingToWord()
    8417         only when the typing command is an insertion command, and preceding word contains at least one non-whitespace
    8418         character.
    8419 
    8420         * editing/Editor.cpp:
    8421         (WebCore::Editor::markMisspellingsAfterTypingToWord):
    8422         * editing/Editor.h:
    8423         * editing/TypingCommand.cpp:
    8424         (WebCore::TypingCommand::markMisspellingsAfterTyping):
    8425 
    8426 2011-04-11  Vsevolod Vlasov  <vsevik@chromium.org>
    8427 
    8428         Reviewed by Pavel Feldman.
    8429 
    8430         PerformanceTiming returns inconsistent values when timing is null.
    8431         https://bugs.webkit.org/show_bug.cgi?id=58143
    8432 
    8433         Made PerformanceTiming returned values consistent when there is no timing object.
    8434 
    8435         * page/PerformanceTiming.cpp:
    8436         (WebCore::PerformanceTiming::domainLookupStart):
    8437         (WebCore::PerformanceTiming::domainLookupEnd):
    8438         (WebCore::PerformanceTiming::connectStart):
    8439         (WebCore::PerformanceTiming::connectEnd):
    8440         (WebCore::PerformanceTiming::requestStart):
    8441         (WebCore::PerformanceTiming::responseStart):
    8442         (WebCore::PerformanceTiming::domLoading):
    8443 
    8444 2011-04-05  Stephen White  <senorblanco@chromium.org>
    8445 
    8446         Fix for jittering when animating a rotated image.
    8447         https://bugs.webkit.org/show_bug.cgi?id=50775
    8448 
    8449         Make GraphicsContext::roundToDevicePixels a no-op on Chrome/Mac.
    8450 
    8451         * platform/graphics/cg/GraphicsContextCG.cpp:
    8452         (WebCore::GraphicsContext::roundToDevicePixels):
    8453 
    8454 2011-04-06  Xiaomei Ji  <xji@chromium.org>
    8455 
    8456         Reviewed by Ryosuke Niwa.
    8457 
    8458         Continue experiment with moving caret by word in visual order.
    8459         https://bugs.webkit.org/show_bug.cgi?id=57806
    8460 
    8461         This is the 2nd patch, which adds implementation when caret is inside box
    8462         (not at boundaries). If the word break is inside the same box and not at the boundaries
    8463         either, the word break will be returned. If need to search the adjacent boxes for word
    8464         breaks, then, only the cases implemented in bug 57336 work.
    8465 
    8466         * editing/visible_units.cpp:
    8467         (WebCore::leftmostPositionInRTLBoxInLTRBlock):
    8468         (WebCore::rightmostPositionInLTRBoxInRTLBlock):
    8469         (WebCore::lastWordBreakInBox):
    8470         (WebCore::positionIsVisuallyOrderedInBoxInBlockWithDifferentDirectionality):
    8471         (WebCore::nextWordBreakInBoxInsideBlockWithDifferentDirectionality):
    8472         (WebCore::WordBoundaryEntry::WordBoundaryEntry):
    8473         (WebCore::collectWordBreaksInBoxInsideBlockWithSameDirectionality):
    8474         (WebCore::collectWordBreaksInBoxInsideBlockWithDifferntDirectionality):
    8475         (WebCore::greatestValueUnder):
    8476         (WebCore::smallestOffsetAbove):
    8477         (WebCore::positionIsInsideBox):
    8478         (WebCore::positionBeforeNextWord):
    8479         (WebCore::positionAfterPreviousWord):
    8480         (WebCore::leftWordPosition):
    8481         (WebCore::rightWordPosition):
    8482 
    8483 2011-04-11  Mario Sanchez Prada  <msanchez@igalia.com>
    8484 
    8485         Reviewed by Chris Fleizach.
    8486 
    8487         [GTK] Unskip accessibility/input-slider.html and accessibility/media-element.html
    8488         https://bugs.webkit.org/show_bug.cgi?id=58040
    8489 
    8490         Don't expose objects of role SliderThumbRoles in GTK.
    8491 
    8492         * accessibility/AccessibilitySlider.cpp:
    8493         (WebCore::AccessibilitySlider::addChildren): Allow the platform
    8494         make a final decision before including children in the hierarchy.
    8495         (WebCore::AccessibilitySliderThumb::accessibilityIsIgnored):
    8496         Implemented by relying on accessibilityPlatformIncludesObject().
    8497 
    8498         * accessibility/gtk/AccessibilityObjectAtk.cpp:
    8499         (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
    8500         Ignore accessibility objects with role SliderThumbRole.
    8501 
    8502 2011-04-11  Simon Fraser  <simon.fraser@apple.com>
    8503 
    8504         Reviewed by Dan Bernstein.
    8505 
    8506         Divide by zero in calcColumnWidth
    8507         https://bugs.webkit.org/show_bug.cgi?id=58230
    8508 
    8509         Test: fast/multicol/huge-column-count.html
    8510        
    8511         Make sure we have at least one column, to avoid divide by zero.
    8512 
    8513         * rendering/RenderBlock.cpp:
    8514         (WebCore::RenderBlock::calcColumnWidth):
    8515 
    8516 2011-04-09  Gavin Barraclough  <barraclough@apple.com>
    8517 
    8518         Reviewed by Sam Weinig.
    8519 
    8520         Bug 58198 - Clean up JSValue implementation for JSVALUE64
    8521 
    8522         JSNumberCell.h has been deprecated.
    8523 
    8524         * ForwardingHeaders/runtime/JSNumberCell.h: Removed.
    8525         * bindings/scripts/CodeGeneratorJS.pm:
    8526         * bridge/c/c_instance.cpp:
    8527 
    8528 2011-04-11  Dan Bernstein  <mitz@apple.com>
    8529 
    8530         Build fix.
    8531 
    8532         * html/canvas/CanvasRenderingContext2D.cpp:
    8533         (WebCore::CanvasRenderingContext2D::State::State):
    8534 
    8535 2011-04-11  Antti Koivisto  <antti@apple.com>
    8536 
    8537         Reviewed by Tony Gentilcore.
    8538 
    8539         Document source preload scanned repeatedly
    8540         https://bugs.webkit.org/show_bug.cgi?id=58123
    8541        
    8542         Don't clear the preload scanner after execution resumes. This would lose the current
    8543         scanning point and lead to rescanning when the preload scanner would get reconstructed
    8544         due to main parser blocking again.
    8545 
    8546         Instead clear the scanner only in the specific case of receiving new data while the main
    8547         parser has already reached the end of the current input.
    8548 
    8549         Also switched to using isWaitingForScripts() instead of m_treeBuilder->isPaused() for consistency.
    8550 
    8551         The case the clearing in resumeParsingAfterScriptExecution() was added for is covered by
    8552         http/tests/loading/preload-slow-loading.php.
    8553 
    8554         * html/parser/HTMLDocumentParser.cpp:
    8555         (WebCore::HTMLDocumentParser::insert):
    8556         (WebCore::HTMLDocumentParser::append):
    8557         (WebCore::HTMLDocumentParser::resumeParsingAfterScriptExecution):
    8558 
    8559 2011-04-11  Dan Bernstein  <mitz@apple.com>
    8560 
    8561         Build fix.
    8562 
    8563         * html/canvas/CanvasRenderingContext2D.cpp:
    8564         (WebCore::CanvasRenderingContext2D::State::State):
    8565 
    8566 2011-04-11  Dan Bernstein  <mitz@apple.com>
    8567 
    8568         Reviewed by Alexey Proskuryakov.
    8569 
    8570         Assertion failure in CanvasRenderingContext2D::State::fontsNeedUpdate when invalidating the font cache after opening canvas/philip/tests/initial.reset.2dstate.html (occurs on Qt debug test bot)
    8571         https://bugs.webkit.org/show_bug.cgi?id=58229
    8572 
    8573         * html/canvas/CanvasRenderingContext2D.cpp:
    8574         (WebCore::CanvasRenderingContext2D::State::State): Added copy constructor, to register the copy with
    8575         the font selector if needed.
    8576         (WebCore::CanvasRenderingContext2D::State::operator=): Added assignment constructor, to handle
    8577         registration with the font selector as needed.
    8578         * html/canvas/CanvasRenderingContext2D.h:
    8579 
    8580 2011-04-11  Mario Sanchez Prada  <msanchez@igalia.com>
    8581 
    8582         Reviewed by Chris Fleizach.
    8583 
    8584         [GTK] ARIA tables not exposing cells as HTML tables do
    8585         https://bugs.webkit.org/show_bug.cgi?id=57463
    8586 
    8587         Expose cells for ARIA grids consistently with HTML tables in GTK,
    8588         keeping the same behaviour for the other platforms.
    8589 
    8590         * accessibility/AccessibilityARIAGrid.cpp:
    8591         (WebCore::AccessibilityARIAGrid::addChild): Add the row's children
    8592         to the accessibility hierarchy when accessibility objects for rows
    8593         are ignoring accessibility, otherwise add the row.
    8594         (WebCore::AccessibilityARIAGrid::addChildren): Do not check at
    8595         this point whether every child of the table ignores or not
    8596         accessibility, letting addChild() make the proper decision later.
    8597 
    8598         * accessibility/AccessibilityARIAGridCell.cpp:
    8599         (WebCore::AccessibilityARIAGridCell::parentTable): Consider that
    8600         rows could be ignoring accessibility, hence the parent could be
    8601         retrieved in the first call to parentObjectUnignored().
    8602         (WebCore::AccessibilityARIAGridCell::rowIndexRange): Ditto.
    8603         (WebCore::AccessibilityARIAGridCell::columnIndexRange): Ditto..
    8604 
    8605         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
    8606         (atkRole): Map ColumnHeader and RowHeader to ATK_ROLE_TABLE_CELL.
    8607 
    8608 2011-04-11  Sergio Villar Senin  <svillar@igalia.com>
    8609 
    8610         Reviewed by Martin Robinson.
    8611 
    8612         [GTK] Fix make distcheck
    8613         https://bugs.webkit.org/show_bug.cgi?id=58224
    8614 
    8615         Removed a file that is no longer in the source tree.
    8616 
    8617         * GNUmakefile.list.am:
    8618 
    8619 2011-04-11  Dimitri Glazkov  <dglazkov@chromium.org>
    8620 
    8621         Reviewed by Martin Robinson.
    8622 
    8623         REGRESSION(r83397): Most GTK media controls are hidden when no valid source is specified
    8624         https://bugs.webkit.org/show_bug.cgi?id=58204
    8625 
    8626         Covered by existing tests.
    8627 
    8628         * platform/gtk/RenderThemeGtk.h:
    8629         (WebCore::RenderThemeGtk::hasOwnDisabledStateHandlingFor): Let GTK handle
    8630             the the state of media controls.
    8631 
    8632 2011-04-11  Dimitri Glazkov  <dglazkov@chromium.org>
    8633 
    8634         Remove obsolete comment, which was mistakenly landed in r83397.
    8635 
    8636         Though potentially a work of art, the comment lost its functional meaning a long time ago.
    8637 
    8638         * html/shadow/MediaControls.cpp:
    8639         (WebCore::MediaControls::create): Removed comment.
    8640 
    8641 2011-04-05  Hans Wennborg  <hans@chromium.org>
    8642 
    8643         Reviewed by Steve Block.
    8644 
    8645         IndexedDB: Introduce skeleton for LevelDB backend
    8646         https://bugs.webkit.org/show_bug.cgi?id=57827
    8647 
    8648         No new tests: no new functionality (yet).
    8649 
    8650         * WebCore.gyp/WebCore.gyp:
    8651             Add dependency on leveldb when ENABLE_LEVELDB=1 in feature_defines.
    8652         * WebCore.gypi:
    8653             Add new files.
    8654         * storage/IDBBackingStore.h:
    8655         (WebCore::IDBBackingStore::ObjectStoreRecordIdentifier::~ObjectStoreRecordIdentifier):
    8656             Introduce abstract type ObjectStoreRecordIdentifier. The SQLite
    8657             backend uses integers to refer to a specific row in a table, but
    8658             the LevelDB backend will use something else.
    8659         * storage/IDBDatabaseBackendImpl.cpp:
    8660         (WebCore::IDBDatabaseBackendImpl::createObjectStore):
    8661         (WebCore::IDBDatabaseBackendImpl::createObjectStoreInternal):
    8662         (WebCore::IDBDatabaseBackendImpl::deleteObjectStoreInternal):
    8663         (WebCore::IDBDatabaseBackendImpl::loadObjectStores):
    8664             Change functions to pass along the database id for operations that
    8665             concern object stores. We want to be able to group object stores
    8666             ids per database.
    8667         * storage/IDBFactoryBackendImpl.cpp:
    8668         (WebCore::IDBFactoryBackendImpl::open):
    8669             Decide which backend to use based on the backingStoreType
    8670             parameter.
    8671         * storage/IDBIndexBackendImpl.cpp:
    8672         (WebCore::IDBIndexBackendImpl::IDBIndexBackendImpl):
    8673         (WebCore::IDBIndexBackendImpl::openCursorInternal):
    8674         (WebCore::IDBIndexBackendImpl::getInternal):
    8675         (WebCore::IDBIndexBackendImpl::addingKeyAllowed):
    8676         * storage/IDBIndexBackendImpl.h:
    8677         (WebCore::IDBIndexBackendImpl::create):
    8678             Pass database and object store id to backend functions concerning
    8679             indexes.
    8680         * storage/IDBLevelDBBackingStore.cpp: Added.
    8681         (WebCore::IDBLevelDBBackingStore::IDBLevelDBBackingStore):
    8682         (WebCore::IDBLevelDBBackingStore::~IDBLevelDBBackingStore):
    8683         (WebCore::IDBLevelDBBackingStore::open):
    8684         (WebCore::IDBLevelDBBackingStore::extractIDBDatabaseMetaData):
    8685         (WebCore::IDBLevelDBBackingStore::setIDBDatabaseMetaData):
    8686         (WebCore::IDBLevelDBBackingStore::getObjectStores):
    8687         (WebCore::IDBLevelDBBackingStore::createObjectStore):
    8688         (WebCore::IDBLevelDBBackingStore::deleteObjectStore):
    8689         (WebCore::IDBLevelDBBackingStore::getObjectStoreRecord):
    8690         (WebCore::IDBLevelDBBackingStore::putObjectStoreRecord):
    8691         (WebCore::IDBLevelDBBackingStore::clearObjectStore):
    8692         (WebCore::IDBLevelDBBackingStore::deleteObjectStoreRecord):
    8693         (WebCore::IDBLevelDBBackingStore::nextAutoIncrementNumber):
    8694         (WebCore::IDBLevelDBBackingStore::keyExistsInObjectStore):
    8695         (WebCore::IDBLevelDBBackingStore::forEachObjectStoreRecord):
    8696         (WebCore::IDBLevelDBBackingStore::getIndexes):
    8697         (WebCore::IDBLevelDBBackingStore::createIndex):
    8698         (WebCore::IDBLevelDBBackingStore::deleteIndex):
    8699         (WebCore::IDBLevelDBBackingStore::putIndexDataForRecord):
    8700         (WebCore::IDBLevelDBBackingStore::deleteIndexDataForRecord):
    8701         (WebCore::IDBLevelDBBackingStore::getObjectViaIndex):
    8702         (WebCore::IDBLevelDBBackingStore::getPrimaryKeyViaIndex):
    8703         (WebCore::IDBLevelDBBackingStore::keyExistsInIndex):
    8704         (WebCore::IDBLevelDBBackingStore::openObjectStoreCursor):
    8705         (WebCore::IDBLevelDBBackingStore::openIndexKeyCursor):
    8706         (WebCore::IDBLevelDBBackingStore::openIndexCursor):
    8707         (WebCore::IDBLevelDBBackingStore::createTransaction):
    8708         * storage/IDBLevelDBBackingStore.h: Added.
    8709             Add an empty implementation of the LevelDB backend.
    8710         * storage/IDBObjectStoreBackendImpl.cpp:
    8711             Keep track of database id, use the new RecordIdentifier.
    8712         (WebCore::IDBObjectStoreBackendImpl::IDBObjectStoreBackendImpl):
    8713         (WebCore::IDBObjectStoreBackendImpl::getInternal):
    8714         (WebCore::IDBObjectStoreBackendImpl::putInternal):
    8715         (WebCore::IDBObjectStoreBackendImpl::deleteInternal):
    8716         (WebCore::IDBObjectStoreBackendImpl::clearInternal):
    8717         (WebCore::populateIndex):
    8718         (WebCore::IDBObjectStoreBackendImpl::createIndex):
    8719         (WebCore::IDBObjectStoreBackendImpl::createIndexInternal):
    8720         (WebCore::IDBObjectStoreBackendImpl::deleteIndexInternal):
    8721         (WebCore::IDBObjectStoreBackendImpl::openCursorInternal):
    8722         (WebCore::IDBObjectStoreBackendImpl::loadIndexes):
    8723         (WebCore::IDBObjectStoreBackendImpl::genAutoIncrementKey):
    8724         * storage/IDBObjectStoreBackendImpl.h:
    8725         (WebCore::IDBObjectStoreBackendImpl::create):
    8726         (WebCore::IDBObjectStoreBackendImpl::databaseId):
    8727         * storage/IDBSQLiteBackingStore.cpp:
    8728         (WebCore::IDBSQLiteBackingStore::open):
    8729         (WebCore::IDBSQLiteBackingStore::createObjectStore):
    8730         (WebCore::IDBSQLiteBackingStore::deleteObjectStore):
    8731         (WebCore::IDBSQLiteBackingStore::getObjectStoreRecord):
    8732         (WebCore::IDBSQLiteBackingStore::putObjectStoreRecord):
    8733         (WebCore::IDBSQLiteBackingStore::clearObjectStore):
    8734         (WebCore::IDBSQLiteBackingStore::deleteObjectStoreRecord):
    8735         (WebCore::IDBSQLiteBackingStore::nextAutoIncrementNumber):
    8736         (WebCore::IDBSQLiteBackingStore::keyExistsInObjectStore):
    8737         (WebCore::IDBSQLiteBackingStore::forEachObjectStoreRecord):
    8738         (WebCore::IDBSQLiteBackingStore::getIndexes):
    8739         (WebCore::IDBSQLiteBackingStore::createIndex):
    8740         (WebCore::IDBSQLiteBackingStore::deleteIndex):
    8741         (WebCore::IDBSQLiteBackingStore::putIndexDataForRecord):
    8742         (WebCore::IDBSQLiteBackingStore::deleteIndexDataForRecord):
    8743         (WebCore::IDBSQLiteBackingStore::getObjectViaIndex):
    8744         (WebCore::IDBSQLiteBackingStore::getPrimaryKeyViaIndex):
    8745         (WebCore::IDBSQLiteBackingStore::keyExistsInIndex):
    8746         (WebCore::IDBSQLiteBackingStore::openObjectStoreCursor):
    8747         (WebCore::IDBSQLiteBackingStore::openIndexKeyCursor):
    8748         (WebCore::IDBSQLiteBackingStore::openIndexCursor):
    8749         * storage/IDBSQLiteBackingStore.h:
    8750 
    8751 2011-04-11  Alexander Pavlov  <apavlov@chromium.org>
    8752 
    8753         Reviewed by Yury Semikhatsky.
    8754 
    8755         Web Inspector: Duplicate CSS properties are reported for non-lowercase property names in the Styles sidebar
    8756         https://bugs.webkit.org/show_bug.cgi?id=58226
    8757 
    8758         * inspector/InspectorStyleSheet.cpp:
    8759         (WebCore::InspectorStyle::populateAllProperties):
    8760 
    8761 2011-04-07  Pavel Podivilov  <podivilov@chromium.org>
    8762 
    8763         Reviewed by Pavel Feldman.
    8764 
    8765         Web Inspector: get rid of source frame delegates for resources panel.
    8766         https://bugs.webkit.org/show_bug.cgi?id=58041
    8767 
    8768         Use TextViewer configured with a domain-specific delegate to show/edit resource contents in resources panel.
    8769 
    8770         * inspector/front-end/ResourceView.js:
    8771         (WebInspector.ResourceView.createResourceView):
    8772         (WebInspector.ResourceView.resourceViewTypeMatchesResource):
    8773         (WebInspector.ResourceSourceFrame):
    8774         (WebInspector.ResourceSourceFrame.prototype.get resource):
    8775         (WebInspector.ResourceSourceFrame.prototype.contentEditable):
    8776         (WebInspector.ResourceSourceFrame.prototype._requestContent):
    8777         (WebInspector.CSSSourceFrame):
    8778         (WebInspector.CSSSourceFrame.prototype.contentEditable):
    8779         (WebInspector.CSSSourceFrame.prototype._editContent):
    8780         (WebInspector.CSSSourceFrame.prototype._editContent.handleInfos):
    8781         (WebInspector.CSSSourceFrame.prototype._saveStyleSheet):
    8782         * inspector/front-end/SourceFrame.js:
    8783         (WebInspector.SourceFrame.prototype._ensureContentLoaded):
    8784         (WebInspector.SourceFrame.prototype._requestContent):
    8785         (WebInspector.SourceFrame.prototype._handleSave):
    8786         (WebInspector.SourceFrame.prototype._editContent):
    8787 
    8788 2011-04-11  Alexis Menard  <alexis.menard@openbossa.org>
    8789 
    8790         Reviewed by Andreas Kling.
    8791 
    8792         [Qt] Regression : r83051 Oxygen's lineedits are not rendered properly
    8793         https://bugs.webkit.org/show_bug.cgi?id=58076
    8794 
    8795         State_Sunken is more generic than pressed. It is used by items such as frames or
    8796         line edits because they are "sunken" frames (e.g. QLineEdit). It can be required
    8797         by some style like Oxygen. Therefore only in the mobile theme we check if the object
    8798         is pressed.
    8799 
    8800         * platform/qt/RenderThemeQt.cpp:
    8801         (WebCore::RenderThemeQt::paintTextField):
    8802 
    8803 2011-04-11  Pavel Feldman  <pfeldman@chromium.org>
    8804 
    8805         Reviewed by Yury Semikhatsky.
    8806 
    8807         Web Inspector: add support for optional output parameters.
    8808         https://bugs.webkit.org/show_bug.cgi?id=58207
    8809 
    8810         Output parameters such as "redirectResponse" are optional, but
    8811         do not allow specifying them as such.
    8812 
    8813         * inspector/CodeGeneratorInspector.pm:
    8814         * inspector/Inspector.json:
    8815         * inspector/InspectorResourceAgent.cpp:
    8816         (WebCore::buildObjectForResourceResponse):
    8817         (WebCore::buildObjectForCachedResource):
    8818         * inspector/front-end/NetworkManager.js:
    8819         (WebInspector.NetworkDispatcher.prototype._updateResourceWithResponse):
    8820         * inspector/generate-inspector-idl:
    8821 
    8822 2011-04-11  Pavel Feldman  <pfeldman@chromium.org>
    8823 
    8824         Reviewed by Yury Semikhatsky.
    8825 
    8826         Web Inspector: refactor / document call frames in debugger domain.
    8827         https://bugs.webkit.org/show_bug.cgi?id=58187
    8828 
    8829         Note that we are not special casing with(element) and with(document) anymore
    8830         and do not tell user that it is "Event target" and "Event document". Strictly speaking,
    8831         we should not have done it for with(element) not necessarily being related to an event.
    8832 
    8833         * English.lproj/localizedStrings.js:
    8834         * inspector/InjectedScriptSource.js:
    8835         * inspector/Inspector.json:
    8836         * inspector/front-end/ScopeChainSidebarPane.js:
    8837         (WebInspector.ScopeChainSidebarPane.prototype.update):
    8838 
    8839 2011-04-10  ChangSeok Oh  <shivamidow@gmail.com>
    8840 
    8841         Reviewed by Eric Seidel.
    8842 
    8843         Make correspondence of file name related with event to other port.
    8844         https://bugs.webkit.org/show_bug.cgi?id=57416
    8845 
    8846         Some file names are changed to make correspondence naming rule.
    8847         Keyboard, mouse and wheel event file names for GTK port have been different from other ports.
    8848         This has made user hard to find a specific file related with event for GTK port.
    8849 
    8850         No test required. This patch just changes some file names.
    8851 
    8852         * GNUmakefile.list.am:
    8853         * platform/gtk/KeyEventGtk.cpp: Removed.
    8854         * platform/gtk/MouseEventGtk.cpp: Removed.
    8855         * platform/gtk/PlatformKeyboardEventGtk.cpp: Added.
    8856         * platform/gtk/PlatformMouseEventGtk.cpp: Added.
    8857         * platform/gtk/PlatformWheelEventGtk.cpp: Added.
    8858         * platform/gtk/WheelEventGtk.cpp: Removed.
    8859 
    8860 2011-04-10  Simon Fraser  <simon.fraser@apple.com>
    8861 
    8862         Revert the FloatRect.cpp part of r83422, since
    8863         clampToInteger() is broken for some inputs. I filed
    8864         https://bugs.webkit.org/show_bug.cgi?id=58216
    8865 
    8866         * platform/graphics/FloatRect.cpp:
    8867         (WebCore::safeFloatToInt):
    8868         (WebCore::enclosingIntRect):
    8869 
    8870 2011-04-10  Simon Fraser  <simon.fraser@apple.com>
    8871 
    8872         Reviewed by Maciej Stachowiak.
    8873 
    8874         Car model dropdowns at audiusa.com lay out incorrectly with compositing enabled
    8875         https://bugs.webkit.org/show_bug.cgi?id=56660
    8876        
    8877         When overflow on an element changes, we need to inform compositing
    8878         layers which create and position an "ancestor clipping" layer based
    8879         on that overflow. Do this by triggering a rebuild of compositing layers
    8880         when overflow changes on a layer whose stacking context has compositing
    8881         descendants. (We can't just check whether the layer itself has compositing
    8882         descendants, because overflow follows the render tree, but compositing
    8883         follows the z-order tree.)
    8884 
    8885         Test: compositing/geometry/ancestor-overflow-change.html
    8886 
    8887         * rendering/RenderLayer.cpp:
    8888         (WebCore::RenderLayer::styleChanged):
    8889         * rendering/RenderLayer.h:
    8890         * rendering/RenderLayerBacking.cpp:
    8891         (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
    8892 
    8893 2011-04-10  Simon Fraser  <simon.fraser@apple.com>
    8894 
    8895         Reviewed by Ariya Hidayat.
    8896 
    8897         Allow ShadowBlur to re-use the last buffer if it already contains the correct shadow
    8898         https://bugs.webkit.org/show_bug.cgi?id=58161
    8899        
    8900         ShadowBlur already has a singleton scratch buffer that is re-used
    8901         between shadows. Enhance use of this scratch buffer to avoid drawing
    8902         and blurring the shadow if the results will match what is already
    8903         in the buffer.
    8904        
    8905         Cleaned up ShadowBlur code to remove beginShadowLayer() and endShadowLayer(),
    8906         which ended up with little reusable code after adding the re-use logic.
    8907 
    8908         * platform/graphics/FloatRect.cpp:
    8909         (WebCore::enclosingIntRect): Replace safeFloatToInt() with the existing
    8910         clampToInteger() from MathExtras.h
    8911        
    8912         * platform/graphics/FloatSize.h:
    8913         (WebCore::expandedIntSize): New method to safely ceil() the size.
    8914        
    8915         * platform/graphics/RoundedIntRect.h:
    8916         Add operator== for Radii and RoundedIntRect.
    8917 
    8918         * platform/graphics/ShadowBlur.cpp:
    8919         (WebCore::ScratchBuffer::ScratchBuffer):
    8920         (WebCore::ScratchBuffer::setLastShadowValues):
    8921         (WebCore::ScratchBuffer::setLastInsetShadowValues):
    8922         (WebCore::ScratchBuffer::matchesLastShadow):
    8923         (WebCore::ScratchBuffer::matchesLastInsetShadow):
    8924         (WebCore::ScratchBuffer::clearScratchBuffer):
    8925         Have the scratch buffer remember what shadow parameters were used
    8926         to render the buffer contents.
    8927        
    8928         (WebCore::ShadowBlur::drawShadowBuffer):
    8929         Renamed from endShadowLayer(), and only contains the drawing
    8930         logic now.
    8931        
    8932         (WebCore::ShadowBlur::drawRectShadow):
    8933         Promote some code from beginShadowLayer().
    8934        
    8935         (WebCore::ShadowBlur::drawInsetShadow):
    8936         Promote some code from beginShadowLayer().
    8937 
    8938         (WebCore::ShadowBlur::drawRectShadowWithoutTiling):
    8939         (WebCore::ShadowBlur::drawInsetShadowWithoutTiling):
    8940         (WebCore::ShadowBlur::drawInsetShadowWithTiling):
    8941         (WebCore::ShadowBlur::drawRectShadowWithTiling):
    8942         These methods now check to see if the buffer already matches
    8943         their required parameters, and avoid work if it does.
    8944        
    8945         (WebCore::ShadowBlur::blurShadowBuffer):
    8946         Factored some code into this new method.
    8947        
    8948         (WebCore::ShadowBlur::blurAndColorShadowBuffer):
    8949         Minor refactoring.
    8950 
    8951         * platform/graphics/ShadowBlur.h:
    8952 
    8953 2011-04-10  Geoffrey Garen  <ggaren@apple.com>
    8954 
    8955         Build fix: Updated for file move.
    8956 
    8957         * bindings/js/GCController.cpp:
    8958         * bindings/js/ScriptGCEvent.cpp:
    8959 
    8960 2011-04-10  Geoffrey Garen  <ggaren@apple.com>
    8961 
    8962         Rubber-stamped by Beth Dakin.
    8963 
    8964         Moved Heap.h and Heap.cpp to the heap folder, because anything less
    8965         would be uncivilized.
    8966 
    8967         * ForwardingHeaders/heap/Heap.h: Copied from WebCore/ForwardingHeaders/runtime/Heap.h.
    8968         * ForwardingHeaders/runtime/Heap.h: Removed.
    8969 
    8970 2011-04-10  Luke Macpherson   <macpherson@chromium.org>
    8971 
    8972         Reviewed by Simon Fraser.
    8973 
    8974         Rename CSSStyleApplyProperty::inherit,initial,value applyInheritValue,applyInitialValue,applyValue
    8975         https://bugs.webkit.org/show_bug.cgi?id=58212
    8976 
    8977         No new tests - function renaming only / no functionality changes.
    8978 
    8979         * css/CSSStyleApplyProperty.cpp:
    8980         Rename all instances of inherit, initial and value.
    8981         * css/CSSStyleApplyProperty.h:
    8982         Rename all instances of inherit, initial and value.
    8983         * css/CSSStyleSelector.cpp:
    8984         Rename all instances of inherit, initial and value.
    8985 
    8986 2011-04-10  Mike Lawther  <mikelawther@chromium.org>
    8987 
    8988         Reviewed by Ojan Vafai.
    8989 
    8990         flex/bison tokens and grammar for CSS calc
    8991         https://bugs.webkit.org/show_bug.cgi?id=54412
    8992 
    8993         Tests: css3/calc/calc-errors.html
    8994                css3/calc/lexer-regression-57581-2.html
    8995                css3/calc/lexer-regression-57581-3.html
    8996                css3/calc/lexer-regression-57581.html
    8997                css3/calc/minmax-errors.html
    8998                css3/calc/nested-rounded-corners.html
    8999                css3/calc/simple-calcs.html
    9000                css3/calc/simple-minmax.html
    9001 
    9002         * css/CSSGrammar.y:
    9003         * css/CSSParserValues.cpp:
    9004         (WebCore::CSSParserValueList::insertValueAt):
    9005         (WebCore::CSSParserValueList::extend):
    9006         * css/CSSParserValues.h:
    9007         * css/tokenizer.flex:
    9008 
    9009 2011-04-10  Alice Boxhall  <aboxhall@chromium.org>
    9010 
    9011         Reviewed by Ryosuke Niwa.
    9012 
    9013         Change EventHandler::updateSelectionForMouseDrag to take a HitTestResult only.
    9014         https://bugs.webkit.org/show_bug.cgi?id=57923
    9015 
    9016         Change EventHandler::updateSelectionForMouseDrag to take a HitTestResult
    9017         rather than a Node* and an IntPoint&, as the selection may actually not
    9018         extend into the Node found by the HitTest.
    9019 
    9020         No new tests. Refactoring only.
    9021 
    9022         * page/EventHandler.cpp:
    9023         (WebCore::EventHandler::handleMouseDraggedEvent):
    9024         (WebCore::EventHandler::updateSelectionForMouseDrag):
    9025         * page/EventHandler.h:
    9026 
    9027 2011-04-10  Kent Tamura  <tkent@chromium.org>
    9028 
    9029         Unreviewed, rolling out r83353.
    9030         http://trac.webkit.org/changeset/83353
    9031         https://bugs.webkit.org/show_bug.cgi?id=58106
    9032 
    9033         The new test doesn't pass on all Chromium platforms.
    9034 
    9035         * dom/DataTransferItem.h:
    9036         * dom/DataTransferItem.idl:
    9037         * platform/chromium/ClipboardMimeTypes.cpp:
    9038         * platform/chromium/ClipboardMimeTypes.h:
    9039         * platform/chromium/DataTransferItemChromium.cpp:
    9040         (WebCore::DataTransferItemChromium::getAsString):
    9041         * platform/chromium/DataTransferItemChromium.h:
    9042         * platform/chromium/PlatformBridge.h:
    9043 
    9044 2011-04-10  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
    9045 
    9046         Reviewed by Eric Carlson.
    9047 
    9048         [EFL] Add seek forward / backward buttons to MediaControl UI.
    9049         https://bugs.webkit.org/show_bug.cgi?id=56810
    9050 
    9051         Add seek forward / backward buttons to media control. And, change formType name
    9052         for media control.
    9053 
    9054         * platform/efl/RenderThemeEfl.cpp:
    9055         (WebCore::RenderThemeEfl::edjeGroupFromFormType):
    9056         (WebCore::RenderThemeEfl::emitMediaButtonSignal):
    9057         (WebCore::RenderThemeEfl::paintMediaMuteButton):
    9058         (WebCore::RenderThemeEfl::paintMediaPlayButton):
    9059         (WebCore::RenderThemeEfl::paintMediaSeekBackButton):
    9060         (WebCore::RenderThemeEfl::paintMediaSeekForwardButton):
    9061         * platform/efl/RenderThemeEfl.h:
    9062 
    9063 2011-04-10  Chris Guillory  <chris.guillory@google.com>
    9064 
    9065         Reviewed by Eric Seidel.
    9066 
    9067         Remove unused function declaration in PlatformContextSkia.h.
    9068         https://bugs.webkit.org/show_bug.cgi?id=55983
    9069 
    9070         * platform/graphics/skia/PlatformContextSkia.h:
    9071 
    9072 2011-04-10  Patrick Gansterer  <paroga@webkit.org>
    9073 
    9074         Unreviewed build fix for !ENABLE(XSLT) after r82562.
    9075 
    9076         * dom/XMLDocumentParserLibxml2.cpp:
    9077         (WebCore::XMLDocumentParser::doEnd):
    9078 
    9079 2011-04-10  Patrick Gansterer  <paroga@webkit.org>
    9080 
    9081         Unreviewed build fix for !ENABLE(XSLT) after r82562.
    9082 
    9083         * xml/XMLTreeViewer.cpp: Readded #if ENABLE(XSLT).
    9084 
    9085 2011-04-10  Dimitri Glazkov  <dglazkov@chromium.org>
    9086 
    9087         Reviewed by Anders Carlsson.
    9088 
    9089         REGRESSION(r83256): Text-decoration bleeds into shadow DOM
    9090         https://bugs.webkit.org/show_bug.cgi?id=58205
    9091 
    9092         Now that the shadow root is a never-styled element, we need to walk to
    9093         parent to find out if we're inside of a shadow DOM subtree.
    9094 
    9095         Test: media/controls-styling.html
    9096 
    9097         * css/CSSStyleSelector.cpp:
    9098         (WebCore::isAtShadowBoundary): Added helper function.
    9099         (WebCore::CSSStyleSelector::adjustRenderStyle): Changed to use the helper.
    9100 
    9101 2011-04-07  Dimitri Glazkov  <dglazkov@chromium.org>
    9102 
    9103         Reviewed by Eric Carlson.
    9104 
    9105         [Meta] Convert HTMLMediaElement to use the new shadow DOM
    9106         https://bugs.webkit.org/show_bug.cgi?id=53020
    9107 
    9108         This conversion is non-trivial, for several reasons:
    9109 
    9110         1) Since HTMLMediaElement now hosts the shadow DOM for controls, hiding
    9111         and showing controls does not result in destroying and re-creating the
    9112         shadow DOM tree. Instead, the tree is created as needed and shown/hidden
    9113         using inline styles.
    9114        
    9115         2) Instead of detaching/attaching on each style change, the control parts
    9116         are now using a set of higher fidelity callbacks that notify MediaControls
    9117         about changes to which it should react. Each reaction results in hiding,
    9118         showing, or changing the state of the control parts using inline styles
    9119         and DOM APIs.
    9120 
    9121         3) Hiding and showing controls is accomplished using inline styles, rather
    9122         than wiring rendererIsNeeded, because renderers are now re-created less
    9123         frequently.
    9124 
    9125         4) Instead of constantly querying RenderTheme about visibility of a particular
    9126         control part, we let the theme determine which parts are supported and
    9127         which parts are visible in certain conditions.
    9128 
    9129         5) Custom hit-testing, event forwarding, and style updates are completely
    9130         removed, since they are now unnecessary.
    9131 
    9132         6) Fading controls in/out is now done as CSS animation, since shadow DOM
    9133         supports it.
    9134 
    9135         Test: manual-tests/media-controls.html
    9136 
    9137 2011-04-09  Dan Bernstein  <mitz@apple.com>
    9138 
    9139         Reviewed by Beth Dakin.
    9140 
    9141         <rdar://problem/9215280> Detached canvas draws with incorrect font
    9142 
    9143         Test: fast/canvas/font-update.html
    9144 
    9145         The existing mechanism for updating the font in a canvas 2D context was lacking in at least
    9146         two ways: it neglected to update fonts in all but the topmost state in the stack, and since it
    9147         was based on HTMLCanvasElemen's attach() and recalcStyle(), it did not work when the element
    9148         was not attached.
    9149 
    9150         This change takes the responsibility for font updates away from the canvas element and gives it
    9151         to the canvas context and its graphics state.
    9152 
    9153         * css/CSSFontSelector.cpp:
    9154         (WebCore::CSSFontSelector::registerForInvalidationCallbacks): Added. Adds to the set of registered
    9155         font selector clients.
    9156         (WebCore::CSSFontSelector::unregisterForInvalidationCallbacks): Added. Removes from the set of
    9157         registered font selector clients.
    9158         (WebCore::CSSFontSelector::dispatchInvalidationCallbacks): Calls fontsNeedUpdate() on all registered
    9159         clients and forces a style recalc on the document.
    9160         (WebCore::CSSFontSelector::fontLoaded): Changed to call dispatchInvalidationCallbacks().
    9161         (WebCore::CSSFontSelector::fontCacheInvalidated): Ditto.
    9162         * css/CSSFontSelector.h:
    9163         * html/HTMLCanvasElement.cpp: Removed overrides of attach() and recalcStyle().
    9164         * html/HTMLCanvasElement.h:
    9165         * html/canvas/CanvasRenderingContext2D.cpp:
    9166         (WebCore::CanvasRenderingContext2D::State::~State): Added. Unregisters with the font selector.
    9167         (WebCore::CanvasRenderingContext2D::State::fontsNeedUpdate): Added. Called by the font selector
    9168         when its fonts need to be updated. Updates the font.
    9169         (WebCore::CanvasRenderingContext2D::setFont): Registers the state with the font selector.
    9170         * html/canvas/CanvasRenderingContext2D.h:
    9171         * platform/graphics/FontSelector.h:
    9172         (WebCore::FontSelectorClient::~FontSelectorClient):
    9173 
    9174 2011-04-09  Geoffrey Garen  <ggaren@apple.com>
    9175 
    9176         Not reviewed.
    9177 
    9178         Try recommitting some things svn left out of my last commit.
    9179 
    9180         * bridge/qt/qt_runtime.h:
    9181 
    9182 2011-04-09  Geoffrey Garen  <ggaren@apple.com>
    9183 
    9184         Not reviewed.
    9185 
    9186         Try recommitting some things svn left out of my last commit.
    9187 
    9188         * ForwardingHeaders/collector: Removed.
    9189         * ForwardingHeaders/collector/handles: Removed.
    9190         * ForwardingHeaders/collector/handles/Global.h: Removed.
    9191 
    9192 2011-04-08  Dimitri Glazkov  <dglazkov@chromium.org>
    9193 
    9194         Reviewed by Ojan Vafai.
    9195 
    9196         Implement proper handling of mouseover/mouseout events in regard to shadow DOM boundaries.
    9197         https://bugs.webkit.org/show_bug.cgi?id=55515
    9198 
    9199         This implements XBL 2.0's specified handling of mouseover/mouseout events:
    9200         http://dev.w3.org/2006/xbl2/Overview.html#the-mouseover-and-mouseout-events
    9201 
    9202         To do this, we:
    9203         1) calculate lowest common ancestor between relatedTarget and target, and
    9204            the nearest boundaries around them: the outer (common) boundary, and the
    9205            inner (specific to relatedTarget) boundary. Then, we
    9206         2) ensure that events only propagate up to the common boundary (or
    9207            all the way if boundary is not found), while
    9208         3) updating relatedTarget be the inner boundary.
    9209 
    9210         We also detect the most common case when no common boundary could exist
    9211         and provide a fast path to short-circuit most of the boundary detection
    9212         logic.
    9213 
    9214         Test: fast/events/shadow-boundary-crossing.html
    9215 
    9216         * dom/EventDispatcher.cpp:
    9217         (WebCore::EventDispatcher::adjustToShadowBoundaries): Added a helper to determine lowest
    9218             common ancestor, the boundaries around it, and compute adjustments
    9219             to relatedTarget and event target ancestor chain.
    9220         (WebCore::ancestorsCrossShadowBoundaries): Added.
    9221         (WebCore::EventDispatcher::adjustRelatedTarget): Changed to calculate
    9222             inner/outer shadow DOM boundaries and adjust ancestors chain accordingly.
    9223         (WebCore::EventDispatcher::EventDispatcher): Added flag initializer
    9224         (WebCore::EventDispatcher::ensureEventAncestors): Renamed from getEventAncestors,
    9225             converted to use initialization flag, rather than testing for empty.
    9226         * dom/EventDispatcher.h: Adjusted decls.
    9227         * dom/MouseEvent.cpp:
    9228         (WebCore::MouseEventDispatchMediator::dispatchEvent): Changed to send event
    9229             to adjustRelatedTarget.
    9230 
    9231 2011-04-08  Geoffrey Garen  <ggaren@apple.com>
    9232 
    9233         Reviewed by Oliver Hunt.
    9234 
    9235         A few heap-related renames and file moves.
    9236        
    9237         WeakGCPtr<T> => Weak<T>
    9238         Global<T> => Strong<T>
    9239         collector/ => heap/
    9240         collector/* => heap/*
    9241         runtime/WeakGCPtr.h => heap/Weak.h
    9242        
    9243         (Eventually, even more files should move into the heap directory. Like
    9244         Heap.h and Heap.cpp, for example.)
    9245 
    9246         * CMakeLists.txt:
    9247         * ForwardingHeaders/collector: Removed.
    9248         * ForwardingHeaders/heap: Copied from ForwardingHeaders/collector.
    9249         * ForwardingHeaders/heap/Strong.h: Copied from ForwardingHeaders/collector/handles/Global.h.
    9250         * ForwardingHeaders/heap/Weak.h: Copied from ForwardingHeaders/runtime/WeakGCPtr.h.
    9251         * ForwardingHeaders/runtime/WeakGCPtr.h: Removed.
    9252         * WebCore.vcproj/WebCore.vcproj:
    9253         * WebCore.vcproj/copyForwardingHeaders.cmd:
    9254         * bindings/js/JSCallbackData.h:
    9255         * bindings/js/JSCustomVoidCallback.h:
    9256         * bindings/js/JSDOMWindowBase.h:
    9257         * bindings/js/JSDOMWindowShell.cpp:
    9258         (WebCore::JSDOMWindowShell::setWindow):
    9259         * bindings/js/JSDataGridDataSource.h:
    9260         * bindings/js/JSEventListener.h:
    9261         * bindings/js/ScheduledAction.cpp:
    9262         (WebCore::ScheduledAction::ScheduledAction):
    9263         * bindings/js/ScheduledAction.h:
    9264         * bindings/js/ScriptCachedFrameData.cpp:
    9265         (WebCore::ScriptCachedFrameData::ScriptCachedFrameData):
    9266         * bindings/js/ScriptCachedFrameData.h:
    9267         * bindings/js/ScriptController.cpp:
    9268         (WebCore::ScriptController::createWindowShell):
    9269         * bindings/js/ScriptController.h:
    9270         * bindings/js/ScriptObject.h:
    9271         * bindings/js/ScriptState.h:
    9272         * bindings/js/ScriptValue.cpp:
    9273         * bindings/js/ScriptValue.h:
    9274         * bindings/js/ScriptWrappable.h:
    9275         * bindings/js/WorkerScriptController.cpp:
    9276         (WebCore::WorkerScriptController::initScript):
    9277         * bindings/js/WorkerScriptController.h:
    9278         * bridge/jsc/BridgeJSC.h:
    9279         * bridge/qt/qt_runtime.h:
    9280         * bridge/runtime_root.h:
    9281         * xml/XMLHttpRequest.cpp:
    9282 
    9283 2011-04-09  Keith Kyzivat  <keith.kyzivat@nokia.com>
    9284 
    9285         Reviewed by Laszlo Gombos.
    9286 
    9287         [Qt] Don't link against fontconfig or X11 if embedded
    9288         https://bugs.webkit.org/show_bug.cgi?id=58104
    9289 
    9290         No functional change so no new tests.
    9291 
    9292         * WebCore.pri: qpa=>embedded should be done very early so all cases of embedded are uniform.
    9293 
    9294 2011-04-09  Csaba Osztrogonác  <ossy@webkit.org>
    9295 
    9296         [Qt] Unreviewed trivial fix after r83344.
    9297 
    9298         * WebCore.pro: Update HEADERS list.
    9299 
    9300 2011-04-09  Jon Lee  <jonlee@apple.com>
    9301 
    9302         Reviewed by Beth Dakin.
    9303 
    9304         Overlay scrollbar flashes in scrollable <textarea> with each keystroke (58180)
    9305         https://bugs.webkit.org/show_bug.cgi?id=58180
    9306         <rdar://problem/9047984>
    9307 
    9308         * platform/mac/ScrollAnimatorMac.mm:
    9309         (WebCore::ScrollAnimatorMac::immediateScrollToPoint): Check that there is a change before submitting
    9310         (WebCore::ScrollAnimatorMac::immediateScrollByDeltaX):
    9311         (WebCore::ScrollAnimatorMac::immediateScrollByDeltaY):
    9312 
    9313 2011-04-09  Sreeram Ramachandran  <sreeram@google.com>
    9314 
    9315         Reviewed by Ryosuke Niwa.
    9316 
    9317         Gather data on modal dialogs shown during unload events
    9318         https://bugs.webkit.org/show_bug.cgi?id=58115
    9319 
    9320         Add a new method to the ChromeClient API to allow clients to receive
    9321         notifications of modal dialogs dispatched during page dismissal events.
    9322         The new method has a default empty definition; only chromium overrides
    9323         it to keep track of histograms.
    9324 
    9325         No tests because this is a no-op for all ports except chromium (and it's
    9326         not clear how to test chromium histograms from webkit).
    9327 
    9328         * page/Chrome.cpp:
    9329         (WebCore::isDuringPageDismissal):
    9330         (WebCore::willRunModalDialog):
    9331         (WebCore::Chrome::runJavaScriptAlert):
    9332         (WebCore::Chrome::runJavaScriptConfirm):
    9333         (WebCore::Chrome::runJavaScriptPrompt):
    9334         (WebCore::Chrome::willRunModalHTMLDialog):
    9335         * page/Chrome.h:
    9336         * page/ChromeClient.h:
    9337         (WebCore::ChromeClient::willRunModalDialogDuringPageDismissal):
    9338         * page/DOMWindow.cpp:
    9339         (WebCore::DOMWindow::showModalDialog):
    9340 
    9341 2011-04-08  David Humphrey  <david.humphrey@senecac.on.ca>
    9342 
    9343         Reviewed by Eric Carlson.
    9344 
    9345         Fix call order of media element muted and play(), such that setting muted before play() works.
    9346         https://bugs.webkit.org/show_bug.cgi?id=57673
    9347         https://code.google.com/p/chromium/issues/detail?id=70777
    9348 
    9349         Manual test added: manual-tests/media-muted.html
    9350 
    9351         * html/HTMLMediaElement.cpp:
    9352         (WebCore::HTMLMediaElement::updatePlayState):
    9353         * manual-tests/media-muted.html: Added.
    9354 
    9355 2011-04-08  Nat Duca  <nduca@chromium.org>
    9356 
    9357         Reviewed by David Levin.
    9358 
    9359         [chromium] Fix windows assertion on ~CCThread
    9360         https://bugs.webkit.org/show_bug.cgi?id=58153
    9361 
    9362         Because ~CCThread uses waitForThreadCompletion,
    9363         calling detachThread is not necessary.
    9364 
    9365         * platform/graphics/chromium/cc/CCThread.cpp:
    9366         (WebCore::CCThread::runLoop):
    9367 
    9368 2011-04-08  Jian Li  <jianli@chromium.org>
    9369 
    9370         Unreviewed, rolling out r83348.
    9371         http://trac.webkit.org/changeset/83348
    9372         https://bugs.webkit.org/show_bug.cgi?id=49508
    9373 
    9374         Breaks layout tests in QT, Win7 and Chromium.
    9375 
    9376         * rendering/RenderText.cpp:
    9377         (WebCore::RenderText::localCaretRect):
    9378 
    9379 2011-04-08  MORITA Hajime  <morrita@google.com>
    9380 
    9381         Reviewed by Simon Fraser.
    9382 
    9383         Negative spread should not make a sharp corner rounded
    9384         https://bugs.webkit.org/show_bug.cgi?id=58162
    9385 
    9386         Handled inset shadow path for rounded and non-rounded rect
    9387         differently as normal shadow path is doing.
    9388        
    9389         * rendering/RenderBoxModelObject.cpp:
    9390         (WebCore::RenderBoxModelObject::paintBoxShadow):
    9391 
    9392 2011-04-07  Simon Fraser  <simon.fraser@apple.com>
    9393 
    9394         Reviewed by Martin Robinson.
    9395 
    9396         REGRESSION (r77034-r77220): CSS box-shadow no longer renders on PowerPC
    9397         https://bugs.webkit.org/show_bug.cgi?id=55180
    9398 
    9399         The endianness #ifdef in ShadowBlur was unnecessary and harmful. The
    9400         data we get back from ImageBuffer::getImageData() do not vary in
    9401         endianness.
    9402 
    9403         * platform/graphics/ShadowBlur.cpp:
    9404         (WebCore::ShadowBlur::blurLayerImage):
    9405 
    9406 2011-04-08  Erik Arvidsson  <arv@chromium.org>
    9407 
    9408         Reviewed by Dimitri Glazkov.
    9409 
    9410         IFrame is getting the focus even though it is hidden
    9411         https://bugs.webkit.org/show_bug.cgi?id=55861
    9412 
    9413         Test: fast/dom/hidden-iframe-no-focus.html
    9414 
    9415         * html/HTMLFrameOwnerElement.cpp:
    9416         (WebCore::HTMLFrameOwnerElement::isKeyboardFocusable):
    9417         * html/HTMLFrameOwnerElement.h:
    9418 
    9419 2011-04-08  Jeff Timanus  <twiz@chromium.org>
    9420 
    9421         Reviewed by Kenneth Russell.
    9422 
    9423         Fall back to software rendering for Canvas2D when requesting a DrawingBuffer larger than supported by the GL environment.
    9424         https://bugs.webkit.org/show_bug.cgi?id=57768
    9425 
    9426         * html/canvas/CanvasRenderingContext2D.cpp:
    9427         (WebCore::CanvasRenderingContext2D::CanvasRenderingContext2D):
    9428         (WebCore::CanvasRenderingContext2D::reset):
    9429         * platform/graphics/gpu/DrawingBuffer.cpp:
    9430         (WebCore::DrawingBuffer::reset):
    9431         * platform/graphics/gpu/DrawingBuffer.h:
    9432 
    9433 2011-04-08  Daniel Cheng  <dcheng@chromium.org>
    9434 
    9435         Reviewed by Dmitry Titov.
    9436 
    9437         [chromium] Implement image/png support in DataTransferItems
    9438         https://bugs.webkit.org/show_bug.cgi?id=58106
    9439 
    9440         This patch implements DataTransferItem::getAsFile() using Blobs. In
    9441         addition, plumbing for image/png has been added so image paste will be
    9442         supported as long as the renderer makes that data available.
    9443 
    9444         Tests: editing/pasteboard/data-transfer-items-image-png.html
    9445 
    9446         * dom/DataTransferItem.h:
    9447         * dom/DataTransferItem.idl:
    9448         * platform/chromium/ClipboardMimeTypes.cpp:
    9449         * platform/chromium/ClipboardMimeTypes.h:
    9450         * platform/chromium/DataTransferItemChromium.cpp:
    9451         (WebCore::DataTransferItemChromium::getAsString):
    9452         (WebCore::DataTransferItemChromium::getAsFile):
    9453         * platform/chromium/DataTransferItemChromium.h:
    9454         * platform/chromium/PlatformBridge.h:
    9455 
    9456 2011-04-08 MORITA Hajime  <morrita@google.com>
    9457 
    9458         Unreviewed windows build fix.
    9459        
    9460         * editing/SpellingCorrectionController.h:
    9461         (WebCore::SpellingCorrectionController::UNLESS_ENABLED):
    9462 
    9463 2011-04-08  Enrica Casucci  <enrica@apple.com>
    9464 
    9465         Reviewed by Maciej Stachowiak.
    9466 
    9467         Improve lifetime management of nodes in ReplaceNodeWithSpanCommand.
    9468         https://bugs.webkit.org/show_bug.cgi?id=57595
    9469         <rdar://problem/9222122>
    9470 
    9471         Test: editing/style/bold-with-dom-changes.html
    9472 
    9473         * editing/ReplaceNodeWithSpanCommand.cpp:
    9474         (WebCore::swapInNodePreservingAttributesAndChildren):
    9475 
    9476 2011-04-07  Roland Steiner  <rolandsteiner@chromium.org>
    9477 
    9478         Reviewed by Dimitri Glazkov.
    9479 
    9480         Bug 58060 - Prepare access to TreeScope from Node, using NodeRareData
    9481         https://bugs.webkit.org/show_bug.cgi?id=58060
    9482 
    9483         Add a TreeScope pointer to NodeRareData to allow direct access to the containing tree scope.
    9484         However, in case the containing scope is the document, this is not set, and the
    9485         document pointer within Node is used instead.
    9486 
    9487         In an object derived from TreeScope (currently Document), the tree scope pointer
    9488         points to itself. Such objects also contain a parent tree scope pointer that
    9489         points to the containing scope. For Document, this is 0.
    9490 
    9491         Add new functions setTreeScope[Recursively] that replace setDocument[Recursively]
    9492         in public usage. setDocument[Recursively] are now only used internally and are
    9493         thererfore protected.
    9494 
    9495         No new tests. (no new functionality)
    9496 
    9497         * dom/ContainerNode.cpp: change DOM manipulation methods to update scope of inserted nodes
    9498         (WebCore::ContainerNode::insertBefore):
    9499         (WebCore::ContainerNode::replaceChild):
    9500         (WebCore::ContainerNode::appendChild):
    9501         * dom/Document.cpp:
    9502         (WebCore::Document::~Document):
    9503         (WebCore::Document::setDocType): Ditto
    9504         (WebCore::Document::adoptNode): Ditto
    9505         * dom/Document.h:
    9506         * dom/Node.cpp:
    9507         (WebCore::Node::treeScope): use NodeRareData to check if a non-Document scope is set
    9508         (WebCore::Node::setTreeScope): update NodeRareData depending on whether scope is a document
    9509         (WebCore::Node::setTreeScopeRecursively):
    9510         (WebCore::Node::setDocumentRecursively):
    9511         * dom/Node.h:
    9512         * dom/NodeRareData.h: add scope pointer
    9513         (WebCore::NodeRareData::NodeRareData):
    9514         (WebCore::NodeRareData::treeScope):
    9515         (WebCore::NodeRareData::setTreeScope):
    9516         * dom/TreeScope.cpp: add parentTreeScope pointer
    9517         (WebCore::TreeScope::TreeScope):
    9518         (WebCore::TreeScope::setParentTreeScope):
    9519         * dom/TreeScope.h:
    9520         (WebCore::TreeScope::parentTreeScope):
    9521 
    9522 2011-04-08  Xiaomei Ji  <xji@chromium.org>
    9523 
    9524         Reviewed by David Hyatt.
    9525 
    9526         Local caret rectangle calculation should be relative to its containing block.
    9527         https://bugs.webkit.org/show_bug.cgi?id=49508.
    9528 
    9529         InlineBox and caret rectangle are positioned relative to its containing block.
    9530         So its left and right edge value should be relative to its containing block as well.
    9531 
    9532         Test: fast/forms/cursor-at-editable-content-boundary.html
    9533 
    9534         * rendering/RenderText.cpp:
    9535         (WebCore::RenderText::localCaretRect):
    9536 
    9537 2011-04-08  MORITA Hajime  <morrita@google.com>
    9538 
    9539         Unreviewed build fix.
    9540 
    9541         * editing/Editor.cpp:
    9542         (WebCore::Editor::markMisspellingsAfterTypingToWord):
    9543 
    9544 2011-04-08  David Hyatt  <hyatt@apple.com>
    9545 
    9546         Reviewed by Simon Fraser.
    9547 
    9548         https://bugs.webkit.org/show_bug.cgi?id=57971
    9549        
    9550         Rework visited/unvisited links for before/after content. Propagate the bits earlier so that we don't lose
    9551         them when we throw away the visited style. Don't throw away the visited link style for pseudo elements
    9552         either, so that the styles are consistent.
    9553 
    9554         Added fast/history/visited-generated-content-test.html
    9555 
    9556         * css/CSSStyleSelector.cpp:
    9557         (WebCore::CSSStyleSelector::styleForElement):
    9558         (WebCore::CSSStyleSelector::pseudoStyleForElement):
    9559 
    9560 2011-04-06  MORITA Hajime  <morrita@google.com>
    9561 
    9562         Reviewed by Darin Adler.
    9563 
    9564         [Refactoring] Auto correction panel should be handled by its own class.
    9565         https://bugs.webkit.org/show_bug.cgi?id=55571
    9566 
    9567         Extracted code inside SUPPORT_AUTOCORRECTION_PANEL into
    9568         SpellingCorrectionController class.
    9569         This change also remove some SUPPORT_AUTOCORRECTION_PANEL guard if
    9570         code paths inside the never reached without autocorrection support.
    9571         Removing guards reduces unintentional build breakage.
    9572 
    9573         No new tests, no behavior chagne.
    9574 
    9575         * CMakeLists.txt:
    9576         * GNUmakefile.am:
    9577         * WebCore.gypi:
    9578         * WebCore.pro:
    9579         * WebCore.vcproj/WebCore.vcproj:
    9580         * WebCore.xcodeproj/project.pbxproj:
    9581         * editing/CorrectionPanelInfo.h: Removed.
    9582         * editing/EditingAllInOne.cpp:
    9583         * editing/Editor.cpp:
    9584         (WebCore::Editor::respondToChangedSelection):
    9585         (WebCore::Editor::respondToChangedContents):
    9586         (WebCore::Editor::appliedEditing):
    9587         (WebCore::Editor::Editor):
    9588         (WebCore::Editor::~Editor):
    9589         (WebCore::Editor::insertTextWithoutSendingTextEvent):
    9590         (WebCore::Editor::insertLineBreak):
    9591         (WebCore::Editor::insertParagraphSeparator):
    9592         (WebCore::Editor::cut):
    9593         (WebCore::Editor::paste):
    9594         (WebCore::Editor::pasteAsPlainText):
    9595         (WebCore::Editor::isAutomaticSpellingCorrectionEnabled):
    9596         (WebCore::Editor::markMisspellingsAfterTypingToWord):
    9597         (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
    9598         (WebCore::Editor::changeBackToReplacedString):
    9599         (WebCore::Editor::unappliedSpellCorrection):
    9600         (WebCore::Editor::updateMarkersForWordsAffectedByEditing):
    9601         (WebCore::Editor::startCorrectionPanelTimer):
    9602         (WebCore::Editor::handleCorrectionPanelResult):
    9603         (WebCore::Editor::dismissCorrectionPanelAsIgnored):
    9604         * editing/Editor.h:
    9605         * editing/SpellingCorrectionCommand.cpp:
    9606         * editing/SpellingCorrectionController.cpp: Added.
    9607         (WebCore::markerTypesForAutocorrection):
    9608         (WebCore::markerTypesForReplacement):
    9609         (WebCore::markersHaveIdenticalDescription):
    9610         (WebCore::SpellingCorrectionController::SpellingCorrectionController):
    9611         (WebCore::SpellingCorrectionController::~SpellingCorrectionController):
    9612         (WebCore::SpellingCorrectionController::startCorrectionPanelTimer):
    9613         (WebCore::SpellingCorrectionController::stopCorrectionPanelTimer):
    9614         (WebCore::SpellingCorrectionController::stopPendingCorrection):
    9615         (WebCore::SpellingCorrectionController::applyPendingCorrection):
    9616         (WebCore::SpellingCorrectionController::hasPendingCorrection):
    9617         (WebCore::SpellingCorrectionController::isSpellingMarkerAllowed):
    9618         (WebCore::SpellingCorrectionController::show):
    9619         (WebCore::SpellingCorrectionController::handleCancelOperation):
    9620         (WebCore::SpellingCorrectionController::dismiss):
    9621         (WebCore::SpellingCorrectionController::dismissSoon):
    9622         (WebCore::SpellingCorrectionController::applyCorrectionPanelInfo):
    9623         (WebCore::SpellingCorrectionController::applyAutocorrectionBeforeTypingIfAppropriate):
    9624         (WebCore::SpellingCorrectionController::respondToUnappliedSpellCorrection):
    9625         (WebCore::SpellingCorrectionController::correctionPanelTimerFired):
    9626         (WebCore::SpellingCorrectionController::handleCorrectionPanelResult):
    9627         (WebCore::SpellingCorrectionController::isAutomaticSpellingCorrectionEnabled):
    9628         (WebCore::SpellingCorrectionController::windowRectForRange):
    9629         (WebCore::SpellingCorrectionController::respondToChangedSelection):
    9630         (WebCore::SpellingCorrectionController::respondToAppliedEditing):
    9631         (WebCore::SpellingCorrectionController::client):
    9632         (WebCore::SpellingCorrectionController::textChecker):
    9633         (WebCore::SpellingCorrectionController::recordAutocorrectionResponseReversed):
    9634         (WebCore::SpellingCorrectionController::markReversed):
    9635         (WebCore::SpellingCorrectionController::markCorrection):
    9636         (WebCore::SpellingCorrectionController::recordSpellcheckerResponseForModifiedCorrection):
    9637         * editing/SpellingCorrectionController.h: Added.
    9638         (WebCore::SpellingCorrectionController::UNLESS_ENABLED):
    9639         (WebCore::SpellingCorrectionController::shouldStartTimeFor):
    9640         (WebCore::SpellingCorrectionController::shouldRemoveMarkersUponEditing):       
    9641         * editing/TypingCommand.cpp:
    9642         (WebCore::TypingCommand::insertText):
    9643         (WebCore::TypingCommand::markMisspellingsAfterTyping):
    9644         (WebCore::TypingCommand::deleteKeyPressed):
    9645         (WebCore::TypingCommand::forwardDeleteKeyPressed):
    9646         * editing/htmlediting.h:
    9647         (WebCore::isAmbiguousBoundaryCharacter):
    9648         * page/EditorClient.h:
    9649         * page/Frame.cpp:
    9650         (WebCore::Frame::setPageAndTextZoomFactors):
    9651 
    9652 2011-04-08  Alpha Lam  <hclam@chromium.org>
    9653 
    9654         Unreviewed, rolling out r83335.
    9655         http://trac.webkit.org/changeset/83335
    9656         https://bugs.webkit.org/show_bug.cgi?id=53556
    9657 
    9658         GTK and QT bots are broken
    9659 
    9660         * CMakeLists.txt:
    9661         * Configurations/FeatureDefines.xcconfig:
    9662         * DerivedSources.make:
    9663         * GNUmakefile.am:
    9664         * WebCore.gypi:
    9665         * WebCore.xcodeproj/project.pbxproj:
    9666         * features.pri:
    9667         * html/HTMLAttributeNames.in:
    9668         * html/HTMLTagNames.in:
    9669         * html/HTMLTrackElement.cpp: Removed.
    9670         * html/HTMLTrackElement.h: Removed.
    9671         * html/HTMLTrackElement.idl: Removed.
    9672 
    9673 2011-04-08  Brady Eidson  <beidson@apple.com>
    9674 
    9675         Reviewed by Adam Roben.
    9676 
    9677         https://bugs.webkit.org/show_bug.cgi?id=58155 and part of <rdar://problem/9251767>
    9678         BitmapImage::getFirstCGImageRefOfSize fails if the frameCount hasn't been initialized from the image source.
    9679 
    9680         * platform/graphics/cg/ImageCG.cpp:
    9681         (WebCore::BitmapImage::getFirstCGImageRefOfSize): Call frameCount() instead of accessing m_frames.size() to
    9682           make sure the frames are properly tallied first.
    9683 
    9684 2011-04-08  Benjamin Poulain  <benjamin.poulain@nokia.com>
    9685 
    9686         Reviewed by Andreas Kling.
    9687 
    9688         [Qt] Dragging and dropping an image in edit mode does not work
    9689         https://bugs.webkit.org/show_bug.cgi?id=19385
    9690 
    9691         When adding an image to the clipboard, we should also include the HTML code of that image so
    9692         it can be used for internal drag and drop.
    9693 
    9694         This HTML is expected by all clients of drop events so a fragment can be moved from one browser to
    9695         another, or inside the same browser.
    9696 
    9697         * platform/qt/ClipboardQt.cpp:
    9698         (WebCore::ClipboardQt::declareAndWriteDragImage):
    9699 
    9700 2011-04-07  Anna Cavender  <annacc@chromium.org>
    9701 
    9702         Reviewed by Eric Carlson.
    9703 
    9704         Setup ENABLE(TRACK) feature define + initial HTMLTrackElement
    9705         https://bugs.webkit.org/show_bug.cgi?id=53556
    9706 
    9707         No new tests. No real functionality added just yet.
    9708 
    9709         * CMakeLists.txt:
    9710         * Configurations/FeatureDefines.xcconfig:
    9711         * DerivedSources.make:
    9712         * GNUmakefile.am:
    9713         * WebCore.gypi:
    9714         * WebCore.xcodeproj/project.pbxproj:
    9715         * features.pri:
    9716         * html/HTMLAttributeNames.in:
    9717         * html/HTMLTagNames.in:
    9718         * html/HTMLTrackElement.cpp: Added.
    9719         (WebCore::HTMLTrackElement::HTMLTrackElement):
    9720         (WebCore::HTMLTrackElement::create):
    9721         (WebCore::HTMLTrackElement::insertedIntoTree):
    9722         (WebCore::HTMLTrackElement::willRemove):
    9723         (WebCore::HTMLTrackElement::src):
    9724         (WebCore::HTMLTrackElement::setSrc):
    9725         (WebCore::HTMLTrackElement::kind):
    9726         (WebCore::HTMLTrackElement::setKind):
    9727         (WebCore::HTMLTrackElement::srclang):
    9728         (WebCore::HTMLTrackElement::setSrclang):
    9729         (WebCore::HTMLTrackElement::label):
    9730         (WebCore::HTMLTrackElement::setLabel):
    9731         (WebCore::HTMLTrackElement::isDefault):
    9732         (WebCore::HTMLTrackElement::setIsDefault):
    9733         (WebCore::HTMLTrackElement::isURLAttribute):
    9734         * html/HTMLTrackElement.h: Added.
    9735         * html/HTMLTrackElement.idl: Added.
    9736 
    9737 2011-04-07  Jer Noble  <jer.noble@apple.com>
    9738 
    9739         Reviewed by Eric Carlson.
    9740 
    9741         Logic error in HTMLMediaElement::exitFullscreen()
    9742         https://bugs.webkit.org/show_bug.cgi?id=58085
    9743 
    9744         The new full screen API case could fall through to the legacy API case
    9745         unintentionally if a script calls exitFullscreen on an element which is
    9746         not the current full screen element.
    9747 
    9748         * html/HTMLMediaElement.cpp:
    9749         (WebCore::HTMLMediaElement::enterFullscreen):
    9750         (WebCore::HTMLMediaElement::exitFullscreen):
    9751 
    9752 2011-04-08  Mike Reed  <reed@google.com>
    9753 
    9754         Reviewed by Eric Seidel.
    9755 
    9756         Replace SKIA_TEXT with isNativeFontRenderingAllowed() for print-preview to work
    9757         https://bugs.webkit.org/show_bug.cgi?id=57782
    9758 
    9759         No new tests. This change only affects print-preview and build option SKIA_GPU
    9760 
    9761         * platform/graphics/skia/SkiaFontWin.cpp:
    9762         (WebCore::paintSkiaText):
    9763 
    9764 2011-04-08  Ryosuke Niwa  <rniwa@webkit.org>
    9765 
    9766         Reviewed by Tony Chang, Darin Adler, and Enrica Casucci.
    9767 
    9768         REGRESSION(r81887): Crash in SplitElement
    9769         https://bugs.webkit.org/show_bug.cgi?id=57743
    9770 
    9771         The crash was caused by ReplaceSelectionCommand::doApply's calling splitElement with computeNodeAfterPosition
    9772         even when the position was after the last node in it container. Since all we are doing here is to splitting tree
    9773         up until the highest ancestor with isInlineNodeWithStyle, replaced the while loop by calls to splitTreeToNode
    9774         and highestEnclosingNodeOfType.
    9775 
    9776         Also fixed a bug in splitTreeToNode not to check the difference in visible position when splitting the ancestor,
    9777         which would have introduced unnecessary nodes when splitting tree and a bug in highestEnclosingNodeOfType that
    9778         it incorrectly called deprecatedNode instead of containerNode.
    9779 
    9780         Test: editing/inserting/insert-images-in-pre-x-crash.html
    9781 
    9782         * editing/CompositeEditCommand.cpp:
    9783         (WebCore::CompositeEditCommand::splitTreeToNode):
    9784         * editing/ReplaceSelectionCommand.cpp:
    9785         (WebCore::ReplaceSelectionCommand::doApply):
    9786         * editing/htmlediting.cpp:
    9787         (WebCore::highestEnclosingNodeOfType):
    9788 
    9789 2011-04-08  Antti Koivisto  <antti@apple.com>
    9790 
    9791         Reviewed by Tony Gentilcore.
    9792 
    9793         Incoming source should be preload scanned when the parser is blocked
    9794         https://bugs.webkit.org/show_bug.cgi?id=58117
    9795 
    9796         Scan the appended source if parser is blocked.
    9797 
    9798         Test: http/tests/loading/preload-append-scan.php
    9799 
    9800         * html/parser/HTMLDocumentParser.cpp:
    9801         (WebCore::HTMLDocumentParser::append):
    9802 
    9803 2011-04-08  Martin Robinson  <mrobinson@igalia.com>
    9804 
    9805         Reviewed by Xan Lopez.
    9806 
    9807         [GTK] Fix the WebKit2 build for older versions of GTK+
    9808         https://bugs.webkit.org/show_bug.cgi?id=58095
    9809 
    9810         No new tests. This is just a build fix.
    9811 
    9812         * platform/gtk/GtkVersioning.c:
    9813         (gdk_window_create_similar_surface): Reimplement this method for older versions of GDK.
    9814         * platform/gtk/GtkVersioning.h: Add the new method to the header.
    9815 
    9816 2011-04-08  Misha Tyutyunik  <michael.tyutyunik@nokia.com>
    9817 
    9818         Reviewed by Laszlo Gombos.
    9819 
    9820         [Qt] Plugin is not scrolled together with page content or jumping
    9821         when content is rendered using cache (backing store).
    9822         https://bugs.webkit.org/show_bug.cgi?id=56130
    9823        
    9824         This is a Symbian portion of the fix. For Linux it looks like
    9825         it's enough to call set geometry which should be addressed in
    9826         https://bugs.webkit.org/show_bug.cgi?id=57179
    9827 
    9828         No new tests required. This can be tested with manual tests from
    9829         WebCore/manual-tests/qt and WebCore/manual-tests/plugins
    9830 
    9831         * plugins/symbian/PluginViewSymbian.cpp:
    9832         (WebCore::PluginView::updatePluginWidget):
    9833 
    9834 2011-04-08  Abhishek Arya  <inferno@chromium.org>
    9835 
    9836         Unreviewed. Remove accidental printf added in r83306.
    9837 
    9838         * page/EventHandler.cpp:
    9839         (WebCore::EventHandler::sendContextMenuEvent):
    9840 
    9841 2011-04-08  Enrica Casucci  <enrica@apple.com>
    9842 
    9843         Reviewed by Darin Adler.
    9844 
    9845         Dragging text in a WebKit2 window results in a copy instead of a move.
    9846         https://bugs.webkit.org/show_bug.cgi?id=56772
    9847         <rdar://problem/9165140>
    9848 
    9849         cleanupAfterSystemDrag cannot call dragEnd in WebKit2, since
    9850         the call to startDrag is asynchronous.
    9851        
    9852         * page/mac/DragControllerMac.mm:
    9853         (WebCore::DragController::cleanupAfterSystemDrag):
    9854 
    9855 2011-04-05  Dimitri Glazkov  <dglazkov@chromium.org>
    9856 
    9857         Reviewed by Darin Adler.
    9858 
    9859         Move WheelEvent-dispatching logic into WheelEventDispatchMediator.
    9860         https://bugs.webkit.org/show_bug.cgi?id=57642
    9861 
    9862         Covered by existing tests, no functional change.
    9863 
    9864         * dom/Event.cpp:
    9865         * dom/Event.h:
    9866         (WebCore::EventDispatchMediator::EventDispatchMediator): Added default
    9867             constructor.
    9868         (WebCore::EventDispatchMediator::event): Inlined.
    9869         (WebCore::EventDispatchMediator::setEvent): Added.
    9870         * dom/EventDispatcher.cpp: Removed dispatchWheelEvent.
    9871         * dom/EventDispatcher.h: Updated decls.
    9872         * dom/Node.cpp:
    9873         (WebCore::Node::dispatchWheelEvent): Changed to use the mediator and
    9874             return a bool, like other dispatch event functions.
    9875         * dom/Node.h: Changed decl.
    9876         * dom/WheelEvent.cpp:
    9877         (WebCore::granularity): Moved from EventDispatcher.
    9878         (WebCore::WheelEventDispatchMediator::WheelEventDisatchMediator): Added.
    9879         (WebCore::WheelEventDispatchMediator::event): Added.
    9880         (WebCore::WheelEventDispatchMediator::dispatchEvent): Added.
    9881         * dom/WheelEvent.h: Updated decls.
    9882         * page/EventHandler.cpp:
    9883         (WebCore::EventHandler::handleWheelEvent): Changed to receive and react
    9884             to the return value.
    9885 
    9886 2011-04-08  Jessie Berlin  <jberlin@apple.com>
    9887 
    9888         Windows build warning fix.
    9889 
    9890         * WebCore.vcproj/WebCore.vcproj:
    9891         Since ShadowRoot.cpp is included in the DOMAllInOne.cpp file, it should be excluded from
    9892         the build.
    9893 
    9894 2011-04-07  Pavel Podivilov  <podivilov@chromium.org>
    9895 
    9896         Reviewed by Pavel Feldman.
    9897 
    9898         Web Inspector: update breakpoints according to source frame decorations after live edit.
    9899         https://bugs.webkit.org/show_bug.cgi?id=58029
    9900 
    9901         * inspector/front-end/DebuggerPresentationModel.js:
    9902         (WebInspector.DebuggerPresentationModel.prototype.editScriptSource.didEditScriptSource):
    9903         (WebInspector.DebuggerPresentationModel.prototype.editScriptSource):
    9904         (WebInspector.DebuggerPresentationModel.prototype._updateResourceContent.didEditScriptSource):
    9905         (WebInspector.DebuggerPresentationModel.prototype._updateResourceContent):
    9906         * inspector/front-end/SourceFile.js:
    9907         (WebInspector.SourceFile.prototype.set content):
    9908         * inspector/front-end/SourceFrame.js:
    9909         (WebInspector.SourceFrame.prototype._handleSave.didEditScriptSource):
    9910         (WebInspector.SourceFrame.prototype._handleSave):
    9911 
    9912 2011-04-08  Pavel Podivilov  <podivilov@chromium.org>
    9913 
    9914         Reviewed by Pavel Feldman.
    9915 
    9916         Web Inspector: fix scripts concatenation in scripts panel.
    9917         https://bugs.webkit.org/show_bug.cgi?id=58138
    9918 
    9919         When there is just one script starting at 0:0 it should not be surrounded by <script> framing.
    9920 
    9921         * inspector/front-end/SourceFile.js:
    9922         (WebInspector.SourceFile.prototype._loadResourceContent):
    9923         (WebInspector.SourceFile.prototype._loadAndConcatenateScriptsContent):
    9924 
    9925 2011-04-08  Pavel Feldman  <pfeldman@chromium.org>
    9926 
    9927         Reviewed by Yury Semikhatsky.
    9928 
    9929         Web Inspector: use "locations" for debugger scripts, "lineNumbers" for the UI elements.
    9930         https://bugs.webkit.org/show_bug.cgi?id=58118
    9931 
    9932         This change reuses location for call frames in the protocol + structures script
    9933         location <-> source lines interaction better. When we need UI columns, we will add
    9934         them, but we should distinguish between script and UI terms on the type level, not naming.
    9935 
    9936         * English.lproj/localizedStrings.js:
    9937         * bindings/v8/DebuggerScript.js:
    9938         * inspector/InjectedScriptSource.js:
    9939         * inspector/Inspector.json:
    9940         * inspector/front-end/CallStackSidebarPane.js:
    9941         (WebInspector.CallStackSidebarPane.prototype.update.didGetSourceLine):
    9942         (WebInspector.CallStackSidebarPane.prototype.update):
    9943         * inspector/front-end/DebuggerPresentationModel.js:
    9944         (WebInspector.DebuggerPresentationModel.prototype.addConsoleMessage.didRequestSourceMapping):
    9945         (WebInspector.DebuggerPresentationModel.prototype.addConsoleMessage):
    9946         (WebInspector.DebuggerPresentationModel.prototype.continueToLine):
    9947         (WebInspector.DebuggerPresentationModel.prototype._setBreakpointInDebugger.didRequestSourceMapping):
    9948         (WebInspector.DebuggerPresentationModel.prototype._setBreakpointInDebugger):
    9949         (WebInspector.DebuggerPresentationModel.prototype._breakpointAdded.didRequestSourceMapping):
    9950         (WebInspector.DebuggerPresentationModel.prototype._breakpointAdded):
    9951         (WebInspector.PresenationCallFrame):
    9952         (WebInspector.PresenationCallFrame.prototype.sourceLine.didRequestSourceMapping):
    9953         (WebInspector.PresenationCallFrame.prototype.sourceLine):
    9954         * inspector/front-end/ScriptFormatter.js:
    9955         (WebInspector.ScriptFormatter.locationToPosition):
    9956         (WebInspector.ScriptFormatter.lineToPosition):
    9957         * inspector/front-end/ScriptsPanel.js:
    9958         (WebInspector.ScriptsPanel.prototype._debuggerPaused.else.didGetSourceLocation):
    9959         (WebInspector.ScriptsPanel.prototype._debuggerPaused):
    9960         (WebInspector.ScriptsPanel.prototype.showAnchorLocation):
    9961         (WebInspector.ScriptsPanel.prototype._callFrameSelected.didGetSourceLocation):
    9962         (WebInspector.ScriptsPanel.prototype._callFrameSelected):
    9963         * inspector/front-end/SourceFile.js:
    9964         (WebInspector.SourceMapping.prototype.scriptLocationToSourceLine):
    9965         (WebInspector.SourceMapping.prototype.sourceLineToScriptLocation):
    9966         (WebInspector.FormattedSourceMapping.prototype.scriptLocationToSourceLine):
    9967         (WebInspector.FormattedSourceMapping.prototype.sourceLineToScriptLocation):
    9968 
    9969 2011-04-08  Pavel Podivilov  <podivilov@chromium.org>
    9970 
    9971         Reviewed by Pavel Feldman.
    9972 
    9973         Web Inspector: distinguish breakpoints set on de-obfuscated sources from breakponts set on original sources.
    9974         https://bugs.webkit.org/show_bug.cgi?id=58133
    9975 
    9976         * inspector/front-end/DebuggerPresentationModel.js:
    9977         (WebInspector.DebuggerPresentationModel.prototype.canEditScriptSource):
    9978         (WebInspector.DebuggerPresentationModel.prototype.toggleFormatSourceFiles):
    9979         (WebInspector.DebuggerPresentationModel.prototype._debuggerPaused):
    9980         (WebInspector.DebuggerPresentationModel.prototype._sourceFileForScript):
    9981         (WebInspector.DebuggerPresentationModel.prototype._scriptForSourceFileId):
    9982         (WebInspector.DebuggerPresentationModel.prototype._createSourceFileId):
    9983         (WebInspector.DebuggerPresentationModel.prototype._reset):
    9984 
    9985 2011-04-07  Pavel Podivilov  <podivilov@chromium.org>
    9986 
    9987         Reviewed by Pavel Feldman.
    9988 
    9989         Web Inspector: make SourceFrame TextViewer's delegate for editing operations.
    9990         https://bugs.webkit.org/show_bug.cgi?id=58026
    9991 
    9992         This is the first step of decoupling TextViewer from SourceFrame.
    9993 
    9994         * inspector/front-end/SourceFrame.js:
    9995         (WebInspector.SourceFrame):
    9996         (WebInspector.SourceFrame.prototype.show):
    9997         (WebInspector.SourceFrame.prototype.hide):
    9998         (WebInspector.SourceFrame.prototype._ensureContentLoaded):
    9999         (WebInspector.SourceFrame.prototype.contentEditable):
    10000         (WebInspector.SourceFrame.prototype.startEditing):
    10001         (WebInspector.SourceFrame.prototype.endEditing):
    10002         (WebInspector.SourceFrame.prototype._createTextViewer):
    10003         (WebInspector.SourceFrame.prototype._handleSave):
    10004         (WebInspector.SourceFrame.prototype._handleRevertEditing):
    10005         * inspector/front-end/TextViewer.js:
    10006         (WebInspector.TextViewer.prototype._enterInternalTextChangeMode):
    10007         (WebInspector.TextViewer.prototype._exitInternalTextChangeMode):
    10008         (WebInspector.TextViewer.prototype._syncDecorationsForLine):
    10009         (WebInspector.TextViewer.prototype._doubleClick):
    10010         (WebInspector.TextViewerDelegate):
    10011         (WebInspector.TextViewerDelegate.prototype.contentEditable):
    10012         (WebInspector.TextViewerDelegate.prototype.startEditing):
    10013         (WebInspector.TextViewerDelegate.prototype.endEditing):
    10014         (WebInspector.TextEditorMainPanel.prototype._paintScheduledLines):
    10015         (WebInspector.TextEditorMainPanel.prototype._handleDOMUpdates):
    10016         * inspector/front-end/inspector.html:
    10017 
    10018 2011-04-08  Leandro Gracia Gil  <leandrogracia@chromium.org>
    10019 
    10020         Reviewed by Steve Block.
    10021 
    10022         Media Stream API: add the getUserMedia method and the Javascript bindings.
    10023         https://bugs.webkit.org/show_bug.cgi?id=56586
    10024 
    10025         Add the getUserMedia method to the navigator and its new Javascript types.
    10026         Current specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#video-conferencing-and-peer-to-peer-communication
    10027 
    10028         Tests: fast/dom/MediaStream/argument-types.html
    10029                fast/dom/MediaStream/enabled.html
    10030                fast/dom/MediaStream/no-interface-object.html
    10031 
    10032         * Android.derived.jscbindings.mk:
    10033         * Android.derived.v8bindings.mk:
    10034         * Android.v8bindings.mk:
    10035         * CMakeLists.txt:
    10036         * CodeGenerators.pri:
    10037         * DerivedSources.cpp:
    10038         * DerivedSources.make:
    10039         * GNUmakefile.list.am:
    10040         * WebCore.gypi:
    10041         * WebCore.pro:
    10042         * WebCore.vcproj/WebCore.vcproj:
    10043         * WebCore.xcodeproj/project.pbxproj:
    10044         * bindings/js/JSNavigatorCustom.cpp:
    10045         (WebCore::JSNavigator::webkitGetUserMedia):
    10046         * bindings/v8/custom/V8NavigatorCustom.cpp: Added.
    10047         (WebCore::V8Navigator::webkitGetUserMediaCallback):
    10048         * page/Navigator.cpp:
    10049         (WebCore::Navigator::webkitGetUserMedia):
    10050         * page/Navigator.h:
    10051         * page/Navigator.idl:
    10052         * page/NavigatorUserMediaError.h: Added.
    10053         (WebCore::NavigatorUserMediaError::NavigatorUserMediaError):
    10054         (WebCore::NavigatorUserMediaError::~NavigatorUserMediaError):
    10055         (WebCore::NavigatorUserMediaError::code):
    10056         * page/NavigatorUserMediaError.idl: Added.
    10057         * page/NavigatorUserMediaErrorCallback.h: Added.
    10058         (WebCore::NavigatorUserMediaErrorCallback::~NavigatorUserMediaErrorCallback):
    10059         * page/NavigatorUserMediaErrorCallback.idl: Added.
    10060         * page/NavigatorUserMediaSuccessCallback.h: Added.
    10061         (WebCore::NavigatorUserMediaSuccessCallback::~NavigatorUserMediaSuccessCallback):
    10062         * page/NavigatorUserMediaSuccessCallback.idl: Added.
    10063 
    10064 2011-04-08  Mikhail Naganov  <mnaganov@chromium.org>
    10065 
    10066         Reviewed by Pavel Feldman.
    10067 
    10068         Web Inspector: [Chromium] Add more tests for detailed heap snapshots UI.
    10069         https://bugs.webkit.org/show_bug.cgi?id=58010
    10070         https://bugs.webkit.org/show_bug.cgi?id=58011
    10071 
    10072         Added tests for "Containment" view. Minor refactorings, bugs fixed.
    10073         Split one large tests into smaller ones to avoid timing out in debug mode.
    10074 
    10075         Tests: inspector/profiler/detailed-heapshots-containment-expansion-preserved-when-sorting.html
    10076                inspector/profiler/detailed-heapshots-containment-show-all.html
    10077                inspector/profiler/detailed-heapshots-containment-show-next.html
    10078                inspector/profiler/detailed-heapshots-containment-sorting.html
    10079                inspector/profiler/detailed-heapshots-summary-expansion-preserved-when-sorting.html
    10080                inspector/profiler/detailed-heapshots-summary-show-all.html
    10081                inspector/profiler/detailed-heapshots-summary-show-next.html
    10082                inspector/profiler/detailed-heapshots-summary-sorting.html
    10083 
    10084         * inspector/front-end/DetailedHeapshotGridNodes.js:
    10085         (WebInspector.HeapSnapshotGridNode):
    10086         (WebInspector.HeapSnapshotGridNode.prototype.populateChildren):
    10087         (WebInspector.HeapSnapshotGridNode.prototype.sort.doSort):
    10088         (WebInspector.HeapSnapshotGridNode.prototype.sort):
    10089         (WebInspector.HeapSnapshotGenericObjectNode):
    10090         (WebInspector.HeapSnapshotObjectNode):
    10091         (WebInspector.HeapSnapshotInstanceNode):
    10092         (WebInspector.HeapSnapshotConstructorNode):
    10093         (WebInspector.HeapSnapshotDiffNode):
    10094         (WebInspector.HeapSnapshotDominatorObjectNode):
    10095         * inspector/front-end/DetailedHeapshotView.js:
    10096         (WebInspector.HeapSnapshotContainmentDataGrid):
    10097         (WebInspector.HeapSnapshotDominatorsDataGrid):
    10098 
    10099 2011-04-08  Andrey Adaikin  <aandrey@google.com>
    10100 
    10101         Reviewed by Pavel Feldman.
    10102 
    10103         Web Inspector: Bugs in some corner cases in the text editor
    10104         https://bugs.webkit.org/show_bug.cgi?id=58025
    10105 
    10106         This solves the following bugs:
    10107         1) The very last _empty_ line would not be deleted if you hit a Backspace on it, or the selection text to be deleted is extended to the very bottom of the editor.
    10108         2) An odd corner case: delete all source code from the editor, hit backspace on the only empty line, then add a character. In this case the browser will insert a TEXT node instead of a DIV node for a lineRow.
    10109 
    10110         * inspector/front-end/TextViewer.js:
    10111         (WebInspector.TextEditorMainPanel.prototype._selectionToPosition):
    10112         (WebInspector.TextEditorMainPanel.prototype._enclosingLineRowOrSelf):
    10113         (WebInspector.TextEditorMainPanel.prototype._handleDOMUpdates):
    10114         (WebInspector.TextEditorMainPanel.prototype._applyDomUpdates):
    10115         (WebInspector.TextEditorMainPanel.prototype._collectLinesFromDiv):
    10116 
    10117 2011-04-07  Pavel Podivilov  <podivilov@chromium.org>
    10118 
    10119         Reviewed by Pavel Feldman.
    10120 
    10121         Web Inspector: add test for script formatter worker.
    10122         https://bugs.webkit.org/show_bug.cgi?id=57447
    10123 
    10124         Test: inspector/debugger/script-formatter.html
    10125 
    10126         * GNUmakefile.am:
    10127         * WebCore.xcodeproj/project.pbxproj:
    10128         * gyp/streamline-inspector-source.sh:
    10129         * inspector/front-end/DebuggerPresentationModel.js:
    10130         (WebInspector.DebuggerPresentationModel.prototype._addScript):
    10131         (WebInspector.DebuggerPresentationModel.prototype.toggleFormatSourceFiles):
    10132         (WebInspector.DebuggerPresentationModel.prototype._formatter):
    10133         * inspector/front-end/ScriptFormatterWorker.js:
    10134 
    10135 2011-04-08  Andrey Adaikin  <aandrey@google.com>
    10136 
    10137         Reviewed by Pavel Feldman.
    10138 
    10139         Web Inspector: Tweak dynamically constants for the async highlighting in text editor
    10140         https://bugs.webkit.org/show_bug.cgi?id=58035
    10141 
    10142         * inspector/front-end/TextViewer.js:
    10143         (WebInspector.TextEditorMainPanel.prototype._expandChunks):
    10144         (WebInspector.TextEditorMainPanel.prototype._schedulePaintLines):
    10145         (WebInspector.TextEditorMainPanel.prototype._paintScheduledLines):
    10146         (WebInspector.TextEditorMainPanel.prototype._restorePaintLinesOperationsCredit):
    10147         (WebInspector.TextEditorMainPanel.prototype._adjustPaintLinesOperationsRefreshValue):
    10148 
    10149 2011-04-08  Andrey Kosyakov  <caseq@chromium.org>
    10150 
    10151         Reviewed by Yury Semikhatsky.
    10152 
    10153         Web Inspector: HAR compliance fixes
    10154         https://bugs.webkit.org/show_bug.cgi?id=58124
    10155 
    10156         - Always provide some values for queryString and cookies, even though arrays may be empty
    10157         - Always provide an empty cache object
    10158         - Added entire HARLog to test
    10159         - Workaround in test to avoid custom expectations (favicon.ico appears in log on certain platforms)
    10160 
    10161         * inspector/front-end/HAREntry.js:
    10162         (WebInspector.HAREntry.prototype.build):
    10163         (WebInspector.HAREntry.prototype._buildRequest):
    10164         (WebInspector.HAREntry.prototype._buildResponse):
    10165 
    10166 2011-04-08  Adam Barth  <abarth@webkit.org>
    10167 
    10168         Attempt to fix the Qt build.
    10169 
    10170         * css/CSSStyleApplyProperty.cpp:
    10171 
    10172 2011-04-07  Adam Barth  <abarth@webkit.org>
    10173 
    10174         Reviewed by Eric Seidel.
    10175 
    10176         Refactor WebCore/GNUMakefile.am to separate list of files
    10177         https://bugs.webkit.org/show_bug.cgi?id=58116
    10178 
    10179         This change is similar to the cooresponding to change to
    10180         JavaScriptCore.  We hope to generate GNUmakefile.list.am automatically
    10181         using GYP.
    10182 
    10183         * GNUmakefile.am:
    10184         * GNUmakefile.list.am: Added.
    10185 
    10186 2011-04-07  Geoffrey Garen  <ggaren@apple.com>
    10187 
    10188         Not reviewed.
    10189 
    10190         Rolled out some accidentally-committed changes in my last commit.
    10191 
    10192         * dom/EventTarget.cpp:
    10193         (WebCore::EventTarget::addEventListener):
    10194         (WebCore::EventTarget::removeEventListener):
    10195         * dom/EventTarget.h:
    10196 
    10197 2011-04-07  Julien Chaffraix  <jchaffraix@codeaurora.org>
    10198 
    10199         Reviewed by Alexey Proskuryakov.
    10200 
    10201         EventSource should only accept UTF-8 charset
    10202         https://bugs.webkit.org/show_bug.cgi?id=56942
    10203 
    10204         Following the discussion on bug 45372, this change implements the recommended
    10205         way of handling "charset". We only accept UTF-8 but no other encoding. This matches
    10206         the encoding of the EventSource and also may fix TomCat that automatically send this
    10207         charset.
    10208 
    10209         * page/EventSource.cpp:
    10210         (WebCore::EventSource::didReceiveResponse): We now check the charset attribute and if it is
    10211         not UTF-8, abort the connection and log the error to the console. Also we log if the MIME type
    10212         is wrong to the console to help debugging (only in the case of an HTTP 200 response though).
    10213 
    10214 2011-04-07  Geoffrey Garen  <ggaren@apple.com>
    10215 
    10216         Reviewed by Maciej Stachowiak.
    10217 
    10218         Some Handle<T> cleanup
    10219         https://bugs.webkit.org/show_bug.cgi?id=58109
    10220 
    10221         * bindings/js/ScriptValue.h:
    10222         (WebCore::ScriptValue::ScriptValue): Updated for new null constructor.
    10223         (WebCore::ScriptValue::hasNoValue): Updated for removal of isEmpty().
    10224 
    10225 2011-04-07  Dominic Cooney  <dominicc@google.com>
    10226 
    10227         Reviewed by Dimitri Glazkov.
    10228 
    10229         Let shadow DOM have a list of nodes at the top level of a shadow.
    10230         https://bugs.webkit.org/show_bug.cgi?id=57813
    10231 
    10232         Adds ShadowRoot, a list of nodes, to be a parent for top-level
    10233         shadow children. Forwards rendering through the root and into the
    10234         host's renderer.
    10235 
    10236         Covered by existing tests of elements that use this style of shadow.
    10237 
    10238         * Android.mk: add ShadowRoot.h/cpp
    10239         * CMakeLists.txt:
    10240         * GNUmakefile.am:
    10241         * WebCore.exp.in:
    10242         * WebCore.gypi:
    10243         * WebCore.pro:
    10244         * WebCore.vcproj/WebCore.vcproj:
    10245         * WebCore.xcodeproj/project.pbxproj:
    10246         * css/CSSStyleSelector.cpp:
    10247         (WebCore::CSSStyleSelector::initForStyleResolve): proxy style to host
    10248         * dom/ContainerNode.cpp: parent nodes that are shadow roots are alive
    10249         (WebCore::ContainerNode::insertBefore):
    10250         (WebCore::ContainerNode::replaceChild):
    10251         (WebCore::ContainerNode::removeChild):
    10252         (WebCore::ContainerNode::appendChild):
    10253         * dom/DocumentFragment.cpp:
    10254         (WebCore::DocumentFragment::DocumentFragment):
    10255         * dom/DocumentFragment.h:
    10256         * dom/Element.cpp:
    10257         (WebCore::Element::recalcStyle): look through ShadowRoots for host's style
    10258         (WebCore::Element::shadowRoot): should be const
    10259         (WebCore::Element::ensureShadowRoot): simpler than setShadowRoot
    10260         * dom/Element.h:
    10261         * dom/ElementRareData.h:
    10262         * dom/Node.cpp:
    10263         (WebCore::Node::parentNodeForRenderingAndStyle): indirection so
    10264           ShadowRoot can forward to the host's renderer
    10265         (WebCore::Node::createRendererAndStyle):
    10266         (WebCore::Node::createRendererIfNeeded):
    10267         * dom/Node.h:
    10268         (WebCore::Node::isShadowBoundary): temporary, to differentiate
    10269           old- and new-style, until all roots are ShadowRoot instances
    10270         * dom/ShadowRoot.cpp: Added.
    10271         (WebCore::ShadowRoot::ShadowRoot):
    10272         (WebCore::ShadowRoot::recalcStyle): forward recalc to children
    10273         * dom/ShadowRoot.h: Added.
    10274         (WebCore::ShadowRoot::isShadowBoundary):
    10275         (WebCore::ShadowRoot::create):
    10276         * html/HTMLKeygenElement.cpp: use ensureShadowRoot
    10277         (WebCore::HTMLKeygenElement::HTMLKeygenElement):
    10278         (WebCore::HTMLKeygenElement::parseMappedAttribute):
    10279         (WebCore::HTMLKeygenElement::appendFormData):
    10280         (WebCore::HTMLKeygenElement::reset):
    10281         (WebCore::HTMLKeygenElement::shadowSelect):
    10282         * html/HTMLKeygenElement.h:
    10283         * html/HTMLMeterElement.cpp: use ensureShadowRoot
    10284         (WebCore::HTMLMeterElement::createShadowSubtree):
    10285         * html/HTMLProgressElement.cpp: use ensureShadowRoot
    10286         (WebCore::HTMLProgressElement::createShadowSubtree):
    10287         * html/InputType.cpp: use ensureShadowRoot
    10288         (WebCore::InputType::destroyShadowSubtree):
    10289         * html/RangeInputType.cpp: use ensureShadowRoot
    10290         (WebCore::RangeInputType::handleMouseDownEvent):
    10291         (WebCore::RangeInputType::createShadowSubtree):
    10292         (WebCore::RangeInputType::valueChanged):
    10293         (WebCore::RangeInputType::shadowSliderThumb):
    10294         * html/RangeInputType.h:
    10295         * html/ValidationMessage.cpp: use ensureShadowRoot
    10296         (WebCore::ValidationMessage::buildBubbleTree):
    10297         (WebCore::ValidationMessage::deleteBubbleTree):
    10298         * html/shadow/SliderThumbElement.cpp:
    10299         (WebCore::SliderThumbElement::setPositionFromPoint):
    10300         (WebCore::SliderThumbElement::hostInput):
    10301         * html/shadow/SliderThumbElement.h:
    10302         * rendering/MediaControlElements.cpp: use ensureShadowRoot
    10303         (WebCore::MediaControlInputElement::attach):
    10304         (WebCore::MediaControlInputElement::updateStyle):
    10305         * rendering/RenderSlider.cpp: use ensureShadowRoot
    10306         (WebCore::RenderSlider::thumbRect):
    10307         (WebCore::RenderSlider::layout):
    10308         (WebCore::RenderSlider::shadowSliderThumb):
    10309         (WebCore::RenderSlider::inDragMode):
    10310         * rendering/RenderSlider.h:
    10311 
    10312 2011-04-07  Maciej Stachowiak  <mjs@apple.com>
    10313 
    10314         Reviewed by Simon Fraser.
    10315 
    10316         REGRESSION (r80871): Crash when visiting http://broadband.biglobe.ne.jp/
    10317         https://bugs.webkit.org/show_bug.cgi?id=56297
    10318         <rdar://problem/9131597>
    10319 
    10320         Test: fast/css-generated-content/table-row-after-no-crash.html
    10321 
    10322         * rendering/RenderTableRow.cpp:
    10323         (WebCore::RenderTableRow::styleDidChange): Factor out generation of before/after
    10324         content, and only do it if the row already has a parent. For construction of
    10325         anonymous cells to work correctly, the row needs to already have a parent, so
    10326         in that case wait a bit.
    10327         (WebCore::RenderTableRow::updateBeforeAndAfterContent): Factored out to here.
    10328         * rendering/RenderTableRow.h:
    10329         * rendering/RenderTableSection.cpp:
    10330         (WebCore::RenderTableSection::addChild): When adding a row, update its
    10331         before/after content, in case it had any.
    10332 
    10333 2011-04-07  Beth Dakin  <bdakin@apple.com>
    10334 
    10335         Reviewed by Simon Fraser.
    10336 
    10337         Probable fix for <rdar://problem/9251443>  Crashing on exception: -
    10338         [ScrollAnimationHelperDelegate _pixelAlignProposedScrollPosition:]: unrecognized
    10339         selector sent to instance ADDRESS.
    10340 
    10341        Need to implement new delegate method.
    10342         * platform/mac/ScrollAnimatorMac.mm:
    10343         (-[ScrollAnimationHelperDelegate _pixelAlignProposedScrollPosition:]):
    10344 
    10345 2011-04-07  Ian Henderson  <ianh@apple.com>
    10346 
    10347         Reviewed by Simon Fraser.
    10348 
    10349         Optimize filling rounded rects that are actually ellipses
    10350         https://bugs.webkit.org/show_bug.cgi?id=58098
    10351 
    10352         In CG, drawing an ellipse directly is faster than constructing and
    10353         filling a rounded rect path.  Detect when the given rounded rect is
    10354         actually an ellipse and draw it directly in this case.
    10355 
    10356         * platform/graphics/cg/GraphicsContextCG.cpp:
    10357         (WebCore::GraphicsContext::fillRoundedRect):
    10358 
    10359 2011-04-07  Ned Holbrook  <nholbrook@apple.com>
    10360 
    10361         Reviewed by Dan Bernstein.
    10362 
    10363         CTLine objects should outlive their CTRuns
    10364         https://bugs.webkit.org/show_bug.cgi?id=58063
    10365 
    10366         * platform/graphics/mac/ComplexTextController.h: Add m_coreTextLines, to be destroyed after m_complexTextRuns.
    10367         * platform/graphics/mac/ComplexTextControllerCoreText.cpp:
    10368         (WebCore::ComplexTextController::ComplexTextRun::ComplexTextRun): Moot m_coreTextRun.
    10369         (WebCore::ComplexTextController::collectComplexTextRunsForCharactersCoreText): Append line to m_coreTextLines.
    10370 
    10371 2011-04-07  Nat Duca  <nduca@chromium.org>
    10372 
    10373         Reviewed by David Levin.
    10374 
    10375         [chromium] Compositor thread infrastructure
    10376         https://bugs.webkit.org/show_bug.cgi?id=56131
    10377 
    10378         Introduce chrome compositor thread and related
    10379         infrastructure.
    10380 
    10381         * WebCore.gypi:
    10382         * platform/graphics/chromium/cc/CCMainThread.cpp: Added.
    10383         (WebCore::CCMainThread::performTask):
    10384         (WebCore::CCMainThread::postTask):
    10385         * platform/graphics/chromium/cc/CCMainThread.h: Added.
    10386         (WebCore::CCMainThread::Task::~Task):
    10387         (WebCore::CCMainThread::Task::instance):
    10388         (WebCore::CCMainThread::Task::Task):
    10389         * platform/graphics/chromium/cc/CCMainThreadTask.h: Added.
    10390         (WebCore::MainThreadTask0::create):
    10391         (WebCore::MainThreadTask0::MainThreadTask0):
    10392         (WebCore::MainThreadTask0::performTask):
    10393         (WebCore::MainThreadTask1::create):
    10394         (WebCore::MainThreadTask1::MainThreadTask1):
    10395         (WebCore::MainThreadTask1::performTask):
    10396         (WebCore::MainThreadTask2::create):
    10397         (WebCore::MainThreadTask2::MainThreadTask2):
    10398         (WebCore::MainThreadTask2::performTask):
    10399         (WebCore::MainThreadTask3::create):
    10400         (WebCore::MainThreadTask3::MainThreadTask3):
    10401         (WebCore::MainThreadTask3::performTask):
    10402         (WebCore::createMainThreadTask):
    10403         * platform/graphics/chromium/cc/CCThread.cpp: Added.
    10404         (WebCore::CCThread::create):
    10405         (WebCore::CCThread::CCThread):
    10406         (WebCore::CCThread::~CCThread):
    10407         (WebCore::CCThread::postTask):
    10408         (WebCore::CCThread::compositorThreadStart):
    10409         (WebCore::CCThread::runLoop):
    10410         * platform/graphics/chromium/cc/CCThread.h: Added.
    10411         (WebCore::CCThread::Task::~Task):
    10412         (WebCore::CCThread::Task::instance):
    10413         (WebCore::CCThread::Task::Task):
    10414         (WebCore::CCThread::threadID):
    10415         (WebCore::CCCompletionEvent::CCCompletionEvent):
    10416         (WebCore::CCCompletionEvent::~CCCompletionEvent):
    10417         (WebCore::CCCompletionEvent::wait):
    10418         (WebCore::CCCompletionEvent::signal):
    10419         * platform/graphics/chromium/cc/CCThreadTask.h: Added.
    10420         (WebCore::CCThreadTask0::create):
    10421         (WebCore::CCThreadTask0::CCThreadTask0):
    10422         (WebCore::CCThreadTask0::performTask):
    10423         (WebCore::CCThreadTask1::create):
    10424         (WebCore::CCThreadTask1::CCThreadTask1):
    10425         (WebCore::CCThreadTask1::performTask):
    10426         (WebCore::CCThreadTask2::create):
    10427         (WebCore::CCThreadTask2::CCThreadTask2):
    10428         (WebCore::CCThreadTask2::performTask):
    10429         (WebCore::CCThreadTask3::create):
    10430         (WebCore::CCThreadTask3::CCThreadTask3):
    10431         (WebCore::CCThreadTask3::performTask):
    10432         (WebCore::createCCThreadTask):
    10433 
    10434 2011-04-07  Ryosuke Niwa  <rniwa@webkit.org>
    10435 
    10436         Reviewed by Eric Seidel.
    10437 
    10438         REGRESSION (r46914, r48764): When typing in Mail, line wrapping frequently occurs in the middle of words
    10439         https://bugs.webkit.org/show_bug.cgi?id=57872
    10440 
    10441         r46914 initially introduced a regression by replacing calls to styleAtPosition by editingStyleAtPosition
    10442         because editingStyleAtPosition did not avoid tab span to obtain the computed style unlike styleAtPosition.
    10443 
    10444         r46914 also introduced a regression by cloning hierarchy under new block at the insertion position without
    10445         avoiding the tab span.
    10446 
    10447         Fixed the both regressions by avoiding tab spans when computing the editing style and when cloning hierarchy.
    10448         Also reverted r46914 for the general code path because re-creating node hierarchy duplicates nodes when
    10449         we're moving nodes after the paragraph separator. Instead, we now split the tree up until the start block
    10450         before moving the nodes.
    10451 
    10452         Tests: editing/inserting/insert-paragraph-after-tab-span-and-text.html
    10453                editing/inserting/insert-paragraph-separator-tab-span.html
    10454 
    10455         * editing/DeleteSelectionCommand.cpp:
    10456         (WebCore::DeleteSelectionCommand::saveTypingStyleState): Since EditingStyle's constructor avoids a tab span,
    10457         no longer calls positionBeforeTabSpan on the position passed to EditingStyle's constructor.
    10458         * editing/EditingStyle.cpp:
    10459         (WebCore::EditingStyle::init): Always avoid a tab span when computing the editing style.
    10460         * editing/InsertParagraphSeparatorCommand.cpp:
    10461         (WebCore::InsertParagraphSeparatorCommand::doApply): Avoid cloning tab spans and inserting a paragraph
    10462         separator into a paragraph separator.
    10463         * editing/htmlediting.cpp:
    10464         (WebCore::positionOutsideTabSpan): Renamed from positionBeforeTabSpan. Also returns the position in the parent
    10465         node after the tab span if the position was at the end of the tab span.
    10466         * editing/htmlediting.h:
    10467 
    10468 2011-04-07  Jia Pu  <jpu@apple.com>
    10469 
    10470         Reviewed by Darin Adler.
    10471 
    10472         [Mac] Editor::setComposition() should not trigger correction panel timer.
    10473         https://bugs.webkit.org/show_bug.cgi?id=58049
    10474          <rdar://problem/9226305>
    10475 
    10476         On Mac OS X that supports autocorrection panel, typing unconfirmed composition (i.e. unconfirmed Japanese or Chinese input)
    10477         should not start autocorrection timer. We added a member variable, m_shouldPreventSpellChecking, to TypingCommand.
    10478         When this value is true, markMisspellingsAfterTyping() will not be called in TypingCommand::typingAddedToOpenCommand().
    10479         m_shouldPreventSpellChecking is set to true in the TypingCommand objects created by Editor::setComposition().
    10480 
    10481         No new tests. No deterministically reproducible test case. Patch is based on static code analysis. Testing this also requires firing
    10482         autocorrection panel timer, which can not be easily done in automated fashion.
    10483 
    10484         * editing/Editor.cpp:
    10485         (WebCore::Editor::deleteWithDirection):
    10486         (WebCore::Editor::insertTextWithoutSendingTextEvent):
    10487         (WebCore::Editor::confirmComposition):
    10488         (WebCore::Editor::setComposition):
    10489         * editing/EditorCommand.cpp:
    10490         (WebCore::executeDelete):
    10491         * editing/TypingCommand.cpp:
    10492         (WebCore::TypingCommand::TypingCommand):
    10493         (WebCore::TypingCommand::deleteSelection):
    10494         (WebCore::TypingCommand::deleteKeyPressed):
    10495         (WebCore::TypingCommand::forwardDeleteKeyPressed):
    10496         (WebCore::TypingCommand::insertText):
    10497         (WebCore::TypingCommand::insertLineBreak):
    10498         (WebCore::TypingCommand::insertParagraphSeparator):
    10499         (WebCore::TypingCommand::typingAddedToOpenCommand):
    10500         * editing/TypingCommand.h:
    10501         (WebCore::TypingCommand::create):
    10502         (WebCore::TypingCommand::setShouldPreventSpellChecking):
    10503 
    10504 2011-04-07  John Bauman  <jbauman@chromium.org>
    10505 
    10506         Reviewed by Kenneth Russell.
    10507 
    10508         clearIfComposited call is really slow
    10509         https://bugs.webkit.org/show_bug.cgi?id=57999
    10510 
    10511         Move getContextAttributes call after the if, so it isn't called nearly as often.
    10512 
    10513         No new tests.
    10514 
    10515         * html/canvas/WebGLRenderingContext.cpp:
    10516         (WebCore::WebGLRenderingContext::clearIfComposited):
    10517 
    10518 2011-04-07  Luke Macpherson   <macpherson@chromium.org>
    10519 
    10520         Reviewed by Dimitri Glazkov.
    10521 
    10522         Implement Backgroun and Mask properties in CSSStyleApplyProperty
    10523         https://bugs.webkit.org/show_bug.cgi?id=57922
    10524 
    10525         No tests added as no behavioral changes.
    10526 
    10527         * css/CSSStyleApplyProperty.cpp:
    10528         Added ApplyPropertyFillLayer test to handle Background and Mask CSS Properties.
    10529         (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
    10530         Added constructor calls to set up:
    10531           CSSPropertyBackgroundAttachment
    10532           CSSPropertyBackgroundClip
    10533           CSSPropertyWebkitBackgroundClip
    10534           CSSPropertyWebkitBackgroundComposite
    10535           CSSPropertyBackgroundOrigin
    10536           CSSPropertyWebkitBackgroundOrigin
    10537           CSSPropertyBackgroundSize
    10538           CSSPropertyWebkitBackgroundSize
    10539           CSSPropertyWebkitMaskAttachment
    10540           CSSPropertyWebkitMaskClip
    10541           CSSPropertyWebkitMaskComposite
    10542           CSSPropertyWebkitMaskOrigin
    10543           CSSPropertyWebkitMaskSize
    10544         * css/CSSStyleApplyProperty.h:
    10545         (WebCore::CSSStyleApplyProperty::setPropertyValue):
    10546         Add function to specify an equivalent property value in the lookup table.
    10547         * css/CSSStyleSelector.cpp:
    10548         (WebCore::CSSStyleSelector::applyProperty):
    10549         Remove sections now implemented by CSSStyleApplyProperty.
    10550         * css/CSSStyleSelector.h:
    10551         Make CSSStyleApplyProperty a friend class so that the mapFill* functions are accessible.
    10552 
    10553 2011-04-04  Eric Seidel  <eric@webkit.org>
    10554 
    10555         Reviewed by Ryosuke Niwa.
    10556 
    10557         Split run storage out from BidiResolver into a new BidiRunList class
    10558         https://bugs.webkit.org/show_bug.cgi?id=57764
    10559 
    10560         Part of what makes BidiResolver and InlineIterator so difficult to understand
    10561         (and bug 50912 so difficult to fix) is that BidiResolver is both a state machine
    10562         for the Unicode Bidi Algorithm (UBA) as well as storage for the resulting
    10563         BidiRuns from the algorithm.  This patch breaks the storage aspect off
    10564         into its own class BidiRunList.
    10565 
    10566         This patch is only a start.  It does not actually fix the problematic ownership
    10567         relationship, but it does make it possible to fix such in a second patch.
    10568 
    10569         The run pointers and addRun/prependRun, etc. were already a tightly coupled
    10570         logical subset of the BidiResolver class, so moving them into their own class
    10571         was both obvious and easy.  The only piece of logic I had to move was that
    10572         deleteRuns() had a side-effect of setting the m_emptyRun bit on the resolver.
    10573 
    10574         I believe this deleteRuns side-effect was only ever used for one place
    10575         (right after findNextLineBreak) and that it's only needed because
    10576         findNextLineBreak can sometimes create bidi runs.  Run creation appears to be
    10577         an unintentional side-effect of how InlineIterator calls through to BidiResolver
    10578         as part of bidiNext and not a desired effect of the code.  I have added the call
    10579         to markCurrentRunEmpty to both places deleteRuns was called (where the resolver
    10580         could get re-used) as a safety precaution.  We could replace both with ASSERTs
    10581         in a later patch.
    10582 
    10583         I suspect there may be a small performance win from further refactoring so that
    10584         findNextLineBreak does not need to create BidiRuns.
    10585 
    10586         As I commented in the code, callers should own their own BidiRunList which they
    10587         pass to BidiResolver::createBidiRunsForLine.  I attempted to implement that in
    10588         an earlier version of this patch, but it was too complicated with the current
    10589         twisted dependencies between InlineIterator/bidiNext and InlineBidiResolver.
    10590         raise/lowerExplicitEmbeddingLevel are called unconditionally
    10591         from commitExplicitEmbedding (which is called by bidiNext) and expect to have
    10592         access to a runs list even in cases where we don't want any runs (findNextLineBreak).
    10593 
    10594         I also cleaned up some of the callers to pass around BidiRunList objects instead
    10595         of InlineBidiResolvers now that they're separate objects.
    10596 
    10597         * GNUmakefile.am:
    10598         * WebCore.gypi:
    10599         * WebCore.pro:
    10600         * WebCore.vcproj/WebCore.vcproj:
    10601         * WebCore.xcodeproj/project.pbxproj:
    10602         * platform/graphics/GraphicsContext.cpp:
    10603         (WebCore::GraphicsContext::drawBidiText):
    10604         * platform/text/BidiResolver.h:
    10605         (WebCore::BidiResolver::BidiResolver):
    10606         (WebCore::BidiResolver::runs):
    10607         (WebCore::BidiResolver::markCurrentRunEmpty):
    10608         (WebCore::::appendRun):
    10609         (WebCore::::lowerExplicitEmbeddingLevel):
    10610         (WebCore::::raiseExplicitEmbeddingLevel):
    10611         (WebCore::::reorderRunsFromLevels):
    10612         (WebCore::::createBidiRunsForLine):
    10613         * rendering/InlineIterator.h:
    10614         (WebCore::InlineBidiResolver::appendRun):
    10615         * rendering/RenderBlock.h:
    10616         * rendering/RenderBlockLineLayout.cpp:
    10617         (WebCore::createRun):
    10618         (WebCore::RenderBlock::appendRunsForObject):
    10619         (WebCore::reachedEndOfTextRenderer):
    10620         (WebCore::RenderBlock::handleTrailingSpaces):
    10621         (WebCore::RenderBlock::layoutInlineChildren):
    10622 
    10623 2011-04-07  Naoki Takano  <takano.naoki@gmail.com>
    10624 
    10625         Reviewed by Adam Barth.
    10626 
    10627         [Chromium] Fix relocation problem of popup window which introduces autofill popup sometimes moves to screen's top left corner.
    10628         https://bugs.webkit.org/show_bug.cgi?id=57911
    10629         http://code.google.com/p/chromium/issues/detail?id=78073
    10630 
    10631         Manual test added: manual-tests/autofill-popup-location.html
    10632 
    10633         Originally only height is checked so that it introduces the bug.
    10634         So I changed it to check both width and height as size.
    10635 
    10636         * manual-tests/autofill-popup-location.html: Added.
    10637         * platform/chromium/PopupMenuChromium.cpp:
    10638         (WebCore::PopupContainer::refresh): Check window size between original and new before calling setFrameRect().
    10639 
    10640 2011-04-07  Adam Barth  <abarth@webkit.org>
    10641 
    10642         Reviewed by Eric Seidel.
    10643 
    10644         Implement img-src style-src and font-src
    10645         https://bugs.webkit.org/show_bug.cgi?id=58018
    10646 
    10647         These are pretty straight forward given the rest of the infrastructure
    10648         we've built so far.
    10649 
    10650         Tests: http/tests/security/contentSecurityPolicy/image-allowed.html
    10651                http/tests/security/contentSecurityPolicy/image-blocked.html
    10652                http/tests/security/contentSecurityPolicy/style-allowed.html
    10653                http/tests/security/contentSecurityPolicy/style-blocked.html
    10654                http/tests/security/contentSecurityPolicy/xsl-allowed.php
    10655                http/tests/security/contentSecurityPolicy/xsl-blocked.php
    10656 
    10657         * loader/cache/CachedResourceLoader.cpp:
    10658         (WebCore::CachedResourceLoader::canRequest):
    10659         * page/ContentSecurityPolicy.cpp:
    10660         (WebCore::ContentSecurityPolicy::allowImageFromSource):
    10661         (WebCore::ContentSecurityPolicy::allowStyleFromSource):
    10662         (WebCore::ContentSecurityPolicy::allowFontFromSource):
    10663         (WebCore::ContentSecurityPolicy::addDirective):
    10664         * page/ContentSecurityPolicy.h:
    10665 
    10666 2011-04-07  David Levin  <levin@chromium.org>
    10667 
    10668         Reviewed by Darin Adler.
    10669 
    10670         Make IconSnapshot and PageURLRecord member variables private.
    10671         https://bugs.webkit.org/show_bug.cgi?id=58080
    10672 
    10673         No change in functionality so no new tests.
    10674 
    10675         * loader/icon/IconDatabase.cpp:
    10676         (WebCore::IconDatabase::writeToDatabase): Changed to used the accessor functions.
    10677         (WebCore::IconDatabase::writeIconSnapshotToSQLDatabase): Ditto.
    10678         * loader/icon/IconRecord.h:
    10679         (WebCore::IconSnapshot::IconSnapshot): Changed to use the new member variable names.
    10680         (WebCore::IconSnapshot::iconURL): Expose the property.
    10681         (WebCore::IconSnapshot::timestamp): Ditto.
    10682         (WebCore::IconSnapshot::data): Ditto.
    10683         * loader/icon/PageURLRecord.h:
    10684         (WebCore::PageURLSnapshot::PageURLSnapshot): Changed to use the new member variable names.
    10685         (WebCore::PageURLSnapshot::pageURL): Expose the property.
    10686         (WebCore::PageURLSnapshot::iconURL): Ditto.
    10687 
    10688 2011-04-07  Dan Bernstein  <mitz@apple.com>
    10689 
    10690         Build fix.
    10691 
    10692         * platform/graphics/cairo/GraphicsContextCairo.cpp:
    10693         (WebCore::GraphicsContext::roundToDevicePixels):
    10694 
    10695 2011-04-07  Eric Seidel  <eric@webkit.org>
    10696 
    10697         Reviewed by Adam Barth.
    10698 
    10699         Add stub support for generating Gtk build system from gyp
    10700         https://bugs.webkit.org/show_bug.cgi?id=58086
    10701 
    10702         This does not produce a buildable WebCore, but it
    10703         does allow running gyp/configure --port=gtk and having
    10704         it generate a gtk.Makefile which we can use for testing
    10705         the rest of the plumbing.
    10706 
    10707         * gyp/gtk.gyp: Added.
    10708 
    10709 2011-04-07  David Hyatt  <hyatt@apple.com>
    10710 
    10711         Reviewed by Dan Bernstein.
    10712 
    10713         https://bugs.webkit.org/show_bug.cgi?id=57736
    10714        
    10715         Crash on openstreetmap.org while using the map. Fix a bad interaction between the positioned movement layout
    10716         optimization and the simplified layout optimization that could lead to blocks remaining marked as dirty when
    10717         layout finished. This would eventually lead to an inability to properly determine the correct layout root and
    10718         would cause a deleted root to be used later on.
    10719 
    10720         Added fast/block/positioning/complex-positioned-movement.html.
    10721 
    10722         * page/FrameView.cpp:
    10723         (WebCore::FrameView::scheduleRelayoutOfSubtree):
    10724         Add asserts to catch cases in the future where a layout root is set that has a dirty containing block.
    10725    
    10726         * rendering/RenderBlock.cpp:
    10727         (WebCore::RenderBlock::simplifiedLayout):
    10728         Change simplified layout so that the positioned movement optimization no longer clears the other layout
    10729         flags. This will ensure that we still lay out our descendants if they need it.
    10730        
    10731         (WebCore::RenderBlock::layoutPositionedObjects):
    10732         Changed to clear our layout flags now if the positioned movement is successful, since tryLayoutDoingPositionedMovementOnly
    10733         no longer does the clear.
    10734    
    10735         * rendering/RenderBox.h:
    10736         (WebCore::RenderBox::tryLayoutDoingPositionedMovementOnly):
    10737         tryLayoutDoingPositionedMovementOnly now returns a boolean indicating success or failure.  On success it no longer
    10738         does setNeedsLayout(false), but instead will let the caller take care of it. This way the caller can still look at
    10739         the other flags in case other kinds of layout are still needed.
    10740    
    10741         * rendering/RenderObject.h:
    10742         (WebCore::RenderObject::setNeedsPositionedMovementLayout):
    10743         (WebCore::RenderObject::setNeedsSimplifiedNormalFlowLayout):
    10744         Changed these methods to only set their respective flags and not to try to be clever about avoiding propagation.
    10745 
    10746 2011-04-07  Andrew Scherkus  <scherkus@chromium.org>
    10747 
    10748         Revert ENABLE_TRACK patch due to compile failures.
    10749 
    10750         * CMakeLists.txt:
    10751         * Configurations/FeatureDefines.xcconfig:
    10752         * DerivedSources.make:
    10753         * GNUmakefile.am:
    10754         * WebCore.gypi:
    10755         * WebCore.xcodeproj/project.pbxproj:
    10756         * features.pri:
    10757         * html/HTMLAttributeNames.in:
    10758         * html/HTMLTagNames.in:
    10759         * html/HTMLTrackElement.cpp: Removed.
    10760         * html/HTMLTrackElement.h: Removed.
    10761         * html/HTMLTrackElement.idl: Removed.
    10762 
    10763 2011-04-07  Dan Bernstein  <mitz@apple.com>
    10764 
    10765         Reviewed by Simon Fraser.
    10766 
    10767         <rdar://problem/9018212> Underline thickness is not uniform under non-integral scale factor
    10768         https://bugs.webkit.org/show_bug.cgi?id=58083
    10769 
    10770         Test: fast/text/decorations-transformed.html
    10771 
    10772         * platform/graphics/GraphicsContext.h: Added a RoundingMode enum with two values. RoundAllSides
    10773         is the existing rounding mode, where each side of the rectangle snaps to the nearest pixel
    10774         gridline. RoundOriginAndDimensions snaps the origin to the nearest pixel gridpoint and rounds
    10775         the width and the height. In this new mode, translating a rectangle in user space never changes
    10776         its dimensions in device pixels.
    10777         * platform/graphics/cg/GraphicsContextCG.cpp:
    10778         (WebCore::GraphicsContext::roundToDevicePixels): Implemented RoundOriginAndDimensions.
    10779         (WebCore::GraphicsContext::drawLineForText): Use RoundOriginAndDimensions, thus ensuring that
    10780         all underlines have the same thickness in device pixels.
    10781         * platform/graphics/openvg/GraphicsContextOpenVG.cpp:
    10782         (WebCore::GraphicsContext::roundToDevicePixels): Added RoundingMode parameter, but did not implement it.
    10783         * platform/graphics/qt/GraphicsContextQt.cpp:
    10784         (WebCore::GraphicsContext::roundToDevicePixels): Ditto.
    10785         * platform/graphics/skia/GraphicsContextSkia.cpp:
    10786         (WebCore::GraphicsContext::roundToDevicePixels): Ditto.
    10787         * platform/graphics/wince/GraphicsContextWinCE.cpp:
    10788         (WebCore::GraphicsContext::roundToDevicePixels): Ditto.
    10789         * platform/graphics/wx/GraphicsContextWx.cpp:
    10790         (WebCore::GraphicsContext::roundToDevicePixels): Ditto.
    10791         * rendering/InlineTextBox.cpp:
    10792         (WebCore::InlineTextBox::paintDecoration):
    10793 
    10794 2011-04-06  Vitaly Repeshko  <vitalyr@chromium.org>
    10795 
    10796         Reviewed by Nate Chapin.
    10797 
    10798         [V8] Remove custom DOMImplementation getter on Document.
    10799         https://bugs.webkit.org/show_bug.cgi?id=57991
    10800 
    10801         The custom getter is no longer required because DOMImplementation
    10802         objects are now created per document.
    10803 
    10804         Test: fast/dom/DOMImplementation/implementation-identity.html
    10805 
    10806         * bindings/scripts/CodeGeneratorV8.pm:
    10807         * bindings/v8/custom/V8DocumentCustom.cpp:
    10808         * dom/Document.idl:
    10809 
    10810 2011-04-07  Sergey Glazunov  <serg.glazunov@gmail.com>
    10811 
    10812         Reviewed by Dimitri Glazkov.
    10813 
    10814         setHasID() is only called for styled elements
    10815         https://bugs.webkit.org/show_bug.cgi?id=57267
    10816 
    10817         Test: fast/dom/non-styled-element-id-crash.html
    10818 
    10819         * dom/Element.cpp:
    10820         (WebCore::Element::attributeChanged):
    10821         (WebCore::Element::idAttributeChanged):
    10822         * dom/Element.h:
    10823         * dom/StyledElement.cpp:
    10824         (WebCore::StyledElement::parseMappedAttribute):
    10825 
    10826 2011-04-07  Jer Noble  <jer.noble@apple.com>
    10827 
    10828         Reviewed by Eric Carlson.
    10829 
    10830         HTMLVideoElement::webkitEnterFullscreen does not use new Full Screen API when available.
    10831         https://bugs.webkit.org/show_bug.cgi?id=58070
    10832 
    10833         Make the HTMLMediaElement full screen functions call into the new Full Screen API when
    10834         FULLSCREEN_API is enabled.
    10835 
    10836         * html/HTMLMediaElement.cpp:
    10837         (WebCore::HTMLMediaElement::enterFullscreen):
    10838         (WebCore::HTMLMediaElement::exitFullscreen):
    10839 
    10840 2011-04-07  Adam Barth  <abarth@webkit.org>
    10841 
    10842         Reviewed by Eric Seidel.
    10843 
    10844         Implement CSP's options directive
    10845         https://bugs.webkit.org/show_bug.cgi?id=58014
    10846 
    10847         This patch contains the full options parser, but we only have enough of
    10848         CSP implemented to see the effects of disable-xss-protection.  Will
    10849         need to do some more work before we can see eval-script in action.
    10850 
    10851         Tests: http/tests/security/contentSecurityPolicy/inline-script-allowed.html
    10852                http/tests/security/contentSecurityPolicy/inline-script-blocked-goofy.html
    10853 
    10854         * page/ContentSecurityPolicy.cpp:
    10855         (WebCore::CSPOptions::CSPOptions):
    10856         (WebCore::CSPOptions::disableXSSProtection):
    10857         (WebCore::CSPOptions::evalScript):
    10858         (WebCore::CSPOptions::parse):
    10859         (WebCore::ContentSecurityPolicy::allowJavaScriptURLs):
    10860         (WebCore::ContentSecurityPolicy::allowInlineEventHandlers):
    10861         (WebCore::ContentSecurityPolicy::allowInlineScript):
    10862         (WebCore::ContentSecurityPolicy::addDirective):
    10863         * page/ContentSecurityPolicy.h:
    10864 
    10865 2011-04-07  Alexey Proskuryakov  <ap@apple.com>
    10866 
    10867         Reviewed by Anders Carlsson.
    10868 
    10869         REGRESSION (WebKit2): Reverse conversion doesn't work in Kotoeri
    10870         https://bugs.webkit.org/show_bug.cgi?id=58066
    10871         <rdar://problem/8965302>
    10872 
    10873         * platform/mac/HTMLConverter.h:
    10874         * platform/mac/HTMLConverter.mm: (+[WebHTMLConverter editingAttributedStringFromRange:]):
    10875         Changed editingAttributedStringFromRange: to use WebCore::Range instead of DOMRange, since
    10876         it's now used in WebKit2.
    10877 
    10878 2011-04-07  Andy Estes  <aestes@apple.com>
    10879 
    10880         Reviewed by Darin Adler.
    10881 
    10882         REGRESSION (r64712): Microsoft Outlook 2011: original message contents
    10883         not included when replying to an email.
    10884         https://bugs.webkit.org/show_bug.cgi?id=57794
    10885        
    10886         * WebCore.exp.in:
    10887         * loader/FrameLoader.cpp:
    10888         (WebCore::FrameLoader::finishedParsing): Call Frame::injectUserScripts()
    10889         before checking if the FrameLoader is parsing the initial empty document.
    10890         This allows user scripts to be injected at the end of document parsing
    10891         (if the setting is enabled).
    10892         * page/Frame.cpp:
    10893         (WebCore::Frame::injectUserScripts): Do not inject scripts if this
    10894         feature is disabled on the initial empty document.
    10895         * page/Settings.cpp:
    10896         (WebCore::Settings::Settings):
    10897         * page/Settings.h: Add a setting for injecting user scripts into the
    10898         initial empty document (defaults to false).
    10899         (WebCore::Settings::setInjectUserScriptsInInitialEmptyDocument):
    10900         (WebCore::Settings::injectUserScriptsInInitialEmptyDocument):
    10901         * platform/mac/RuntimeApplicationChecks.h:
    10902         * platform/mac/RuntimeApplicationChecks.mm:
    10903         (WebCore::applicationIsMicrosoftOutlook): Check if the embedding
    10904         application is Microsoft Outlook.
    10905 
    10906 2011-04-06  Jer Noble  <jer.noble@apple.com>
    10907 
    10908         Reviewed by Maciej Stachowiak.
    10909 
    10910         AVF: MediaPlayerPrivateAVFoundation never reaches playable state.
    10911         https://bugs.webkit.org/show_bug.cgi?id=57962
    10912 
    10913         Add support for a new AVPlayerItem API which will notify clients when their
    10914         seek completes.  This requires a new Notification type to be passed to the main
    10915         thread in MediaPlayerPrivateAVFoundation.
    10916 
    10917         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
    10918         (WebCore::MediaPlayerPrivateAVFoundation::seekCompleted): Added.
    10919         (WebCore::MediaPlayerPrivateAVFoundation::scheduleMainThreadNotification): Added two new
    10920             overloaded functions which take a Notification; and a Notification::Type and boolean.
    10921         (WebCore::MediaPlayerPrivateAVFoundation::dispatchNotification): Support new SeekCompleted
    10922             Notification type.
    10923         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
    10924         (WebCore::MediaPlayerPrivateAVFoundation::Notification::Notification): Added one new constructor.
    10925         (WebCore::MediaPlayerPrivateAVFoundation::Notification::finished): Added ivar and accessor.
    10926         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm:
    10927         (WebCore::MediaPlayerPrivateAVFoundationObjC::seekToTime): Call new AVPlayerItem API.
    10928         (-[WebCoreAVFMovieObserver seekCompleted:]): Added.
    10929 
    10930 2011-04-07  Nancy Piedra  <nancy.piedra@nokia.com>
    10931 
    10932         Reviewed by Eric Carlson.
    10933 
    10934         Parse quotes from content type parameters
    10935         https://bugs.webkit.org/show_bug.cgi?id=53275
    10936 
    10937         This functionality is tested in video-can-play-type.html layout test
    10938         where I've added codecs parameter with good and bad formatting.
    10939 
    10940         * platform/ContentType.cpp:
    10941         (WebCore::ContentType::parameter):
    10942 
    10943 2011-04-07  Pavel Feldman  <pfeldman@google.com>
    10944 
    10945         Reviewed by Yury Semikhatsky.
    10946 
    10947         Web Inspector: remove "enabled" from the setBreakpoint protocol.
    10948         https://bugs.webkit.org/show_bug.cgi?id=58047
    10949 
    10950         * bindings/js/ScriptDebugServer.cpp:
    10951         (WebCore::ScriptDebugServer::hasBreakpoint):
    10952         * bindings/v8/DebuggerScript.js:
    10953         ():
    10954         * bindings/v8/ScriptDebugServer.cpp:
    10955         (WebCore::ScriptDebugServer::setBreakpoint):
    10956         * inspector/Inspector.json:
    10957         * inspector/InspectorDebuggerAgent.cpp:
    10958         (WebCore::buildObjectForBreakpointCookie):
    10959         (WebCore::InspectorDebuggerAgent::setBreakpointByUrl):
    10960         (WebCore::InspectorDebuggerAgent::setBreakpoint):
    10961         (WebCore::InspectorDebuggerAgent::continueToLocation):
    10962         (WebCore::InspectorDebuggerAgent::didParseSource):
    10963         * inspector/InspectorDebuggerAgent.h:
    10964         * inspector/ScriptBreakpoint.h:
    10965         (WebCore::ScriptBreakpoint::ScriptBreakpoint):
    10966         * inspector/front-end/DebuggerModel.js:
    10967         (WebInspector.DebuggerModel.prototype.setBreakpoint):
    10968         (WebInspector.DebuggerModel.prototype.setBreakpointBySourceId):
    10969         * inspector/front-end/DebuggerPresentationModel.js:
    10970         (WebInspector.DebuggerPresentationModel):
    10971         (WebInspector.DebuggerPresentationModel.prototype._restoreBreakpoints):
    10972         (WebInspector.DebuggerPresentationModel.prototype._updateBreakpointsAfterLiveEdit):
    10973         (WebInspector.DebuggerPresentationModel.prototype.setBreakpoint.callback):
    10974         (WebInspector.DebuggerPresentationModel.prototype.setBreakpoint):
    10975         (WebInspector.DebuggerPresentationModel.prototype._setBreakpointInDebugger):
    10976         (WebInspector.DebuggerPresentationModel.prototype._setBreakpointInDebugger.didRequestSourceMapping):
    10977         (WebInspector.DebuggerPresentationModel.prototype._removeBreakpointFromDebugger):
    10978         (WebInspector.DebuggerPresentationModel.prototype.setBreakpointEnabled.afterUpdate):
    10979         (WebInspector.DebuggerPresentationModel.prototype.setBreakpointEnabled):
    10980         (WebInspector.DebuggerPresentationModel.prototype.updateBreakpoint):
    10981         (WebInspector.DebuggerPresentationModel.prototype.removeBreakpoint):
    10982         (WebInspector.DebuggerPresentationModel.prototype._breakpointAdded.didRequestSourceMapping):
    10983         (WebInspector.DebuggerPresentationModel.prototype._breakpointAdded):
    10984         (WebInspector.DebuggerPresentationModel.prototype._breakpointRemoved):
    10985         (WebInspector.DebuggerPresentationModel.prototype._breakpointResolved):
    10986         (WebInspector.DebuggerPresentationModel.prototype._restoreBreakpointsFromSettings):
    10987         (WebInspector.DebuggerPresentationModel.prototype._saveBreakpoints):
    10988         (WebInspector.DebuggerPresentationModel.prototype._reset):
    10989         (WebInspector.PresentationBreakpoint):
    10990 
    10991 2011-04-07  Dan Bernstein  <mitz@apple.com>
    10992 
    10993         Reviewed by Adam Roben.
    10994 
    10995         Removed a redundant line of code.
    10996 
    10997         * rendering/RenderInline.cpp:
    10998         (WebCore::RenderInline::updateAlwaysCreateLineBoxes): No need to compare line gap values, as
    10999         this is covered by the earlier hasIdenticalAscentDescentAndLineGap() check.
    11000 
    11001 2011-04-07  Liang Qi  <liang.qi@nokia.com>
    11002 
    11003         Reviewed by Laszlo Gombos.
    11004 
    11005         [Qt][Symbian] Enable webkit build with GCCE on Symbian.
    11006         https://bugs.webkit.org/show_bug.cgi?id=57841
    11007 
    11008         * WebCore.pri: Thanks for Norbert Leser  <norbert.leser@nokia.com> who checked RVCT part.
    11009         --rw-base value in QMAKE_LFLAGS.ARMCC and -Tdata value in QMAKE_LFLAGS.GCCE are updated
    11010         to 0x1000000 together. They need to be updated in the future when WebKit grows.
    11011 
    11012 2011-04-06  Pavel Feldman  <pfeldman@google.com>
    11013 
    11014         Reviewed by Yury Semikhatsky.
    11015 
    11016         Web Inspector: get rid of Breakpoint.js.
    11017         https://bugs.webkit.org/show_bug.cgi?id=57949
    11018 
    11019         * WebCore.gypi:
    11020         * WebCore.vcproj/WebCore.vcproj:
    11021         * inspector/front-end/Breakpoint.js: Removed.
    11022         * inspector/front-end/BreakpointsSidebarPane.js:
    11023         (WebInspector.JavaScriptBreakpointsSidebarPane.prototype.addBreakpoint):
    11024         (WebInspector.JavaScriptBreakpointsSidebarPane.prototype.updateBreakpoint.didLoadSnippet):
    11025         (WebInspector.JavaScriptBreakpointsSidebarPane.prototype.updateBreakpoint):
    11026         (WebInspector.JavaScriptBreakpointsSidebarPane.prototype._compareBreakpoints):
    11027         * inspector/front-end/DebuggerModel.js:
    11028         (WebInspector.DebuggerModel):
    11029         (WebInspector.DebuggerModel.prototype._debuggerWasDisabled):
    11030         (WebInspector.DebuggerModel.prototype.setBreakpoint.didSetBreakpoint):
    11031         (WebInspector.DebuggerModel.prototype.setBreakpoint):
    11032         (WebInspector.DebuggerModel.prototype.setBreakpointBySourceId):
    11033         (WebInspector.DebuggerModel.prototype.removeBreakpoint):
    11034         (WebInspector.DebuggerModel.prototype._breakpointResolved):
    11035         (WebInspector.DebuggerModel.prototype.reset):
    11036         * inspector/front-end/DebuggerPresentationModel.js:
    11037         (WebInspector.DebuggerPresentationModel):
    11038         (WebInspector.DebuggerPresentationModel.prototype._refreshBreakpoints):
    11039         (WebInspector.DebuggerPresentationModel.prototype._updateBreakpointsAfterLiveEdit):
    11040         (WebInspector.DebuggerPresentationModel.prototype.toggleFormatSourceFiles):
    11041         (WebInspector.DebuggerPresentationModel.prototype.setBreakpoint.didSetBreakpoint):
    11042         (WebInspector.DebuggerPresentationModel.prototype.setBreakpoint):
    11043         (WebInspector.DebuggerPresentationModel.prototype.setBreakpointEnabled):
    11044         (WebInspector.DebuggerPresentationModel.prototype.updateBreakpoint):
    11045         (WebInspector.DebuggerPresentationModel.prototype.removeBreakpoint):
    11046         (WebInspector.DebuggerPresentationModel.prototype._breakpointAdded.didRequestSourceMapping):
    11047         (WebInspector.DebuggerPresentationModel.prototype._breakpointAdded):
    11048         (WebInspector.DebuggerPresentationModel.prototype._breakpointRemoved):
    11049         (WebInspector.DebuggerPresentationModel.prototype._breakpointResolved):
    11050         (WebInspector.DebuggerPresentationModel.prototype._restoreBreakpoints):
    11051         (WebInspector.DebuggerPresentationModel.prototype._restoreBreakpoint):
    11052         (WebInspector.DebuggerPresentationModel.prototype._saveBreakpoints):
    11053         (WebInspector.DebuggerPresentationModel.prototype._reset):
    11054         (WebInspector.PresentationBreakpoint):
    11055         (WebInspector.PresentationBreakpoint.prototype.get sourceFile):
    11056         (WebInspector.PresentationBreakpoint.prototype.get url):
    11057         (WebInspector.PresentationBreakpoint.prototype.get resolved):
    11058         (WebInspector.PresentationBreakpoint.prototype.loadSnippet):
    11059         * inspector/front-end/ResourceTreeModel.js:
    11060         (WebInspector.ResourceTreeModel):
    11061         (WebInspector.ResourceTreeModel.prototype._onResourceStarted):
    11062         (WebInspector.ResourceTreeModel.prototype._addResourceToFrame):
    11063         * inspector/front-end/ScriptsPanel.js:
    11064         (WebInspector.ScriptsPanel):
    11065         (WebInspector.ScriptsPanel.prototype._breakpointUpdated):
    11066         (WebInspector.ScriptsPanel.prototype.reset):
    11067         * inspector/front-end/WebKit.qrc:
    11068         * inspector/front-end/inspector.html:
    11069 
    11070 2011-04-07  Yury Semikhatsky  <yurys@chromium.org>
    11071 
    11072         Reviewed by Pavel Feldman.
    11073 
    11074         Web Inspector: console messages names should adhere to the common naming style
    11075         https://bugs.webkit.org/show_bug.cgi?id=58042
    11076 
    11077         * inspector/ConsoleMessage.cpp:
    11078         (WebCore::ConsoleMessage::addToFrontend):
    11079         (WebCore::ConsoleMessage::updateRepeatCountInConsole):
    11080         * inspector/Inspector.json:
    11081         * inspector/InspectorConsoleAgent.cpp:
    11082         (WebCore::InspectorConsoleAgent::clearConsoleMessages):
    11083         * inspector/front-end/ConsoleView.js:
    11084         (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher.dispatcher.messageAdded):
    11085         (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher.dispatcher.messageRepeatCountUpdated):
    11086         (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher.dispatcher.messagesCleared):
    11087         (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher):
    11088 
    11089 2011-04-06  Ilya Tikhonovsky  <loislo@chromium.org>
    11090 
    11091         Reviewed by Yury Semikhatsky.
    11092 
    11093         Web Inspector: migrate Inspector protocol messages format to JSON-RPC.
    11094         https://bugs.webkit.org/show_bug.cgi?id=57957
    11095 
    11096         There is not a significant difference between  inspector messages spec and and JSON-RPC 2.0 messages spec.
    11097         Also JSON-RPC has a pretty clear specification for error descriptions which we haven't.
    11098         It was decided that we will use it.
    11099 
    11100         the list of renames:
    11101         1) type-> /dev/null
    11102         2) domain + '.' + event => method // for events
    11103         3) domain + '.' + command => method // for requests
    11104         4) requestId => id // for responses
    11105         5) arguments => params // for requests
    11106         6) data => params // for events
    11107         7) body => result // for responses
    11108 
    11109         protocolErrors and error properties will be converted to JSON-RPC error format.
    11110         The order of properties in messages also will be adjusted.
    11111         The only thing that looks unnecessary is jsonrpc property.
    11112 
    11113         * inspector/CodeGeneratorInspector.pm:
    11114 
    11115 2011-04-07  Ryosuke Niwa  <rniwa@webkit.org>
    11116 
    11117         Reviewed by Eric Seidel.
    11118 
    11119         Add functions to update left and right offsets to LineOffsets
    11120         https://bugs.webkit.org/show_bug.cgi?id=58028
    11121 
    11122         Added update() and shrinkWidthForNewFloatIfNeeded(FloatingObject*) to LineOffsets,
    11123         which are used to update m_left and m_right. Also added m_block and m_isFirstLine
    11124         member variables to LineOffsets so that users of LineOffsets don't have to pass them around.
    11125 
    11126         * rendering/RenderBlock.h:
    11127         * rendering/RenderBlockLineLayout.cpp:
    11128         (WebCore::RenderBlock::skipLeadingWhitespace): No longer passes firstLine to positionNewFloatOnLine.
    11129         (WebCore::LineOffsets::LineOffsets): Takes RenderBlock* and isFirstLine instead of left and right offsets.
    11130         (WebCore::LineOffsets::update): Extracted from findNextLineBreak and positionNewFloatOnLine.
    11131         (WebCore::LineOffsets::shrinkWidthForNewFloatIfNeeded): Extracted from positionNewFloatOnLine.
    11132         (WebCore::RenderBlock::findNextLineBreak): Calls skipLeadingWhitespace and positionNewFloatOnLine.
    11133         (WebCore::RenderBlock::positionNewFloatOnLine): Calls shrinkWidthForNewFloatIfNeeded and update and
    11134         no longer passes firstLine around.
    11135 
    11136 2011-04-06  Pavel Feldman  <pfeldman@google.com>
    11137 
    11138         Reviewed by Yury Semikhatsky.
    11139 
    11140         Web Inspector: migrate debugger domain to the unified breakpoint location notion.
    11141         https://bugs.webkit.org/show_bug.cgi?id=57928
    11142 
    11143         * inspector/Inspector.json:
    11144         * inspector/InspectorDebuggerAgent.cpp:
    11145         (WebCore::buildObjectForBreakpointCookie):
    11146         (WebCore::InspectorDebuggerAgent::setBreakpointByUrl):
    11147         (WebCore::InspectorDebuggerAgent::setBreakpoint):
    11148         (WebCore::InspectorDebuggerAgent::resolveBreakpoint):
    11149         (WebCore::InspectorDebuggerAgent::didParseSource):
    11150         * inspector/InspectorDebuggerAgent.h:
    11151         * inspector/front-end/Breakpoint.js:
    11152         (WebInspector.Breakpoint):
    11153         * inspector/front-end/DebuggerModel.js:
    11154         (WebInspector.DebuggerModel.prototype.setBreakpointBySourceId):
    11155         (WebInspector.DebuggerModel.prototype._breakpointResolved):
    11156 
    11157 2011-04-07  Andreas Kling  <andreas.kling@nokia.com>
    11158 
    11159         Reviewed by Benjamin Poulain.
    11160 
    11161         [Qt] Mask the QStyle::State_Horizontal hint for vertical scrollbars.
    11162 
    11163         When initializing a QStyleOptionSlider from a widget, the State_Horizontal
    11164         hint may get set depending on how that widget is laid out in its parent.
    11165         If this happens when drawing a vertical scrollbar, the hint is never
    11166         cleared and we end up painting a vertical scrollbar with horizontal arrows.
    11167 
    11168         Covered by pixel tests which should no longer paint silly scrollbars.
    11169 
    11170         * platform/qt/ScrollbarThemeQt.cpp:
    11171         (WebCore::styleOptionSlider):
    11172 
    11173 2011-04-07  Adam Barth  <abarth@webkit.org>
    11174 
    11175         Reviewed by Eric Seidel.
    11176 
    11177         script-src should block inline script
    11178         https://bugs.webkit.org/show_bug.cgi?id=58012
    11179 
    11180         Block inline scripts at the ScriptElement layer.  This should catch
    11181         exactly the scripts we want to catch.
    11182 
    11183         Test: http/tests/security/contentSecurityPolicy/inline-script-blocked.html
    11184 
    11185         * dom/Document.cpp:
    11186         (WebCore::Document::processHttpEquiv):
    11187             - This patch also adds the ability to supply a CSP policy via a
    11188               <meta> tag.  We'll update the name of the header once we've
    11189               finished implementing the spec.
    11190         * dom/ScriptElement.cpp:
    11191         (WebCore::ScriptElement::executeScript):
    11192         * page/ContentSecurityPolicy.cpp:
    11193         (WebCore::ContentSecurityPolicy::allowInlineScript):
    11194         * page/ContentSecurityPolicy.h:
    11195 
    11196 2011-04-07  Alice Boxhall  <aboxhall@chromium.org>
    11197 
    11198         Reviewed by Ryosuke Niwa.
    11199 
    11200         Move the MouseEventWithHitTestResults::targetNode() method on to EventHandler.
    11201         https://bugs.webkit.org/show_bug.cgi?id=57921
    11202 
    11203         Moves the MouseEventWithHitTestResults::targetNode() method on to EventHandler, so
    11204         that the same logic can be used for a HitTestResult.
    11205 
    11206         No visible changes, just cleanup, so no tests.
    11207 
    11208         * page/EventHandler.cpp:
    11209         (WebCore::EventHandler::selectClosestWordFromMouseEvent):
    11210         (WebCore::EventHandler::selectClosestWordOrLinkFromMouseEvent):
    11211         (WebCore::EventHandler::handleMousePressEventTripleClick):
    11212         (WebCore::EventHandler::handleMousePressEventSingleClick):
    11213         (WebCore::EventHandler::handleMousePressEvent):
    11214         (WebCore::EventHandler::handleMouseDraggedEvent):
    11215         (WebCore::EventHandler::handleMouseReleaseEvent):
    11216         (WebCore::EventHandler::subframeForHitTestResult):
    11217         Made public static member, so that it can access targetNode(), and be accessed by
    11218         webkitwebview in gtk.
    11219         (WebCore::EventHandler::selectCursor):
    11220         (WebCore::EventHandler::targetNode):
    11221         (WebCore::EventHandler::handleMouseDoubleClickEvent):
    11222         (WebCore::EventHandler::handleMouseMoveEvent):
    11223         (WebCore::EventHandler::updateDragAndDrop):
    11224         (WebCore::EventHandler::sendContextMenuEvent):
    11225         * page/EventHandler.h:
    11226         * page/MouseEventWithHitTestResults.cpp:
    11227         (WebCore::MouseEventWithHitTestResults::MouseEventWithHitTestResults):
    11228         * page/MouseEventWithHitTestResults.h:
    11229         * page/android/EventHandlerAndroid.cpp:
    11230         (WebCore::EventHandler::passWidgetMouseDownEventToWidget):
    11231         * page/brew/EventHandlerBrew.cpp:
    11232         (WebCore::EventHandler::passWidgetMouseDownEventToWidget):
    11233         * page/chromium/EventHandlerChromium.cpp:
    11234         (WebCore::EventHandler::passMousePressEventToSubframe):
    11235         (WebCore::EventHandler::passWidgetMouseDownEventToWidget):
    11236         * page/efl/EventHandlerEfl.cpp:
    11237         (WebCore::EventHandler::passWidgetMouseDownEventToWidget):
    11238         * page/gtk/EventHandlerGtk.cpp:
    11239         (WebCore::EventHandler::passWidgetMouseDownEventToWidget):
    11240         * page/haiku/EventHandlerHaiku.cpp:
    11241         (WebCore::EventHandler::passWidgetMouseDownEventToWidget):
    11242         * page/mac/EventHandlerMac.mm:
    11243         (WebCore::EventHandler::passWidgetMouseDownEventToWidget):
    11244         (WebCore::EventHandler::passSubframeEventToSubframe):
    11245         * page/wx/EventHandlerWx.cpp:
    11246         (WebCore::EventHandler::passWidgetMouseDownEventToWidget):
    11247 
    11248 2011-04-07  Pavel Podivilov  <podivilov@chromium.org>
    11249 
    11250         Reviewed by Pavel Feldman.
    11251 
    11252         Web Inspector: build mapping for formatted scripts based on keywords positions.
    11253         https://bugs.webkit.org/show_bug.cgi?id=57936
    11254 
    11255         Mapping based on [\$\.\w]+ was not accurate because string literals representation
    11256         may be different in original and formatted scripts.
    11257 
    11258         * inspector/front-end/ScriptFormatterWorker.js:
    11259         (buildMapping.regexp.b):
    11260         (buildMapping):
    11261 
    11262 2011-04-07  Kent Tamura  <tkent@chromium.org>
    11263 
    11264         Reviewed by Dimitri Glazkov.
    11265 
    11266         Spinbuttons become unclickable if right padding is large.
    11267         https://bugs.webkit.org/show_bug.cgi?id=56298
    11268 
    11269         An inner-spin-button is put on the right border and ignores right
    11270         padding in RenderTextControlSingleLine::layout(), but forwardEvent()
    11271         checks if a point is in an area just right of an internal text block.
    11272         This inconsistency caused a bug that an inner-spin-button with large
    11273         padding didn't receive mouse events.
    11274 
    11275         To fix this bug, we render spin buttons as layers, and remove manual
    11276         event forwarding code.
    11277 
    11278         Test: fast/forms/input-number-large-padding.html
    11279 
    11280         * css/html.css: Add "position:relative" to make a spin-button a layer.
    11281         (input::-webkit-inner-spin-button):
    11282         (input::-webkit-outer-spin-button):
    11283         * rendering/RenderTextControlSingleLine.cpp:
    11284         (WebCore::RenderTextControlSingleLine::forwardEvent):
    11285           Remove manual event forwarding code.
    11286 
    11287 2011-04-06  Adam Barth  <abarth@webkit.org>
    11288 
    11289         Reviewed by Eric Seidel.
    11290 
    11291         CSP object-src should block plugin loads
    11292         https://bugs.webkit.org/show_bug.cgi?id=57283
    11293 
    11294         This change is pretty straight-forward.  It's slighly unclear to me
    11295         whether this patch is correct w.r.t. the code in DocumentWriter.  I've
    11296         added a FIXME comment, and I'll investigate that case more in the future.
    11297 
    11298         Test: http/tests/security/contentSecurityPolicy/object-src-none.html
    11299 
    11300         * loader/DocumentWriter.cpp:
    11301         (WebCore::DocumentWriter::begin):
    11302         * loader/SubframeLoader.cpp:
    11303         (WebCore::SubframeLoader::requestPlugin):
    11304         * page/ContentSecurityPolicy.cpp:
    11305         (WebCore::ContentSecurityPolicy::allowObjectFromSource):
    11306         (WebCore::ContentSecurityPolicy::addDirective):
    11307         * page/ContentSecurityPolicy.h:
    11308 
    11309 2011-04-06  Beth Dakin  <bdakin@apple.com>
    11310 
    11311         Reviewed by Dan Bernstein.
    11312 
    11313         https://bugs.webkit.org/show_bug.cgi?id=58009
    11314         Frame::scalePage() results in visual artifacts with scale factors less than 1
    11315         -and corresponding-
    11316         <rdar://problem/8683230>
    11317 
    11318         Fall into the case where we fill with a background base color when there is a page
    11319         scale factor that is less than 1.
    11320         * rendering/RenderView.cpp:
    11321         (WebCore::RenderView::paintBoxDecorations):
    11322 
    11323 2011-04-06  Jer Noble  <jer.noble@apple.com>
    11324 
    11325         Reviewed by Darin Adler.
    11326 
    11327         AVF: MediaPlayerPrivateAVFoundationObjC should not use -[AVPlayerItem isPlaybackBufferEmpty]
    11328         https://bugs.webkit.org/show_bug.cgi?id=57982
    11329 
    11330         Query our cached loaded time array instead of asking AVPlayerItem if its buffer is empty.
    11331 
    11332         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm:
    11333         (WebCore::MediaPlayerPrivateAVFoundationObjC::playerItemStatus):
    11334 
    11335 2011-04-06  Jer Noble  <jer.noble@apple.com>
    11336 
    11337         Reviewed by Eric Carlson.
    11338 
    11339         MediaPlayerPrivateAVFoundation does not change rate due to setRate().
    11340         https://bugs.webkit.org/show_bug.cgi?id=57919
    11341 
    11342         Test: media/video-set-rate-from-pause.html
    11343 
    11344         The base class of MediaPlayerPrivateAVFoundation does not actually change the rate
    11345         of the media; instead a subclass must do that work.  So when setRate() is called,
    11346         inform a subclass through a new pure virtual updateRate() function that there's
    11347         work to be done.
    11348 
    11349         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
    11350         (WebCore::MediaPlayerPrivateAVFoundation::setRate): Call updateRate()
    11351         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
    11352         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.h:
    11353         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm:
    11354         (WebCore::MediaPlayerPrivateAVFoundationObjC::updateRate): Added.  Set the requested rate.
    11355 
    11356 2011-04-06  Dai Mikurube  <dmikurube@chromium.org>
    11357 
    11358         Reviewed by David Levin.
    11359 
    11360         Add QUOTA build flag for unified quota API
    11361         https://bugs.webkit.org/show_bug.cgi?id=57918
    11362 
    11363         * Configurations/FeatureDefines.xcconfig: Added QUOTA build flag
    11364         * GNUmakefile.am: Added QUOTA build flag
    11365         * WebCore.pri: Added QUOTA build flag
    11366 
    11367 2011-04-06  Stephanie Lewis  <slewis@apple.com>
    11368 
    11369         Reviewed by Darin Adler.
    11370 
    11371         https://bugs.webkit.org/show_bug.cgi?id=57997
    11372         <rdar://problem/9187856> REGRESSION(r75555): ~5-7 MB increase in memory between iBench runs
    11373         Navigating away from a Scrolled page which queues a scroll event that is never dispatched.
    11374         Cancel all enqueued events when detaching the Document the events cannot keep the Document
    11375         alive.
    11376 
    11377         No change in functionality so no new tests. 
    11378 
    11379         * dom/Document.cpp:
    11380         (WebCore::Document::detach):
    11381         * dom/EventQueue.cpp:
    11382         (WebCore::EventQueue::cancelQueuedEvents):
    11383         * dom/EventQueue.h:
    11384 
    11385 2011-04-06  Dan Bernstein  <mitz@apple.com>
    11386 
    11387         Reviewed by Darin Adler.
    11388 
    11389         <rdar://problem/9084761> REGRESSION (r73993): Default Arabic line spacing has gotten very loose when the specified font is not Arabic
    11390         https://bugs.webkit.org/show_bug.cgi?id=58002
    11391 
    11392         * platform/graphics/mac/SimpleFontDataMac.mm:
    11393         (WebCore::SimpleFontData::platformInit): The version of Geeza Pro in Snow Leopard
    11394         does not require the vertical metrics tweaks that were needed in Leopard. That the
    11395         tweaks were being applied went mostly unnoticed until r73993, because until then it
    11396         only affected cases where Geeza Pro was specified, not when it occurred as a fallback
    11397         font.
    11398 
    11399 2011-04-06  Roland Steiner  <rolandsteiner@chromium.org>
    11400 
    11401         Reviewed by Dimitri Glazkov.
    11402 
    11403         Bug 57994 - Move guardRef functionality back to Document
    11404         https://bugs.webkit.org/show_bug.cgi?id=57994
    11405 
    11406         Move the relevant code parts from TreeScope back into Document.
    11407 
    11408         No new tests. (no new functionality)
    11409 
    11410         * dom/Document.cpp:
    11411         (WebCore::Document::removedLastRef):
    11412         * dom/Document.h:
    11413         * dom/TreeScope.cpp:
    11414         (WebCore::TreeScope::destroyTreeScopeData):
    11415         * dom/TreeScope.h:
    11416 
    11417 2011-04-06  Ian Henderson  <ianh@apple.com>
    11418 
    11419         Reviewed by Simon Fraser, Antti Koivisto.
    11420 
    11421         Fast path for parsing simple CSS values
    11422         https://bugs.webkit.org/show_bug.cgi?id=57964
    11423 
    11424         Add functions to parse simple color or dimension values, skipping the
    11425         overhead of full CSS parsing.
    11426 
    11427         Change parseValue to a static method to avoid unnecessary allocation
    11428         of a CSSParser in the fast case.
    11429 
    11430         * css/CSSMutableStyleDeclaration.cpp:
    11431         (WebCore::CSSMutableStyleDeclaration::setProperty):
    11432         Changed to use the new, static parseValue method.
    11433         * css/CSSParser.cpp:
    11434         (WebCore::isColorPropertyID):
    11435         (WebCore::parseColorValue):
    11436         Parses any color accepted by the existing parseColor() static method.
    11437         We must handle color identifiers separately, since parseColor() will
    11438         change 'red' into 'rgb(255, 0, 0)'.
    11439         (WebCore::isSimpleLengthPropertyID):
    11440         (WebCore::parseSimpleLengthValue):
    11441         Parses a value of the form 'NNpx', 'NN%', or 'NN' (when strict is
    11442         false, or 'NN' is '0').  Returns false to fall back to the slow path.
    11443         (WebCore::CSSParser::parseValue):
    11444         * css/CSSParser.h:
    11445         * css/WebKitCSSMatrix.cpp:
    11446         (WebCore::WebKitCSSMatrix::setMatrixValue):
    11447         Changed to use the new, static parseValue method.
    11448 
    11449 2011-04-06  Kevin Ollivier  <kevino@theolliviers.com>
    11450 
    11451         Reviewed by Darin Adler.
    11452 
    11453         Make sure JS_EXPORT_PRIVATE is an empty define when we aren't using the export macros.
    11454 
    11455         https://bugs.webkit.org/show_bug.cgi?id=27551
    11456 
    11457         * config.h:
    11458 
    11459 2011-04-06  Simon Fraser  <simon.fraser@apple.com>
    11460 
    11461         Reviewed by Antti Koivisto.
    11462 
    11463         Some minor style resolution optimizations
    11464         https://bugs.webkit.org/show_bug.cgi?id=57996
    11465 
    11466         A couple of minor optimizations to style-related code.
    11467 
    11468         * bindings/js/JSCSSStyleDeclarationCustom.cpp:
    11469         (WebCore::isCSSPropertyName):
    11470         (WebCore::JSCSSStyleDeclaration::putDelegate):
    11471         Avoid calling cssPropertyName() twice when setting style on an element.
    11472        
    11473         * css/CSSStyleSelector.cpp:
    11474         (WebCore::useSVGZoomRules):
    11475         (WebCore::CSSStyleSelector::applyProperty):
    11476         Avoid calling isSVGElement() for every property, since only a two properties
    11477         care about it.
    11478 
    11479 2011-04-06  Ian Henderson  <ianh@apple.com>
    11480 
    11481         Reviewed by Antti Koivisto.
    11482 
    11483         Unnecessary string allocation in CSSStyleDeclaration::setProperty
    11484         https://bugs.webkit.org/show_bug.cgi?id=57995
    11485 
    11486         Pass the bool representing the property's importance directly instead
    11487         of constructing a string.
    11488 
    11489         * css/CSSStyleDeclaration.cpp:
    11490         (WebCore::CSSStyleDeclaration::setProperty):
    11491 
    11492 2011-04-06  Leandro Gracia Gil  <leandrogracia@chromium.org>
    11493 
    11494         Reviewed by Steve Block.
    11495 
    11496         Make the style of createFunctionOnlyCallback in V8 consistent with the JavaScriptCore version.
    11497         https://bugs.webkit.org/show_bug.cgi?id=57963
    11498 
    11499         No new tests. LayoutTests/fast/dom/Geolocation/argument-types.html
    11500 
    11501         * bindings/v8/V8Utilities.h:
    11502         (WebCore::createFunctionOnlyCallback):
    11503         * bindings/v8/custom/V8GeolocationCustom.cpp:
    11504         (WebCore::V8Geolocation::getCurrentPositionCallback):
    11505         (WebCore::V8Geolocation::watchPositionCallback):
    11506 
    11507 2011-04-06  Brian Weinstein  <bweinstein@apple.com>
    11508 
    11509         Reviewed by Adam Roben.
    11510 
    11511         WebKit2: Support Windows 7 Gestures
    11512         https://bugs.webkit.org/show_bug.cgi?id=49824
    11513         <rdar://problem/8689728>
    11514        
    11515         Move WindowTouch.h from WebKit/win, so it can be used in both WebKit and WebKit2.
    11516 
    11517         * WebCore.vcproj/WebCore.vcproj:
    11518         * platform/win/WindowsTouch.h: Copied from WebKit/win/WindowsTouch.h.
    11519 
    11520 2011-04-06  Alexis Menard  <alexis.menard@openbossa.org>
    11521 
    11522         Reviewed by Andreas Kling.
    11523 
    11524         [Qt] We should use USE(QT_MULTIMEDIA) rather than ENABLE(QT_MULTIMEDIA).
    11525         https://bugs.webkit.org/show_bug.cgi?id=57974
    11526 
    11527         We should use USE(QT_MULTIMEDIA) rather than ENABLE(QT_MULTIMEDIA).
    11528 
    11529         No new tests needed, just a config flag rename.
    11530 
    11531         * features.pri:
    11532 
    11533 2011-04-06  Tyler Close  <tjclose@chromium.org>
    11534 
    11535         Reviewed by Nate Chapin.
    11536 
    11537         run-bindings-tests reference files out of sync with CodeGenerator*.pm
    11538         https://bugs.webkit.org/show_bug.cgi?id=57967
    11539 
    11540         * bindings/scripts/test/V8/V8TestCallback.cpp:
    11541 
    11542 2011-04-06  Asanka Herath  <asanka@chromium.org>
    11543 
    11544         Reviewed by Darin Fisher.
    11545 
    11546         Add new TargetType: TargetIsFavicon
    11547 
    11548         https://bugs.webkit.org/show_bug.cgi?id=57659
    11549 
    11550         No new functionality added, so no additional tests.
    11551 
    11552         * platform/network/ResourceRequestBase.h:
    11553 
    11554 2011-04-06  David Hyatt  <hyatt@apple.com>
    11555 
    11556         Reviewed by Simon Fraser.
    11557 
    11558         https://bugs.webkit.org/show_bug.cgi?id=57981
    11559        
    11560         Update the column count and width computation algorithm for CSS3 multi-column layout
    11561         to match the revised pseudo-algorithm in the latest draft of the spec.
    11562 
    11563         * rendering/RenderBlock.cpp:
    11564         (WebCore::RenderBlock::calcColumnWidth):
    11565 
    11566 2011-04-06  Ryosuke Niwa  <rniwa@webkit.org>
    11567 
    11568         Reviewed by Eric Seidel.
    11569 
    11570         borderPaddingMarginStart and borderPaddingMarginEnd should take RenderInline
    11571         https://bugs.webkit.org/show_bug.cgi?id=57965
    11572 
    11573         Changed the argument types of borderPaddingMarginStart and borderPaddingMarginEnd
    11574         from RenderBoxModelObject to RenderInline since they call marginStart and marginEnd
    11575         instead of marginStartForChild and marginEndForChild respectively.
    11576 
    11577         Calling these two functions on RenderInline is okay because writing-mode cannot differ
    11578         from that of the containing block.
    11579 
    11580         * rendering/RenderBlockLineLayout.cpp:
    11581         (WebCore::borderPaddingMarginStart):
    11582         (WebCore::borderPaddingMarginEnd):
    11583         (WebCore::inlineLogicalWidth):
    11584 
    11585 2011-04-06  Sheriff Bot  <webkit.review.bot@gmail.com>
    11586 
    11587         Unreviewed, rolling out r83039.
    11588         http://trac.webkit.org/changeset/83039
    11589         https://bugs.webkit.org/show_bug.cgi?id=57978
    11590 
    11591         introduced a new regression in conjunction to
    11592         ReplaceSelectionCommand (Requested by rniwa on #webkit).
    11593 
    11594         * editing/EditingStyle.cpp:
    11595         (WebCore::EditingStyle::init):
    11596         * editing/InsertParagraphSeparatorCommand.cpp:
    11597         (WebCore::InsertParagraphSeparatorCommand::doApply):
    11598 
    11599 2011-04-06  Naoki Takano  <takano.naoki@gmail.com>
    11600 
    11601         Reviewed by David Levin.
    11602 
    11603         Webkit ignores PgUp/PgDown/Home/End in SELECT tag objects
    11604         https://bugs.webkit.org/show_bug.cgi?id=27658
    11605 
    11606         Test: fast/events/select-element.html
    11607 
    11608         * dom/SelectElement.cpp:
    11609         (WebCore::nextValidIndex): Moved from elsewhere in the file to be used by other routines.
    11610         (WebCore::nextSelectableListIndexPageAway): Returns a selectable index one page away from the given index.
    11611         (WebCore::nextSelectableListIndex): Implemented with nextValidIndex.
    11612         And converted to a normal static function from a private function of SelectElement.
    11613         (WebCore::previousSelectableListIndex): Implemented with nextValidIndex.
    11614         And converted to a normal static function from a private function of SelectElement.
    11615         (WebCore::firstSelectableListIndex): Returns the first selectable index.
    11616         (WebCore::lastSelectableListIndex): Returns the last selectable index.
    11617         (WebCore::SelectElement::menuListDefaultEventHandler): Converted from C cast to C++ cast.
    11618         (WebCore::SelectElement::listBoxDefaultEventHandler): Adds support for PageUp/PageDown/Home/End with both single and multiple selection.
    11619 
    11620         * dom/SelectElement.h:
    11621         (WebCore::SelectElement::): Remove nextSelectableListIndex() and previousSelectableListIndex().
    11622 
    11623         * rendering/RenderListBox.h: Makes RenderListBox::size public so that PageUp/PageDown behavior can use the actual list size rather than that specified in HTML.
    11624         They can differ due to the minimum size imposed by RenderListBox.
    11625 
    11626 2011-04-06  David Hyatt  <hyatt@apple.com>
    11627 
    11628         Reviewed by Dan Bernstein.
    11629 
    11630         https://bugs.webkit.org/show_bug.cgi?id=57975
    11631 
    11632         The "More..." link for line clamping no longer shows up in Safari RSS. Fix the isLink() check
    11633         to just look at the style, so that it can find the InlineTextBox and not care that it's a child
    11634         of the link element and not the line box for the link element itself (since that line box got
    11635         culled).
    11636 
    11637         * rendering/RenderFlexibleBox.cpp:
    11638         (WebCore::RenderFlexibleBox::applyLineClamp):
    11639 
    11640 2011-04-06  Brady Eidson  <beidson@apple.com>
    11641 
    11642         Reviewed by Anders Carlsson.
    11643 
    11644         https://bugs.webkit.org/show_bug.cgi?id=57973 and https://bugs.webkit.org/show_bug.cgi?id=57973
    11645         WK2 icon database should be able to get a CGImage of a specific size
    11646 
    11647         * platform/graphics/BitmapImage.h:
    11648         * platform/graphics/Image.h:
    11649         (WebCore::Image::getFirstCGImageRefOfSize):
    11650        
    11651         * platform/graphics/cg/ImageCG.cpp:
    11652         (WebCore::BitmapImage::getFirstCGImageRefOfSize): Walk the frames of the image until reaching the
    11653           first frame of the requested size.
    11654 
    11655 2011-04-06  Malcolm MacLeod  <malcolm.macleod@tshwanedje.com>
    11656 
    11657         Reviewed by Kevin Ollivier.
    11658 
    11659         [wx] Fix cursor handling so that we always call the chrome to set it.
    11660        
    11661         https://bugs.webkit.org/show_bug.cgi?id=57972
    11662 
    11663         * platform/wx/WidgetWx.cpp:
    11664         (WebCore::Widget::setCursor):
    11665 
    11666 2011-04-06  David Hyatt  <hyatt@apple.com>
    11667 
    11668         Reviewed by Dan Bernstein.
    11669 
    11670         https://bugs.webkit.org/show_bug.cgi?id=41445
    11671        
    11672         Visited links painting with black background. Make sure that if the visited style has
    11673         the initial background color (transparent) set that we just use the unvisited color.
    11674 
    11675         Added fast/history/visited-link-background-color.html
    11676 
    11677         * rendering/style/RenderStyle.cpp:
    11678         (WebCore::RenderStyle::visitedDependentColor):
    11679 
    11680 2011-04-06  Csaba Osztrogonác  <ossy@webkit.org>
    11681 
    11682         Unreviewed Qt buildfix after r83079.
    11683 
    11684         * WebCore.pro:
    11685 
    11686 2011-04-06  Dean Jackson  <dino@apple.com>
    11687 
    11688         Reviewed by Chris Marrin.
    11689 
    11690         https://bugs.webkit.org/show_bug.cgi?id=56936
    11691         Crash in ImplicitAnimation::~ImplicitAnimation
    11692 
    11693         Make sure the style and start time waiting lists
    11694         are cleared in the CompositeAnimation destructor. This
    11695         way, no running transitions can be left in a state
    11696         where they are destroyed as the AnimationControllerPrivate
    11697         cleans up.
    11698 
    11699         * page/animation/CompositeAnimation.cpp:
    11700         (WebCore::CompositeAnimation::~CompositeAnimation):
    11701 
    11702 2011-04-06  Robert Sesek  <rsesek@chromium.org>
    11703 
    11704         Reviewed by Alexey Proskuryakov.
    11705 
    11706         Move code duplicated between the WebKit/mac and WebKit2 down to WebCore because Chromium will need it too
    11707         https://bugs.webkit.org/show_bug.cgi?id=54969
    11708 
    11709         No change in behavior; no new tests.
    11710 
    11711         * editing/TextIterator.cpp:
    11712         (WebCore::TextIterator::locationAndLengthFromRange): New method from duplicated code in WebKits
    11713         * editing/TextIterator.h:
    11714         * page/Frame.cpp:
    11715         (WebCore::Frame::rangeForPoint): New method from duplicated code in WebKits
    11716 
    11717 2011-04-06  Leandro Gracia Gil  <leandrogracia@chromium.org>
    11718 
    11719         Reviewed by Steve Block.
    11720 
    11721         Factoring the creation of 'FunctionOnly' callbacks in JavaScriptCore.
    11722         https://bugs.webkit.org/show_bug.cgi?id=57770
    11723 
    11724         Create a template from an existing functionality in JSGeolocationCustom.cpp
    11725         to be used by the custom bindings of both Geolocation and the Media Stream API.
    11726         V8 version of this bug: https://bugs.webkit.org/show_bug.cgi?id=57760
    11727 
    11728         No new tests. LayoutTests/fast/dom/Geolocation/argument-types.html
    11729 
    11730         * Android.jscbindings.mk:
    11731         * CMakeLists.txt:
    11732         * GNUmakefile.am:
    11733         * WebCore.gypi:
    11734         * WebCore.pro:
    11735         * WebCore.vcproj/WebCore.vcproj:
    11736         * WebCore.xcodeproj/project.pbxproj:
    11737         * bindings/js/CallbackFunction.cpp: Added.
    11738         (WebCore::checkFunctionOnlyCallback):
    11739         * bindings/js/CallbackFunction.h: Added.
    11740         (WebCore::createFunctionOnlyCallback):
    11741         * bindings/js/JSBindingsAllInOne.cpp:
    11742         * bindings/js/JSGeolocationCustom.cpp:
    11743         (WebCore::JSGeolocation::getCurrentPosition):
    11744         (WebCore::JSGeolocation::watchPosition):
    11745 
    11746 2011-04-06  Alexis Menard  <alexis.menard@openbossa.org>
    11747 
    11748         Reviewed by Andreas Kling.
    11749 
    11750         [Qt] Implement fullscreen playback for the GStreamer backend.
    11751         https://bugs.webkit.org/show_bug.cgi?id=56826
    11752 
    11753         Implement support for fullscreen playback when building the
    11754         Qt port with the GStreamer backend (DEFINES+=USE_GSTREAMER=1).
    11755         The implementation is done in FullScreenVideoQt alongside with
    11756         the Qt Multimedia support.
    11757 
    11758         No new tests because layout tests cover it. They are not yet activated
    11759         but will be any time soon.
    11760 
    11761         * platform/graphics/gstreamer/PlatformVideoWindowPrivate.h:
    11762         * platform/graphics/gstreamer/PlatformVideoWindowQt.cpp:
    11763         (FullScreenVideoWindow::FullScreenVideoWindow):
    11764         (FullScreenVideoWindow::setVideoElement):
    11765         (FullScreenVideoWindow::closeEvent):
    11766         (FullScreenVideoWindow::keyPressEvent):
    11767         (FullScreenVideoWindow::event):
    11768         (FullScreenVideoWindow::showFullScreen):
    11769         (FullScreenVideoWindow::hideCursor):
    11770         (FullScreenVideoWindow::showCursor):
    11771 
    11772 2011-04-06  Ryosuke Niwa  <rniwa@webkit.org>
    11773 
    11774         Reviewed by Dimitri Glazkov.
    11775 
    11776         Bundle lineLeftOffset and lineRightOffset as a class
    11777         https://bugs.webkit.org/show_bug.cgi?id=57851
    11778 
    11779         Added a new class LineOffsets that encapsulates lineLeftOffset and lineRightOffset.
    11780         The patch makes clear that lineLeftOffset and lineRightOffset are never read individually
    11781         and only the difference is used to compute the width.
    11782 
    11783         * rendering/RenderBlock.h:
    11784         * rendering/RenderBlockLineLayout.cpp:
    11785         (WebCore::RenderBlock::skipLeadingWhitespace): Takes LineOffsets instead of two integers.
    11786         (WebCore::LineOffsets::LineOffsets): Added.
    11787         (WebCore::LineOffsets::width): Added.
    11788         (WebCore::LineOffsets::setLeft): Added.
    11789         (WebCore::LineOffsets::setRight): Added.
    11790         (WebCore::RenderBlock::findNextLineBreak): Calls skipLeadingWhitespace and positionNewFloatOnLine.
    11791         (WebCore::RenderBlock::positionNewFloatOnLine): Takes LineOffsets instead of two integers.
    11792 
    11793 2011-04-06  David Hyatt  <hyatt@apple.com>
    11794 
    11795         Reviewed by Dan Bernstein.
    11796 
    11797         https://bugs.webkit.org/show_bug.cgi?id=57916
    11798        
    11799         Implement an optimization to the line box tree to cull out most of the intermediate
    11800         line boxes that can occur between the root line box and the leaves of the tree (images
    11801         and text).
    11802 
    11803         RenderInlines now have a boolean member, m_alwaysCreateLineBoxes,
    11804         that starts off as false. Only if it gets flipped to true will there be any line boxes
    11805         created for that RenderInline.
    11806        
    11807         * page/FocusController.cpp:
    11808         (WebCore::FocusController::advanceFocusDirectionally):
    11809         Adjust the ordering of updateLayout calls to make sure rects aren't queried unless layout
    11810         is up to date.
    11811 
    11812         * page/SpatialNavigation.cpp:
    11813         (WebCore::hasOffscreenRect):
    11814         (WebCore::nodeRectInAbsoluteCoordinates):
    11815         Add asserts in spatial navigation code to catch any future bad queries that might be made
    11816         for rectangles without layout being up to date.
    11817 
    11818         * platform/graphics/FloatRect.cpp:
    11819         (WebCore::FloatRect::uniteIfNonZero):
    11820         * platform/graphics/FloatRect.h:
    11821         * platform/graphics/IntRect.cpp:
    11822         (WebCore::IntRect::uniteIfNonZero):
    11823         * platform/graphics/IntRect.h:
    11824         Add a new unite function that is useful for the render tree to FloatRect and IntRect.  This
    11825         version allows rect unites to happen if either width or height is nonzero.
    11826 
    11827         * rendering/HitTestResult.cpp:
    11828         (WebCore::HitTestResult::addNodeToRectBasedTestResult):
    11829         Make sure rect-based hit testing properly adds in culled inline ancestors to the set of nodes
    11830         if content inside those inlines is hit.
    11831 
    11832         * rendering/InlineBox.h:
    11833         (WebCore::InlineBox::logicalFrameRect):
    11834         Fix a bug in this function for obtaining the logical frame rect of an inline box.
    11835 
    11836         * rendering/InlineFlowBox.cpp:
    11837         (WebCore::InlineFlowBox::addToLine):
    11838         addToLine now also checks line gap in the line box tree optimization checks.
    11839    
    11840         (WebCore::InlineFlowBox::addTextBoxVisualOverflow):
    11841         (WebCore::InlineFlowBox::computeOverflow):
    11842         * rendering/InlineFlowBox.h:
    11843         Rewritten to add the text box overflow to the text box itself.
    11844 
    11845          * rendering/InlineTextBox.cpp:
    11846         (WebCore::InlineTextBox::destroy):
    11847         Destroy has been changed to call a helper function to remove and destroy the line boxes that
    11848         is now called from one additional spot.
    11849 
    11850         (WebCore::InlineTextBox::logicalOverflowRect):
    11851         (WebCore::InlineTextBox::setLogicalOverflowRect):
    11852         Text boxes now cache their own overflow in a global hash table.
    11853 
    11854         (WebCore::InlineTextBox::baselinePosition):
    11855         (WebCore::InlineTextBox::lineHeight):
    11856         Changed to not assume that the parent line box's renderer is the RenderText's immediate
    11857         parent, since intermediate line boxes may have been culled.
    11858 
    11859         (WebCore::InlineTextBox::paint):
    11860         Paint now properly checks only the text box overflow instead of the parent line box's overflow.
    11861 
    11862         * rendering/InlineTextBox.h:
    11863         (WebCore::InlineTextBox::logicalTopVisualOverflow):
    11864         (WebCore::InlineTextBox::logicalBottomVisualOverflow):
    11865         (WebCore::InlineTextBox::logicalLeftVisualOverflow):
    11866         (WebCore::InlineTextBox::logicalRightVisualOverflow):
    11867         New accessors to obtain overflow for inline text boxes.
    11868 
    11869         * rendering/RenderBlock.cpp:
    11870         (WebCore::RenderBlock::updateFirstLetter):
    11871         updateFirstLetter now removes text boxes from the line box tree before it destroys them, since those
    11872         text boxes may not have anything in between them and the block that contains the inline first letter
    11873         container.
    11874 
    11875         * rendering/RenderBlockLineLayout.cpp:
    11876         (WebCore::RenderBlock::createLineBoxes):
    11877         The culling optimization is done here.  Only if the RenderInline says that boxes are allowed will they
    11878         be created.
    11879 
    11880         (WebCore::RenderBlock::layoutInlineChildren):
    11881         The state of the RenderInline is updated here, in case it is discovered that line boxes are now needed.
    11882         This is done before any lines are built.
    11883 
    11884         * rendering/RenderInline.cpp:
    11885         (WebCore::RenderInline::RenderInline):
    11886         The new m_alwaysCreateLineBoxes flag has been added to the constructor.
    11887 
    11888         (WebCore::RenderInline::styleDidChange):
    11889         An initial update of the m_alwaysCreateLineBoxes happens here for things that can be checked immediately
    11890         (like having a layer, borders, padding, margins or backgrounds).  Some checks that depend on examining
    11891         the RenderInline's parent (including first line styles) happen later in layoutInlineChildren.
    11892 
    11893         (WebCore::RenderInline::updateAlwaysCreateLineBoxes):
    11894         The function called by layoutInlineChildren to check parent and child style differences (e.g., font,
    11895         vertical alignment, line height, etc.).
    11896 
    11897         (WebCore::RenderInline::absoluteRects):
    11898         (WebCore::RenderInline::culledInlineAbsoluteRects):
    11899         absoluteRects calls culledInlineAbsoluteRects when m_alwaysCreateLineBoxes is false.
    11900 
    11901         (WebCore::RenderInline::absoluteQuads):
    11902         (WebCore::RenderInline::culledInlineAbsoluteQuads):
    11903         absoluteQuads calls culledInlineAbsoluteQuads when m_alwaysCreateLineBoxes is false.
    11904 
    11905         (WebCore::RenderInline::offsetLeft):
    11906         (WebCore::RenderInline::offsetTop):
    11907         offsetLeft and offsetTop now check descendant renderers when m_alwaysCreateLineBoxes is false.
    11908 
    11909         (WebCore::RenderInline::linesBoundingBox):
    11910         (WebCore::RenderInline::culledInlineBoundingBox):
    11911         lineBoundingBox calls culledInlineBoundingBox when m_alwaysCreateLineBoxes is false.
    11912 
    11913         (WebCore::RenderInline::culledInlineFirstLineBox):
    11914         (WebCore::RenderInline::culledInlineLastLineBox):
    11915         Helpers that return the first and last line box descendants. Used by firstLineBoxIncludingCulling and
    11916         lastLineBoxIncludingCulling (which are in turn called by offsetLeft and offsetTop).
    11917 
    11918         (WebCore::RenderInline::culledInlineVisualOverflowBoundingBox):
    11919         (WebCore::RenderInline::linesVisualOverflowBoundingBox):
    11920         linesVisualOverflowBoundingBox calls culledInlineVisualOverflowBoundingBox when m_alwaysCreateLineBoxes is false.
    11921 
    11922         (WebCore::RenderInline::clippedOverflowRectForRepaint):
    11923         The initial bailout check is now done using firstLineBoxIncludingCulling instead of just firstLineBox.
    11924 
    11925         (WebCore::RenderInline::dirtyLineBoxes):
    11926         dirtyLineBoxes now crawls into descendants to figure out which root lines to dirty when
    11927         m_alwaysCreateLineBoxes is false.
    11928 
    11929         (WebCore::RenderInline::createAndAppendInlineFlowBox):
    11930         Clear the m_alwaysCreateLineBoxes if a box gets added anyway. This happens for leaf inline flows and also
    11931         when line-box-contain is set to an unusual value.
    11932 
    11933         (WebCore::RenderInline::addFocusRingRects):
    11934         Used culledInlineAbsoluteRects in place of the line box walk when m_alwaysCreateLineBoxes is false.
    11935 
    11936         * rendering/RenderInline.h:
    11937         (WebCore::RenderInline::firstLineBoxIncludingCulling):
    11938         (WebCore::RenderInline::lastLineBoxIncludingCulling):
    11939         Helpers used in a few places (like offsetLeft and offsetTop), mostly in places where the existence of a box
    11940         is all that needs checking.
    11941 
    11942         (WebCore::RenderInline::alwaysCreateLineBoxes):
    11943         (WebCore::RenderInline::setAlwaysCreateLineBoxes):
    11944         Functions for getting and setting the m_alwaysCreateLineBoxes flag.
    11945 
    11946         * rendering/RenderLineBoxList.cpp:
    11947         (WebCore::RenderLineBoxList::dirtyLinesFromChangedChild):
    11948         Modified to use firstLineBoxIncludingCulling and lastLineBoxIncludingCulling to ensure the right set of
    11949         lines get dirtied.
    11950 
    11951         * rendering/RenderText.cpp:
    11952         (WebCore::RenderText::removeAndDestroyTextBoxes):
    11953         New helper invoked by destroy and also from updateFirstLetter.
    11954 
    11955         (WebCore::RenderText::destroy):
    11956         Changed to call removeAndDestroyTextBoxes.
    11957 
    11958         (WebCore::RenderText::absoluteRects):
    11959         Fixed to be properly physical instead of logical.
    11960 
    11961         (WebCore::RenderText::linesVisualOverflowBoundingBox):
    11962         New implementation for RenderText that gives the bounding box of the text boxes including overflow from
    11963         shadows, glyphs, text-stroke, etc.  Used by RenderInline::culledInlineVisualOverflowBoundingBox.
    11964 
    11965         * rendering/RenderText.h:
    11966         * rendering/svg/RenderSVGInline.cpp:
    11967         (WebCore::RenderSVGInline::RenderSVGInline):
    11968         RenderSVGInline always sets m_alwaysCreateLineBoxes to true so that SVG is unaffected by this optimization.
    11969 
    11970         * rendering/svg/SVGRootInlineBox.cpp:
    11971         (WebCore::SVGRootInlineBox::layoutCharactersInTextBoxes):
    11972         (WebCore::SVGRootInlineBox::layoutChildBoxes):
    11973         Move the isInlineFlowBox asserts to after the generated content skips, since the generated content boxes are
    11974         now InlineTextBoxes (the enclosing InlineFlowBoxes got culled).
    11975 
    11976 2011-04-05  Enrica Casucci  <enrica@apple.com>
    11977 
    11978         Reviewed by Darin Adler.
    11979 
    11980         REGRESSION: Drag & Drop Gmail Attachments doesn't work.
    11981         https://bugs.webkit.org/show_bug.cgi?id=57909
    11982         <rdar://problem/9103220>
    11983 
    11984         In WebKit2 we cannot rely on the value returned by platformData() that
    11985         on Mac returns an NSDraggingInfo object. This is available only in the UI
    11986         process. Therefore we should use m_pasteboard instead.
    11987         We cannot change what platformData() returns on Mac, since there are
    11988         delegate methods that receive a NSDraggingInfo object (only in WebKit).
    11989        
    11990         * platform/DragData.h:
    11991         (WebCore::DragData::pasteboard): Added.
    11992         * platform/mac/ClipboardMac.mm:
    11993         (WebCore::Clipboard::create): Changed to use pasteboard() instead of platformData().
    11994         * platform/mac/DragDataMac.mm:
    11995         (WebCore::DragData::asColor): Replaced references to m_platformData with m_pasteboard.
    11996         (WebCore::DragData::asURL): Same as above.
    11997 
    11998 2011-04-06  Benjamin Poulain  <benjamin.poulain@nokia.com>
    11999 
    12000         Reviewed by Darin Adler.
    12001 
    12002         ClipboardWin has unused variables "ExceptionCode ec"
    12003         https://bugs.webkit.org/show_bug.cgi?id=57952
    12004 
    12005         Remove the unused variable.
    12006 
    12007         * platform/win/ClipboardWin.cpp:
    12008         (WebCore::ClipboardWin::declareAndWriteDragImage):
    12009         (WebCore::ClipboardWin::writePlainText):
    12010 
    12011 2011-04-06  Ryosuke Niwa  <rniwa@webkit.org>
    12012 
    12013         Reviewed by Dimitri Glazkov.
    12014 
    12015         Split getBorderPaddingMargin into two functions
    12016         https://bugs.webkit.org/show_bug.cgi?id=57947
    12017 
    12018         * rendering/RenderBlockLineLayout.cpp:
    12019         (WebCore::borderPaddingMarginStart): Extracted from getBorderPaddingMargin.
    12020         (WebCore::borderPaddingMarginEnd): Ditto.
    12021         (WebCore::inlineLogicalWidth): Calls borderPaddingMarginStart and borderPaddingMarginEnd.
    12022         (WebCore::RenderBlock::findNextLineBreak): Ditto.
    12023 
    12024 2011-04-06  MORITA Hajime  <morrita@google.com>
    12025 
    12026         Reviewed by Dimitri Glazkov.
    12027 
    12028         [Refactoring] <progress> should not have manual layout code.
    12029         https://bugs.webkit.org/show_bug.cgi?id=57801
    12030 
    12031         - Simplified RenderProgress, removing its custom layout code
    12032         - Introducing ProgressValueElement and ProgressBarElement, replacing
    12033           ProgressBarValueElement.
    12034        
    12035         Now the structure is almost identical to <meter>,
    12036         other than:
    12037         - RenderProgress has animated painting, thus manages its own timer.
    12038         - Both ProgressValueElement and ProgressBarElement has pseudo classes
    12039           which don't changes during its lifetime.
    12040        
    12041         * Android.mk:
    12042         * CMakeLists.txt:
    12043         * GNUmakefile.am:
    12044         * WebCore.gypi:
    12045         * WebCore.pro:
    12046         * WebCore.vcproj/WebCore.vcproj:
    12047         * WebCore.xcodeproj/project.pbxproj:
    12048         * css/html.css:
    12049         (progress):
    12050         (progress::-webkit-progress-bar):
    12051         (progress::-webkit-progress-value):
    12052         * html/HTMLProgressElement.cpp:
    12053         (WebCore::HTMLProgressElement::~HTMLProgressElement):
    12054         (WebCore::HTMLProgressElement::create):
    12055         (WebCore::HTMLProgressElement::attach):
    12056         (WebCore::HTMLProgressElement::didElementStateChange):
    12057         (WebCore::HTMLProgressElement::createShadowSubtree):
    12058         * html/HTMLProgressElement.h:
    12059         * html/shadow/ProgressShadowElement.cpp: Copied from Source/WebCore/html/shadow/ProgressBarValueElement.h.
    12060         (WebCore::ProgressShadowElement::ProgressShadowElement):
    12061         (WebCore::ProgressShadowElement::progressElement):
    12062         (WebCore::ProgressShadowElement::rendererIsNeeded):
    12063         (WebCore::ProgressBarElement::shadowPseudoId):
    12064         (WebCore::ProgressValueElement::shadowPseudoId):
    12065         (WebCore::ProgressValueElement::setWidthPercentage):
    12066         * html/shadow/ProgressShadowElement.h: Renamed from Source/WebCore/html/shadow/ProgressBarValueElement.h.
    12067         (WebCore::ProgressBarElement::ProgressBarElement):
    12068         (WebCore::ProgressBarElement::create):
    12069         (WebCore::ProgressValueElement::ProgressValueElement):
    12070         (WebCore::ProgressValueElement::create):
    12071         * rendering/RenderProgress.cpp:
    12072         (WebCore::RenderProgress::RenderProgress):
    12073         (WebCore::RenderProgress::updateFromElement):
    12074         (WebCore::RenderProgress::animationTimerFired):
    12075         * rendering/RenderProgress.h:
    12076         (WebCore::RenderProgress::requiresForcedStyleRecalcPropagation):
    12077         (WebCore::RenderProgress::canHaveChildren):
    12078 
    12079 2011-04-06  Mario Sanchez Prada  <msanchez@igalia.com>
    12080 
    12081         Reviewed by Chris Fleizach.
    12082 
    12083         [GTK] Do not reference AccessibilityRenderObject from platform dependent code
    12084         https://bugs.webkit.org/show_bug.cgi?id=57955
    12085 
    12086         Do not reference AccessibilityRenderObject from platform specific code
    12087 
    12088         Added new virtual functions to AccessibilityObject.h and removed
    12089         explicit references to AccessibilityRenderObject from GTK code.
    12090 
    12091         * accessibility/AccessibilityObject.h:
    12092         (WebCore::AccessibilityObject::renderer): New virtual method,
    12093         returning 0 by default. Overriden by AccessibilityRenderObject.
    12094         (WebCore::AccessibilityObject::correspondingLabelForControlElement):
    12095         New virtual method, returning 0 by default. It complements the
    12096         already present method correspondingControlForLabelElement().
    12097 
    12098         * accessibility/AccessibilityRenderObject.h:
    12099         (WebCore::AccessibilityRenderObject::renderer): Made virtual.
    12100 
    12101         * accessibility/gtk/AXObjectCacheAtk.cpp:
    12102         (WebCore::emitTextChanged): Reference  AccessibilityObject,
    12103         instead of AccessibilityRenderObject.
    12104         (WebCore::AXObjectCache::nodeTextChangePlatformNotification):
    12105         Ditto.
    12106 
    12107         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
    12108         (webkit_accessible_get_name): Do not reference
    12109         AccessibilityRenderObject.
    12110         (webkit_accessible_get_description): Ditto.
    12111         (setAtkRelationSetFromCoreObject): Ditto.
    12112         (optionFromList): Ditto.
    12113         (optionFromSelection): Ditto.
    12114         (webkit_accessible_selection_clear_selection): Ditto.
    12115         (webkit_accessible_selection_get_selection_count): Ditto.
    12116         (webkit_accessible_selection_select_all_selection): Ditto.
    12117         (textForObject): Ditto.
    12118         (webkit_accessible_text_get_text): Ditto.
    12119         (getPangoLayoutForAtk): Ditto.
    12120         (webkit_accessible_text_get_caret_offset): Ditto.
    12121         (baselinePositionForRenderObject): Ditto.
    12122         (getAttributeSetForAccessibilityObject): Ditto.
    12123         (accessibilityObjectLength): Ditto.
    12124         (getSelectionOffsetsForObject): Ditto.
    12125         (webkit_accessible_text_set_selection): Ditto.
    12126         (webkit_accessible_text_set_caret_offset): Ditto.
    12127         (webkit_accessible_table_get_caption): Ditto.
    12128         (getInterfaceMaskFromObject): Ditto.
    12129 
    12130         * accessibility/gtk/WebKitAccessibleHyperlink.cpp:
    12131         (getRangeLengthForObject): Ditto.
    12132 
    12133         Removed unused renderer() method from AccessibilityMenuList.
    12134 
    12135         * accessibility/AccessibilityMenuList.h: Removed unused method.
    12136         * accessibility/AccessibilityMenuList.cpp: Removed unused method.
    12137 
    12138 2011-04-06  Alexander Pavlov  <apavlov@chromium.org>
    12139 
    12140         Reviewed by Pavel Feldman.
    12141 
    12142         Web Inspector: Javascipt warning link expand and overlap with icons in js console
    12143         https://bugs.webkit.org/show_bug.cgi?id=57939
    12144 
    12145         * inspector/front-end/inspector.js:
    12146         (WebInspector.linkifyURLAsNode):
    12147 
    12148 2011-04-06  Alexander Pavlov  <apavlov@chromium.org>
    12149 
    12150         Reviewed by Pavel Feldman.
    12151 
    12152         Web Inspector: Beautify parameter names in Inspector.json (CSS domain)
    12153         https://bugs.webkit.org/show_bug.cgi?id=57931
    12154 
    12155         * inspector/Inspector.json:
    12156 
    12157 2011-04-06  Jia Pu  <jpu@apple.com>
    12158 
    12159         Reviewed by Darin Adler.
    12160 
    12161         [Mac] WebCore need to notify AppKit spell checker after user has modified autocorrected text.
    12162         https://bugs.webkit.org/show_bug.cgi?id=57665
    12163         <rdar://problem/7350477>
    12164 
    12165         We need to track how user modified an autocorrected word. If he changed it back to original
    12166         text, we want to record AutocorrectionReverted response. And if he changed it to something
    12167         else, we want to record AutocorrectionEdited response.
    12168 
    12169         To achieve this, we need to distringuish between text replacement caused by autocorrection
    12170         from that due to other causes, such as reversion, text substitution, etc. So we added a new
    12171         marker type "Autocorrected". We also need to be able to check for correction, even when we
    12172         don't intend to actually carry out replacement. For this, we introduced a new TextCheckingOption
    12173         value, "CheckForCorrection".
    12174 
    12175         We also added DocumentMarkerController::markersInRange() to retrieve a vector of markers in
    12176         specified range, and of specified type.
    12177 
    12178         * dom/DocumentMarker.h:
    12179         * dom/DocumentMarkerController.cpp:
    12180         (WebCore::DocumentMarkerController::markersInRange):
    12181         (WebCore::DocumentMarkerController::hasMarkers):
    12182         * dom/DocumentMarkerController.h:
    12183         * editing/Editor.cpp:
    12184         (WebCore::markerTypesForAutocorrection):
    12185         (WebCore::markersHaveIdenticalDescription):
    12186         (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
    12187         (WebCore::Editor::recordSpellcheckerResponseForModifiedCorrection):
    12188         (WebCore::Editor::changeBackToReplacedString):
    12189         (WebCore::Editor::markMisspellingsAndBadGrammar):
    12190         (WebCore::Editor::applyCorrectionPanelInfo):
    12191         (WebCore::Editor::unappliedSpellCorrection):
    12192         (WebCore::Editor::textCheckingTypeMaskFor):
    12193         * editing/Editor.h:
    12194         * editing/SpellingCorrectionCommand.cpp:
    12195         (WebCore::SpellingCorrectionCommand::doApply):
    12196 
    12197 2011-04-06  Sheriff Bot  <webkit.review.bot@gmail.com>
    12198 
    12199         Unreviewed, rolling out r83045.
    12200         http://trac.webkit.org/changeset/83045
    12201         https://bugs.webkit.org/show_bug.cgi?id=57953
    12202 
    12203         Broke win layout tests (Requested by podivilov on #webkit).
    12204 
    12205         * GNUmakefile.am:
    12206         * inspector/front-end/DebuggerPresentationModel.js:
    12207         (WebInspector.DebuggerPresentationModel.prototype._addScript):
    12208         (WebInspector.DebuggerPresentationModel.prototype.toggleFormatSourceFiles):
    12209 
    12210 2011-04-06  Ryosuke Niwa  <rniwa@webkit.org>
    12211 
    12212         Moved the declaration of positionNewFloatOnLine in RenderBlock.h after r83042.
    12213 
    12214         * rendering/RenderBlock.h:
    12215 
    12216 2011-03-27  Diego Gonzalez  <diegohcg@webkit.org>
    12217 
    12218         Reviewed by Kenneth Rohde Christiansen.
    12219 
    12220         [Qt] Re-draw the <input> fields for Qt Mobile Theme to do not override elements already styled.
    12221         https://bugs.webkit.org/show_bug.cgi?id=57007
    12222 
    12223         * CodeGenerators.pri:
    12224         * css/themeQtMobile.css: Removed.
    12225         * platform/qt/QtMobileWebStyle.cpp:
    12226         (drawRectangularControlBackground):
    12227         (QtMobileWebStyle::drawPrimitive):
    12228         (QtMobileWebStyle::drawComplexControl):
    12229         * platform/qt/QtMobileWebStyle.h:
    12230         * platform/qt/RenderThemeQt.cpp:
    12231         (WebCore::RenderThemeQt::isControlStyled):
    12232         (WebCore::RenderThemeQt::paintTextField):
    12233 
    12234 2011-04-06  Jia Pu  <jpu@apple.com>
    12235 
    12236         Reviewed by Darin Adler.
    12237 
    12238         [Mac] When autocorrection occurs without showing correction panel, WebCore need to post accessibility notification.
    12239         https://bugs.webkit.org/show_bug.cgi?id=57800
    12240         <rdar://problem/9218223>
    12241 
    12242         Defined a new accessibility notification type, AXAutocorrectionOccured. Editor::markAllMisspellingsAndBadGrammarInRanges()
    12243         now posts said notification when any autocorrection or text replacement (e.g. replacing "(c)" with copyright mark) takes place.
    12244 
    12245         * accessibility/AXObjectCache.h:
    12246         * accessibility/chromium/AXObjectCacheChromium.cpp:
    12247         (WebCore::AXObjectCache::postPlatformNotification):
    12248         * accessibility/mac/AXObjectCacheMac.mm:
    12249         (WebCore::AXObjectCache::postPlatformNotification):
    12250         * editing/Editor.cpp:
    12251         (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
    12252 
    12253 2011-04-06  Martin Robinson  <mrobinson@igalia.com>
    12254 
    12255         Build fix for debug Cairo builds.
    12256 
    12257         * platform/graphics/cairo/PlatformContextCairo.cpp:
    12258         (WebCore::PlatformContextCairo::pushImageMask): Update the reference to m_maskInformation.
    12259 
    12260 2011-04-06  Diego Gonzalez  <diegohcg@webkit.org>
    12261 
    12262         Reviewed by Antonio Gomes.
    12263 
    12264         [Qt] Style fix for QtMobileWebStyle.h
    12265         https://bugs.webkit.org/show_bug.cgi?id=57708
    12266 
    12267         * platform/qt/QtMobileWebStyle.h:
    12268 
    12269 2011-04-06  Andras Becsi  <abecsi@webkit.org>
    12270 
    12271         Reviewed by Darin Adler.
    12272 
    12273         Invalid color #{predefined colorName} is accepted by the CSS parser.
    12274         https://bugs.webkit.org/show_bug.cgi?id=15360
    12275 
    12276         Test: fast/css/invalid-predefined-color.html
    12277 
    12278         * css/CSSGrammar.y: Remove superfluous hexcolor production.
    12279         * css/tokenizer.flex: A hexadecimal number should consist of [a-fA-F0-9] values ({h}).
    12280 
    12281 2011-03-30  Pavel Podivilov  <podivilov@chromium.org>
    12282 
    12283         Reviewed by Pavel Feldman.
    12284 
    12285         Web Inspector: add test for script formatter worker.
    12286         https://bugs.webkit.org/show_bug.cgi?id=57447
    12287 
    12288         Test: inspector/debugger/script-formatter.html
    12289 
    12290         * GNUmakefile.am:
    12291         * inspector/front-end/DebuggerPresentationModel.js:
    12292         (WebInspector.DebuggerPresentationModel):
    12293         (WebInspector.DebuggerPresentationModel.prototype.toggleFormatSourceFiles):
    12294 
    12295 2011-04-06  Martin Robinson  <mrobinson@igalia.com>
    12296 
    12297         Reviewed by Xan Lopez.
    12298 
    12299         [Cairo] Hide the details of image masking in PlatformContextCairo
    12300         https://bugs.webkit.org/show_bug.cgi?id=57878
    12301 
    12302         No new tests. This is just a refactor.
    12303 
    12304         * platform/graphics/GraphicsContext.h:
    12305         * platform/graphics/cairo/GraphicsContextCairo.cpp:
    12306         (WebCore::GraphicsContext::savePlatformState): Call into PlatformContextCairo now to
    12307         do the actual cairo_save. Remove information about image masking.
    12308         (WebCore::GraphicsContext::restorePlatformState): Call into PlatformContextCairo now to
    12309         do the actual cairo_restore. Remove information about image masking.
    12310         * platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h:
    12311         * platform/graphics/cairo/ImageBufferCairo.cpp:
    12312         (WebCore::ImageBuffer::clip): Use PlatformContextCairo here now.
    12313         * platform/graphics/cairo/PlatformContextCairo.cpp:
    12314         (WebCore::PlatformContextCairo::restore): Added.
    12315         (WebCore::PlatformContextCairo::save): Added.
    12316         (WebCore::PlatformContextCairo::pushImageMask): Added.
    12317         * platform/graphics/cairo/PlatformContextCairo.h:
    12318         (WebCore::ImageMaskInformation::update): Moved from GraphicsContextPlatformPrivateCairo.h.
    12319         (WebCore::ImageMaskInformation::isValid): Ditto.
    12320         (WebCore::ImageMaskInformation::maskSurface): Ditto.
    12321         (WebCore::ImageMaskInformation::maskRect): Ditto.
    12322 
    12323 2011-04-02  Diego Gonzalez  <diegohcg@webkit.org>
    12324 
    12325         Reviewed by Csaba Osztrogonác.
    12326 
    12327         [Qt] Radio buttons are showing wrong with mobile theme
    12328         https://bugs.webkit.org/show_bug.cgi?id=57706
    12329 
    12330         * platform/qt/QtMobileWebStyle.cpp:
    12331         (QtMobileWebStyle::drawRadio):
    12332 
    12333 2011-04-06  Ryosuke Niwa  <rniwa@webkit.org>
    12334 
    12335         Reviewed by Eric Seidel.
    12336 
    12337         Move RenderBlock::positionNewFloatOnLine to RenderBlockLineLayout.cpp
    12338         https://bugs.webkit.org/show_bug.cgi?id=57943
    12339 
    12340         * rendering/RenderBlock.cpp: Removed positionNewFloatOnLine.
    12341         * rendering/RenderBlockLineLayout.cpp:
    12342         (WebCore::RenderBlock::positionNewFloatOnLine): Moved from RenderBlock.cpp
    12343 
    12344 2011-04-05  Diego Gonzalez  <diegohcg@webkit.org>
    12345 
    12346         Buildfix after r82125.
    12347 
    12348         [Qt] QtWebKit will not compile with QT_ASCII_CAST_WARNINGS enabled
    12349         https://bugs.webkit.org/show_bug.cgi?id=57087
    12350 
    12351         * platform/qt/QtMobileWebStyle.cpp:
    12352         (QtMobileWebStyle::findChecker):
    12353         (QtMobileWebStyle::findRadio):
    12354         (QtMobileWebStyle::findComboButton):
    12355 
    12356 2011-04-06  Pavel Podivilov  <podivilov@chromium.org>
    12357 
    12358         Reviewed by Yury Semikhatsky.
    12359 
    12360         Web Inspector: inline script imports in ScriptFormatterWorker.js so it works in Safari release.
    12361         https://bugs.webkit.org/show_bug.cgi?id=57641
    12362 
    12363         * WebCore.xcodeproj/project.pbxproj:
    12364         * gyp/streamline-inspector-source.sh:
    12365         * inspector/combine-javascript-resources.pl: Renamed from Source/WebCore/combine-javascript-resources.
    12366         * inspector/inline-javascript-imports.py: Added.
    12367 
    12368 2011-04-06  Ryosuke Niwa  <rniwa@webkit.org>
    12369 
    12370         Reviewed by Eric Seidel.
    12371 
    12372         REGRESSION (r46914, r48764): When typing in Mail, line wrapping frequently occurs in the middle of words
    12373         https://bugs.webkit.org/show_bug.cgi?id=57872
    12374 
    12375         r46914 initially introduced a regression by replacing calls to styleAtPosition by editingStyleAtPosition
    12376         because editingStyleAtPosition did not avoid tab span to obtain the computed style unlike styleAtPosition.
    12377 
    12378         r46914 also introduced a regression by cloning hierarchy under new block at the insertion position without
    12379         avoiding the tab span.
    12380 
    12381         Fixed the both regressions by avoiding tab spans when computing the editing style and when cloning hierarchy.
    12382 
    12383         Test: editing/inserting/insert-paragraph-separator-tab-span.html
    12384 
    12385         * editing/EditingStyle.cpp:
    12386         (WebCore::EditingStyle::init): Always avoid a tab span when computing the editing style.
    12387         * editing/InsertParagraphSeparatorCommand.cpp:
    12388         (WebCore::InsertParagraphSeparatorCommand::doApply): Avoid cloning tab spans and inserting a paragraph
    12389         separator into a paragraph separator.
    12390 
    12391 2011-04-06  Levi Weintraub  <leviw@chromium.org>
    12392 
    12393         Reviewed by Ryosuke Niwa.
    12394 
    12395         Add member functions for determining line/paragraph separation to InlineIterator
    12396         https://bugs.webkit.org/show_bug.cgi?id=57938
    12397 
    12398         Adding atTextParagraphSeparator and atParagraphSeparator inline convenience functions to
    12399         InlineIterator, where it makes far more sense for them to be. Also moving
    12400         shouldPreserveNewline to RenderObject and renaming it preservesNewline.
    12401 
    12402         No new tests as this provides no new functionality.
    12403 
    12404         * rendering/InlineIterator.h:
    12405         (WebCore::InlineIterator::atTextParagraphSeparator):
    12406         (WebCore::InlineIterator::atParagraphSeparator):
    12407         * rendering/RenderBlockLineLayout.cpp:
    12408         (WebCore::RenderBlock::requiresLineBox):
    12409         (WebCore::RenderBlock::findNextLineBreak):
    12410         * rendering/RenderObject.h:
    12411         (WebCore::RenderObject::preservesNewline):
    12412 
    12413 2011-04-05  Alexander Pavlov  <apavlov@chromium.org>
    12414 
    12415         Reviewed by Pavel Feldman.
    12416 
    12417         Web Inspector: Range insertNode function does not update content in the inspector
    12418         https://bugs.webkit.org/show_bug.cgi?id=57829
    12419 
    12420         * inspector/InspectorDOMAgent.cpp:
    12421         (WebCore::InspectorDOMAgent::pushChildNodesToFrontend):
    12422         (WebCore::InspectorDOMAgent::buildArrayForContainerChildren):
    12423 
    12424 2011-04-06  Alejandro G. Castro  <alex@igalia.com>
    12425 
    12426         Fix GTK3 compilation after r82962.
    12427 
    12428         * platform/gtk/RenderThemeGtk3.cpp:
    12429         (WebCore::paintToggle):
    12430         (WebCore::renderButton):
    12431         (WebCore::RenderThemeGtk::paintMenuList):
    12432         (WebCore::RenderThemeGtk::paintTextField):
    12433         (WebCore::RenderThemeGtk::paintSliderTrack):
    12434         (WebCore::RenderThemeGtk::paintSliderThumb):
    12435         (WebCore::RenderThemeGtk::paintProgressBar):
    12436         (WebCore::paintSpinArrowButton):
    12437         * platform/gtk/ScrollbarThemeGtk3.cpp:
    12438         (WebCore::ScrollbarThemeGtk::paintTrackBackground):
    12439         (WebCore::ScrollbarThemeGtk::paintScrollbarBackground):
    12440         (WebCore::ScrollbarThemeGtk::paintThumb):
    12441         (WebCore::ScrollbarThemeGtk::paintButton):
    12442 
    12443 2011-04-06  Andrey Kosyakov  <caseq@chromium.org>
    12444 
    12445         Reviewed by Yury Semikhatsky.
    12446 
    12447         Web Inspector: [Extensions API] remove inspectedPage.* events
    12448         https://bugs.webkit.org/show_bug.cgi?id=57763
    12449 
    12450         - Removed webInspector.inspectedPage.* events
    12451         - moved onNavigated to webInspector.resources
    12452 
    12453         * inspector/front-end/ExtensionAPI.js:
    12454         (WebInspector.injectedExtensionAPI):
    12455         (WebInspector.injectedExtensionAPI.InspectedWindow):
    12456         * inspector/front-end/ExtensionAPISchema.json:
    12457         * inspector/front-end/ExtensionServer.js:
    12458         (WebInspector.ExtensionServer.prototype.notifyInspectedURLChanged):
    12459         * inspector/front-end/inspector.js:
    12460         (WebInspector.domContentEventFired):
    12461         (WebInspector.loadEventFired):
    12462         (WebInspector.inspectedURLChanged):
    12463 
    12464 2011-04-06  Joseph Pecoraro  <joepeck@webkit.org>
    12465 
    12466         Reviewed by Antti Koivisto.
    12467 
    12468         Add <head> to the simpleUserAgentStyleSheet
    12469         https://bugs.webkit.org/show_bug.cgi?id=57915
    12470 
    12471         * css/CSSStyleSelector.cpp:
    12472         (WebCore::elementCanUseSimpleDefaultStyle): add head to the
    12473         simple stylesheet, display:none.
    12474 
    12475 2011-04-05  Mikhail Naganov  <mnaganov@chromium.org>
    12476 
    12477         Reviewed by Pavel Feldman.
    12478 
    12479         Web Inspector: [Chromium] Add layout test for Summary view of detailed heap snapshots.
    12480         https://bugs.webkit.org/show_bug.cgi?id=57856
    12481 
    12482         Test: inspector/profiler/detailed-heapshots-summary.html
    12483 
    12484         * inspector/front-end/DataGrid.js:
    12485         (WebInspector.DataGrid):
    12486         * inspector/front-end/DetailedHeapshotGridNodes.js:
    12487         (WebInspector.HeapSnapshotGridNode.prototype._populate.doPopulate):
    12488         (WebInspector.HeapSnapshotGridNode.prototype._populate):
    12489         (WebInspector.HeapSnapshotGridNode.prototype.populateChildren):
    12490         (WebInspector.HeapSnapshotGridNode.prototype.sort.doSort):
    12491         (WebInspector.HeapSnapshotGridNode.prototype.sort):
    12492         (WebInspector.HeapSnapshotDiffNode.prototype.populateChildren):
    12493         * inspector/front-end/DetailedHeapshotView.js:
    12494         (WebInspector.HeapSnapshotSortableDataGrid.prototype.sortingChanged):
    12495         * inspector/front-end/ProfilesPanel.js:
    12496         (WebInspector.ProfilesPanel.prototype._finishHeapSnapshot.doParse):
    12497         (WebInspector.ProfilesPanel.prototype._finishHeapSnapshot):
    12498 
    12499 2011-04-06  Anders Bakken  <agbakken@gmail.com>
    12500 
    12501         Reviewed by David Levin.
    12502 
    12503         [Qt] SmartReplaceQt.cpp has coding-style errors
    12504         https://bugs.webkit.org/show_bug.cgi?id=40261
    12505 
    12506         This patch does not require new test cases.
    12507 
    12508         * editing/qt/SmartReplaceQt.cpp:
    12509         (WebCore::isCharacterSmartReplaceExempt):
    12510 
    12511 2011-04-06  Naoki Takano  <takano.naoki@gmail.com>
    12512 
    12513         Reviewed by Ryosuke Niwa.
    12514 
    12515         REGRESSION(r81328): Null pointer crash in canAppendNewLineFeed when selection isn't inside an editable element
    12516         https://bugs.webkit.org/show_bug.cgi?id=57755
    12517 
    12518         Test: editing/execCommand/insert-line-break-onload.html
    12519 
    12520         * editing/TypingCommand.cpp:
    12521         (WebCore::canAppendNewLineFeed): Added null pointer check for rootEditableElement().
    12522 
    12523 2011-04-05  Antti Koivisto  <antti@apple.com>
    12524 
    12525         Reviewed by Cameron Zwarich.
    12526 
    12527         Avoid calling currentTime() from FrameView::adjustedDeferredRepaintDelay() when repaints are deferred
    12528         https://bugs.webkit.org/show_bug.cgi?id=57914
    12529 
    12530         Don't call adjustedDeferredRepaintDelay unnecessarily.
    12531 
    12532         * page/FrameView.cpp:
    12533         (WebCore::FrameView::repaintContentRectangle):
    12534         (WebCore::FrameView::adjustedDeferredRepaintDelay):
    12535 
    12536 2011-04-05  Steve VanDeBogart  <vandebo@chromium.org>
    12537 
    12538         Reviewed by David Levin.
    12539 
    12540         Update call to SkAdvancedTypefaceMetrics to new API.
    12541         https://bugs.webkit.org/show_bug.cgi?id=57887
    12542 
    12543         * platform/graphics/chromium/FontPlatformDataLinux.cpp:
    12544         (WebCore::FontPlatformData::emSizeInFontUnits):
    12545 
    12546 2011-04-05  Alexey Proskuryakov  <ap@apple.com>
    12547 
    12548         Reviewed by Darin Adler.
    12549 
    12550         Rename event dispatching functions after form event removal
    12551         https://bugs.webkit.org/show_bug.cgi?id=57908
    12552 
    12553         * dom/InputElement.cpp:
    12554         (WebCore::InputElement::setValueFromRenderer):
    12555         * dom/Node.cpp:
    12556         (WebCore::Node::dispatchChangeEvent):
    12557         (WebCore::Node::dispatchInputEvent):
    12558         (WebCore::Node::defaultEventHandler):
    12559         * dom/Node.h:
    12560         * html/HTMLFormControlElement.cpp:
    12561         (WebCore::HTMLFormControlElement::dispatchFormControlChangeEvent):
    12562         (WebCore::HTMLFormControlElement::dispatchFormControlInputEvent):
    12563         (WebCore::HTMLTextFormControlElement::dispatchFormControlChangeEvent):
    12564         Renamed "events" to "event", since there is only one event to dispatch now.
    12565 
    12566 2011-04-05  Anders Bakken  <agbakken@gmail.com>
    12567 
    12568         Reviewed by David Levin.
    12569 
    12570         [Qt] DragControllerQt.cpp has coding-style errors
    12571         https://bugs.webkit.org/show_bug.cgi?id=40258
    12572 
    12573         This patch does not require new test cases.
    12574 
    12575         * page/qt/DragControllerQt.cpp:
    12576         (WebCore::DragController::dragOperation):
    12577 
    12578 2011-04-05  Steve VanDeBogart  <vandebo@chromium.org>
    12579 
    12580         Reviewed by David Levin.
    12581 
    12582         Update deprecated include: platform_canvas_win.h to platform_canvas.h.
    12583         https://bugs.webkit.org/show_bug.cgi?id=57896
    12584 
    12585         * platform/graphics/chromium/FontChromiumWin.cpp:
    12586 
    12587 2011-04-05  Darin Adler  <darin@apple.com>
    12588 
    12589         Try to fix Leopard bots.
    12590 
    12591         * platform/mac/HTMLConverter.mm: Fix #if back the way Alexey seems
    12592         to have intended it.
    12593 
    12594 2011-04-05  Darin Adler  <darin@apple.com>
    12595 
    12596         Try to fix Leopard bots.
    12597 
    12598         * platform/mac/HTMLConverter.mm: Move declarations of new functions
    12599         inside the appropriate #if.
    12600 
    12601 2011-04-05  Adrienne Walker  <enne@google.com>
    12602 
    12603         Reviewed by Tony Chang.
    12604 
    12605         Correctly set color when using skia's fillRoundedRect.
    12606         https://bugs.webkit.org/show_bug.cgi?id=57907
    12607 
    12608         * platform/graphics/skia/GraphicsContextSkia.cpp:
    12609         (WebCore::GraphicsContext::fillRoundedRect):
    12610 
    12611 2011-04-05  Alexey Proskuryakov  <ap@apple.com>
    12612 
    12613         Reviewed by Darin Adler.
    12614 
    12615         Move attributedStringFromRange down to WebCore
    12616         https://bugs.webkit.org/show_bug.cgi?id=57905
    12617 
    12618         No change in behavior, so no new tests.
    12619 
    12620         Also tweaked HTMLConverter to not use methods defined in WebKit.
    12621 
    12622         * WebCore.exp.in:
    12623         * WebCore.xcodeproj/project.pbxproj:
    12624         * platform/mac/HTMLConverter.h:
    12625         * platform/mac/HTMLConverter.mm:
    12626         (-[WebHTMLConverter _newTabForElement:]):
    12627         (-[WebHTMLConverter _addAttachmentForElement:URL:needsParagraph:usePlaceholder:]):
    12628         (+[WebHTMLConverter editingAttributedStringFromRange:]):
    12629         (fileWrapperForURL):
    12630         (fileWrapperForElement):
    12631         * platform/mac/PasteboardMac.mm:
    12632         (WebCore::Pasteboard::writeSelection):
    12633         * platform/mac/WebNSAttributedStringExtras.h: Copied from Source/WebKit/mac/Misc/WebNSAttributedStringExtras.h.
    12634         * platform/mac/WebNSAttributedStringExtras.mm: Copied from Source/WebKit/mac/Misc/WebNSAttributedStringExtras.mm.
    12635         (WebCore::attributedStringByStrippingAttachmentCharacters):
    12636 
    12637 2011-04-05  Simon Fraser  <simon.fraser@apple.com>
    12638 
    12639         Reviewed by Darin Adler.
    12640 
    12641         Rename variables in border drawing code for readability
    12642         https://bugs.webkit.org/show_bug.cgi?id=57894
    12643 
    12644         * rendering/RenderObject.cpp:
    12645         (WebCore::RenderObject::drawLineForBoxSide):
    12646         (WebCore::RenderObject::drawBoxSideFromPath):
    12647         (WebCore::RenderObject::drawArcForBoxSide):
    12648 
    12649 2011-04-05  Antti Koivisto  <antti@apple.com>
    12650 
    12651         Reviewed by Darin Adler.
    12652 
    12653         Defer repaints during style recalc
    12654         https://bugs.webkit.org/show_bug.cgi?id=57886
    12655 
    12656         This reduces the need to do (often expensive) platform surface invalidation.
    12657         We already do this during layout but style recalculation may trigger
    12658         invalidation as well.
    12659    
    12660         * dom/Document.cpp:
    12661         (WebCore::Document::recalcStyle):
    12662 
    12663 2011-04-05  Jer Noble  <jer.noble@apple.com>
    12664 
    12665         Reviewed by Darin Adler.
    12666 
    12667         HTML5 Player Has no Fullscreen Mode
    12668         https://bugs.webkit.org/show_bug.cgi?id=57795
    12669 
    12670         * html/HTMLVideoElement.cpp:
    12671         (WebCore::HTMLVideoElement::supportsFullscreen): Call the new ChromeClient API
    12672             supportsFullScreenForElement() before the old supportsFullScreenForNode() API.
    12673 
    12674 2011-04-05  Vsevolod Vlasov  <vsevik@chromium.org>
    12675 
    12676         Reviewed by Pavel Feldman.
    12677 
    12678         Web Inspector: fix data url's status and timing the network panel.
    12679         https://bugs.webkit.org/show_bug.cgi?id=53066
    12680 
    12681         Added data url support for status of network resources.
    12682 
    12683         * English.lproj/localizedStrings.js:
    12684         * inspector/front-end/NetworkPanel.js:
    12685         (WebInspector.NetworkDataGridNode.prototype._refreshStatusCell):
    12686         * inspector/front-end/Resource.js:
    12687         (WebInspector.Resource.prototype.isDataURL):
    12688 
    12689 2011-04-04  Vitaly Repeshko  <vitalyr@chromium.org>
    12690 
    12691         Reviewed by Adam Barth.
    12692 
    12693         [V8] Keep dirty primitive CSS values alive.
    12694         https://bugs.webkit.org/show_bug.cgi?id=57810
    12695 
    12696         * bindings/v8/V8GCController.cpp:
    12697         (WebCore::GrouperVisitor::visitDOMWrapper):
    12698 
    12699 2011-04-05  Simon Fraser  <simon.fraser@apple.com>
    12700 
    12701         Reviewed by Adele Peterson.
    12702 
    12703         Add a fast path for simple color backgrounds
    12704         https://bugs.webkit.org/show_bug.cgi?id=57773
    12705 
    12706         Add a fast path for drawing simple color backgrounds. It's
    12707         faster to fill a path or rect than it is to set up a clip,
    12708         and then paint the rect.
    12709        
    12710         No visible behavior change so no new tests.
    12711 
    12712         * rendering/RenderBoxModelObject.cpp:
    12713         (WebCore::RenderBoxModelObject::paintFillLayerExtended):
    12714 
    12715 2011-04-05  Patrick Gansterer  <paroga@webkit.org>
    12716 
    12717         Unreviewed EFL build fix for r82962.
    12718 
    12719         * CMakeListsEfl.txt:
    12720 
    12721 2011-04-05  Chris Rogers  <crogers@google.com>
    12722 
    12723         Reviewed by Kenneth Russell.
    12724 
    12725         Add support for offline audio rendering to AudioContext API
    12726         https://bugs.webkit.org/show_bug.cgi?id=57676
    12727 
    12728         No new tests since audio API is not yet implemented.
    12729 
    12730         * DerivedSources.make:
    12731         * WebCore.gypi:
    12732         * WebCore.xcodeproj/project.pbxproj:
    12733         * bindings/js/JSAudioContextCustom.cpp:
    12734         (WebCore::JSAudioContextConstructor::constructJSAudioContext):
    12735         * bindings/js/JSEventCustom.cpp:
    12736         (WebCore::toJS):
    12737         * bindings/js/JSEventTarget.cpp:
    12738         (WebCore::toJS):
    12739         * bindings/v8/V8DOMWrapper.cpp:
    12740         (WebCore::V8DOMWrapper::convertEventTargetToV8Object):
    12741         * bindings/v8/custom/V8AudioContextCustom.cpp:
    12742         (WebCore::V8AudioContext::constructorCallback):
    12743         * bindings/v8/custom/V8EventCustom.cpp:
    12744         (WebCore::toV8):
    12745         * dom/Event.cpp:
    12746         (WebCore::Event::isOfflineAudioCompletionEvent):
    12747         * dom/Event.h:
    12748         * dom/EventTarget.cpp:
    12749         (WebCore::EventTarget::toAudioContext):
    12750         * dom/EventTarget.h:
    12751         * platform/audio/HRTFDatabaseLoader.cpp:
    12752         (WebCore::HRTFDatabaseLoader::waitForLoaderThreadCompletion):
    12753         * platform/audio/HRTFDatabaseLoader.h:
    12754         (WebCore::HRTFDatabaseLoader::loader):
    12755         * webaudio/AudioContext.cpp:
    12756         (WebCore::AudioContext::createOfflineContext):
    12757         (WebCore::AudioContext::AudioContext):
    12758         (WebCore::AudioContext::constructCommon):
    12759         (WebCore::AudioContext::document):
    12760         (WebCore::AudioContext::scriptExecutionContext):
    12761         (WebCore::AudioContext::toAudioContext):
    12762         (WebCore::AudioContext::startRendering):
    12763         (WebCore::AudioContext::fireCompletionEvent):
    12764         * webaudio/AudioContext.h:
    12765         (WebCore::AudioContext::isOfflineContext):
    12766         (WebCore::AudioContext::eventTargetData):
    12767         (WebCore::AudioContext::ensureEventTargetData):
    12768         (WebCore::AudioContext::refEventTarget):
    12769         (WebCore::AudioContext::derefEventTarget):
    12770         * webaudio/AudioContext.idl:
    12771         * webaudio/AudioDestinationNode.cpp:
    12772         (WebCore::AudioDestinationNode::AudioDestinationNode):
    12773         * webaudio/AudioDestinationNode.h:
    12774         (WebCore::AudioDestinationNode::reset):
    12775         (WebCore::AudioDestinationNode::numberOfChannels):
    12776         * webaudio/ConvolverNode.cpp:
    12777         (WebCore::ConvolverNode::setBuffer):
    12778         * webaudio/DefaultAudioDestinationNode.cpp: Added.
    12779         (WebCore::DefaultAudioDestinationNode::DefaultAudioDestinationNode):
    12780         (WebCore::DefaultAudioDestinationNode::~DefaultAudioDestinationNode):
    12781         (WebCore::DefaultAudioDestinationNode::initialize):
    12782         (WebCore::DefaultAudioDestinationNode::uninitialize):
    12783         (WebCore::DefaultAudioDestinationNode::startRendering):
    12784         * webaudio/DefaultAudioDestinationNode.h: Added.
    12785         (WebCore::DefaultAudioDestinationNode::create):
    12786         (WebCore::DefaultAudioDestinationNode::sampleRate):
    12787         * webaudio/OfflineAudioCompletionEvent.cpp: Added.
    12788         (WebCore::OfflineAudioCompletionEvent::create):
    12789         (WebCore::OfflineAudioCompletionEvent::OfflineAudioCompletionEvent):
    12790         (WebCore::OfflineAudioCompletionEvent::~OfflineAudioCompletionEvent):
    12791         (WebCore::OfflineAudioCompletionEvent::isOfflineAudioCompletionEvent):
    12792         * webaudio/OfflineAudioCompletionEvent.h: Added.
    12793         (WebCore::OfflineAudioCompletionEvent::renderedBuffer):
    12794         * webaudio/OfflineAudioCompletionEvent.idl: Added.
    12795         * webaudio/OfflineAudioDestinationNode.cpp: Added.
    12796         (WebCore::OfflineAudioDestinationNode::OfflineAudioDestinationNode):
    12797         (WebCore::OfflineAudioDestinationNode::~OfflineAudioDestinationNode):
    12798         (WebCore::OfflineAudioDestinationNode::initialize):
    12799         (WebCore::OfflineAudioDestinationNode::uninitialize):
    12800         (WebCore::OfflineAudioDestinationNode::startRendering):
    12801         (WebCore::OfflineAudioDestinationNode::renderEntry):
    12802         (WebCore::OfflineAudioDestinationNode::render):
    12803         (WebCore::OfflineAudioDestinationNode::notifyCompleteDispatch):
    12804         (WebCore::OfflineAudioDestinationNode::notifyComplete):
    12805         * webaudio/OfflineAudioDestinationNode.h: Added.
    12806         (WebCore::OfflineAudioDestinationNode::create):
    12807         (WebCore::OfflineAudioDestinationNode::sampleRate):
    12808 
    12809 2011-04-05  Martin Robinson  <mrobinson@igalia.com>
    12810 
    12811         Reviewed by Eric Seidel.
    12812 
    12813         [Cairo] Better separate the concerns of GraphicsContextCairo
    12814         https://bugs.webkit.org/show_bug.cgi?id=55150
    12815 
    12816         Add a PlatformContextCairo which right now stores the cairo_t* for a
    12817         GraphicsContextCairo. Later patches will move logic for tracking ContextShadow
    12818         and image masking layers into this PlatformContextCairo class.
    12819 
    12820         No new tests. This patch is only a code cleanup.
    12821 
    12822         * GNUmakefile.am:
    12823         * platform/graphics/GraphicsContext.h: The platform context is no longer a
    12824         cairo_t, but our new class the PlatformContextCairo.
    12825         * platform/graphics/cairo/ContextShadowCairo.cpp: Updated to reflect new class.j
    12826         * platform/graphics/cairo/FontCairo.cpp: Ditto.
    12827         * platform/graphics/cairo/GradientCairo.cpp: Ditto.
    12828         * platform/graphics/cairo/GraphicsContextCairo.cpp: Mostly mechanical
    12829         changes which now reference platformContext()->cr() to get the cairo_t.
    12830         * platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h: Now hold the
    12831         PlatformContextCairo instead of the cairo_t.
    12832         * platform/graphics/cairo/ImageBufferCairo.cpp: Update to reflect new class.
    12833         * platform/graphics/cairo/ImageCairo.cpp: Ditto.
    12834         * platform/graphics/cairo/PathCairo.cpp: Ditto.
    12835         * platform/graphics/cairo/PlatformContextCairo.cpp: Added.
    12836         * platform/graphics/cairo/PlatformContextCairo.h: Added.
    12837         * platform/graphics/gtk/FontGtk.cpp: Update to reflect new class.
    12838         * platform/graphics/gtk/IconGtk.cpp: Ditto.
    12839         * platform/graphics/win/GraphicsContextCairoWin.cpp: Now fill out
    12840         m_data with a private section containing the platform context instead of
    12841         just a cairo_t.
    12842         * platform/gtk/RenderThemeGtk.cpp: Update to reflect new class.
    12843         * platform/gtk/WidgetRenderingContext.cpp: Ditto.
    12844         (WebCore::WidgetRenderingContext::~WidgetRenderingContext): Ditto.
    12845         * plugins/gtk/PluginViewGtk.cpp: Ditto.
    12846 
    12847 2011-04-05  David Dorwin  <ddorwin@chromium.org>
    12848 
    12849         Reviewed by David Levin.
    12850 
    12851         Fullscreen code assumes all layers use GPU compositing when USE(ACCELERATED_COMPOSITING)
    12852         https://bugs.webkit.org/show_bug.cgi?id=57400
    12853 
    12854         Check whether the full screen renderer layer is being composited by the GPU before assuming that the backing is valid.
    12855         Accelerated compositing may be compiled in but disabled at runtime or for some elements.
    12856 
    12857         Tests: Fullscreen layout tests on Chromium.
    12858 
    12859         * dom/Document.cpp:
    12860         (WebCore::Document::webkitWillEnterFullScreenForElement):
    12861         (WebCore::Document::webkitDidEnterFullScreenForElement):
    12862         (WebCore::Document::webkitWillExitFullScreenForElement):
    12863 
    12864 2011-04-05  Nikolas Zimmermann  <nzimmermann@rim.com>
    12865 
    12866         Reviewed by Dirk Schulze.
    12867 
    12868         Regression: Invalid write in SVGTextLayoutEngine
    12869         https://bugs.webkit.org/show_bug.cgi?id=57721
    12870 
    12871         Properly stop layout if all metrics object refer to zero-width/height characters,
    12872         which can happen for instance when using <text font-size="0">.
    12873 
    12874         Test: svg/text/font-size-null-assertion.svg
    12875 
    12876         * rendering/svg/SVGTextLayoutEngine.cpp:
    12877         (WebCore::SVGTextLayoutEngine::currentLogicalCharacterAttributes):
    12878         (WebCore::SVGTextLayoutEngine::currentLogicalCharacterMetrics):
    12879 
    12880 2011-04-04 MORITA Hajime  <morrita@google.com>
    12881 
    12882         Reviewed by Ryosuke Niwa.
    12883 
    12884         [Refactoring] SpellCheckingResult should be replaced with TextCheckingResult
    12885         https://bugs.webkit.org/show_bug.cgi?id=56085
    12886        
    12887         Removed WebCore::SpellCheckingResult and replaced it with TextCheckingResult.
    12888         This change also added TextCheckerClient::requestCheckingOfString() should have
    12889         TextCheckingTypeMask as a parameter to control text checking type.
    12890 
    12891         * WebCore.exp.in:
    12892         * editing/Editor.cpp:
    12893         (WebCore::Editor::replaceSelectionWithFragment):
    12894         (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
    12895         (WebCore::Editor::textCheckingTypeMaskFor): Extracted from markAllMisspellingsAndBadGrammarInRanges()
    12896         * editing/SpellChecker.cpp:
    12897         (WebCore::SpellChecker::requestCheckingFor): Added a parameter.
    12898         (WebCore::SpellChecker::markAt): Extracted from didCheck(), Added a check for the GrammarDetail object.
    12899         (WebCore::SpellChecker::didCheck):
    12900         * editing/SpellChecker.h:
    12901         * loader/EmptyClients.h:
    12902         (WebCore::EmptyTextCheckerClient::checkTextOfParagraph):
    12903         (WebCore::EmptyTextCheckerClient::requestCheckingOfString):
    12904         * platform/text/TextCheckerClient.h:
    12905 
    12906 2011-04-04  Antti Koivisto  <antti@apple.com>
    12907 
    12908         Reviewed by Sam Weinig.
    12909 
    12910         Print stylesheet on nytimes.com loads too early
    12911         https://bugs.webkit.org/show_bug.cgi?id=57814
    12912 
    12913         Don't load resources with Very Low priority until there are no other resources to
    12914         load for the host (or until document is complete enough that we stop limiting requests).
    12915 
    12916         No tests, this is  difficult to observe reliably with our current testing infrastructure.
    12917         Verified working with Wireshark.
    12918 
    12919         * loader/ResourceLoadScheduler.cpp:
    12920         (WebCore::ResourceLoadScheduler::servePendingRequests):
    12921         (WebCore::ResourceLoadScheduler::HostInformation::limitRequests):
    12922         * loader/ResourceLoadScheduler.h:
    12923 
    12924 2011-04-04  Steve Block  <steveblock@google.com>
    12925 
    12926         Reviewed by Dimitri Glazkov.
    12927 
    12928         JavaInstance should be a pure interface
    12929         https://bugs.webkit.org/show_bug.cgi?id=55383
    12930 
    12931         This patch fixes JavaInstance for V8 only.
    12932 
    12933         It factors out a JavaInstance interface which does not use JNI
    12934         types. This will allow the Java bridge to be used with objects
    12935         that don't use JNI directly. The existing jobject-backed
    12936         implementation is moved to a new JavaInstanceJobject class which
    12937         implements the interface.
    12938 
    12939         No new tests, refactoring only.
    12940 
    12941         * Android.v8bindings.mk:
    12942         * WebCore.gypi:
    12943         * bridge/jni/JobjectWrapper.h:
    12944         * bridge/jni/v8/JNIUtilityPrivate.cpp:
    12945         (JSC::Bindings::jvalueToJavaValue):
    12946         (JSC::Bindings::javaValueToJvalue):
    12947         * bridge/jni/v8/JavaInstanceJobjectV8.cpp:
    12948         (JavaInstanceJobject::JavaInstanceJobject):
    12949         (JavaInstanceJobject::~JavaInstanceJobject):
    12950         (JavaInstanceJobject::begin):
    12951         (JavaInstanceJobject::end):
    12952         (JavaInstanceJobject::getClass):
    12953         (JavaInstanceJobject::invokeMethod):
    12954         (JavaInstanceJobject::getField):
    12955         * bridge/jni/v8/JavaInstanceJobjectV8.h: Copied from Source/WebCore/bridge/jni/v8/JavaInstanceV8.h.
    12956         (JSC::Bindings::JavaInstanceJobject::javaInstance):
    12957         * bridge/jni/v8/JavaInstanceV8.h:
    12958         (JSC::Bindings::JavaInstance::~JavaInstance):
    12959 
    12960 2011-04-05  Dimitri Glazkov  <dglazkov@chromium.org>
    12961 
    12962        Reviewed by Darin Adler.
    12963 
    12964         Move MouseEvent-dispatching logic into MouseEventDispatchMediator.
    12965         https://bugs.webkit.org/show_bug.cgi?id=57639
    12966 
    12967         Refactoring, covered by existing tests.
    12968 
    12969         * dom/EventDispatcher.cpp:
    12970         (WebCore::EventDispatcher::dispatchEvent): Moved useful assertion here
    12971             from dispatchMouseEvent.
    12972         (WebCore::EventDispatcher::adjustRelatedTarget): Converted into a method.
    12973         * dom/EventDispatcher.h: Adjusted decls.
    12974         (WebCore::EventDispatcher::node): Added.
    12975         * dom/MouseEvent.cpp:
    12976         (WebCore::MouseEvent::create): Moved useful assertion here from
    12977             dispatchMouseEvent.
    12978         (WebCore::MouseEventDispatchMediator::MouseEventDispatchMediator): Added.
    12979         (WebCore::MouseEventDispatchMediator::event): Added.
    12980         (WebCore::MouseEventDispatchMediator::dispatchEvent): Added.
    12981         * dom/MouseEvent.h:
    12982         (WebCore::MouseEvent::setRelatedTarget): Added.
    12983         * dom/Node.cpp:
    12984         (WebCore::Node::dispatchMouseEvent): Changed to use MouseEventDispatchMediator.
    12985 
    12986 2011-04-05  Nikolas Zimmermann  <nzimmermann@rim.com>
    12987 
    12988         Reviewed by Adam Roben & Dirk Schulze.
    12989 
    12990         text-tspan-02-b.svg from SVG 1.1 2nd edition fails
    12991         https://bugs.webkit.org/show_bug.cgi?id=57831
    12992 
    12993         We were not spanning rotation values correcty accross text children, which resulted in text-span-02-b.svg misrendering.
    12994         While rewriting the rotation specific code, it came apparent that the LayoutScope concept is flawed in general and
    12995         should be replaced by a global list of x/y/dx/dy/rotate values for the whole text subtree. This makes it much simpler
    12996         to implement the demand that the last rotation value spans the whole scope. A follow-up patch will optimize the
    12997         required memory.
    12998 
    12999         Example:
    13000         <text rotate="10,20,999,50">AB<tspan rotate="30">CDE</>FGH</text>
    13001    
    13002         text:   A  B  C  D  E  F  G  H
    13003         rotate="10 20 30 30 30 50 50 50"
    13004 
    13005         Tests: svg/W3C-SVG-1.1-SE/text-tspan-02-b.svg
    13006                svg/text/text-midpoint-split-bug.svg
    13007 
    13008         * rendering/RenderBlockLineLayout.cpp:     Move SVG specific midpoint creation after the non-SVG specific code that may mutate the midpoints. otherwhise we end up in an
    13009         (WebCore::RenderBlock::findNextLineBreak): inconsistent state. We were intereferring with the ignoreSpaces code resulting in wrong truncations - covered by new testcase.
    13010         * rendering/svg/SVGTextLayoutAttributes.cpp:
    13011         (WebCore::SVGTextLayoutAttributes::reserveCapacity): Also reserveCapacity for the text metrics list (minor optimization).
    13012         (WebCore::SVGTextLayoutAttributes::fillWithEmptyValue): Added helper function for use from SVGTextLayoutAttributesBuilder.
    13013         (WebCore::SVGTextLayoutAttributes::appendEmptyValue): Ditto.
    13014         (WebCore::safeValueAtPosition): Ditto. (Inline helper)
    13015         (WebCore::SVGTextLayoutAttributes::appendSingleValueFromAttribute): Ditto.
    13016         * rendering/svg/SVGTextLayoutAttributes.h: Ditto.
    13017         * rendering/svg/SVGTextLayoutAttributesBuilder.cpp: Rewrite code, see explaination above.
    13018         (WebCore::SVGTextLayoutAttributesBuilder::buildLayoutAttributesForTextSubtree):
    13019         (WebCore::processRenderSVGInlineText):
    13020         (WebCore::SVGTextLayoutAttributesBuilder::collectTextPositioningElements):
    13021         (WebCore::SVGTextLayoutAttributesBuilder::buildLayoutAttributesForAllCharacters):
    13022         (WebCore::SVGTextLayoutAttributesBuilder::propagateLayoutAttributes):
    13023         (WebCore::fillListAtPosition):
    13024         (WebCore::SVGTextLayoutAttributesBuilder::fillAttributesAtPosition):
    13025         * rendering/svg/SVGTextLayoutAttributesBuilder.h:
    13026         (WebCore::SVGTextLayoutAttributesBuilder::TextPosition::TextPosition):
    13027 
    13028 2011-04-05  Levi Weintraub  <leviw@chromium.org>
    13029 
    13030         Reviewed by Ryosuke Niwa.
    13031 
    13032         DeleteButtonController is given invalid style
    13033         https://bugs.webkit.org/show_bug.cgi?id=57853
    13034 
    13035         DeleteButtonController was assigned an invalid style that can lead to assertions
    13036         in debug builds. This matches up the code with its intent.
    13037 
    13038         No new tests as this changes nothing on release builds.
    13039 
    13040         * editing/DeleteButtonController.cpp:
    13041         (WebCore::DeleteButtonController::createDeletionUI):
    13042 
    13043 2011-04-05  Anders Bakken  <agbakken@gmail.com>
    13044 
    13045         Reviewed by Laszlo Gombos.
    13046 
    13047         [Qt] EditorQt.cpp has coding-style errors
    13048         https://bugs.webkit.org/show_bug.cgi?id=40260
    13049        
    13050         This patch does not require new test cases.
    13051 
    13052         * editing/qt/EditorQt.cpp:
    13053 
    13054 2011-04-05  Pavel Podivilov  <podivilov@chromium.org>
    13055 
    13056         Reviewed by Pavel Feldman.
    13057 
    13058         Web Inspector: go to line dialog highlights wrong line.
    13059         https://bugs.webkit.org/show_bug.cgi?id=57845
    13060 
    13061         * inspector/front-end/GoToLineDialog.js:
    13062         (WebInspector.GoToLineDialog.prototype._highlightSelectedLine):
    13063 
    13064 2011-04-05  Luke Macpherson   <macpherson@chromium.org>
    13065 
    13066         Reviewed by Dimitri Glazkov.
    13067 
    13068         Implement CSSPropertyDirection in CSSStyleApplyProperty
    13069         https://bugs.webkit.org/show_bug.cgi?id=57608
    13070 
    13071         No new tests required as no new functionality introduced.
    13072 
    13073         * css/CSSStyleApplyProperty.cpp:
    13074         Add implementation class for CSSPropertyDirection
    13075         * css/CSSStyleSelector.cpp:
    13076         Remove existing implementation for CSSPropertyDirection
    13077         * css/CSSStyleSelector.h:
    13078         Add getter for element
    13079 
    13080 2011-04-05  Leandro Gracia Gil  <leandrogracia@chromium.org>
    13081 
    13082         Reviewed by Steve Block.
    13083 
    13084         Factoring the creation of 'FunctionOnly' callbacks in V8.
    13085         https://bugs.webkit.org/show_bug.cgi?id=57760
    13086 
    13087         This method creates a template from an existing functionality in V8GeolocationCustom.cpp
    13088         to V8Utilities to be used by the custom bindings of both Geolocation and the Media Stream API.
    13089 
    13090         No new tests. LayoutTests/fast/dom/Geolocation/argument-types.html
    13091 
    13092         * bindings/v8/V8Utilities.cpp:
    13093         (WebCore::throwTypeMismatchException):
    13094         * bindings/v8/V8Utilities.h:
    13095         (WebCore::createFunctionOnlyCallback):
    13096         * bindings/v8/custom/V8GeolocationCustom.cpp:
    13097         (WebCore::V8Geolocation::getCurrentPositionCallback):
    13098         (WebCore::V8Geolocation::watchPositionCallback):
    13099 
    13100 2011-04-05  Nikolas Zimmermann  <nzimmermann@rim.com>
    13101 
    13102         Reviewed by Andreas Kling.
    13103 
    13104         Switch from Vector<UChar> to StringBuilder in bindings/
    13105         https://bugs.webkit.org/show_bug.cgi?id=57838
    13106 
    13107         * bindings/js/JSCSSStyleDeclarationCustom.cpp:
    13108         (WebCore::cssPropertyName):
    13109         * bindings/v8/custom/V8CSSStyleDeclarationCustom.cpp:
    13110         (WebCore::cssPropertyInfo):
    13111 
    13112 2011-04-05  Nikolas Zimmermann  <nzimmermann@rim.com>
    13113 
    13114         Reviewed by Andreas Kling.
    13115 
    13116         Switch from Vector<UChar> to StringBuilder in accessibility/
    13117         https://bugs.webkit.org/show_bug.cgi?id=57837
    13118 
    13119         * accessibility/AccessibilityObject.cpp:
    13120         (WebCore::AccessibilityObject::listMarkerTextForNodeAndPosition):
    13121         (WebCore::AccessibilityObject::stringForVisiblePositionRange):
    13122         * accessibility/AccessibilityRenderObject.cpp:
    13123         (WebCore::AccessibilityRenderObject::accessibilityDescriptionForElements):
    13124 
    13125 2011-04-05  Andrey Adaikin  <aandrey@google.com>
    13126 
    13127         Reviewed by Pavel Feldman.
    13128 
    13129         Web Inspector: Scripts with syntax errors are cropped in the UI
    13130         https://bugs.webkit.org/show_bug.cgi?id=57828
    13131 
    13132         * inspector/front-end/SourceFrame.js:
    13133         (WebInspector.SourceFrame.prototype.addMessageToSource):
    13134 
    13135 2011-04-05  Alexey Proskuryakov  <ap@apple.com>
    13136 
    13137         Reviewed by Darin Adler.
    13138 
    13139         Remove onformchange and onforminput events/event handlers
    13140         https://bugs.webkit.org/show_bug.cgi?id=55755
    13141         <rdar://problem/9087969>
    13142 
    13143         Covered by existing tests.
    13144 
    13145         * dom/Document.h:
    13146         * dom/Document.idl:
    13147         * dom/Element.h:
    13148         * dom/Element.idl:
    13149         * dom/Event.cpp:
    13150         (WebCore::Event::fromUserGesture):
    13151         * dom/EventNames.h:
    13152         * html/FormAssociatedElement.h:
    13153         * html/HTMLAttributeNames.in:
    13154         * html/HTMLElement.cpp:
    13155         (WebCore::HTMLElement::parseMappedAttribute):
    13156         * html/HTMLElement.h:
    13157         * html/HTMLFormControlElement.h:
    13158         (WebCore::HTMLFormControlElement::isEnumeratable):
    13159         * html/HTMLFormElement.cpp:
    13160         * html/HTMLFormElement.h:
    13161         * html/HTMLFormElement.idl:
    13162         * html/HTMLInputElement.h:
    13163         * html/HTMLKeygenElement.h:
    13164         * html/HTMLObjectElement.h:
    13165         (WebCore::HTMLObjectElement::isEnumeratable):
    13166         * html/HTMLOutputElement.h:
    13167         (WebCore::HTMLOutputElement::isEnumeratable):
    13168         * html/HTMLSelectElement.h:
    13169         (WebCore::HTMLSelectElement::isEnumeratable):
    13170         * html/HTMLTextAreaElement.h:
    13171         (WebCore::HTMLTextAreaElement::isEnumeratable):
    13172         * page/DOMWindow.h:
    13173         * page/DOMWindow.idl:
    13174 
    13175 2011-04-05  Sheriff Bot  <webkit.review.bot@gmail.com>
    13176 
    13177         Unreviewed, rolling out r82915.
    13178         http://trac.webkit.org/changeset/82915
    13179         https://bugs.webkit.org/show_bug.cgi?id=57825
    13180 
    13181         Broke 270 chromium tests on win and linux (Requested by
    13182         podivilov on #webkit).
    13183 
    13184         * rendering/RenderThemeChromiumSkia.cpp:
    13185         (WebCore::RenderThemeChromiumSkia::defaultGUIFont):
    13186 
    13187 2011-04-05  James Simonsen  <simonjam@chromium.org>
    13188 
    13189         Reviewed by Adam Barth.
    13190 
    13191         Stop preload scanning CSS when it&apos;s impossible to have another @import.
    13192         https://bugs.webkit.org/show_bug.cgi?id=57664
    13193 
    13194         @import statements are only allowed at the beginning of a CSS file.
    13195         Only comments or @charset can precede them. After seeing anything else,
    13196         abort early so that we:
    13197         - don't have to parse the rest of the CSS.
    13198         - don't preload something that the regular parser won't load.
    13199 
    13200         * html/parser/CSSPreloadScanner.cpp:
    13201         (WebCore::CSSPreloadScanner::scan): Terminate early if we're done with @imports.
    13202         (WebCore::CSSPreloadScanner::tokenize): Terminate early if we see a {} or any style rule.
    13203         (WebCore::CSSPreloadScanner::emitRule): Only @charset or @import are allowed to precede @import.
    13204         * html/parser/CSSPreloadScanner.h: Add DoneParsingImportRules state.
    13205 
    13206 2011-04-05  Takayoshi Kochi <kochi@chromium.org>
    13207 
    13208         Reviewed by Tony Chang.
    13209 
    13210         [chromium] Specify 'sans-serif' as a fallback to the default UI font
    13211         'Arial' for non-latin UI scripts (e.g. CJK).
    13212         https://bugs.webkit.org/show_bug.cgi?id=55035
    13213 
    13214         No new tests, because it may still fail if the system is not configured
    13215         properly to resolve 'sans-serif' to existing real font file, thus even
    13216         manual test is hard to systematically tell it is working properly.
    13217 
    13218         * rendering/RenderThemeChromiumSkia.cpp
    13219 
    13220 2011-04-05  Kent Tamura  <tkent@chromium.org>
    13221 
    13222         Reviewed by Dimitri Glazkov.
    13223 
    13224         Setting defaultValue on a textarea with a modified value still clobbers the value
    13225         https://bugs.webkit.org/show_bug.cgi?id=57636
    13226 
    13227         If the dirty flag is true, we shouldn't update the value when the
    13228         defaultValue is updated
    13229 
    13230         Test: fast/forms/textarea-set-defaultvalue-after-value.html
    13231 
    13232         * html/HTMLTextAreaElement.cpp:
    13233         (WebCore::HTMLTextAreaElement::childrenChanged):
    13234         (WebCore::HTMLTextAreaElement::setDefaultValue):
    13235 
    13236 2011-04-04  Kent Tamura  <tkent@chromium.org>
    13237 
    13238         Add a case label which was unexpectedly removed in r82899.
    13239         https://bugs.webkit.org/show_bug.cgi?id=50661
    13240 
    13241         * css/CSSSelector.cpp:
    13242         (WebCore::CSSSelector::extractPseudoType):
    13243 
    13244 2011-04-04  Dan Bernstein  <mitz@apple.com>
    13245 
    13246         Reviewed by Simon Fraser.
    13247 
    13248         <rdar://problem/7709452> Implement Default Ruby Overhang Behavior
    13249         https://bugs.webkit.org/show_bug.cgi?id=49334
    13250 
    13251         Tests: fast/ruby/overhang-horizontal.html
    13252                fast/ruby/overhang-vertical.html
    13253 
    13254         This is a first cut at ruby overhang. It allows ruby text to hang over other
    13255         text of equal or smaller size. Two notable omissions are that max preferred
    13256         width computation was not patched, so it will overshoot, and that overhang
    13257         ignores the width of the adjoining text runs.
    13258 
    13259         * rendering/RenderBlock.h:
    13260         * rendering/RenderBlockLineLayout.cpp:
    13261         (WebCore::RenderBlock::computeInlineDirectionPositionsForLine): Adjust margins
    13262         of ruby runs for overhang.
    13263         (WebCore::RenderBlock::fitBelowFloats): Maintain the increase in line width to
    13264         compensate for overhang.
    13265         (WebCore::RenderBlock::findNextLineBreak): When encountering
    13266         a ruby run, increase the line width to account for the fact that overhang will be
    13267         collapsed.
    13268         * rendering/RenderRubyRun.cpp:
    13269         (WebCore::RenderRubyRun::getOverhang): Added. Allows ruby to overhang if
    13270         the adjoining renderer is text with equal or smaller font size.
    13271         * rendering/RenderRubyRun.h:
    13272         (WebCore::toRenderRubyRun):
    13273 
    13274 2011-04-04  David Kilzer  <ddkilzer@apple.com>
    13275 
    13276         <http://webkit.org/b/57384> CFNetwork and WebCore load priorities should match
    13277 
    13278         Reviewed by Alexey Proskuryakov.
    13279 
    13280         * WebCore.exp.in: Export wkSetHTTPPipeliningMaximumPriority().
    13281         * platform/mac/WebCoreSystemInterface.h:
    13282         (wkSetHTTPPipeliningMaximumPriority): Added function pointer
    13283         declaration.
    13284         * platform/mac/WebCoreSystemInterface.mm:
    13285         (wkSetHTTPPipeliningMaximumPriority): Added function pointer.
    13286         * platform/network/cf/ResourceRequestCFNet.cpp:
    13287         (WebCore::initializeMaximumHTTPConnectionCountPerHost): Call
    13288         wkSetHTTPPipeliningMaximumPriority() to set the maximum HTTP
    13289         pipelining priority.
    13290         * platform/network/cf/ResourceRequestCFNet.h:
    13291         (WebCore::toResourceLoadPriority): Renamed from
    13292         mapHTTPPipeliningPriorityToResourceLoadPriority().  Updated to
    13293         to handle Unresolved case.
    13294         (WebCore::toHTTPPipeliningPriority): Renamed from
    13295         mapResourceLoadPriorityToHTTPPipeliningPriority().  Updated to
    13296         handle Unresolved case.
    13297         * platform/network/mac/ResourceRequestMac.mm:
    13298         (WebCore::ResourceRequest::doUpdateResourceRequest): Switched to
    13299         use toResourceLoadPriority().
    13300         (WebCore::ResourceRequest::doUpdatePlatformRequest): Switched to
    13301         use toHTTPPipeliningPriority().  Moved
    13302         shouldForceHTTPPipeliningPriorityHigh() check into the argument
    13303         of toHTTPPipeliningPriority() instead of hard-coding a
    13304         now-incorrect value.
    13305 
    13306 2011-04-04  MORITA Hajime  <morrita@google.com>
    13307 
    13308         Reviewed by Kent Tamura.
    13309 
    13310         Convert <meter> shadow DOM to a DOM-based shadow.
    13311         https://bugs.webkit.org/show_bug.cgi?id=50661
    13312        
    13313         Eliminated a large part of <meter> custom layout code,
    13314         which is replaced by a shadow tree.
    13315         Note that the shadow tree is created on construction time and
    13316         will remain during the host HTMLMeterElement lifecycle.
    13317        
    13318         * Android.mk:
    13319         * CMakeLists.txt:
    13320         * GNUmakefile.am:
    13321         * WebCore.gypi:
    13322         * WebCore.pro:
    13323         * WebCore.vcproj/WebCore.vcproj:
    13324         * WebCore.xcodeproj/project.pbxproj:
    13325         * css/CSSMutableStyleDeclaration.cpp:
    13326         (WebCore::CSSMutableStyleDeclaration::setProperty):
    13327         * css/CSSMutableStyleDeclaration.h:
    13328         * css/CSSSelector.cpp:
    13329         (WebCore::CSSSelector::pseudoId):
    13330         (WebCore::nameToPseudoTypeMap):
    13331         (WebCore::CSSSelector::extractPseudoType):
    13332         * css/CSSSelector.h:
    13333         * css/html.css:
    13334         (meter):
    13335         (meter::-webkit-meter-bar):
    13336         (meter::-webkit-meter-optimum-value):
    13337         (meter::-webkit-meter-suboptimum-value):
    13338         (meter::-webkit-meter-even-less-good-value):
    13339         * html/HTMLMeterElement.cpp:
    13340         (WebCore::HTMLMeterElement::~HTMLMeterElement):
    13341         (WebCore::HTMLMeterElement::parseMappedAttribute):
    13342         (WebCore::HTMLMeterElement::attach):
    13343         (WebCore::HTMLMeterElement::valueRatio):
    13344         (WebCore::HTMLMeterElement::didElementStateChange):
    13345         (WebCore::HTMLMeterElement::createShadowSubtree):
    13346         * html/HTMLMeterElement.h:
    13347         * html/shadow/MeterShadowElement.cpp: Added.
    13348         (WebCore::MeterShadowElement::MeterShadowElement):       
    13349         (WebCore::MeterShadowElement::meterElement):
    13350         (WebCore::MeterShadowElement::rendererIsNeeded):
    13351         (WebCore::MeterBarElement::shadowPseudoId):
    13352         (WebCore::MeterValueElement::shadowPseudoId):
    13353         (WebCore::MeterValueElement::setWidthPercentage):
    13354         * html/shadow/MeterShadowElement.h: Added.
    13355         (WebCore::MeterBarElement::MeterBarElement):
    13356         (WebCore::MeterBarElement::create):
    13357         (WebCore::MeterValueElement::MeterValueElement):
    13358         (WebCore::MeterValueElement::create):
    13359         * rendering/RenderMeter.cpp:
    13360         (WebCore::RenderMeter::RenderMeter):
    13361         (WebCore::RenderMeter::~RenderMeter):
    13362         (WebCore::RenderMeter::valueRatio):
    13363         * rendering/RenderMeter.h:
    13364         (WebCore::RenderMeter::renderName):
    13365         (WebCore::RenderMeter::isMeter):
    13366         (WebCore::RenderMeter::requiresForcedStyleRecalcPropagation):
    13367         (WebCore::RenderMeter::canHaveChildren):
    13368 
    13369 2011-04-04  Dimitri Glazkov  <dglazkov@chromium.org>
    13370 
    13371         Reviewed by Adam Barth.
    13372 
    13373         Introduce EventDispatchMediator abstraction, which encapsulate all
    13374         non-trivial logic around firing a specific type of an event.
    13375         https://bugs.webkit.org/show_bug.cgi?id=57562
    13376 
    13377         Refactoring, covered by existing tests.
    13378 
    13379         * dom/Event.cpp:
    13380         (WebCore::EventDispatchMediator::EventDispatchMediator): Added.
    13381         (WebCore::EventDispatchMediator::~EventDispatchMediator): Added.
    13382         (WebCore::EventDispatchMediator::dispatchEvent): Added.
    13383         (WebCore::EventDispatchMediator::event): Added.
    13384         * dom/Event.h: Added decl.
    13385         * dom/EventDispatcher.cpp:
    13386         (WebCore::EventDispatcher::dispatchEvent): Changed to use EventDispatchMediator.
    13387         * dom/EventDispatcher.h: Updated decls.
    13388         * dom/KeyboardEvent.cpp:
    13389         (WebCore::KeyboardEventDispatchMediator::KeyboardEventDispatchMediator): Added.
    13390         (WebCore::KeyboardEventDispatchMediator::dispatchEvent): Added.
    13391         * dom/KeyboardEvent.h: Updated decls
    13392         * dom/Node.cpp:
    13393         (WebCore::Node::dispatchEvent): Changed to use EventDispatchMediator.
    13394         (WebCore::Node::dispatchKeyEvent): Changed to use KeyboardEventDispatchMediator.
    13395 
    13396 2011-04-04  Martin Robinson  <mrobinson@igalia.com>
    13397 
    13398         Reviewed by Xan Lopez.
    13399 
    13400         [Cairo] Memory leak in RefPtrCairo
    13401         https://bugs.webkit.org/show_bug.cgi?id=57758
    13402 
    13403         No new tests. This just fixes a memory leak.
    13404 
    13405         * platform/graphics/cairo/RefPtrCairo.cpp:
    13406         (WTF::derefIfNotNull): Deref should unref the cairo_font_fact_t, not reference it.
    13407 
    13408 2011-04-04  Adrienne Walker  <enne@google.com>
    13409 
    13410         Unreviewed, rolling out r82880.
    13411         http://trac.webkit.org/changeset/82880
    13412         https://bugs.webkit.org/show_bug.cgi?id=50661
    13413 
    13414         Meter elements not rendered in Chromium Linux layout tests
    13415 
    13416         * Android.mk:
    13417         * CMakeLists.txt:
    13418         * GNUmakefile.am:
    13419         * WebCore.gypi:
    13420         * WebCore.pro:
    13421         * WebCore.vcproj/WebCore.vcproj:
    13422         * WebCore.xcodeproj/project.pbxproj:
    13423         * css/CSSMutableStyleDeclaration.cpp:
    13424         * css/CSSMutableStyleDeclaration.h:
    13425         * css/CSSSelector.cpp:
    13426         (WebCore::CSSSelector::pseudoId):
    13427         (WebCore::nameToPseudoTypeMap):
    13428         (WebCore::CSSSelector::extractPseudoType):
    13429         * css/CSSSelector.h:
    13430         * css/html.css:
    13431         (meter):
    13432         (meter::-webkit-meter):
    13433         (meter::-webkit-meter-bar):
    13434         (meter::-webkit-meter-optimum-value):
    13435         (meter::-webkit-meter-suboptimal-value):
    13436         (meter::-webkit-meter-even-less-good-value):
    13437         * html/HTMLMeterElement.cpp:
    13438         (WebCore::HTMLMeterElement::create):
    13439         (WebCore::HTMLMeterElement::parseMappedAttribute):
    13440         (WebCore::HTMLMeterElement::attach):
    13441         * html/HTMLMeterElement.h:
    13442         * html/shadow/MeterShadowElement.cpp: Removed.
    13443         * html/shadow/MeterShadowElement.h: Removed.
    13444         * rendering/RenderMeter.cpp:
    13445         (WebCore::RenderMeter::RenderMeter):
    13446         (WebCore::RenderMeter::~RenderMeter):
    13447         (WebCore::RenderMeter::createPart):
    13448         (WebCore::RenderMeter::updateFromElement):
    13449         (WebCore::RenderMeter::layoutParts):
    13450         (WebCore::RenderMeter::styleDidChange):
    13451         (WebCore::RenderMeter::shouldHaveParts):
    13452         (WebCore::RenderMeter::valueRatio):
    13453         (WebCore::RenderMeter::barPartRect):
    13454         (WebCore::RenderMeter::valuePartRect):
    13455         (WebCore::RenderMeter::valuePseudoId):
    13456         (WebCore::RenderMeter::barPseudoId):
    13457         (WebCore::RenderMeter::detachShadows):
    13458         (WebCore::RenderMeter::updateShadows):
    13459         * rendering/RenderMeter.h:
    13460         (WebCore::RenderMeter::renderName):
    13461         (WebCore::RenderMeter::isMeter):
    13462         (WebCore::RenderMeter::shadowAttached):
    13463 
    13464 2011-04-04  Chang Shu  <cshu@webkit.org>
    13465 
    13466         Reviewed by Ryosuke Niwa.
    13467 
    13468         setContentEditable with true/false/inherit string is not working properly
    13469         https://bugs.webkit.org/show_bug.cgi?id=52058
    13470 
    13471         Move isContentEditable from HTMLElement to Node. Thus, Node provides two functions for
    13472         checking editability: rendererIsEditable and isContentEdiable. The former is a fast path,
    13473         which does NOT trigger layout and only checks the render style of usermodify. The latter
    13474         updates the layout first to make sure the render style syncs with DOM contenteditable
    13475         attribute. Certain call sites that need to call isContentEditable rather than rendererIsEditable
    13476         are also updated in the patch. But a complete fix will follow up in bug 57244.
    13477 
    13478         This patch fixes all the failed layout tests related to set contenteditable.
    13479 
    13480         * accessibility/AccessibilityRenderObject.cpp:
    13481         (WebCore::AccessibilityRenderObject::isReadOnly):
    13482         * dom/Node.cpp:
    13483         (WebCore::Node::isContentEditable):
    13484         (WebCore::Node::shouldUseInputMethod):
    13485         * dom/Node.h:
    13486         * html/HTMLElement.cpp:
    13487         * html/HTMLElement.h:
    13488 
    13489 2011-04-04  Roland Steiner  <rolandsteiner@chromium.org>
    13490 
    13491         Reviewed by Dimitri Glazkov.
    13492 
    13493         Bug 57689 - Extract scoping functionality from Document
    13494         https://bugs.webkit.org/show_bug.cgi?id=57689
    13495 
    13496         Moved selfOnlyRef (renamed to guardRef), element ID, image map
    13497         and accesss key functionalities from Document to a new base
    13498         class TreeScope.
    13499 
    13500         TreeShared: made removedLastRef protected
    13501 
    13502         No new tests. (refactoring)
    13503 
    13504         * Android.mk:
    13505         * CMakeLists.txt:
    13506         * GNUmakefile.am:
    13507         * WebCore.gypi:
    13508         * WebCore.pro:
    13509         * WebCore.vcproj/WebCore.vcproj:
    13510         * WebCore.xcodeproj/project.pbxproj:
    13511         * dom/Document.cpp:
    13512         (WebCore::Document::Document):
    13513         (WebCore::Document::destroyScope):
    13514         (WebCore::Document::getElementById):
    13515         (WebCore::Document::childrenChanged):
    13516         (WebCore::Document::scheduleStyleRecalc):
    13517         (WebCore::Document::attach):
    13518         (WebCore::Document::detach):
    13519         * dom/Document.h:
    13520         (WebCore::Node::Node):
    13521         * dom/DocumentOrderedMap.cpp:
    13522         (WebCore::DocumentOrderedMap::get):
    13523         (WebCore::DocumentOrderedMap::getElementById):
    13524         (WebCore::DocumentOrderedMap::getElementByMapName):
    13525         (WebCore::DocumentOrderedMap::getElementByLowercasedMapName):
    13526         * dom/DocumentOrderedMap.h:
    13527         * dom/DOMAllInOne.cpp:
    13528         * dom/Node.cpp:
    13529         (WebCore::Node::~Node):
    13530         (WebCore::Node::setDocument):
    13531         * dom/Node.h:
    13532         * dom/TreeScope.cpp: Added.
    13533         * dom/TreeScope.h: Added.
    13534         * platform/TreeShared.h:
    13535         (WebCore::TreeShared::removedLastRef): made protected
    13536 
    13537 2011-04-04  MORITA Hajime  <morrita@google.com>
    13538 
    13539         Reviewed by Dimitri Glazkov.
    13540 
    13541         Convert <meter> shadow DOM to a DOM-based shadow.
    13542         https://bugs.webkit.org/show_bug.cgi?id=50661
    13543        
    13544         Eliminated a large part of <meter> custom layout code,
    13545         which is replaced by a shadow tree.
    13546         Note that the shadow tree is created on construction time and
    13547         will remain during the host HTMLMeterElement lifecycle.
    13548        
    13549         * Android.mk:
    13550         * CMakeLists.txt:
    13551         * GNUmakefile.am:
    13552         * WebCore.gypi:
    13553         * WebCore.pro:
    13554         * WebCore.vcproj/WebCore.vcproj:
    13555         * WebCore.xcodeproj/project.pbxproj:
    13556         * css/CSSMutableStyleDeclaration.cpp:
    13557         (WebCore::CSSMutableStyleDeclaration::setProperty):
    13558         * css/CSSMutableStyleDeclaration.h:
    13559         * css/CSSSelector.cpp:
    13560         (WebCore::CSSSelector::pseudoId):
    13561         (WebCore::nameToPseudoTypeMap):
    13562         (WebCore::CSSSelector::extractPseudoType):
    13563         * css/CSSSelector.h:
    13564         * css/html.css:
    13565         (meter):
    13566         (meter::-webkit-meter-bar):
    13567         (meter::-webkit-meter-optimum-value):
    13568         (meter::-webkit-meter-suboptimum-value):
    13569         (meter::-webkit-meter-even-less-good-value):
    13570         * html/HTMLMeterElement.cpp:
    13571         (WebCore::HTMLMeterElement::~HTMLMeterElement):
    13572         (WebCore::HTMLMeterElement::parseMappedAttribute):
    13573         (WebCore::HTMLMeterElement::attach):
    13574         (WebCore::HTMLMeterElement::valueRatio):
    13575         (WebCore::HTMLMeterElement::didElementStateChange):
    13576         (WebCore::HTMLMeterElement::createShadowSubtree):
    13577         * html/HTMLMeterElement.h:
    13578         * html/shadow/MeterShadowElement.cpp: Added.
    13579         (WebCore::MeterShadowElement::MeterShadowElement):       
    13580         (WebCore::MeterShadowElement::meterElement):
    13581         (WebCore::MeterShadowElement::rendererIsNeeded):
    13582         (WebCore::MeterBarElement::shadowPseudoId):
    13583         (WebCore::MeterValueElement::shadowPseudoId):
    13584         (WebCore::MeterValueElement::setWidthPercentage):
    13585         * html/shadow/MeterShadowElement.h: Added.
    13586         (WebCore::MeterBarElement::MeterBarElement):
    13587         (WebCore::MeterBarElement::create):
    13588         (WebCore::MeterValueElement::MeterValueElement):
    13589         (WebCore::MeterValueElement::create):
    13590         * rendering/RenderMeter.cpp:
    13591         (WebCore::RenderMeter::RenderMeter):
    13592         (WebCore::RenderMeter::~RenderMeter):
    13593         (WebCore::RenderMeter::valueRatio):
    13594         * rendering/RenderMeter.h:
    13595         (WebCore::RenderMeter::renderName):
    13596         (WebCore::RenderMeter::isMeter):
    13597         (WebCore::RenderMeter::requiresForcedStyleRecalcPropagation):
    13598         (WebCore::RenderMeter::canHaveChildren):
    13599 
    13600 2011-04-04  Martin Robinson  <mrobinson@igalia.com>
    13601 
    13602         Reviewed by Gustavo Noronha Silva.
    13603 
    13604         [GTK] WebGL support
    13605         https://bugs.webkit.org/show_bug.cgi?id=31517
    13606 
    13607         Add WebGL support for the GTK+ bits of WebCore.
    13608 
    13609         No new tests. This will be covered by the existing WebGL tests once
    13610         the bots are capable of running WebGL tests.
    13611 
    13612         * GNUmakefile.am: Added new files required for WebGL support.
    13613         * html/HTMLCanvasElement.cpp:
    13614         (WebCore::HTMLCanvasElement::getContext): Extend #ifdef to cover GTK+ as well, which does not
    13615         yet support accelerated compositing.
    13616         * platform/graphics/ANGLEWebKitBridge.h: Update to reflect the fact that ANGLE isn't compiled as
    13617         a framework for GTK+.
    13618         * platform/graphics/GraphicsContext3D.h:
    13619         (WebCore::GraphicsContext3D::platformTexture): Added a declaration of this method for Cairo.
    13620         (WebCore::GraphicsContext3D::paintsIntoCanvasBuffer): Ditto.
    13621         * platform/graphics/cairo/GraphicsContext3DCairo.cpp: Added.
    13622         (WebCore::GraphicsContext3D::getImageData): Added.
    13623         (WebCore::GraphicsContext3D::paintToCanvas): Added.
    13624         * platform/graphics/cairo/OpenGLShims.cpp: Added. This file controls loading of GL extension
    13625         functions dynamically. They have different names across the different vendors' GL implementations.
    13626         (WebCore::lookupOpenGLFunctionAddress): Added
    13627         (WebCore::openGLFunctionTable): Added
    13628         (WebCore::initializeOpenGLShims): Added
    13629         * platform/graphics/cairo/OpenGLShims.h: Added.
    13630         * platform/graphics/gtk/DrawingBufferGtk.cpp: Added.
    13631         (WebCore::DrawingBuffer::DrawingBuffer): Very generic implementation for Cairo.
    13632         (WebCore::DrawingBuffer::~DrawingBuffer): Ditto.
    13633         (WebCore::DrawingBuffer::didReset): Ditto.
    13634         (WebCore::DrawingBuffer::platformColorBuffer): Ditto.
    13635         * platform/graphics/gtk/GraphicsContext3DGtk.cpp: Added.
    13636         (WebCore::GraphicsContext3D::create): Initial implementation.
    13637         (WebCore::GraphicsContext3D::GraphicsContext3D): Ditto.
    13638         (WebCore::GraphicsContext3D::~GraphicsContext3D): Ditto.
    13639         (WebCore::GraphicsContext3D::makeContextCurrent): Ditto.
    13640         (WebCore::GraphicsContext3D::platformGraphicsContext3D): Ditto.
    13641         (WebCore::GraphicsContext3D::isGLES2Compliant): Ditto.
    13642         * platform/graphics/gtk/GraphicsContext3DInternal.cpp: Added.
    13643         (sharedDisplay): Added this shared display which is required by some
    13644         display drivers.
    13645         (WebCore::activeGraphicsContexts): This method keeps track of all active GraphicsContext3D
    13646         contexts, in order to clean them up at exit. This prevents crashes on certain OpenGL drivers.
    13647         (WebCore::GraphicsContext3DInternal::addActiveGraphicsContext): Ditto.
    13648         (WebCore::GraphicsContext3DInternal::removeActiveGraphicsContext): Ditto.
    13649         (WebCore::GraphicsContext3DInternal::cleanupActiveContextsAtExit): Ditto.
    13650         (WebCore::GraphicsContext3DInternal::create): Figure out the best way to create an OpenGL
    13651         context given the current environment.
    13652         (WebCore::GraphicsContext3DInternal::createPbufferContext): Pbuffer context initializer.
    13653         (WebCore::GraphicsContext3DInternal::createPixmapContext): Pixmap context initializer.
    13654         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): Initial implementation.
    13655         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal): Ditto.
    13656         (WebCore::GraphicsContext3DInternal::makeContextCurrent): Ditto.
    13657         * platform/graphics/gtk/GraphicsContext3DInternal.h: Added.
    13658         * platform/graphics/opengl/Extensions3DOpenGL.cpp: Added generic implementation.
    13659         (WebCore::Extensions3DOpenGL::ensureEnabled): Ditto.
    13660         * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
    13661         (WebCore::GraphicsContext3D::reshape): Test for the context using the public API rather than
    13662         the private bits that are specific to the Apple port.
    13663 
    13664 2011-04-04  Alexey Proskuryakov  <ap@apple.com>
    13665 
    13666         Reviewed by Dan Bernstein.
    13667 
    13668         REGRESSION (WebKit2): Caps-Lock indicator sometimes doesn't appear in WebKit2
    13669         https://bugs.webkit.org/show_bug.cgi?id=51230
    13670         <rdar://problem/8780989>
    13671 
    13672         <rdar://problem/9015250> REGRESSION (WebKit2): Key events not fired for modifier keys
    13673 
    13674         * page/EventHandler.cpp: (WebCore::EventHandler::keyEvent): Moved Caps Lock handling from
    13675         WebKits to WebCore, because WebKit shouldn't be smart.
    13676 
    13677 2011-04-04  Steve Falkenburg  <sfalken@apple.com>
    13678 
    13679         Fix Windows build warning.
    13680 
    13681         * WebCore.vcproj/WebCore.vcproj: Exclude EventQueue.cpp in Debug_All build.
    13682 
    13683 2011-04-04  Adam Roben  <aroben@apple.com>
    13684 
    13685         Attempted Mac build fix, part III
    13686 
    13687         * WebCore.exp.in: Export PlatformCALayer::setGeometryFlipped. Also resorted some symbols.
    13688 
    13689 2011-04-04  Andy Estes  <aestes@apple.com>
    13690 
    13691         Fix the Mac build.
    13692 
    13693         * WebCore.exp.in:
    13694 
    13695 2011-04-04  David Dorwin  <ddorwin@chromium.org>
    13696 
    13697         Reviewed by David Levin.
    13698 
    13699         Chromium Mac crashes when entering fullscreen
    13700         https://bugs.webkit.org/show_bug.cgi?id=57483
    13701 
    13702         Override extraFullScreenStyleSheet in RenderThemeChromiumMac to avoid hitting the ASSERT_NOT_REACHED in RenderThemeMac.
    13703 
    13704         * WebCore.gyp/WebCore.gyp:
    13705         * rendering/RenderThemeChromiumMac.h:
    13706         * rendering/RenderThemeChromiumMac.mm:
    13707         (WebCore::RenderThemeChromiumMac::extraFullScreenStyleSheet):
    13708 
    13709 2011-04-04  Adam Roben  <aroben@apple.com>
    13710 
    13711         Attempted Mac build fix, part II
    13712 
    13713         * WebCore.xcodeproj/project.pbxproj: Marked PlatformCALayerClient.h and
    13714         PlatformCAAnimation.h as private so that WebKit2 can #include them (transitively).
    13715 
    13716 2011-04-04  Steve Falkenburg  <sfalken@apple.com>
    13717 
    13718         Reviewed by Adam Roben.
    13719 
    13720         Remove unused AnalyzeWithLargeStack code from Windows build files
    13721         https://bugs.webkit.org/show_bug.cgi?id=57771
    13722        
    13723         This was used for us to build with prefast automatically,
    13724         but it is out-of-date and hasn't been used for some time.
    13725         Removing completely for now.
    13726 
    13727         * WebCore.vcproj/WebCore.vcproj:
    13728         * WebCore.vcproj/WebCorePreBuild.cmd:
    13729 
    13730 2011-04-01  Matthew Delaney  <mdelaney@apple.com>
    13731 
    13732         Reviewed by Simon Fraser.
    13733 
    13734         [CG] Do not accelerate small canvases
    13735         https://bugs.webkit.org/show_bug.cgi?id=57596
    13736 
    13737         No new tests. No outward behavior changes.
    13738 
    13739         * platform/graphics/cg/ImageBufferCG.cpp:
    13740 
    13741 2011-04-04  Adam Roben  <aroben@apple.com>
    13742 
    13743         Attempted Mac build fix
    13744 
    13745         * WebCore.xcodeproj/project.pbxproj: Marked PlatformCALayer.h and GraphicsLayerCA.h private
    13746         so that WebKit can #include them.
    13747 
    13748 2011-04-04  Malcolm MacLeod  <mmacleod@webmail.co.za>
    13749 
    13750         Reviewed by Kevin Ollivier.
    13751 
    13752         [wx] Implement support for temporary files.
    13753        
    13754         https://bugs.webkit.org/show_bug.cgi?id=57772
    13755 
    13756         * platform/FileSystem.h:
    13757         * platform/wx/FileSystemWx.cpp:
    13758         (WebCore::getFileModificationTime):
    13759         (WebCore::openTemporaryFile):
    13760         (WebCore::closeFile):
    13761         (WebCore::writeToFile):
    13762 
    13763 2011-04-01  Oliver Hunt  <oliver@apple.com>
    13764 
    13765         Reviewed by Geoffrey Garen.
    13766 
    13767         Make StructureChain GC allocated
    13768         https://bugs.webkit.org/show_bug.cgi?id=56695
    13769 
    13770         Update for new Structure marking function
    13771 
    13772         * bindings/js/JSDOMGlobalObject.cpp:
    13773         (WebCore::JSDOMGlobalObject::markChildren):
    13774 
    13775 2011-04-04  Pavel Feldman  <pfeldman@google.com>
    13776 
    13777         Reviewed by Yury Semikhatsky.
    13778 
    13779         Web Inspector: add support for the enumerated types in the protocol.
    13780         https://bugs.webkit.org/show_bug.cgi?id=57761
    13781 
    13782         * inspector/Inspector.json:
    13783         * inspector/InspectorDebuggerAgent.cpp:
    13784         (WebCore::InspectorDebuggerAgent::setPauseOnExceptions):
    13785         * inspector/InspectorDebuggerAgent.h:
    13786         * inspector/InspectorInstrumentation.cpp:
    13787         (WebCore::InspectorInstrumentation::resourceRetrievedByXMLHttpRequestImpl):
    13788         (WebCore::InspectorInstrumentation::scriptImportedImpl):
    13789         * inspector/InspectorResourceAgent.cpp:
    13790         (WebCore::cachedResourceTypeString):
    13791         (WebCore::InspectorResourceAgent::didReceiveResponse):
    13792         (WebCore::InspectorResourceAgent::setInitialScriptContent):
    13793         (WebCore::InspectorResourceAgent::setInitialXHRContent):
    13794         * inspector/InspectorResourceAgent.h:
    13795         * inspector/front-end/ScriptsPanel.js:
    13796         * inspector/generate-inspector-idl:
    13797 
    13798 2011-04-04  Yury Semikhatsky  <yurys@chromium.org>
    13799 
    13800         Reviewed by Pavel Feldman.
    13801 
    13802         Web Inspector: InspectorRuntimeAgent should not depend on Page
    13803         https://bugs.webkit.org/show_bug.cgi?id=57759
    13804 
    13805         Descendants of InspectorRuntimeAgent should implement a method providing access to the default
    13806         inspected state used for console evaluations.
    13807 
    13808         * inspector/InspectorAgent.cpp:
    13809         (WebCore::InspectorAgent::InspectorAgent): runtime agent is created and deleted along with other agents.
    13810         (WebCore::InspectorAgent::setFrontend):
    13811         * inspector/InspectorAgent.h:
    13812         * inspector/InspectorRuntimeAgent.cpp:
    13813         (WebCore::InspectorRuntimeAgent::create):
    13814         (WebCore::InspectorRuntimeAgent::InspectorRuntimeAgent):
    13815         (WebCore::InspectorRuntimeAgent::evaluate):
    13816         * inspector/InspectorRuntimeAgent.h:
    13817         (WebCore::InspectorRuntimeAgent::InspectedStateProvider::~InspectedStateProvider):
    13818 
    13819 2011-04-04  Yong Li  <yoli@rim.com>
    13820 
    13821         Reviewed by Antonio Gomes.
    13822 
    13823         https://bugs.webkit.org/show_bug.cgi?id=55969
    13824         Fix the issue that document state is not saved when
    13825         going backward and ending up with error page.
    13826 
    13827         Test: platform/qt/fast/history/back-to-unreachable-url-then-forward.html
    13828 
    13829         (For manual test, load a non-existent html first, then load
    13830         fast/history/resources/check-scroll-position.html, then go
    13831         back and go forward. If it doesn't show "SUCCESS" at the bottom
    13832         of the page, your browser has failed the test)
    13833 
    13834         * loader/FrameLoader.cpp:
    13835         (WebCore::FrameLoader::load):
    13836 
    13837 2011-04-04  Sergio Villar Senin  <svillar@igalia.com>
    13838 
    13839         Reviewed by Martin Robinson.
    13840 
    13841         [GTK] Fix make distcheck for 1.4.0
    13842         https://bugs.webkit.org/show_bug.cgi?id=57750
    13843 
    13844         Added a missing header file to the Makefile
    13845 
    13846         * GNUmakefile.am:
    13847 
    13848 2011-04-04  Martin Robinson  <mrobinson@igalia.com>
    13849 
    13850         Reviewed by Xan Lopez.
    13851 
    13852         [GTK] http/tests/plugins/post-url-file.html fails on GTK+
    13853         https://bugs.webkit.org/show_bug.cgi?id=55826
    13854 
    13855         Correct the implementation of handlePostReadFile which uses GIO APIs and
    13856         actually resizes the buffer to fit the entire size of the file data. This
    13857         was likely leading to memory corruption until now.
    13858 
    13859         * plugins/gtk/PluginViewGtk.cpp:
    13860         (WebCore::PluginView::handlePostReadFile): Fix this method.
    13861 
    13862 2011-04-04  Andrey Kosyakov  <caseq@chromium.org>
    13863 
    13864         Reviewed by Yury Semikhatsky.
    13865 
    13866         Web Inspector: [Extensions API] add notifications on panels shown/hidden
    13867         https://bugs.webkit.org/show_bug.cgi?id=57752
    13868 
    13869         * inspector/front-end/ExtensionAPI.js:
    13870         (WebInspector.injectedExtensionAPI.PanelImpl):
    13871         * inspector/front-end/ExtensionServer.js:
    13872         (WebInspector.ExtensionServer.prototype.notifyPanelShown):
    13873         (WebInspector.ExtensionServer.prototype.notifyPanelHidden):
    13874         * inspector/front-end/Panel.js:
    13875         (WebInspector.Panel.prototype.show):
    13876         (WebInspector.Panel.prototype.hide):
    13877 
    13878 2011-04-04  Pavel Podivilov  <podivilov@chromium.org>
    13879 
    13880         Reviewed by Yury Semikhatsky.
    13881 
    13882         Web Inspector: search in resources panel is broken.
    13883         https://bugs.webkit.org/show_bug.cgi?id=57631
    13884 
    13885         Search in resources panel should trigger source frame content load.
    13886 
    13887         * inspector/front-end/Panel.js:
    13888         (WebInspector.Panel.prototype.jumpToNextSearchResult):
    13889         (WebInspector.Panel.prototype.jumpToPreviousSearchResult):
    13890         * inspector/front-end/ResourcesPanel.js:
    13891         * inspector/front-end/SearchController.js:
    13892         (WebInspector.SearchController.prototype.handleShortcut):
    13893         (WebInspector.SearchController.prototype.focusSearchField):
    13894         * inspector/front-end/SourceFrame.js:
    13895         (WebInspector.SourceFrame.prototype.show):
    13896         (WebInspector.SourceFrame.prototype._ensureContentLoaded):
    13897         (WebInspector.SourceFrame.prototype.performSearch):
    13898 
    13899 2011-04-03  Eric Seidel  <eric@webkit.org>
    13900 
    13901         Reviewed by Ryosuke Niwa.
    13902 
    13903         Split out UnicodeBidi enum into its own header (to allow use in platform)
    13904         https://bugs.webkit.org/show_bug.cgi?id=57722
    13905 
    13906         unicode-bidi is a CSS concept.  However the same concept is really needed throughout
    13907         the bidi code in platform as well.  So I'm moving the enum to platform.
    13908         The only part of the enum which doesn't make much sense to platform/ is "normal".
    13909 
    13910         * WebCore.xcodeproj/project.pbxproj:
    13911         * css/CSSPrimitiveValueMappings.h:
    13912         * platform/text/UnicodeBidi.h: Added.
    13913         * rendering/style/RenderStyle.h:
    13914         * rendering/style/RenderStyleConstants.h:
    13915 
    13916 2011-04-04  Andrey Adaikin  <aandrey@google.com>
    13917 
    13918         Reviewed by Yury Semikhatsky.
    13919 
    13920         Web Inspector: Highlighted search tokens would not be shown on long lines in the text viewer
    13921         https://bugs.webkit.org/show_bug.cgi?id=57749
    13922 
    13923         * inspector/front-end/TextViewer.js:
    13924         (WebInspector.TextEditorMainPanel.prototype.markAndRevealRange):
    13925         (WebInspector.TextEditorMainPanel.prototype._paintLine):
    13926 
    13927 2011-04-04  Alexander Pavlov  <apavlov@chromium.org>
    13928 
    13929         Reviewed by Yury Semikhatsky.
    13930 
    13931         Web Inspector: Incorrectly reports warning on missing/incorrect content-type for 304s
    13932         https://bugs.webkit.org/show_bug.cgi?id=48525
    13933 
    13934         * inspector/front-end/Resource.js:
    13935         (WebInspector.Resource.prototype._mimeTypeIsConsistentWithType):
    13936 
    13937 2011-04-01  Alexander Pavlov  <apavlov@chromium.org>
    13938 
    13939         Reviewed by Yury Semikhatsky.
    13940 
    13941         Web Inspector: appropriateSelectorForNode() invokes the "localName" getter on DOMNode rather than function
    13942         https://bugs.webkit.org/show_bug.cgi?id=57632
    13943 
    13944         Moved the affected method onto the DOMNode.prototype as "appropriateSelectorFor".
    13945 
    13946         * inspector/front-end/DOMAgent.js:
    13947         (WebInspector.DOMNode.prototype.appropriateSelectorFor):
    13948         * inspector/front-end/EventListenersSidebarPane.js:
    13949         ():
    13950         * inspector/front-end/StylesSidebarPane.js:
    13951         (WebInspector.StylesSidebarPane.prototype.addBlankSection):
    13952         * inspector/front-end/utilities.js:
    13953 
    13954 2011-04-04  Andrey Kosyakov  <caseq@chromium.org>
    13955 
    13956         Unreviewed. Followup to an incomplete commit in r82806.
    13957 
    13958         * inspector/front-end/ExtensionAPI.js:
    13959         (WebInspector.injectedExtensionAPI.PanelWithSidebarImpl.prototype.createSidebarPane):
    13960         (WebInspector.injectedExtensionAPI.ExtensionSidebarPaneImpl):
    13961         (WebInspector.injectedExtensionAPI.ExtensionSidebarPaneImpl.prototype.setHeight):
    13962         (WebInspector.injectedExtensionAPI.ExtensionSidebarPaneImpl.prototype.setExpression):
    13963         (WebInspector.injectedExtensionAPI):
    13964         * inspector/front-end/ExtensionPanel.js:
    13965         (WebInspector.ExtensionSidebarPane):
    13966         (WebInspector.ExtensionSidebarPane.prototype.setPage):
    13967         (WebInspector.ExtensionSidebarPane.prototype._setObject):
    13968         * inspector/front-end/ExtensionServer.js:
    13969         (WebInspector.ExtensionServer):
    13970         (WebInspector.ExtensionServer.prototype.notifyExtensionSidebarUpdated):
    13971         (WebInspector.ExtensionServer.prototype._onCreatePanel):
    13972         (WebInspector.ExtensionServer.prototype._onCreateSidebarPane):
    13973         (WebInspector.ExtensionServer.prototype.createClientIframe):
    13974         (WebInspector.ExtensionServer.prototype._onSetSidebarContent):
    13975 
    13976 2011-04-04  Yury Semikhatsky  <yurys@chromium.org>
    13977 
    13978         Unreviewed. Fix Qt minimal build.
    13979 
    13980         * inspector/InspectorFrontendChannel.h:
    13981 
    13982 2011-04-01  Sergey Vorobyev  <sergeyvorobyev@google.com>
    13983 
    13984         Reviewed by Yury Semikhatsky.
    13985 
    13986         Web Inspector: Separate sendMessageToFrontend function
    13987         from InspectorClient to individual interface.
    13988         https://bugs.webkit.org/show_bug.cgi?id=57548
    13989 
    13990         Refactoring - covered with existing inspector tests.
    13991 
    13992         * GNUmakefile.am:
    13993         * WebCore.gypi:
    13994         * WebCore.vcproj/WebCore.vcproj:
    13995         * WebCore.xcodeproj/project.pbxproj:
    13996         * inspector/CodeGeneratorInspector.pm:
    13997         * inspector/InspectorClient.h:
    13998         * inspector/InspectorFrontendChannel.h: Added.
    13999         (WebCore::InspectorFrontendChannel::~InspectorFrontendChannel):
    14000 
    14001 2011-04-04  Nico Weber  <thakis@chromium.org>
    14002 
    14003         Reviewed by Eric Seidel.
    14004 
    14005         Prefer a using directive over qualified names in LocalizedNumberICU.cpp
    14006         https://bugs.webkit.org/show_bug.cgi?id=57742
    14007 
    14008         Requested by ap in https://bugs.webkit.org/show_bug.cgi?id=57715
    14009 
    14010         * platform/text/LocalizedNumberICU.cpp:
    14011         (WebCore::createFormatterForCurrentLocale):
    14012         (WebCore::numberFormatter):
    14013         (WebCore::parseLocalizedNumber):
    14014         (WebCore::formatLocalizedNumber):
    14015 
    14016 2011-04-04  Andrey Adaikin  <aandrey@google.com>
    14017 
    14018         Reviewed by Yury Semikhatsky.
    14019 
    14020         Web Inspector: Breakpoints in the gutter stay static while editing the text
    14021         https://bugs.webkit.org/show_bug.cgi?id=57616
    14022 
    14023         * inspector/front-end/SourceFrame.js:
    14024         (WebInspector.SourceFrame):
    14025         (WebInspector.SourceFrame.prototype._saveViewerState):
    14026         (WebInspector.SourceFrame.prototype._restoreViewerState):
    14027         (WebInspector.SourceFrame.prototype._endEditing):
    14028         (WebInspector.SourceFrame.prototype._lineNumberAfterEditing):
    14029         (WebInspector.SourceFrame.prototype.addBreakpoint):
    14030         (WebInspector.SourceFrame.prototype.removeBreakpoint):
    14031         * inspector/front-end/TextViewer.js:
    14032         (WebInspector.TextViewer.prototype._syncDecorationsForLine):
    14033         (WebInspector):
    14034         (WebInspector.TextEditorChunkedPanel.prototype.removeDecoration):
    14035         (WebInspector.TextEditorChunkedPanel.prototype.makeLineAChunk):
    14036         (WebInspector.TextEditorChunkedPanel.prototype._splitChunkOnALine):
    14037         (WebInspector.TextEditorMainPanel.prototype._splitChunkOnALine):
    14038 
    14039 2011-04-04  Ilya Tikhonovsky  <loislo@chromium.org>
    14040 
    14041         Reviewed by Yury Semikhatsky.
    14042 
    14043         Web Inspector: remove obsolete doc generating code from CodeGenerator.
    14044         https://bugs.webkit.org/show_bug.cgi?id=57748
    14045 
    14046         * inspector/CodeGeneratorInspector.pm:
    14047 
    14048 2011-04-04  Andrey Kosyakov  <caseq@chromium.org>
    14049 
    14050         Reviewed by Yury Semikhatsky.
    14051 
    14052         Web Inspector: [Extensions API] Merge WatchExpressionSidebarPane into ExtensionSidebarPane
    14053         https://bugs.webkit.org/show_bug.cgi?id=57622
    14054 
    14055         Merged WatchExpressionSidebarPane into ExtensionSidebarPane, added setPage(url).
    14056         Fixed wrong getter in schema (scripts -> elements)
    14057 
    14058         * inspector/front-end/ExtensionAPI.js:
    14059         (WebInspector.injectedExtensionAPI.WatchExpressionSidebarPaneImpl.prototype.setObject):
    14060         (WebInspector.injectedExtensionAPI.WatchExpressionSidebarPaneImpl.prototype.setPage):
    14061         * inspector/front-end/ExtensionAPISchema.json:
    14062         * inspector/front-end/ExtensionServer.js:
    14063         (WebInspector.ExtensionServer.prototype._onSetSidebarPage):
    14064 
    14065 2011-04-04  Ilya Tikhonovsky  <loislo@chromium.org>
    14066 
    14067         Reviewed by Pavel Feldman.
    14068 
    14069         Web Inspector: introduce support of 'optional' flag for command arguments.
    14070         https://bugs.webkit.org/show_bug.cgi?id=57698
    14071 
    14072         * inspector/CodeGeneratorInspector.pm:
    14073         * inspector/Inspector.json:
    14074         * inspector/InspectorDebuggerAgent.cpp:
    14075         (WebCore::InspectorDebuggerAgent::setBreakpointByUrl):
    14076         (WebCore::InspectorDebuggerAgent::setBreakpoint):
    14077         (WebCore::InspectorDebuggerAgent::evaluateOnCallFrame):
    14078         * inspector/InspectorDebuggerAgent.h:
    14079         * inspector/InspectorPageAgent.cpp:
    14080         (WebCore::InspectorPageAgent::reloadPage):
    14081         * inspector/InspectorPageAgent.h:
    14082         * inspector/InspectorResourceAgent.cpp:
    14083         (WebCore::InspectorResourceAgent::getResourceContent):
    14084         * inspector/InspectorResourceAgent.h:
    14085         * inspector/InspectorRuntimeAgent.cpp:
    14086         (WebCore::InspectorRuntimeAgent::evaluate):
    14087         * inspector/InspectorRuntimeAgent.h:
    14088         * inspector/generate-inspector-idl:
    14089 
    14090 2011-04-04  Yury Semikhatsky  <yurys@chromium.org>
    14091 
    14092         Reviewed by Pavel Feldman.
    14093 
    14094         Web Inspector: InjectedScriptManager should not try to access inspected window in case of workers
    14095         https://bugs.webkit.org/show_bug.cgi?id=57637
    14096 
    14097         * bindings/js/JSInjectedScriptManager.cpp:
    14098         (WebCore::InjectedScriptManager::injectedScriptFor):
    14099         * bindings/v8/custom/V8InjectedScriptManager.cpp:
    14100         (WebCore::InjectedScriptManager::injectedScriptFor):
    14101         * inspector/InjectedScript.cpp:
    14102         (WebCore::InjectedScript::InjectedScript):
    14103         (WebCore::InjectedScript::canAccessInspectedWindow):
    14104         * inspector/InjectedScript.h:
    14105         * inspector/InjectedScriptManager.cpp:
    14106         (WebCore::InjectedScriptManager::createForPage):
    14107         (WebCore::InjectedScriptManager::createForWorker):
    14108         (WebCore::InjectedScriptManager::InjectedScriptManager): access check function is passed as a parameter to the constructor
    14109         and it depends on which type of context we're inspecting(worker or page).
    14110         (WebCore::InjectedScriptManager::canAccessInspectedWorkerContext):
    14111         * inspector/InjectedScriptManager.h:
    14112         * inspector/InspectorController.cpp:
    14113         (WebCore::InspectorController::InspectorController):
    14114 
    14115 2011-04-04  Ryuan Choi  <ryuan.choi@samsung.com>
    14116 
    14117         Reviewed by Eric Seidel.
    14118 
    14119         V8StringCallback.cpp requires V8Binding.h
    14120         https://bugs.webkit.org/show_bug.cgi?id=57699
    14121 
    14122         No new tests required because of just adding header file.
    14123 
    14124         * bindings/scripts/CodeGeneratorV8.pm:
    14125 
    14126 2011-04-03  Ryuan Choi  <ryuan.choi@samsung.com>
    14127 
    14128         Reviewed by Eric Seidel.
    14129 
    14130         [CMAKE] Clean duplicated files in WebCore_Sources
    14131         https://bugs.webkit.org/show_bug.cgi?id=57741
    14132 
    14133         No new tests, Only duplicated files were removed.
    14134 
    14135         * CMakeLists.txt:
    14136 
    14137 2011-04-03  Luke Macpherson   <macpherson@chromium.org>
    14138 
    14139         Reviewed by Darin Adler.
    14140 
    14141         Fix 2-space indentation introduced in bug 54706.
    14142         https://bugs.webkit.org/show_bug.cgi?id=57740
    14143 
    14144         No new tests - whitespace changes only.
    14145 
    14146         * css/CSSStyleSelector.cpp:
    14147         (WebCore::CSSStyleSelector::applyProperty):
    14148         Convert 2-space indentation to 4-space indentation.
    14149 
    14150 2011-04-03  Luke Macpherson   <macpherson@chromium.org>
    14151 
    14152         Reviewed by Dimitri Glazkov.
    14153 
    14154         Make CSSStyleApplyProperty non-copyable
    14155         https://bugs.webkit.org/show_bug.cgi?id=57738
    14156 
    14157         No new functionality added so no new tests required.
    14158 
    14159         * css/CSSStyleApplyProperty.h:
    14160         Added WTF_MAKE_NONCOPYABLE(CSSStyleApplyProperty) to ensure singleton stays single.
    14161 
    14162 2011-04-03  Dan Bernstein  <mitz@apple.com>
    14163 
    14164         Reviewed by Maciej Stachowiak.
    14165 
    14166         fast/images/extra-image-in-image-document.html crashes when run after embed-image.html
    14167         https://bugs.webkit.org/show_bug.cgi?id=57733
    14168 
    14169         The crash happens because resetting the page scale as part of preparing the WebView for the
    14170         next test triggered layout, which in turn caused a plug-in to make a resource request, and
    14171         DumpRenderTree's delegate to be dispatched. The delegate doesn’t expect to be called between
    14172         tests, and it references the layout test controller, which is null.
    14173 
    14174         * page/Frame.cpp:
    14175         (WebCore::Frame::scalePage): Avoid an unnecessary layout if the page scale isn’t changing. This
    14176         is more efficient, and has the side effect of avoiding the crash in DumpRenderTree, although
    14177         DumpRenderTree could still crash when after a test with disabled plug-ins and a non-1 page scale.
    14178         I think there are currently no such tests, so I am not fixing DumpRenderTree.
    14179 
    14180 2011-04-03  Eric Seidel  <eric@webkit.org>
    14181 
    14182         Reviewed by Ryosuke Niwa.
    14183 
    14184         Teach InlineIterator how to work from any root, not just a RenderBlock
    14185         https://bugs.webkit.org/show_bug.cgi?id=57726
    14186 
    14187         For implementing bidi-unicode: isolate, we need to be able to run the
    14188         bidi algorithm over a subtree of inlines, not just from a block root.
    14189         This is the first step in making this possible.
    14190 
    14191         * rendering/InlineIterator.h:
    14192         (WebCore::InlineIterator::InlineIterator):
    14193         (WebCore::InlineIterator::root):
    14194         (WebCore::bidiNext):
    14195         (WebCore::bidiFirst):
    14196         (WebCore::InlineIterator::increment):
    14197         (WebCore::InlineBidiResolver::appendRun):
    14198         * rendering/RenderBlockLineLayout.cpp:
    14199         (WebCore::RenderBlock::findNextLineBreak):
    14200 
    14201 2011-04-03  Eric Seidel  <eric@webkit.org>
    14202 
    14203         Reviewed by Dan Bernstein.
    14204 
    14205         Split out handling of trailing spaces from layoutInlineChildren
    14206         https://bugs.webkit.org/show_bug.cgi?id=57432
    14207 
    14208         There is much more we could split out from this function, but this is a start.
    14209 
    14210         I suspect this is very hot code.  Hopefully the compiler will do the right thing.
    14211         If it doesn't the Chromium PLT bots will tell us.
    14212 
    14213         * rendering/RenderBlock.h:
    14214         * rendering/RenderBlockLineLayout.cpp:
    14215         (WebCore::RenderBlock::handleTrailingSpaces):
    14216         (WebCore::RenderBlock::layoutInlineChildren):
    14217 
    14218 2011-03-21  Ryosuke Niwa  <rniwa@webkit.org>
    14219 
    14220         Reviewed by Eric Seidel.
    14221 
    14222         editing commands shouldn't run when there's no body
    14223         https://bugs.webkit.org/show_bug.cgi?id=56771
    14224 
    14225         The bug was caused by WebKit's not checking the existence of root editable element
    14226         in enabled* functions. Although isContentEditable returns true whenever we're in design mode,
    14227         we should not run editing commands in a document without a body element editable because
    14228         doing so results in appending a non-body element to the document node.
    14229 
    14230         Fixed the bug by modifying various enabled* functions to ensure we have a root editable element.
    14231         New behavior tries to match that of Firefox except StyleWithCSS, which Firefox seems to ignore
    14232         when there are no body element. Since StyleWithCSS is a document's state or property, we allow
    14233         execCommand('StyleWithCSS') even in a document without a body element.
    14234 
    14235         WebKit's and Firefox's behaviors also deviate in insert-image-with-selecting-document.html.
    14236         Whereas WebKit respects selection set by script and ignores execCommand, Firefox modifies
    14237         the selection when document.write("x") is ran and successfully inserts image.
    14238 
    14239         Thus, empty-document-delete.html and empty-document-justify-right.html both pass on Firefox
    14240         while empty-document-stylewithcss.html and insert-image-with-selecting-document.html both fail.
    14241 
    14242         Since Internet Explorer does not allow execCommand to run under design mode properly, we could
    14243         not test its behavior.
    14244 
    14245         Tests: editing/editability/empty-document-delete.html
    14246                editing/editability/empty-document-justify-right.html
    14247                editing/editability/empty-document-stylewithcss.html
    14248                editing/execCommand/insert-image-with-selecting-document.html
    14249 
    14250         * editing/Editor.cpp:
    14251         (WebCore::Editor::canEdit): Verify that the root editable element exists
    14252         instead of just checking that selection endpoints are editable because
    14253         selection endpoints could be document node without a body element in design mode
    14254         and we don't want to consider such a document editable.
    14255         (WebCore::Editor::canDelete): Ditto.
    14256         * editing/EditorCommand.cpp:
    14257         (WebCore::enabledInEditableText): Ditto.
    14258         (WebCore::enabledInRichlyEditableText): Ditto.
    14259         (WebCore::enabledDelete): Call enabledCut and enabledInEditableText instead
    14260         of duplicating the code in order to fix the same bug.
    14261 
    14262 2011-04-02  Dan Bernstein  <mitz@apple.com>
    14263 
    14264         Reviewed by Maciej Stachowiak.
    14265 
    14266         REGRESSION (r82786): Media controls render incorrectly on GTK and Qt
    14267         https://bugs.webkit.org/show_bug.cgi?id=57719
    14268 
    14269         r82786 exposed an incorrect assumption inRenderMediaControlTimeDisplay::layout()
    14270         that the timeline container is the parent of the time display. This is not true
    14271         with the GTK media style, where the current time display is an inline box, and
    14272         thus wrapped in an anonymous flexible box. The code was incorrectly considering
    14273         the width of the anonymous box and deciding to hide the time display. Prior to
    14274         r82786, this mistake was corrected by the call to computeLogicalWidth() in line layout.
    14275 
    14276         * rendering/MediaControlElements.cpp:
    14277         (WebCore::RenderMediaControlTimeDisplay::layout): Changed to skip past anonymous ancestors.
    14278 
    14279 2011-04-02  Nico Weber  <thakis@chromium.org>
    14280 
    14281         Reviewed by Adam Barth.
    14282 
    14283         Explicitly use icu namespace for ports building with U_USING_ICU_NAMESPACE=0
    14284 
    14285         By default, ICU includes |using namespace icu;| in its header files
    14286         for backwards compatibility. Clients can define
    14287         U_USING_ICU_NAMESPACE=0 to tell ICU to not do this. Prefixing all ICU
    14288         classes with |icu::| makes this file compile no matter what
    14289         U_USING_ICU_NAMESPACE is set to.
    14290 
    14291         https://bugs.webkit.org/show_bug.cgi?id=57715
    14292 
    14293         * platform/text/LocalizedNumberICU.cpp:
    14294         (WebCore::createFormatterForCurrentLocale):
    14295         (WebCore::numberFormatter):
    14296         (WebCore::parseLocalizedNumber):
    14297         (WebCore::formatLocalizedNumber):
    14298 
    14299 2011-04-02  Dan Bernstein  <mitz@apple.com>
    14300 
    14301         Reviewed by Dave Hyatt.
    14302 
    14303         Remove an unnecessary extra computeLogicalWidth() from line layout
    14304         https://bugs.webkit.org/show_bug.cgi?id=57711
    14305 
    14306         Changes in behavior (MathML progression) covered by existing layout tests.
    14307 
    14308         * rendering/RenderBlockLineLayout.cpp:
    14309         (WebCore::RenderBlock::computeInlineDirectionPositionsForLine): Removed a
    14310         call to computeLogicalWidth(). Because of <http://webkit.org/b/57700>, this
    14311         actually prevents MathML rows from reverting to an incorrect width.
    14312 
    14313 2011-04-02  Dan Bernstein  <mitz@apple.com>
    14314 
    14315         Reviewed by Beth Dakin.
    14316 
    14317         <details> marker loses its margin
    14318         https://bugs.webkit.org/show_bug.cgi?id=57713
    14319 
    14320         * rendering/RenderDetails.cpp:
    14321         (WebCore::RenderDetails::computePreferredLogicalWidths): Override to update
    14322         the marker location.
    14323         * rendering/RenderDetails.h:
    14324         (WebCore::RenderDetails::renderName): Made private.
    14325         (WebCore::RenderDetails::isDetails): Ditto.
    14326         * rendering/RenderDetailsMarker.cpp:
    14327         (WebCore::RenderDetailsMarker::computePreferredLogicalWidths): Set the margins
    14328         in the style, like RenderListMarker does.
    14329         (WebCore::RenderDetailsMarker::layout): Set the margins from the style.
    14330 
    14331 2011-04-02  Andy Estes  <aestes@apple.com>
    14332 
    14333         Reviewed by Oliver Hunt.
    14334 
    14335         REGRESSION (r69237): Black border around map elements while using an image map on Mac platform
    14336         https://bugs.webkit.org/show_bug.cgi?id=52518
    14337 
    14338         Test: fast/images/imagemap-focus-ring-zero-outline-width.html
    14339 
    14340         * rendering/RenderImage.cpp:
    14341         (WebCore::RenderImage::paintAreaElementFocusRing): Return early if outlineWidth is 0.
    14342 
    14343 2011-04-02  Beth Dakin  <bdakin@apple.com>
    14344 
    14345         Reviewed by Sam Weinig.
    14346 
    14347         https://bugs.webkit.org/show_bug.cgi?id=57605
    14348         Frame::pageScaleFactor() should not affect getBoundingClientRect() or
    14349         getClientRects()
    14350         -and corresponding-
    14351         <rdar://problem/9194541>
    14352 
    14353         New functions adjust*ForPageScale() are analogous to adjust*ForAbsoluteZoom().
    14354         * dom/Element.cpp:
    14355         (WebCore::Element::getClientRects):
    14356         (WebCore::Element::getBoundingClientRect):
    14357         * dom/Range.cpp:
    14358         (WebCore::adjustFloatQuadsForScrollAndAbsoluteZoomAndPageScale):
    14359         (WebCore::Range::getBorderAndTextQuads):
    14360         * rendering/RenderObject.h:
    14361         (WebCore::adjustFloatPointForPageScale):
    14362         (WebCore::adjustFloatQuadForPageScale):
    14363         (WebCore::adjustFloatRectForPageScale):
    14364 
    14365 2011-04-02  Dan Bernstein  <mitz@apple.com>
    14366 
    14367         Reverted r82775 due to changes in <details> test results, which are
    14368         likely progressions.
    14369 
    14370         * rendering/RenderBlockLineLayout.cpp:
    14371         (WebCore::RenderBlock::computeInlineDirectionPositionsForLine): Removed a
    14372 
    14373 2011-04-02  Dan Bernstein  <mitz@apple.com>
    14374 
    14375         Reviewed by Dave Hyatt.
    14376 
    14377         Remove an unnecessary extra computeLogicalWidth() from line layout
    14378         https://bugs.webkit.org/show_bug.cgi?id=57711
    14379 
    14380         Changes in behavior (MathML progression) covered by existing layout tests.
    14381 
    14382         * rendering/RenderBlockLineLayout.cpp:
    14383         (WebCore::RenderBlock::computeInlineDirectionPositionsForLine): Removed a
    14384         call to computeLogicalWidth(). Because of <http://webkit.org/b/57700>, this
    14385         actually prevents MathML rows from reverting to an incorrect width.
    14386 
    14387 2011-04-02  Ryuan Choi  <ryuan.choi@samsung.com>
    14388 
    14389         Reviewed by Martin Robinson.
    14390 
    14391         [GTK] Fix leaked pointer in FontGtk.cpp
    14392         https://bugs.webkit.org/show_bug.cgi?id=57307
    14393 
    14394         Fix a memory leak.
    14395 
    14396         No new functionality, so no new tests.
    14397 
    14398         * platform/graphics/gtk/FontGtk.cpp:
    14399         (WebCore::utf16ToUtf8): Rename utf16_to_utf8 and fix indentation.
    14400         (WebCore::convertUniCharToUTF8):
    14401 
    14402 2011-04-02  Ilya Tikhonovsky  <loislo@chromium.org>
    14403 
    14404         Reviewed by Pavel Feldman.
    14405 
    14406         Web Inspector: we should be able to have in and out arguments of a command with same name.
    14407         https://bugs.webkit.org/show_bug.cgi?id=57701
    14408 
    14409         * inspector/CodeGeneratorInspector.pm:
    14410         * inspector/Inspector.json:
    14411 
    14412 2011-04-01  Ilya Tikhonovsky  <loislo@chromium.org>
    14413 
    14414         Not reviewed trivial change.
    14415 
    14416         Web Inspector: The page agent should be enabled even if JAVASCRIPT_DEBUGGER is off.
    14417         Followup change for r82281.
    14418         https://bugs.webkit.org/show_bug.cgi?id=57327
    14419 
    14420         * inspector/InspectorPageAgent.cpp:
    14421         * inspector/InspectorPageAgent.h:
    14422 
    14423 2011-04-01  Michael Saboff  <msaboff@apple.com>
    14424 
    14425         Reviewed by Darin Adler.
    14426 
    14427         Cached Resource Overhead Space Usage and Accounting Inaccurate
    14428         https://bugs.webkit.org/show_bug.cgi?id=57488
    14429 
    14430         Fixed windows test failures.
    14431         Changed the fixed overhead value for ResourceResponse to 3800 bytes.
    14432         Modified ResourceResponse::platformLazyInit() to handle "base" level
    14433         attributes or all attributes.  The base attributes, like URL, status
    14434         code, mime type and a few header fields (mostly cache related) are
    14435         suitable for most resources.  This reduces the per resource memory
    14436         needs by over 1K bytes per resource thus saving memory in the cache.
    14437         Collectively, these two changes bring the overhead memory calculation
    14438         in line with reality.
    14439 
    14440         No new tests added due to existing tests cover areas of change and
    14441         there is no functional change.  The change is limited to reducing
    14442         memory usage along existing paths.
    14443 
    14444         * loader/cache/CachedResource.cpp:
    14445         (WebCore::CachedResource::canUseCacheValidator):
    14446         * platform/network/ResourceResponseBase.cpp:
    14447         (WebCore::ResourceResponseBase::adopt):
    14448         (WebCore::ResourceResponseBase::isHTTP):
    14449         (WebCore::ResourceResponseBase::url):
    14450         (WebCore::ResourceResponseBase::setURL):
    14451         (WebCore::ResourceResponseBase::mimeType):
    14452         (WebCore::ResourceResponseBase::setMimeType):
    14453         (WebCore::ResourceResponseBase::expectedContentLength):
    14454         (WebCore::ResourceResponseBase::setExpectedContentLength):
    14455         (WebCore::ResourceResponseBase::textEncodingName):
    14456         (WebCore::ResourceResponseBase::setTextEncodingName):
    14457         (WebCore::ResourceResponseBase::suggestedFilename):
    14458         (WebCore::ResourceResponseBase::setSuggestedFilename):
    14459         (WebCore::ResourceResponseBase::httpStatusCode):
    14460         (WebCore::ResourceResponseBase::setHTTPStatusCode):
    14461         (WebCore::ResourceResponseBase::httpStatusText):
    14462         (WebCore::ResourceResponseBase::setHTTPStatusText):
    14463         (WebCore::ResourceResponseBase::httpHeaderField):
    14464         (WebCore::ResourceResponseBase::setHTTPHeaderField):
    14465         (WebCore::ResourceResponseBase::httpHeaderFields):
    14466         (WebCore::ResourceResponseBase::parseCacheControlDirectives):
    14467         (WebCore::ResourceResponseBase::hasCacheValidatorFields):
    14468         (WebCore::ResourceResponseBase::date):
    14469         (WebCore::ResourceResponseBase::age):
    14470         (WebCore::ResourceResponseBase::expires):
    14471         (WebCore::ResourceResponseBase::lastModified):
    14472         (WebCore::ResourceResponseBase::isAttachment):
    14473         (WebCore::ResourceResponseBase::setLastModifiedDate):
    14474         (WebCore::ResourceResponseBase::lastModifiedDate):
    14475         (WebCore::ResourceResponseBase::wasCached):
    14476         (WebCore::ResourceResponseBase::connectionReused):
    14477         (WebCore::ResourceResponseBase::setConnectionReused):
    14478         (WebCore::ResourceResponseBase::connectionID):
    14479         (WebCore::ResourceResponseBase::setConnectionID):
    14480         (WebCore::ResourceResponseBase::resourceLoadTiming):
    14481         (WebCore::ResourceResponseBase::setResourceLoadTiming):
    14482         (WebCore::ResourceResponseBase::resourceLoadInfo):
    14483         (WebCore::ResourceResponseBase::setResourceLoadInfo):
    14484         (WebCore::ResourceResponseBase::lazyInit):
    14485         * platform/network/ResourceResponseBase.h:
    14486         (WebCore::ResourceResponseBase::platformLazyInit):
    14487         * platform/network/cf/ResourceResponse.h:
    14488         (WebCore::ResourceResponse::ResourceResponse):
    14489         (WebCore::ResourceResponse::memoryUsage):
    14490         * platform/network/cf/ResourceResponseCFNet.cpp:
    14491         (WebCore::ResourceResponse::platformLazyInit):
    14492         * platform/network/mac/ResourceResponseMac.mm:
    14493         (WebCore::ResourceResponse::platformLazyInit):
    14494 
    14495 2011-04-01  Anantanarayanan G Iyengar  <ananta@chromium.org>
    14496 
    14497         Reviewed by Adam Barth.
    14498 
    14499         https://bugs.webkit.org/show_bug.cgi?id=45855
    14500         Windowless plugins added dynamically to the DOM should receive paint events.
    14501         This is done by ensuring that the plugin widget is marked for painting when
    14502         it is added.
    14503 
    14504         Test: plugins/windowless_plugin_paint_test.html
    14505 
    14506         * rendering/RenderWidget.cpp:
    14507         (WebCore::RenderWidget::setWidget):
    14508 
    14509 2011-04-01  Mike Reed  <reed@google.com>
    14510 
    14511         Reviewed by James Robinson.
    14512 
    14513         always use native font rendering on skia_gpu
    14514         fixes a crash when SKIA_GPU is enabled, as we can't call getTopPlatformDevice()
    14515         https://bugs.webkit.org/show_bug.cgi?id=57663
    14516 
    14517         No new tests. existing rendering tests will exercise this
    14518 
    14519         * platform/graphics/skia/PlatformContextSkia.cpp:
    14520         (WebCore::PlatformContextSkia::isNativeFontRenderingAllowed):
    14521 
    14522 2011-04-01  Sheriff Bot  <webkit.review.bot@gmail.com>
    14523 
    14524         Unreviewed, rolling out r82712, r82729, and r82746.
    14525         http://trac.webkit.org/changeset/82712
    14526         http://trac.webkit.org/changeset/82729
    14527         http://trac.webkit.org/changeset/82746
    14528         https://bugs.webkit.org/show_bug.cgi?id=57682
    14529 
    14530         fast/frames/frame-programmatic-noresize.html is failing on
    14531         Windows bots. Will look into this offline. (Requested by dydx
    14532         on #webkit).
    14533 
    14534         * html/HTMLFrameElement.cpp:
    14535         (WebCore::HTMLFrameElement::HTMLFrameElement):
    14536         (WebCore::HTMLFrameElement::attach):
    14537         (WebCore::HTMLFrameElement::parseMappedAttribute):
    14538         * html/HTMLFrameElement.h:
    14539         (WebCore::HTMLFrameElement::noResize):
    14540         * rendering/RenderFrame.cpp:
    14541         * rendering/RenderFrame.h:
    14542         * rendering/RenderFrameSet.cpp:
    14543         * rendering/RenderFrameSet.h:
    14544 
    14545 2011-04-01  Adam Barth  <abarth@webkit.org>
    14546 
    14547         Reviewed by Tony Chang.
    14548 
    14549         Valgrind error in _ZN7WebCore8Document11updateTitleERKNS_19StringWithDirectionE
    14550         https://bugs.webkit.org/show_bug.cgi?id=57656
    14551 
    14552         We should initialize memory when constructing objects.
    14553 
    14554         * platform/text/StringWithDirection.h:
    14555         (WebCore::StringWithDirection::StringWithDirection):
    14556 
    14557 2011-04-01  Jer Noble  <jer.noble@apple.com>
    14558 
    14559         Reviewed by Darin Adler.
    14560 
    14561         WebKit2: Link from PDF opens in a new tab instead of in the same tab
    14562         https://bugs.webkit.org/show_bug.cgi?id=57528
    14563 
    14564         * WebCore.exp.in: Export MouseEvent::create().
    14565 
    14566 2011-04-01  John Bauman  <jbauman@chromium.org>
    14567 
    14568         Reviewed by Kenneth Russell.
    14569 
    14570         Avoid decoding images twice in texImage2D
    14571         https://bugs.webkit.org/show_bug.cgi?id=51498
    14572 
    14573         Make sure to redecode the image only if it's not opaque and texImage2D
    14574         wouldn't premultiply it anyway.
    14575 
    14576         * platform/graphics/BitmapImage.h:
    14577         * platform/graphics/cg/GraphicsContext3DCG.cpp:
    14578         (WebCore::GraphicsContext3D::getImageData):
    14579         * platform/graphics/skia/GraphicsContext3DSkia.cpp:
    14580         (WebCore::GraphicsContext3D::getImageData):
    14581 
    14582 2011-04-01  Alexey Proskuryakov  <ap@apple.com>
    14583 
    14584         32-bit Mac build fix.
    14585 
    14586         * dom/KeyboardEvent.h: (WebCore::KeypressCommand::KeypressCommand): Use 0U to index a String
    14587         to avoid ambiguity.
    14588 
    14589 2011-04-01  Alexey Proskuryakov  <ap@apple.com>
    14590 
    14591         Reviewed by Darin Adler.
    14592 
    14593         Make WebKit2 text input handling more like WebKit1
    14594         https://bugs.webkit.org/show_bug.cgi?id=57649
    14595 
    14596         * dom/KeyboardEvent.h: (WebCore::KeypressCommand::KeypressCommand): Put back the assertions
    14597         we used to have. It is dangerous to confuse editor commands and selector names - besides the
    14598         presence of a semicolon, they sometimes have different names, and WebKit2 failed to map those.
    14599 
    14600 2011-04-01  Sheriff Bot  <webkit.review.bot@gmail.com>
    14601 
    14602         Unreviewed, rolling out r82711.
    14603         http://trac.webkit.org/changeset/82711
    14604         https://bugs.webkit.org/show_bug.cgi?id=57657
    14605 
    14606         Made every test crash on XP and Win7 (Requested by
    14607         abarth|gardening on #webkit).
    14608 
    14609         * loader/cache/CachedResource.cpp:
    14610         (WebCore::CachedResource::canUseCacheValidator):
    14611         * platform/network/ResourceResponseBase.cpp:
    14612         (WebCore::ResourceResponseBase::adopt):
    14613         (WebCore::ResourceResponseBase::isHTTP):
    14614         (WebCore::ResourceResponseBase::url):
    14615         (WebCore::ResourceResponseBase::setURL):
    14616         (WebCore::ResourceResponseBase::mimeType):
    14617         (WebCore::ResourceResponseBase::setMimeType):
    14618         (WebCore::ResourceResponseBase::expectedContentLength):
    14619         (WebCore::ResourceResponseBase::setExpectedContentLength):
    14620         (WebCore::ResourceResponseBase::textEncodingName):
    14621         (WebCore::ResourceResponseBase::setTextEncodingName):
    14622         (WebCore::ResourceResponseBase::suggestedFilename):
    14623         (WebCore::ResourceResponseBase::setSuggestedFilename):
    14624         (WebCore::ResourceResponseBase::httpStatusCode):
    14625         (WebCore::ResourceResponseBase::setHTTPStatusCode):
    14626         (WebCore::ResourceResponseBase::httpStatusText):
    14627         (WebCore::ResourceResponseBase::setHTTPStatusText):
    14628         (WebCore::ResourceResponseBase::httpHeaderField):
    14629         (WebCore::ResourceResponseBase::setHTTPHeaderField):
    14630         (WebCore::ResourceResponseBase::httpHeaderFields):
    14631         (WebCore::ResourceResponseBase::parseCacheControlDirectives):
    14632         (WebCore::ResourceResponseBase::date):
    14633         (WebCore::ResourceResponseBase::age):
    14634         (WebCore::ResourceResponseBase::expires):
    14635         (WebCore::ResourceResponseBase::lastModified):
    14636         (WebCore::ResourceResponseBase::isAttachment):
    14637         (WebCore::ResourceResponseBase::setLastModifiedDate):
    14638         (WebCore::ResourceResponseBase::lastModifiedDate):
    14639         (WebCore::ResourceResponseBase::wasCached):
    14640         (WebCore::ResourceResponseBase::connectionReused):
    14641         (WebCore::ResourceResponseBase::setConnectionReused):
    14642         (WebCore::ResourceResponseBase::connectionID):
    14643         (WebCore::ResourceResponseBase::setConnectionID):
    14644         (WebCore::ResourceResponseBase::resourceLoadTiming):
    14645         (WebCore::ResourceResponseBase::setResourceLoadTiming):
    14646         (WebCore::ResourceResponseBase::resourceLoadInfo):
    14647         (WebCore::ResourceResponseBase::setResourceLoadInfo):
    14648         (WebCore::ResourceResponseBase::lazyInit):
    14649         * platform/network/ResourceResponseBase.h:
    14650         (WebCore::ResourceResponseBase::platformLazyInit):
    14651         * platform/network/cf/ResourceResponse.h:
    14652         (WebCore::ResourceResponse::ResourceResponse):
    14653         (WebCore::ResourceResponse::memoryUsage):
    14654         * platform/network/cf/ResourceResponseCFNet.cpp:
    14655         (WebCore::ResourceResponse::platformLazyInit):
    14656         * platform/network/mac/ResourceResponseMac.mm:
    14657         (WebCore::ResourceResponse::platformLazyInit):
    14658 
    14659 2011-04-01  Matthew Delaney  <mdelaney@apple.com>
    14660 
    14661         Reviewed by Simon Fraser.
    14662 
    14663         Behavior of isAccelerated() for a IOSurface-backed canvas should be consistent with accelerated status of its ImageBuffer
    14664         https://bugs.webkit.org/show_bug.cgi?id=57651
    14665 
    14666         No new tests. This patch does not affect outward behavior.
    14667 
    14668         * html/canvas/CanvasRenderingContext2D.cpp:
    14669         (WebCore::CanvasRenderingContext2D::isAccelerated):
    14670         * platform/graphics/ImageBuffer.h:
    14671         (WebCore::ImageBuffer::isAccelerated):
    14672 
    14673 2011-04-01  Daniel Bates  <dbates@rim.com>
    14674 
    14675         Reviewed by Darin Adler.
    14676 
    14677         Frame's noResize attribute can not be set by JavaScript
    14678         https://bugs.webkit.org/show_bug.cgi?id=14845
    14679 
    14680         Tests: fast/frames/frame-inherit-noresize-from-frameset.html
    14681                fast/frames/frame-programmatic-noresize.html
    14682                fast/frames/frame-with-noresize-can-be-resized-after-removal-of-noresize.html
    14683                fast/frames/frame-with-noresize-can-be-resized-after-setting-noResize-to-false.html
    14684 
    14685         Implements support to programmatically allow and disallow frame resizing.
    14686 
    14687         Currently, HTMLFrameElement::parseMappedAttribute() is hardcoded to disallow frame resize (i.e.
    14688         m_noResize = true) when either the noresize DOM attribute is specified (or existed at some
    14689         point in time) or the value of the noResize attribute is modified. Instead we should allow/disallow
    14690         frame resize depending on the presence of the noresize DOM attribute/the value of the noResize
    14691         attribute.
    14692 
    14693         * html/HTMLFrameElement.cpp:
    14694         (WebCore::HTMLFrameElement::HTMLFrameElement):
    14695         (WebCore::HTMLFrameElement::noResize): Made this a non-inline function since this
    14696         code path isn't performance critical.
    14697         (WebCore::HTMLFrameElement::attach): Removed code to inherit noresize attribute from
    14698         parent <frameset> since this functionality is part of RenderFrameSet::computeEdgeInfo().
    14699         (WebCore::HTMLFrameElement::parseMappedAttribute):
    14700         * html/HTMLFrameElement.h:
    14701         * rendering/RenderFrame.cpp:
    14702         (WebCore::RenderFrame::updateFromElement): Added.
    14703         * rendering/RenderFrame.h:
    14704         * rendering/RenderFrameSet.cpp:
    14705         (WebCore::RenderFrameSet::notifyFrameEdgeInfoChanged): Added.
    14706         * rendering/RenderFrameSet.h:
    14707 
    14708 2011-04-01  Michael Saboff  <msaboff@apple.com>
    14709 
    14710         Reviewed by Darin Adler.
    14711 
    14712         Cached Resource Overhead Space Usage and Accounting Inaccurate
    14713         https://bugs.webkit.org/show_bug.cgi?id=57488
    14714 
    14715         Changed the fixed overhead value for ResourceResponse to 3800 bytes.
    14716         Modified ResourceResponse::platformLazyInit() to handle "base" level
    14717         attributes or all attributes.  The base attributes, like URL, status
    14718         code, mime type and a few header fields (mostly cache related) are
    14719         suitable for most resources.  This reduces the per resource memory
    14720         needs by over 1K bytes per resource thus saving memory in the cache.
    14721         Collectively, these two changes bring the overhead memory calculation
    14722         in line with reality.
    14723 
    14724         No new tests added due to existing tests cover areas of change and
    14725         there is no functional change.  The change is limited to reducing
    14726         memory usage along existing paths.
    14727 
    14728         * loader/cache/CachedResource.cpp:
    14729         (WebCore::CachedResource::canUseCacheValidator):
    14730         * platform/network/ResourceResponseBase.cpp:
    14731         (WebCore::ResourceResponseBase::isHTTP):
    14732         (WebCore::ResourceResponseBase::url):
    14733         (WebCore::ResourceResponseBase::setURL):
    14734         (WebCore::ResourceResponseBase::mimeType):
    14735         (WebCore::ResourceResponseBase::setMimeType):
    14736         (WebCore::ResourceResponseBase::expectedContentLength):
    14737         (WebCore::ResourceResponseBase::setExpectedContentLength):
    14738         (WebCore::ResourceResponseBase::textEncodingName):
    14739         (WebCore::ResourceResponseBase::setTextEncodingName):
    14740         (WebCore::ResourceResponseBase::suggestedFilename):
    14741         (WebCore::ResourceResponseBase::setSuggestedFilename):
    14742         (WebCore::ResourceResponseBase::httpStatusCode):
    14743         (WebCore::ResourceResponseBase::setHTTPStatusCode):
    14744         (WebCore::ResourceResponseBase::httpHeaderField):
    14745         (WebCore::ResourceResponseBase::setHTTPHeaderField):
    14746         (WebCore::ResourceResponseBase::parseCacheControlDirectives):
    14747         (WebCore::ResourceResponseBase::hasCacheValidatorFields):
    14748         (WebCore::ResourceResponseBase::date):
    14749         (WebCore::ResourceResponseBase::age):
    14750         (WebCore::ResourceResponseBase::expires):
    14751         (WebCore::ResourceResponseBase::lastModified):
    14752         (WebCore::ResourceResponseBase::lazyInit):
    14753         * platform/network/ResourceResponseBase.h:
    14754         (WebCore::ResourceResponseBase::platformLazyInit):
    14755         * platform/network/cf/ResourceResponse.h:
    14756         (WebCore::ResourceResponse::ResourceResponse):
    14757         (WebCore::ResourceResponse::memoryUsage):
    14758         * platform/network/cf/ResourceResponseCFNet.cpp:
    14759         * platform/network/mac/ResourceResponseMac.mm:
    14760         (WebCore::ResourceResponse::platformLazyInit):
    14761 
    14762 2011-04-01  Timothy Hatcher  <timothy@apple.com>
    14763 
    14764         Make momentum scroll event latching work in WebKit2 on Mac.
    14765 
    14766         <rdar://problem/8751861>
    14767 
    14768         Reviewed by Darin Adler.
    14769 
    14770         * WebCore.exp.in: Remove _wkIsLatchingWheelEvent, add _wkGetNSEventMomentumPhase.
    14771         * page/EventHandler.cpp:
    14772         (WebCore::EventHandler::handleWheelEvent): Set m_useLatchedWheelEventNode based on the
    14773         event's momentumPhase.
    14774         * page/mac/EventHandlerMac.mm:
    14775         (WebCore::EventHandler::wheelEvent): Remove the setting of m_useLatchedWheelEventNode.
    14776         It is now done in EventHandler::handleWheelEvent.
    14777         * platform/mac/WebCoreSystemInterface.h: Remove wkIsLatchingWheelEvent, add wkGetNSEventMomentumPhase.
    14778         * platform/mac/WebCoreSystemInterface.mm: Ditto.
    14779         * platform/mac/WheelEventMac.mm:
    14780         (WebCore::momentumPhaseForEvent): Return a phase on older Mac system by using wkGetNSEventMomentumPhase.
    14781 
    14782 2011-04-01  Steve Block  <steveblock@google.com>
    14783 
    14784         Reviewed by Jeremy Orlow.
    14785 
    14786         JavaClass should be an interface and free of JNI types
    14787         https://bugs.webkit.org/show_bug.cgi?id=57533
    14788 
    14789         This patch fixes JavaClass for V8 only.
    14790 
    14791         It factors out a JavaClass interface which does not use JNI types.
    14792         This will allow the Java bridge to be used with objects that
    14793         don't use JNI directly. The existing jobject-backed
    14794         implementation is moved to a new JavaClassJobject class which
    14795         implements the interface.
    14796 
    14797         No new tests, refactoring only.
    14798 
    14799         * Android.v8bindings.mk:
    14800         * WebCore.gypi:
    14801         * bridge/jni/v8/JavaClassJobjectV8.cpp:
    14802         (JavaClassJobject::JavaClassJobject):
    14803         (JavaClassJobject::~JavaClassJobject):
    14804         (JavaClassJobject::methodsNamed):
    14805         (JavaClassJobject::fieldNamed):
    14806         * bridge/jni/v8/JavaClassJobjectV8.h: Copied from Source/WebCore/bridge/jni/v8/JavaClassV8.h.
    14807         * bridge/jni/v8/JavaClassV8.h:
    14808         (JSC::Bindings::JavaClass::~JavaClass):
    14809         * bridge/jni/v8/JavaInstanceV8.cpp:
    14810         (JavaInstance::getClass):
    14811 
    14812 2011-04-01  Jaehun Lim  <ljaehun.lim@samsung.com>
    14813 
    14814         Unreviewed build fix.
    14815 
    14816         Fix build break when font backend is Pango.
    14817         Pango is missed in changeset 80589.
    14818 
    14819         https://bugs.webkit.org/show_bug.cgi?id=57609
    14820 
    14821         * platform/graphics/pango/FontPlatformData.h:
    14822         (WebCore::FontPlatformData::setOrientation):
    14823 
    14824 2011-04-01  Sheriff Bot  <webkit.review.bot@gmail.com>
    14825 
    14826         Unreviewed, rolling out r82687.
    14827         http://trac.webkit.org/changeset/82687
    14828         https://bugs.webkit.org/show_bug.cgi?id=57643
    14829 
    14830         This patch broke accessibility aria-treegrid test in Mac
    14831         (Requested by msanchez on #webkit).
    14832 
    14833         * accessibility/AccessibilityARIAGrid.cpp:
    14834         * accessibility/AccessibilityARIAGrid.h:
    14835         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
    14836         (atkRole):
    14837         * accessibility/mac/AccessibilityObjectWrapper.mm:
    14838 
    14839 2011-03-31  Abhishek Arya  <inferno@chromium.org>
    14840 
    14841         Reviewed by Andreas Kling.
    14842 
    14843         Whenever a relayout is trigger for SVGPath, make sure
    14844         to clear its previous marker layout info. This helps
    14845         to prevent removed markers from being used.
    14846         https://bugs.webkit.org/show_bug.cgi?id=57492
    14847 
    14848         Test: svg/dom/path-marker-removed-crash.svg
    14849 
    14850         * rendering/svg/RenderSVGPath.cpp:
    14851         (WebCore::RenderSVGPath::layout):
    14852         * rendering/svg/SVGMarkerLayoutInfo.cpp:
    14853         (WebCore::SVGMarkerLayoutInfo::clear):
    14854         * rendering/svg/SVGMarkerLayoutInfo.h:
    14855 
    14856 2011-04-01  Rob Buis  <rwlbuis@gmail.com>
    14857 
    14858         Reviewed by Nikolas Zimmermann.
    14859 
    14860         https://bugs.webkit.org/show_bug.cgi?id=55750
    14861         SVG <image> referenced by <use> is displayed incorrectly
    14862 
    14863         Reintroduce old behaviour for valid base URI, for invalid
    14864         keep using document base URI.
    14865         Fixes regression of W3C-SVG-1.1/struct-image-07-t.svg.
    14866 
    14867         Test: svg/custom/image-base-uri.svg
    14868 
    14869         * svg/SVGImageLoader.cpp:
    14870         (WebCore::SVGImageLoader::sourceURI):
    14871 
    14872 2011-04-01  Mario Sanchez Prada  <msanchez@igalia.com>
    14873 
    14874         Reviewed by Chris Fleizach.
    14875 
    14876         ARIA Grid tables should return GridRole in roleValue() method
    14877         https://bugs.webkit.org/show_bug.cgi?id=57614
    14878 
    14879         This change does not need any test since it doesn't change anything
    14880         from the point of view of the consumers (Assistive Technoglogies).
    14881         It's just an internal change to simplify identifying HTML and ARIA
    14882         tables by calling to the AccessibilityObject::roleValue method.
    14883 
    14884         * accessibility/AccessibilityARIAGrid.h:
    14885         * accessibility/AccessibilityARIAGrid.cpp:
    14886         (WebCore::AccessibilityARIAGrid::roleValue): Return GridRole.
    14887 
    14888         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
    14889         (atkRole): Removed unneeded comment.
    14890 
    14891         * accessibility/mac/AccessibilityObjectWrapper.mm: Map GridRole to
    14892         NSAccessibilityTableRole, to keep the same behaviour.
    14893 
    14894 2011-04-01  MORITA Hajime  <morrita@google.com>
    14895 
    14896         Reviewed by Dimitri Glazkov.
    14897 
    14898         <meter> can only support horizontal indicator
    14899         https://bugs.webkit.org/show_bug.cgi?id=56001
    14900 
    14901         - Removed code which deals with the direction and
    14902           left the horizontal path.
    14903         - Removed "horizontal" from related names which is now
    14904           redundant.
    14905        
    14906         * css/CSSSelector.cpp:
    14907         (WebCore::CSSSelector::pseudoId):
    14908         (WebCore::nameToPseudoTypeMap):
    14909         (WebCore::CSSSelector::extractPseudoType):
    14910         * css/CSSSelector.h:
    14911         * css/html.css:
    14912         (meter::-webkit-meter-bar):
    14913         (meter::-webkit-meter-optimum-value):
    14914         (meter::-webkit-meter-suboptimal-value):
    14915         (meter::-webkit-meter-even-less-good-value):
    14916         * rendering/RenderMeter.cpp:
    14917         (WebCore::RenderMeter::~RenderMeter):
    14918         (WebCore::RenderMeter::createPart):
    14919         (WebCore::RenderMeter::updateFromElement):
    14920         (WebCore::RenderMeter::layoutParts):
    14921         (WebCore::RenderMeter::styleDidChange):
    14922         (WebCore::RenderMeter::shouldHaveParts):
    14923         (WebCore::RenderMeter::valuePartRect):
    14924         (WebCore::RenderMeter::valuePseudoId):
    14925         (WebCore::RenderMeter::barPseudoId):
    14926         (WebCore::RenderMeter::detachShadows):
    14927         (WebCore::RenderMeter::updateShadows):
    14928         * rendering/RenderMeter.h:
    14929         (WebCore::RenderMeter::shadowAttached):
    14930         * rendering/RenderTheme.cpp:
    14931         (WebCore::RenderTheme::supportsMeter):
    14932         * rendering/RenderTheme.h:
    14933         * rendering/RenderThemeMac.h:
    14934         * rendering/RenderThemeMac.mm:
    14935         (WebCore::RenderThemeMac::paintMeter):
    14936         (WebCore::RenderThemeMac::supportsMeter):
    14937         * rendering/style/RenderStyleConstants.h:
    14938 
    14939 2011-03-23  Pavel Podivilov  <podivilov@chromium.org>
    14940 
    14941         Reviewed by Pavel Feldman.
    14942 
    14943         Web Inspector: fix reveal line in formatted script.
    14944         https://bugs.webkit.org/show_bug.cgi?id=56941
    14945 
    14946         * inspector/front-end/BreakpointsSidebarPane.js:
    14947         (WebInspector.JavaScriptBreakpointsSidebarPane):
    14948         (WebInspector.JavaScriptBreakpointsSidebarPane.prototype._breakpointClicked):
    14949         * inspector/front-end/DebuggerPresentationModel.js:
    14950         (WebInspector.DebuggerPresentationModel.prototype.sourceFileForScriptURL):
    14951         * inspector/front-end/NetworkPanel.js:
    14952         (WebInspector.NetworkPanel.prototype.canShowAnchorLocation):
    14953         (WebInspector.NetworkPanel.prototype.showAnchorLocation):
    14954         * inspector/front-end/Panel.js:
    14955         (WebInspector.Panel.prototype.canShowAnchorLocation):
    14956         (WebInspector.Panel.prototype.showAnchorLocation):
    14957         * inspector/front-end/ResourcesPanel.js:
    14958         (WebInspector.ResourcesPanel.prototype.canShowAnchorLocation):
    14959         (WebInspector.ResourcesPanel.prototype.showAnchorLocation):
    14960         (WebInspector.ResourcesPanel.prototype.showResource):
    14961         * inspector/front-end/ScriptsPanel.js:
    14962         (WebInspector.ScriptsPanel):
    14963         (WebInspector.ScriptsPanel.prototype.canShowAnchorLocation):
    14964         (WebInspector.ScriptsPanel.prototype.showAnchorLocation):
    14965         (WebInspector.ScriptsPanel.prototype._showSourceLine):
    14966         * inspector/front-end/SourceFrame.js:
    14967         (WebInspector.SourceFrame.prototype.highlightLine):
    14968         (WebInspector.SourceFrame.prototype._createTextViewer):
    14969         * inspector/front-end/inspector.js:
    14970         (WebInspector.documentClick.followLink):
    14971         (WebInspector.documentClick):
    14972         (WebInspector._showAnchorLocation):
    14973 
    14974 2011-04-01  Pavel Podivilov  <podivilov@chromium.org>
    14975 
    14976         Reviewed by Yury Semikhatsky.
    14977 
    14978         Web Inspector: make editScriptSource a Script's method.
    14979         https://bugs.webkit.org/show_bug.cgi?id=57615
    14980 
    14981         * inspector/front-end/DebuggerModel.js:
    14982         (WebInspector.DebuggerModel.prototype.editScriptSource):
    14983         (WebInspector.DebuggerModel.prototype._didEditScriptSource):
    14984         * inspector/front-end/Script.js:
    14985         (WebInspector.Script.prototype.requestSource):
    14986         (WebInspector.Script.prototype.editSource):
    14987 
    14988 2011-04-01  Pavel Feldman  <pfeldman@google.com>
    14989 
    14990         Reviewed by Yury Semikhatsky.
    14991 
    14992         Web Inspector: event should have "data" attribute, not "body"
    14993         https://bugs.webkit.org/show_bug.cgi?id=57628
    14994 
    14995         * inspector/CodeGeneratorInspector.pm:
    14996 
    14997 2011-04-01  Pavel Podivilov  <podivilov@chromium.org>
    14998 
    14999         Reviewed by Yury Semikhatsky.
    15000 
    15001         Web Inspector: checkboxes are broken in xhr breakpoints sidebar pane.
    15002         https://bugs.webkit.org/show_bug.cgi?id=57610
    15003 
    15004         * inspector/front-end/BreakpointsSidebarPane.js:
    15005         (WebInspector.XHRBreakpointsSidebarPane.prototype._checkboxClicked):
    15006 
    15007 2011-04-01  Alexander Pavlov  <apavlov@chromium.org>
    15008 
    15009         Reviewed by Yury Semikhatsky.
    15010 
    15011         Web Inspector: up/down keys are not treating hex numbers properly while editing styles.
    15012         https://bugs.webkit.org/show_bug.cgi?id=40522
    15013 
    15014         Drive-by: fix inc/dec for numbers like ".5"
    15015 
    15016         Test: inspector/styles/up-down-numerics-and-colors.html
    15017 
    15018         * inspector/front-end/StylesSidebarPane.js:
    15019         (WebInspector.StylePropertyTreeElement.prototype):
    15020 
    15021 2011-03-30  Pavel Podivilov  <podivilov@chromium.org>
    15022 
    15023         Reviewed by Pavel Feldman.
    15024 
    15025         Web Inspector: remove dead code from Script.js.
    15026         https://bugs.webkit.org/show_bug.cgi?id=57454
    15027 
    15028         * inspector/front-end/DebuggerModel.js:
    15029         (WebInspector.DebuggerModel.prototype._parsedScriptSource):
    15030         (WebInspector.DebuggerModel.prototype._failedToParseScriptSource):
    15031         * inspector/front-end/Script.js:
    15032         (WebInspector.Script):
    15033         (WebInspector.Script.prototype.requestSource.didGetScriptSource):
    15034         (WebInspector.Script.prototype.requestSource):
    15035 
    15036 2011-04-01  Sheriff Bot  <webkit.review.bot@gmail.com>
    15037 
    15038         Unreviewed, rolling out r82667.
    15039         http://trac.webkit.org/changeset/82667
    15040         https://bugs.webkit.org/show_bug.cgi?id=57612
    15041 
    15042         Breaks Leopard layout tests (Requested by podivilov on
    15043         #webkit).
    15044 
    15045         * GNUmakefile.am:
    15046         * inspector/front-end/DebuggerPresentationModel.js:
    15047         (WebInspector.DebuggerPresentationModel):
    15048         (WebInspector.DebuggerPresentationModel.prototype.toggleFormatSourceFiles):
    15049 
    15050 2011-03-30  Pavel Podivilov  <podivilov@chromium.org>
    15051 
    15052         Reviewed by Pavel Feldman.
    15053 
    15054         Web Inspector: remove unused SourceFrameContent class.
    15055         https://bugs.webkit.org/show_bug.cgi?id=57453
    15056 
    15057         * WebCore.gypi:
    15058         * WebCore.vcproj/WebCore.vcproj:
    15059         * inspector/front-end/ResourceView.js:
    15060         (WebInspector.SourceFrameDelegateForResourcesPanel.prototype.requestContent):
    15061         * inspector/front-end/ScriptsPanel.js:
    15062         (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.requestContent):
    15063         * inspector/front-end/SourceFrame.js:
    15064         (WebInspector.SourceFrame.prototype._createTextViewer):
    15065         * inspector/front-end/SourceFrameContent.js: Removed.
    15066         * inspector/front-end/WebKit.qrc:
    15067         * inspector/front-end/inspector.html:
    15068 
    15069 2011-03-30  Pavel Podivilov  <podivilov@chromium.org>
    15070 
    15071         Reviewed by Pavel Feldman.
    15072 
    15073         Web Inspector: add test for script formatter worker.
    15074         https://bugs.webkit.org/show_bug.cgi?id=57447
    15075 
    15076         Test: inspector/debugger/script-formatter.html
    15077 
    15078         * GNUmakefile.am:
    15079         * inspector/front-end/DebuggerPresentationModel.js:
    15080         (WebInspector.DebuggerPresentationModel):
    15081         (WebInspector.DebuggerPresentationModel.prototype.toggleFormatSourceFiles):
    15082 
    15083 2011-03-30  Pavel Podivilov  <podivilov@chromium.org>
    15084 
    15085         Reviewed by Pavel Feldman.
    15086 
    15087         Web Inspector: [chromium] script formatting doesn't work when all scripts are concatenated.
    15088         https://bugs.webkit.org/show_bug.cgi?id=57446
    15089 
    15090         * inspector/front-end/ScriptFormatterWorker.js:
    15091 
    15092 2011-04-01  Pavel Podivilov  <podivilov@chromium.org>
    15093 
    15094         Reviewed by Pavel Feldman.
    15095 
    15096         Web Inspector: allow file access from inspector page so inspector can use workers.
    15097         https://bugs.webkit.org/show_bug.cgi?id=57339
    15098 
    15099         * inspector/InspectorFrontendClientLocal.cpp:
    15100         (WebCore::InspectorFrontendClientLocal::InspectorFrontendClientLocal):
    15101 
    15102 2011-03-31  Yury Semikhatsky  <yurys@chromium.org>
    15103 
    15104         Reviewed by Pavel Feldman.
    15105 
    15106         Web Inspector: inspected page crashes on attempt to log object with broken .toString
    15107         https://bugs.webkit.org/show_bug.cgi?id=57557
    15108 
    15109         If ScriptValue.toString causes a JavaScript exception, the exception is cleared
    15110         before returning from the toString method.
    15111 
    15112         Test: inspector/console/console-log-toString-object.html
    15113 
    15114         * bindings/js/ScriptValue.cpp:
    15115         (WebCore::ScriptValue::toString):
    15116         * bindings/js/ScriptValue.h:
    15117         * bindings/v8/ScriptValue.cpp:
    15118         (WebCore::ScriptValue::toString):
    15119 
    15120 2011-03-31  Andrey Kosyakov  <caseq@chromium.org>
    15121 
    15122         Reviewed by Pavel Feldman.
    15123 
    15124         - removed documentWide parameter to querySelector[All]() (user document node id instead)
    15125         - factor out document request logic within DOMAgent into separate method
    15126         - add querySelector() and querySelectorAll() to DOMAgent.js, assure we have document before calling back-end
    15127         - use the above wrappers for querySelector() and querySelectorAll(), do not call backend directly
    15128         - minor style fixes in Inspector.json
    15129         - more error logging
    15130 
    15131         Web Inspector: provide front-end wrappers for DOMAgent.querySelector[All]() that take care of fetching the document
    15132         https://bugs.webkit.org/show_bug.cgi?id=57466
    15133 
    15134         * inspector/Inspector.json:
    15135         * inspector/InspectorDOMAgent.cpp:
    15136         (WebCore::InspectorDOMAgent::querySelector):
    15137         (WebCore::InspectorDOMAgent::querySelectorAll):
    15138         * inspector/InspectorDOMAgent.h:
    15139         * inspector/front-end/AuditRules.js:
    15140         (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun):
    15141         (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun.getStyles):
    15142         * inspector/front-end/CSSStyleModel.js:
    15143         (WebInspector.CSSStyleModel.prototype.setRuleSelector.callback):
    15144         (WebInspector.CSSStyleModel.prototype.setRuleSelector):
    15145         (WebInspector.CSSStyleModel.prototype.addRule.callback):
    15146         (WebInspector.CSSStyleModel.prototype.addRule):
    15147         * inspector/front-end/DOMAgent.js:
    15148         (WebInspector.DOMAgent.prototype.requestDocument.onDocumentAvailable):
    15149         (WebInspector.DOMAgent.prototype.requestDocument):
    15150         (WebInspector.DOMAgent.prototype.pushNodeToFrontend):
    15151         (WebInspector.DOMAgent.prototype.pushNodeByPathToFrontend):
    15152         (WebInspector.DOMAgent.prototype._dispatchWhenDocumentAvailable.onDocumentAvailable):
    15153         (WebInspector.DOMAgent.prototype._dispatchWhenDocumentAvailable):
    15154         (WebInspector.DOMAgent.prototype.cancelSearch):
    15155         (WebInspector.DOMAgent.prototype.querySelector):
     798        (WebInspector.DOMNode.prototype._renumber):
     799        (WebInspector.DOMAgent.prototype._bindNodes):
    15156800        (WebInspector.DOMAgent.prototype.querySelectorAll):
    15157 
    15158 2011-04-01  Kent Tamura  <tkent@chromium.org>
    15159 
    15160         Apply sort-Xcode-project-file.
    15161 
    15162         * WebCore.xcodeproj/project.pbxproj:
    15163 
    15164 2011-03-31  Sheriff Bot  <webkit.review.bot@gmail.com>
    15165 
    15166         Unreviewed, rolling out r82652.
    15167         http://trac.webkit.org/changeset/82652
    15168         https://bugs.webkit.org/show_bug.cgi?id=57603
    15169 
    15170         Test still fails (Requested by abarth|gardener on #webkit).
    15171 
    15172         * rendering/RenderWidget.cpp:
    15173         (WebCore::RenderWidget::setWidget):
    15174 
    15175 2011-03-31  Naoki Takano  <takano.naoki@gmail.com>
    15176 
    15177         Reviewed by Kent Tamura.
    15178 
    15179         REGRESSION (r64712): Safari removes the first blank line in a textarea
    15180         https://bugs.webkit.org/show_bug.cgi?id=56434
    15181 
    15182         Test: fast/forms/textarea-newline.html
    15183 
    15184         A linefeed removal after a textarea tag is originally processed in WebCore::HTMLTextAreaElement::defaultValue().
    15185         But HTML5 tree builder now removes the linefeed. It means linefeed removal happens twice.
    15186         And devalutValue() removal is not needed anymore.
    15187 
    15188         * html/HTMLTextAreaElement.cpp:
    15189         (WebCore::HTMLTextAreaElement::setDefaultValue): Remove an extra linefeed insertion at the beginning.
    15190         (WebCore::HTMLTextAreaElement::defaultValue): Remove linefeed removal check in default value creation function.
    15191 
    15192 2011-03-31  Luke Macpherson   <macpherson@chromium.org>
    15193 
    15194         Reviewed by Dimitri Glazkov.
    15195 
    15196         Remove refcounting of CSSStyleApplyProperty singleton
    15197         https://bugs.webkit.org/show_bug.cgi?id=57592
    15198 
    15199         No new tests required as no functionality changes.
    15200 
    15201         * css/CSSStyleApplyProperty.h:
    15202 
    15203 2011-03-31  Anantanarayanan G Iyengar  <ananta@chromium.org>
    15204 
    15205         Reviewed by Adam Barth.
    15206 
    15207         https://bugs.webkit.org/show_bug.cgi?id=45855
    15208         Windowless plugins added dynamically to the DOM should receive paint events.
    15209         This is done by ensuring that the plugin widget is marked for painting when
    15210         it is added.
    15211 
    15212         Test: plugins/windowless_plugin_paint_test.html
    15213 
    15214         * rendering/RenderWidget.cpp:
    15215         (WebCore::RenderWidget::setWidget):
    15216 
    15217 2011-03-31  Adam Roben  <aroben@apple.com>
    15218 
    15219         Add a new AbstractCACFLayerTreeHost base class
    15220 
    15221         This class exposes the interface that LayerChangesFlusher and PlatformCALayer rely on.
    15222         CACFLayerTreeHost now derives from AbstractCACFLayerTreeHost. In the future, WebKit2's
    15223         LayerTreeHostCA will also derive from it (on Windows).
    15224 
    15225         This should cause no change in behavior.
    15226 
    15227         Fixes <http://webkit.org/b/57598> Coupling between CACFLayerTreeHost and other CACF-related
    15228         code is too high
    15229 
    15230         Reviewed by Anders Carlsson.
    15231 
    15232         * WebCore.vcproj/WebCore.vcproj: Added AbstractCACFLayerTreeHost, and let VS reorder files.
    15233 
    15234         * platform/graphics/ca/win/AbstractCACFLayerTreeHost.h: Added.
    15235 
    15236         * platform/graphics/ca/win/CACFLayerTreeHost.h: Changed to derive from
    15237         AbstractCACFLayerTreeHost, and annotated the overrides of its functions.
    15238         AbstractCACFLayerTreeHost also allows us to get rid of the friend relationship with
    15239         PlatformCALayer.
    15240 
    15241         * platform/graphics/ca/win/LayerChangesFlusher.cpp:
    15242         (WebCore::LayerChangesFlusher::flushPendingLayerChangesSoon):
    15243         (WebCore::LayerChangesFlusher::cancelPendingFlush):
    15244         (WebCore::LayerChangesFlusher::hookFired):
    15245         * platform/graphics/ca/win/LayerChangesFlusher.h:
    15246         * platform/graphics/ca/win/PlatformCALayerWin.cpp:
    15247         (layerTreeHostForLayer):
    15248         (PlatformCALayer::rootLayer):
    15249         (PlatformCALayer::setNeedsCommit):
    15250         (PlatformCALayer::addAnimationForKey):
    15251         (PlatformCALayer::removeAnimationForKey):
    15252         Changed to use AbstractCACFLayerTreeHost instead of using CACFLayerTreeHost directly.
    15253 
    15254 2011-03-31  Andy Estes  <aestes@apple.com>
    15255 
    15256         Reviewed by Alexey Proskuryakov.
    15257 
    15258         REGRESSION: Java applet fails to load when <object> has a classid attribute.
    15259         https://bugs.webkit.org/show_bug.cgi?id=52703
    15260        
    15261         Java applets embedded with the object element sometimes use classid to
    15262         specify their main resource. When this is done, the classid is prefixed
    15263         with "java:". Treat these as supported classids in WebKit.
    15264 
    15265         Test: java/embedding-java-with-object.html
    15266 
    15267         * html/HTMLObjectElement.cpp:
    15268         (WebCore::HTMLObjectElement::hasValidClassId): If the MIME type is a
    15269         Java Applet type and the classid starts with "java:", the classid
    15270         should be considered valid.
    15271 
    15272 2011-03-31  Brent Fulgham  <bfulgham@webkit.org>
    15273 
    15274         Reviewed Adam Roben.
    15275 
    15276         [WinCairo] Implement Missing drawWindowsBitmap method.
    15277         https://bugs.webkit.org/show_bug.cgi?id=57409
    15278 
    15279         * WebCore.vcproj/WebCore.vcproj: Add new DIBPixelData files.
    15280         * platform/graphics/GraphicsContext.h:
    15281         (WebCore::GraphicsContext::WindowsBitmap::buffer):
    15282         (WebCore::GraphicsContext::WindowsBitmap::bufferLength):
    15283         (WebCore::GraphicsContext::WindowsBitmap::size):
    15284         (WebCore::GraphicsContext::WindowsBitmap::bytesPerRow):
    15285         (WebCore::GraphicsContext::WindowsBitmap::bitsPerPixel):
    15286         (WebCore::GraphicsContext::WindowsBitmap::windowsDIB):
    15287         * platform/graphics/win/GraphicsContextCGWin.cpp:
    15288         (WebCore::CGContextWithHDC):
    15289         (WebCore::GraphicsContext::releaseWindowsContext): Modified to use
    15290         new common routines.
    15291         * platform/graphics/win/GraphicsContextCairoWin.cpp:
    15292         (WebCore::drawBitmapToContext): New common drawing implementation.
    15293         (WebCore::GraphicsContext::releaseWindowsContext): Modified to use
    15294         new common routines.
    15295         (WebCore::GraphicsContext::drawWindowsBitmap):
    15296         * platform/graphics/win/GraphicsContextWin.cpp:
    15297         (WebCore::GraphicsContext::WindowsBitmap::WindowsBitmap): Modified
    15298         to use new DIBPixelData data type.
    15299         * platform/graphics/win/DIBPixelData.cpp: Added.
    15300         (WebCore::DIBPixelData::DIBPixelData):
    15301         (WebCore::DIBPixelData::initialize):
    15302         * platform/graphics/win/DIBPixelData.h: Added.
    15303         (WebCore::DIBPixelData::DIBPixelData):
    15304         (WebCore::DIBPixelData::buffer):
    15305         (WebCore::DIBPixelData::bufferLength):
    15306         (WebCore::DIBPixelData::size):
    15307         (WebCore::DIBPixelData::bytesPerRow):
    15308         (WebCore::DIBPixelData::bitsPerPixel):
    15309 
    15310 2011-03-31  Sheriff Bot  <webkit.review.bot@gmail.com>
    15311 
    15312         Unreviewed, rolling out r81849.
    15313         http://trac.webkit.org/changeset/81849
    15314         https://bugs.webkit.org/show_bug.cgi?id=57588
    15315 
    15316         CSS Parsing broke with -webkit-calc and introduced crashes
    15317         (Requested by inferno-sec on #webkit).
    15318 
    15319         * css/CSSGrammar.y:
    15320         * css/CSSParserValues.cpp:
    15321         * css/CSSParserValues.h:
    15322         * css/tokenizer.flex:
    15323 
    15324 2011-03-31  Adam Roben  <aroben@apple.com>
    15325 
    15326         Don't ref CACFLayerTreeHosts when telling them to flush layer changes
    15327 
    15328         LayerChangesFlusher was reffing CACFLayerTreeHosts before calling out to them. This would
    15329         have protected us if calling out to one CACFLayerTreeHost could cause a different
    15330         CACFLayerTreeHost to be destroyed. But that isn't possible; each CACFLayerTreeHost is
    15331         associated with its own page, and flushing layer changes doesn't touch any other page. So it
    15332         isn't possible for a CACFLayerTreeHost to be deleted while another one is flushing layer
    15333         changes.
    15334 
    15335         One benefit of this change is that it will make it easier to make LayerChangesFlusher
    15336         interact with a forthcoming abstract base class, rather than with CACFLayerTreeHost itself.
    15337 
    15338         This should cause no change in behavior.
    15339 
    15340         Fixes <http://webkit.org/b/57590> LayerChangesFlusher unnecessarily refs CACFLayerTreeHost
    15341         before calling out to it
    15342 
    15343         Reviewed by Darin Adler.
    15344 
    15345         * platform/graphics/ca/win/LayerChangesFlusher.cpp:
    15346         (WebCore::LayerChangesFlusher::hookFired): Just store bare pointers to the
    15347         CACFLayerTreeHosts.
    15348 
    15349 2011-03-31  Antti Koivisto  <antti@apple.com>
    15350 
    15351         Reviewed by Oliver Hunt.
    15352 
    15353         https://bugs.webkit.org/show_bug.cgi?id=57574
    15354         Preload scanner fails to pick up resources from document.write() output
    15355 
    15356         - Scan script inserted source using a separate preload scanner.
    15357         - Make the main preload scanner correctly process the remaining source if script execution blocked the parser.
    15358 
    15359         Tests: fast/preloader/document-write-2.html
    15360                fast/preloader/document-write.html
    15361 
    15362         * html/parser/HTMLDocumentParser.cpp:
    15363         (WebCore::HTMLDocumentParser::insert):
    15364         (WebCore::HTMLDocumentParser::appendCurrentInputStreamToPreloadScannerAndScan):
    15365         * html/parser/HTMLDocumentParser.h:
    15366         (WebCore::HTMLDocumentParser::hasPreloadScanner):
    15367         * html/parser/HTMLScriptRunner.cpp:
    15368         (WebCore::HTMLScriptRunner::execute):
    15369         * html/parser/HTMLScriptRunnerHost.h:
    15370 
    15371 2011-03-31  Tony Gentilcore  <tonyg@chromium.org>
    15372 
    15373         Build fix: Add missing include
    15374         https://bugs.webkit.org/show_bug.cgi?id=57587
    15375 
    15376         * loader/cache/CachedResourceLoader.cpp:
    15377 
    15378 2011-03-31  Tony Gentilcore  <tonyg@chromium.org>
    15379 
    15380         Reviewed by Antti Koivisto.
    15381 
    15382         PreloadScanner doesn&apos;t find image while executing script in head
    15383         https://bugs.webkit.org/show_bug.cgi?id=45072
    15384 
    15385         Previously, while parsing the head, no resources in the body would be
    15386         preloaded. After this patch, we will preload scripts and styles in the
    15387         body, although we continue to hold off on all images until the page is
    15388         first rendered.
    15389 
    15390         To evaluate this change, I've recorded a sampling of 45 of alexa's top
    15391         sites and replayed them under simulated bandwidth conditions, loading
    15392         each 5-15 times until stddev is small enough.
    15393 
    15394         Time to the load event improved at the overall average by 3%.
    15395         Most sites are unchanged, but sites with certain blocking patterns had
    15396         big wins -- ebay 19% (331ms), microsoft 15% (226ms), conduit 15% (277ms)
    15397         nytimes 7% (182ms).
    15398 
    15399         Time to DOM content loaded event improved by 6% with some even bigger
    15400         individual wins.
    15401 
    15402         First paint time held steady.
    15403 
    15404         Note that I originally wanted to allow preloading of images while in the
    15405         head, but that regressed first paint time (even though it was better for
    15406         overall load time).
    15407 
    15408         Test: fast/preloader/scan-body-from-head.html
    15409 
    15410         * loader/cache/CachedResourceLoader.cpp:
    15411         (WebCore::CachedResourceLoader::preload):
    15412 
    15413 2011-03-31  Sheriff Bot  <webkit.review.bot@gmail.com>
    15414 
    15415         Unreviewed, rolling out r82616.
    15416         http://trac.webkit.org/changeset/82616
    15417         https://bugs.webkit.org/show_bug.cgi?id=57585
    15418 
    15419         New test does not pass on Gtk, chromium-mac, chromium-linux
    15420         and possibly elsewhere (Requested by abarth|gardener on
    15421         #webkit).
    15422 
    15423         * rendering/RenderWidget.cpp:
    15424         (WebCore::RenderWidget::setWidget):
    15425 
    15426 2011-03-31  Adrienne Walker  <enne@google.com>
    15427 
    15428         Reviewed by James Robinson.
    15429 
    15430         [chromium] Fix ownership semantics for LayerChromium/CCLayerImpl
    15431         https://bugs.webkit.org/show_bug.cgi?id=57577
    15432 
    15433         LayerRendererChromium now uses a RefPtr to preserve ownership of all
    15434         of the CCLayerImpl layers that it is using during the update/draw
    15435         pass.  Addtionally, when a LayerChromium is destroyed, the weak
    15436         owner pointer from its CCLayerImpl is correctly unset.
    15437 
    15438         * platform/graphics/chromium/LayerRendererChromium.cpp:
    15439         (WebCore::LayerRendererChromium::compareLayerZ):
    15440         (WebCore::LayerRendererChromium::updateAndDrawLayers):
    15441         (WebCore::LayerRendererChromium::updateLayers):
    15442         (WebCore::LayerRendererChromium::drawLayers):
    15443         (WebCore::LayerRendererChromium::updatePropertiesAndRenderSurfaces):
    15444         (WebCore::LayerRendererChromium::drawLayer):
    15445         * platform/graphics/chromium/LayerRendererChromium.h:
    15446         * platform/graphics/chromium/RenderSurfaceChromium.h:
    15447         * platform/graphics/chromium/VideoLayerChromium.cpp:
    15448         (WebCore::VideoLayerChromium::updateCompositorResources):
    15449         * platform/graphics/chromium/cc/CCLayerImpl.cpp:
    15450         (WebCore::CCLayerImpl::drawsContent):
    15451         (WebCore::CCLayerImpl::cleanupResources):
    15452 
    15453 2011-03-31  Sam Weinig  <sam@webkit.org>
    15454 
    15455         Reviewed by Anders Carlsson.
    15456 
    15457         Rename WebCore's UI_STRING to WEB_UI_STRING to not overlap with WebKit API
    15458         https://bugs.webkit.org/show_bug.cgi?id=57582
    15459 
    15460         * platform/DefaultLocalizationStrategy.cpp:
    15461         * platform/LocalizedStrings.h:
    15462 
    15463 2011-03-31  Eric Seidel  <eric@webkit.org>
    15464 
    15465         Reviewed by Ryosuke Niwa.
    15466 
    15467         Rename BidiResolver::lastBeforeET to m_lastBeforeET to match modern style
    15468         https://bugs.webkit.org/show_bug.cgi?id=57550
    15469 
    15470         * platform/text/BidiResolver.h:
    15471         (WebCore::::createBidiRunsForLine):
    15472 
    15473 2011-03-31  Anantanarayanan G Iyengar  <ananta@chromium.org>
    15474 
    15475         Reviewed by James Robinson.
    15476 
    15477         https://bugs.webkit.org/show_bug.cgi?id=45855
    15478         Windowless plugins added dynamically to the DOM should receive paint events.
    15479         This is done by ensuring that the plugin widget is marked for painting when
    15480         it is added.
    15481 
    15482         Test: plugins/windowless_plugin_paint_test.html
    15483 
    15484         * rendering/RenderWidget.cpp:
    15485         (WebCore::RenderWidget::setWidget):
    15486 
    15487 2011-03-31  Stephen White  <senorblanco@chromium.org>
    15488 
    15489         Reviewed by Kenneth Russell.
    15490 
    15491         Speed up accelerated path drawing.
    15492         https://bugs.webkit.org/show_bug.cgi?id=57371
    15493         This CL does three things:  re-uses the same vertex and index buffer
    15494         for all path draws, converts all vertex layouts from vec3 to vec2, and
    15495         does a convexity check for polygons before passing them to the
    15496         tesselator.
    15497 
    15498         Covered by canvas/philip/tests/2d.path.bezierCurveTo.*, and others.
    15499 
    15500         * platform/graphics/chromium/GLES2Canvas.cpp:
    15501         Replace the Vector<double> for interpolated curves with a
    15502         Vector<FloatPoint>.
    15503         (WebCore::Cubic::evaluate):
    15504         Inline the evaluation function (as Quadratic does).
    15505         (WebCore::GLES2Canvas::GLES2Canvas):
    15506         Initialize the m_pathIndexBuffer.
    15507         (WebCore::GLES2Canvas::~GLES2Canvas):
    15508         Delete the path vertex and index buffers on destruction.
    15509         (WebCore::interpolateQuadratic):
    15510         (WebCore::interpolateCubic):
    15511         Interpolate directly to a Vector<FloatPoint>, rather than
    15512         Vector<double>.
    15513         (WebCore::PolygonData::PolygonData):
    15514         (WebCore::combineData):
    15515         Replace the DoubleVector with a FloatPointVector.
    15516         (WebCore::GLES2Canvas::tesselateAndFillPath):
    15517         Move curve drawing into this function, and rename it to reflect the
    15518         new behaviour.  Re-use the common vertex and index buffers.  If the
    15519         curve consists of a single convex polygon, draw the curve as a single
    15520         triangle fan.  Otherwise, convert it to doubles and pass it to the
    15521         tesselator.
    15522         (WebCore::GLES2Canvas::fillPathInternal):
    15523         * platform/graphics/chromium/GLES2Canvas.h:
    15524         Rename createVertexBufferFromPath() -> tesselateAndFillPath().
    15525         Add a persistent index buffer for all path draws.
    15526         * platform/graphics/gpu/BicubicShader.cpp:
    15527         (WebCore::BicubicShader::create):
    15528         (WebCore::BicubicShader::use):
    15529         * platform/graphics/gpu/ConvolutionShader.cpp:
    15530         (WebCore::ConvolutionShader::create):
    15531         (WebCore::ConvolutionShader::use):
    15532         Use vec2s instead of vec3s for all vertex data.
    15533         * platform/graphics/gpu/LoopBlinnMathUtils.cpp:
    15534         (WebCore::LoopBlinnMathUtils::convexCompare):
    15535         (WebCore::LoopBlinnMathUtils::convexCross):
    15536         (WebCore::LoopBlinnMathUtils::convexCheckTriple):
    15537         (WebCore::LoopBlinnMathUtils::isConvex):
    15538         * platform/graphics/gpu/LoopBlinnMathUtils.h:
    15539         Implement a convexity check, based on the code in Graphics Gems IV.
    15540         * platform/graphics/gpu/Shader.cpp:
    15541         (WebCore::Shader::generateVertex):
    15542         * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
    15543         (WebCore::SharedGraphicsContext3D::useQuadVertices):
    15544         * platform/graphics/gpu/SolidFillShader.cpp:
    15545         (WebCore::SolidFillShader::use):
    15546         * platform/graphics/gpu/TexShader.cpp:
    15547         (WebCore::TexShader::use):
    15548         Use vec2s instead of vec3s for all vertex data.
    15549 
    15550 2011-03-31  David Hyatt  <hyatt@apple.com>
    15551 
    15552         Reviewed by Simon Fraser.
    15553 
    15554         https://bugs.webkit.org/show_bug.cgi?id=57565
    15555 
    15556         Optimize overflow computations on lines to avoid allocating RenderOverflows in nearly all cases and to avoid even having
    15557         to check the line for overflow in the first place.
    15558        
    15559         For the purposes of overflow computation, an inline object's default containment box for overflow is now assumed to extend
    15560         all the way from lineTop to lineBottom instead of snugly fitting the inline object's own block dimensions. This allows
    15561         replaced objects to be inside spans without triggering overflow allocation.
    15562        
    15563         The overflow accessors on InlineFlowBox have been changed to require passing in the lineTop and lineBottom so that the block
    15564         dimensions can be forced to those values. Because these values are checked during painting and hit testing of lines, the
    15565         lineTop and lineBottom are now passed as arguments to the painting and hit testing functions to avoid repeatedly crawling
    15566         back up to the root box to fetch them.
    15567        
    15568         Added a new boolean flag to all InlineBoxes, knownToHaveNoOverflow(), and optimized for common cases where no overflow can
    15569         possibly be present.  When the bit is set, computeOverflow will just immediately return.
    15570  
    15571         This change speeds up line layout by ~10%.
    15572 
    15573         * rendering/EllipsisBox.cpp:
    15574         (WebCore::EllipsisBox::paint):
    15575         (WebCore::EllipsisBox::nodeAtPoint):
    15576         * rendering/EllipsisBox.h:
    15577         * rendering/InlineBox.cpp:
    15578         (WebCore::InlineBox::paint):
    15579         (WebCore::InlineBox::nodeAtPoint):
    15580         (WebCore::InlineBox::clearKnownToHaveNoOverflow):
    15581         * rendering/InlineBox.h:
    15582         (WebCore::InlineBox::InlineBox):
    15583         (WebCore::InlineBox::logicalFrameRect):
    15584         (WebCore::InlineBox::knownToHaveNoOverflow):
    15585         * rendering/InlineFlowBox.cpp:
    15586         (WebCore::InlineFlowBox::addToLine):
    15587         (WebCore::InlineFlowBox::placeBoxesInInlineDirection):
    15588         (WebCore::InlineFlowBox::placeBoxesInBlockDirection):
    15589         (WebCore::InlineFlowBox::addBoxShadowVisualOverflow):
    15590         (WebCore::InlineFlowBox::addTextBoxVisualOverflow):
    15591         (WebCore::InlineFlowBox::addReplacedChildOverflow):
    15592         (WebCore::InlineFlowBox::computeOverflow):
    15593         (WebCore::InlineFlowBox::setLayoutOverflow):
    15594         (WebCore::InlineFlowBox::setVisualOverflow):
    15595         (WebCore::InlineFlowBox::setOverflowFromLogicalRects):
    15596         (WebCore::InlineFlowBox::nodeAtPoint):
    15597         (WebCore::InlineFlowBox::paint):
    15598         * rendering/InlineFlowBox.h:
    15599         (WebCore::InlineFlowBox::layoutOverflowRect):
    15600         (WebCore::InlineFlowBox::logicalLeftLayoutOverflow):
    15601         (WebCore::InlineFlowBox::logicalRightLayoutOverflow):
    15602         (WebCore::InlineFlowBox::logicalTopLayoutOverflow):
    15603         (WebCore::InlineFlowBox::logicalBottomLayoutOverflow):
    15604         (WebCore::InlineFlowBox::logicalLayoutOverflowRect):
    15605         (WebCore::InlineFlowBox::visualOverflowRect):
    15606         (WebCore::InlineFlowBox::logicalLeftVisualOverflow):
    15607         (WebCore::InlineFlowBox::logicalRightVisualOverflow):
    15608         (WebCore::InlineFlowBox::logicalTopVisualOverflow):
    15609         (WebCore::InlineFlowBox::logicalBottomVisualOverflow):
    15610         (WebCore::InlineFlowBox::logicalVisualOverflowRect):
    15611         (WebCore::InlineFlowBox::frameRectIncludingLineHeight):
    15612         (WebCore::InlineFlowBox::logicalFrameRectIncludingLineHeight):
    15613         * rendering/InlineTextBox.cpp:
    15614         (WebCore::InlineTextBox::nodeAtPoint):
    15615         (WebCore::InlineTextBox::paint):
    15616         * rendering/InlineTextBox.h:
    15617         * rendering/RenderBlock.cpp:
    15618         (WebCore::RenderBlock::simplifiedNormalFlowLayout):
    15619         (WebCore::RenderBlock::paintEllipsisBoxes):
    15620         (WebCore::RenderBlock::adjustLinePositionForPagination):
    15621         * rendering/RenderBlock.h:
    15622         * rendering/RenderBlockLineLayout.cpp:
    15623         (WebCore::RenderBlock::computeInlineDirectionPositionsForLine):
    15624         (WebCore::RenderBlock::layoutInlineChildren):
    15625         (WebCore::RenderBlock::determineStartPosition):
    15626         (WebCore::RenderBlock::matchedEndLine):
    15627         (WebCore::RenderBlock::addOverflowFromInlineChildren):
    15628         * rendering/RenderBox.h:
    15629         (WebCore::RenderBox::hasRenderOverflow):
    15630         * rendering/RenderBoxModelObject.cpp:
    15631         (WebCore::RenderBoxModelObject::paintFillLayerExtended):
    15632         * rendering/RenderInline.cpp:
    15633         (WebCore::RenderInline::linesVisualOverflowBoundingBox):
    15634         * rendering/RenderLineBoxList.cpp:
    15635         (WebCore::RenderLineBoxList::anyLineIntersectsRect):
    15636         (WebCore::RenderLineBoxList::lineIntersectsDirtyRect):
    15637         (WebCore::RenderLineBoxList::paint):
    15638         (WebCore::RenderLineBoxList::hitTest):
    15639         * rendering/RenderListItem.cpp:
    15640         (WebCore::RenderListItem::positionListMarker):
    15641         * rendering/RootInlineBox.cpp:
    15642         (WebCore::RootInlineBox::paintEllipsisBox):
    15643         (WebCore::RootInlineBox::addHighlightOverflow):
    15644         (WebCore::RootInlineBox::paint):
    15645         (WebCore::RootInlineBox::nodeAtPoint):
    15646         (WebCore::RootInlineBox::paddedLayoutOverflowRect):
    15647         * rendering/RootInlineBox.h:
    15648         (WebCore::RootInlineBox::logicalTopVisualOverflow):
    15649         (WebCore::RootInlineBox::logicalBottomVisualOverflow):
    15650         (WebCore::RootInlineBox::logicalTopLayoutOverflow):
    15651         (WebCore::RootInlineBox::logicalBottomLayoutOverflow):
    15652         * rendering/svg/SVGInlineFlowBox.cpp:
    15653         (WebCore::SVGInlineFlowBox::paint):
    15654         * rendering/svg/SVGInlineFlowBox.h:
    15655         * rendering/svg/SVGInlineTextBox.cpp:
    15656         (WebCore::SVGInlineTextBox::paint):
    15657         * rendering/svg/SVGInlineTextBox.h:
    15658         * rendering/svg/SVGRootInlineBox.cpp:
    15659         (WebCore::SVGRootInlineBox::paint):
    15660         * rendering/svg/SVGRootInlineBox.h:
    15661 
    15662 2011-03-31  Pavel Feldman  <pfeldman@chromium.org>
    15663 
    15664         Reviewed by Yury Semikhatsky.
    15665 
    15666         Web Inspector: disable properties abbreviation.
    15667         https://bugs.webkit.org/show_bug.cgi?id=57525
    15668 
    15669         * inspector/InjectedScript.cpp:
    15670         (WebCore::InjectedScript::getProperties):
    15671         * inspector/InjectedScript.h:
    15672         * inspector/InjectedScriptSource.js:
    15673         (.):
    15674         ():
    15675         * inspector/Inspector.json:
    15676         * inspector/InspectorRuntimeAgent.cpp:
    15677         (WebCore::InspectorRuntimeAgent::getProperties):
    15678         * inspector/InspectorRuntimeAgent.h:
    15679         * inspector/front-end/ConsoleView.js:
    15680         (WebInspector.ConsoleView.prototype.completions.evaluated):
    15681         (WebInspector.ConsoleView.prototype._formatarray):
    15682         * inspector/front-end/ObjectPropertiesSection.js:
    15683         (WebInspector.ObjectPropertiesSection.prototype.update.callback):
    15684         (WebInspector.ObjectPropertiesSection.prototype.update):
    15685         (WebInspector.ObjectPropertyTreeElement.prototype.onpopulate):
    15686         (WebInspector.ObjectPropertyTreeElement.prototype.update):
    15687         (WebInspector.ObjectPropertyTreeElement.prototype.startEditing):
    15688         * inspector/front-end/PropertiesSidebarPane.js:
    15689         (WebInspector.PropertiesSidebarPane.prototype.update.nodePrototypesReady):
    15690         * inspector/front-end/RemoteObject.js:
    15691         (WebInspector.RemoteObject.prototype.getOwnProperties):
    15692         (WebInspector.RemoteObject.prototype.getAllProperties):
    15693         (WebInspector.RemoteObject.prototype._getProperties):
    15694         (WebInspector.LocalJSONObject.prototype.getOwnProperties):
    15695         (WebInspector.LocalJSONObject.prototype.getAllProperties):
    15696         * inspector/front-end/inspector.css:
    15697         (.console-formatted-string, .console-formatted-regexp):
    15698 
    15699 2011-03-31  Adam Roben  <aroben@apple.com>
    15700 
    15701         Update WKCACFViewLayerTreeHost for changes to WKCACFView API
    15702 
    15703         This should not result in any change in behavior.
    15704 
    15705         Fixes <http://webkit.org/b/57560> WKCACFViewLayerTreeHost needs to tell WKCACFView where to
    15706         render
    15707 
    15708         Reviewed by Darin Adler.
    15709 
    15710         * platform/graphics/ca/win/WKCACFViewLayerTreeHost.cpp: Updated API declarations.
    15711         (WebCore::WKCACFViewLayerTreeHost::WKCACFViewLayerTreeHost): Tell WKCACFView it should
    15712         render into the window we give it.
    15713 
    15714 2011-03-31  Marius Storm-Olsen  <marius.storm-olsen@nokia.com>
    15715 
    15716         Reviewed by Kenneth Rohde Christiansen.
    15717 
    15718         [Qt] Properly detect phonon include, and avoid double qtLibraryTarget() call
    15719         https://bugs.webkit.org/show_bug.cgi?id=57017
    15720 
    15721         Build fix. No new tests.
    15722 
    15723         * WebCore.pri:
    15724 
    15725 2011-03-31  Vsevolod Vlasov  <vsevik@chromium.org>
    15726 
    15727         Reviewed by Pavel Feldman.
    15728 
    15729         XML viewer is not shown when frame has non-null opener
    15730         https://bugs.webkit.org/show_bug.cgi?id=56384
    15731 
    15732         Removed opener check in XML viewer
    15733 
    15734         Test: http/tests/xmlviewer/extensions-api.html
    15735 
    15736         * xml/XMLTreeViewer.cpp:
    15737         (WebCore::XMLTreeViewer::hasNoStyleInformation):
    15738         * xml/XMLViewer.js:
    15739 
    15740 2011-03-31  Sheriff Bot  <webkit.review.bot@gmail.com>
    15741 
    15742         Unreviewed, rolling out r82589.
    15743         http://trac.webkit.org/changeset/82589
    15744         https://bugs.webkit.org/show_bug.cgi?id=57564
    15745 
    15746         This patch requires many more updated results than it contains
    15747         (Requested by abarth|gardener on #webkit).
    15748 
    15749         * css/CSSSelector.cpp:
    15750         (WebCore::CSSSelector::pseudoId):
    15751         (WebCore::nameToPseudoTypeMap):
    15752         (WebCore::CSSSelector::extractPseudoType):
    15753         * css/CSSSelector.h:
    15754         * css/html.css:
    15755         (meter::-webkit-meter-horizontal-bar):
    15756         (meter::-webkit-meter-vertical-bar):
    15757         (meter::-webkit-meter-horizontal-optimum-value):
    15758         (meter::-webkit-meter-horizontal-suboptimal-value):
    15759         (meter::-webkit-meter-horizontal-even-less-good-value):
    15760         (meter::-webkit-meter-vertical-optimum-value):
    15761         (meter::-webkit-meter-vertical-suboptimal-value):
    15762         (meter::-webkit-meter-vertical-even-less-good-value):
    15763         * rendering/RenderMeter.cpp:
    15764         (WebCore::MeterPartElement::MeterPartElement):
    15765         (WebCore::MeterPartElement::createForPart):
    15766         (WebCore::MeterPartElement::hide):
    15767         (WebCore::MeterPartElement::restoreVisibility):
    15768         (WebCore::MeterPartElement::updateStyleForPart):
    15769         (WebCore::MeterPartElement::saveVisibility):
    15770         (WebCore::RenderMeter::~RenderMeter):
    15771         (WebCore::RenderMeter::createPart):
    15772         (WebCore::RenderMeter::updateFromElement):
    15773         (WebCore::RenderMeter::layoutParts):
    15774         (WebCore::RenderMeter::shouldHaveParts):
    15775         (WebCore::RenderMeter::valuePartRect):
    15776         (WebCore::RenderMeter::orientation):
    15777         (WebCore::RenderMeter::valuePseudoId):
    15778         (WebCore::RenderMeter::barPseudoId):
    15779         * rendering/RenderMeter.h:
    15780         (WebCore::RenderMeter::shadowAttached):
    15781         * rendering/RenderTheme.cpp:
    15782         (WebCore::RenderTheme::supportsMeter):
    15783         * rendering/RenderTheme.h:
    15784         * rendering/RenderThemeMac.h:
    15785         * rendering/RenderThemeMac.mm:
    15786         (WebCore::RenderThemeMac::paintMeter):
    15787         (WebCore::RenderThemeMac::supportsMeter):
    15788         * rendering/style/RenderStyleConstants.h:
    15789 
    15790 2011-03-31  Xan Lopez  <xlopez@igalia.com>
    15791 
    15792         Reviewed by Martin Robinson.
    15793 
    15794         [GTK] Link explicitly with XRender on Linux/Unix
    15795         https://bugs.webkit.org/show_bug.cgi?id=57558
    15796 
    15797         * GNUmakefile.am: add XRender CFLAGS.
    15798 
    15799 2011-03-31  Eric Seidel  <eric@webkit.org>
    15800 
    15801         Reviewed by Ryosuke Niwa.
    15802 
    15803         Rename BidiResolver::emptyRun to m_emtpyRun to match modern style
    15804         https://bugs.webkit.org/show_bug.cgi?id=57549
    15805 
    15806         * platform/text/BidiResolver.h:
    15807         (WebCore::BidiResolver::BidiResolver):
    15808         (WebCore::::appendRun):
    15809         (WebCore::::lowerExplicitEmbeddingLevel):
    15810         (WebCore::::raiseExplicitEmbeddingLevel):
    15811         (WebCore::::deleteRuns):
    15812         (WebCore::::createBidiRunsForLine):
    15813         * rendering/InlineIterator.h:
    15814         (WebCore::InlineBidiResolver::appendRun):
    15815 
    15816 2011-03-31  Tom Sepez  <tsepez@chromium.org>
    15817 
    15818         Reviewed by Eric Seidel.
    15819 
    15820         Make ContainerNode::insertIntoDocument() collect all nodes before
    15821         operating on any of them.  Add small helper function and use it
    15822         througout the file where this action is already taking place.
    15823         https://bugs.webkit.org/show_bug.cgi?id=57265
    15824        
    15825         Test: svg/dom/range-delete.html
    15826 
    15827         * dom/ContainerNode.cpp:
    15828         (WebCore::collectNodes):
    15829         (WebCore::collectTargetNodes):
    15830         (WebCore::ContainerNode::takeAllChildrenFrom):
    15831         (WebCore::willRemoveChildren):
    15832         (WebCore::ContainerNode::insertedIntoDocument):
    15833 
    15834 2011-03-31  Satish Sampath  <satish@chromium.org>
    15835 
    15836         Reviewed by Steve Block.
    15837 
    15838         While drawing a speech input button, validate that the node is really a speech input button.
    15839         https://bugs.webkit.org/show_bug.cgi?id=57469
    15840 
    15841         Test: fast/speech/speech-style-on-non-speech-elements.html
    15842 
    15843         * dom/Element.h:
    15844         (WebCore::Element::isInputFieldSpeechButtonElement):
    15845         * html/shadow/TextControlInnerElements.h:
    15846         (WebCore::InputFieldSpeechButtonElement::isInputFieldSpeechButtonElement):
    15847         (WebCore::toInputFieldSpeechButtonElement):
    15848         * rendering/RenderInputSpeech.cpp:
    15849         (WebCore::RenderInputSpeech::paintInputFieldSpeechButton):
    15850 
    15851 2011-03-31  Ryosuke Niwa  <rniwa@webkit.org>
    15852 
    15853         Build fix after r82588. Reverted unintentional change.
    15854 
    15855         * editing/SelectionController.cpp:
    15856         (WebCore::SelectionController::modifyMovingLeft):
    15857 
    15858 2011-03-31  Mario Sanchez Prada  <msanchez@igalia.com>
    15859 
    15860         Reviewed by Xan Lopez.
    15861 
    15862         [GTK] Warnings happening because of unhandled switch cases in AccessibilityObjectWrapperAtk
    15863         https://bugs.webkit.org/show_bug.cgi?id=57534
    15864 
    15865         Fix compilation warnings.
    15866 
    15867         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
    15868         (getAttributeSetForAccessibilityObject): Add unhandled cases.
    15869 
    15870 2011-03-30  Pavel Podivilov  <podivilov@chromium.org>
    15871 
    15872         Reviewed by Pavel Feldman.
    15873 
    15874         Web Inspector: remove unnecessary newBody output parameter from editScriptSource protocol method.
    15875         https://bugs.webkit.org/show_bug.cgi?id=57444
    15876 
    15877         * bindings/js/ScriptDebugServer.cpp:
    15878         (WebCore::ScriptDebugServer::editScriptSource):
    15879         * bindings/js/ScriptDebugServer.h:
    15880         * bindings/v8/ScriptDebugServer.cpp:
    15881         (WebCore::ScriptDebugServer::editScriptSource):
    15882         * bindings/v8/ScriptDebugServer.h:
    15883         * inspector/Inspector.json:
    15884         * inspector/InspectorDebuggerAgent.cpp:
    15885         (WebCore::InspectorDebuggerAgent::editScriptSource):
    15886         * inspector/InspectorDebuggerAgent.h:
    15887         * inspector/front-end/DebuggerModel.js:
    15888         (WebInspector.DebuggerModel.prototype.editScriptSource):
    15889         (WebInspector.DebuggerModel.prototype._didEditScriptSource):
    15890         * inspector/front-end/DebuggerPresentationModel.js:
    15891         (WebInspector.DebuggerPresentationModel.prototype.editScriptSource.didEditScriptSource):
    15892         (WebInspector.DebuggerPresentationModel.prototype.editScriptSource):
    15893         * inspector/front-end/SourceFrame.js:
    15894         (WebInspector.SourceFrame.prototype._handleSave.didEditScriptSource):
    15895         (WebInspector.SourceFrame.prototype._handleSave):
    15896 
    15897 2011-03-30  MORITA Hajime <morrita@google.com>
    15898 
    15899         Reviewed by Dimitri Glazkov.
    15900 
    15901         <meter> can only support horizontal indicator
    15902         https://bugs.webkit.org/show_bug.cgi?id=56001
    15903 
    15904         - Removed code which deals with the direction and
    15905           left the horizontal path.
    15906         - Removed "horizontal" from related names which is now
    15907           redundant.
    15908        
    15909         * css/CSSSelector.cpp:
    15910         (WebCore::CSSSelector::pseudoId):
    15911         (WebCore::nameToPseudoTypeMap):
    15912         (WebCore::CSSSelector::extractPseudoType):
    15913         * css/CSSSelector.h:
    15914         * css/html.css:
    15915         (meter::-webkit-meter-bar):
    15916         (meter::-webkit-meter-optimum-value):
    15917         (meter::-webkit-meter-suboptimal-value):
    15918         (meter::-webkit-meter-even-less-good-value):
    15919         * rendering/RenderMeter.cpp:
    15920         (WebCore::RenderMeter::~RenderMeter):
    15921         (WebCore::RenderMeter::createPart):
    15922         (WebCore::RenderMeter::updateFromElement):
    15923         (WebCore::RenderMeter::layoutParts):
    15924         (WebCore::RenderMeter::styleDidChange):
    15925         (WebCore::RenderMeter::shouldHaveParts):
    15926         (WebCore::RenderMeter::valuePartRect):
    15927         (WebCore::RenderMeter::valuePseudoId):
    15928         (WebCore::RenderMeter::barPseudoId):
    15929         (WebCore::RenderMeter::detachShadows):
    15930         (WebCore::RenderMeter::updateShadows):
    15931         * rendering/RenderMeter.h:
    15932         (WebCore::RenderMeter::shadowAttached):
    15933         * rendering/RenderTheme.cpp:
    15934         (WebCore::RenderTheme::supportsMeter):
    15935         * rendering/RenderTheme.h:
    15936         * rendering/RenderThemeMac.h:
    15937         * rendering/RenderThemeMac.mm:
    15938         (WebCore::RenderThemeMac::paintMeter):
    15939         (WebCore::RenderThemeMac::supportsMeter):
    15940         * rendering/style/RenderStyleConstants.h:
    15941 
    15942 2011-03-30  Xiaomei Ji  <xji@chromium.org>
    15943 
    15944         Reviewed by Ryosuke Niwa.
    15945 
    15946         Experiment with moving caret by word in visual order.
    15947         https://bugs.webkit.org/show_bug.cgi?id=57336
    15948 
    15949         Follow Firefox's convention in Windows,
    15950         In LTR block, word break visually moves cursor to the left boundary of words,
    15951         In RTL block, word break visually moves cursor to the right boundary of words.
    15952 
    15953         This is the 1st version of implementing "move caret by word in visual order".
    15954         It only works in the following situation:
    15955         1. For a LTR box in a LTR block or a RTL box in RTL block,
    15956         when caret is at the left boundary of the box and we are looking for
    15957         the word boundary in right.
    15958         2. For a LTR or RTL box in a LTR block, when caret is at the left boundary
    15959         of the box and we are looking for the word boundary in left and
    15960         previous box is a LTR box.
    15961         3. For a LTR or RTL box in a RTL block, when the caret is at the right
    15962         boundary of the box and we are looking for the word boundary in right and next box is RTL box.
    15963 
    15964         An experimental granularity is introduced, as a side effect, functions having switch statements
    15965         to handle those granularities have to add more one case to handle this new granularity.
    15966         The experimental granularity is exposed though JS by '-webkit-visual-word".
    15967 
    15968         The overall algorithm is looping through inline boxes visually and looking
    15969         for the visually nearest word break position.
    15970 
    15971         Test: editing/selection/move-by-word-visually.html
    15972 
    15973         * editing/SelectionController.cpp:
    15974         (WebCore::SelectionController::modifyExtendingRight):
    15975         (WebCore::SelectionController::modifyExtendingForward):
    15976         (WebCore::SelectionController::modifyMovingRight):
    15977         (WebCore::SelectionController::modifyMovingForward):
    15978         (WebCore::SelectionController::modifyExtendingLeft):
    15979         (WebCore::SelectionController::modifyExtendingBackward):
    15980         (WebCore::SelectionController::modifyMovingLeft):
    15981         (WebCore::SelectionController::modifyMovingBackward):
    15982         * editing/TextGranularity.h:
    15983         * editing/VisibleSelection.cpp:
    15984         (WebCore::VisibleSelection::setStartAndEndFromBaseAndExtentRespectingGranularity):
    15985         * editing/visible_units.cpp:
    15986         (WebCore::previousWordBreakInBoxInsideBlockWithSameDirectionality):
    15987         (WebCore::wordBoundaryInBox):
    15988         (WebCore::wordBoundaryInAdjacentBoxes):
    15989         (WebCore::leftWordBoundary):
    15990         (WebCore::rightWordBoundary):
    15991         (WebCore::leftWordPosition):
    15992         (WebCore::rightWordPosition):
    15993         * editing/visible_units.h:
    15994         * page/DOMSelection.cpp:
    15995         (WebCore::DOMSelection::modify):
    15996 
    15997 2011-03-31  Dimitri Glazkov  <dglazkov@chromium.org>
    15998 
    15999         Reviewed by Darin Adler.
    16000 
    16001         Move coordinate-computing logic into MouseRelatedEvent.
    16002         https://bugs.webkit.org/show_bug.cgi?id=57521
    16003 
    16004         Refactoring, covered by existing tests.
    16005 
    16006         * dom/EventDispatcher.cpp:
    16007         (WebCore::EventDispatcher::dispatchWheelEvent): Yank calculation of
    16008             coordinates out.
    16009         (WebCore::EventDispatcher::dispatchMouseEvent): Ditto.
    16010         * dom/MouseEvent.cpp:
    16011         (WebCore::MouseEvent::create): Add coordinate-computing logic.
    16012         * dom/MouseEvent.h: Adjust decl to reflect new meaning of params.
    16013         * dom/MouseRelatedEvent.cpp:
    16014         (WebCore::MouseRelatedEvent::MouseRelatedEvent): Ditto.
    16015         * page/EventHandler.cpp:
    16016         (WebCore::EventHandler::dispatchDragEvent): Ditto.
    16017 
    16018 2011-03-30  Alexander Pavlov  <apavlov@chromium.org>
    16019 
    16020         Reviewed by Pavel Feldman.
    16021 
    16022         Web Inspector: document CSS agent.
    16023         https://bugs.webkit.org/show_bug.cgi?id=57435
    16024 
    16025         * inspector/Inspector.json:
    16026 
    16027 2011-03-31  Andrey Kosyakov  <caseq@chromium.org>
    16028 
    16029         Reviewed by Yury Semikhatsky.
    16030 
    16031         Web Inspector: remove periods at the end of error messages
    16032         https://bugs.webkit.org/show_bug.cgi?id=57544
    16033 
    16034         * inspector/InjectedScript.cpp:
    16035         (WebCore::InjectedScript::getProperties):
    16036         (WebCore::InjectedScript::makeObjectCall):
    16037         * inspector/InspectorCSSAgent.cpp:
    16038         (WebCore::InspectorCSSAgent::elementForId):
    16039         (WebCore::InspectorCSSAgent::styleSheetForId):
    16040         * inspector/InspectorDOMAgent.cpp:
    16041         (WebCore::InspectorDOMAgent::assertNode):
    16042         (WebCore::InspectorDOMAgent::assertElement):
    16043         (WebCore::InspectorDOMAgent::assertHTMLElement):
    16044         (WebCore::InspectorDOMAgent::querySelector):
    16045         (WebCore::InspectorDOMAgent::querySelectorAll):
    16046         (WebCore::InspectorDOMAgent::setAttribute):
    16047         (WebCore::InspectorDOMAgent::removeAttribute):
    16048         (WebCore::InspectorDOMAgent::removeNode):
    16049         (WebCore::InspectorDOMAgent::setNodeValue):
    16050         * inspector/InspectorDebuggerAgent.cpp:
    16051         (WebCore::InspectorDebuggerAgent::setPauseOnExceptionsState):
    16052         * inspector/InspectorResourceAgent.cpp:
    16053         (WebCore::InspectorResourceAgent::resourceContent):
    16054         (WebCore::InspectorResourceAgent::resourceContentBase64):
    16055         (WebCore::InspectorResourceAgent::getResourceContent):
    16056         * inspector/InspectorRuntimeAgent.cpp:
    16057         (WebCore::InspectorRuntimeAgent::setPropertyValue):
    16058 
    16059 2011-03-31  Evan Martin  <evan@chromium.org>
    16060 
    16061         Reviewed by Eric Seidel.
    16062 
    16063         <title> should support dir attribute
    16064         https://bugs.webkit.org/show_bug.cgi?id=50961
    16065 
    16066         Introduce a new StringWithDirection object that carries a String along
    16067         with the TextDirection associated with the String.  Use this object for
    16068         document titles used within WebCore, because in HTML the direction of
    16069         a title can be set with the 'dir' attribute.
    16070 
    16071         Put FIXMEs at the WebKit level to expose the new direction information
    16072         to clients.
    16073 
    16074         No behavioral change intended, so no new tests.  A follow-up will expose
    16075         the title direction and hopefully can be accompanied by tests that
    16076         verify it is correct.
    16077 
    16078         * dom/Document.cpp:
    16079         (WebCore::Document::Document):
    16080         (WebCore::Document::updateTitle):
    16081         (WebCore::Document::setTitle):
    16082         (WebCore::Document::removeTitle):
    16083         * dom/Document.h:
    16084         (WebCore::Document::title):
    16085         * html/HTMLTitleElement.cpp:
    16086         (WebCore::HTMLTitleElement::HTMLTitleElement):
    16087         (WebCore::HTMLTitleElement::childrenChanged):
    16088         (WebCore::HTMLTitleElement::text):
    16089         (WebCore::HTMLTitleElement::textWithDirection):
    16090         * html/HTMLTitleElement.h:
    16091         * loader/DocumentLoader.cpp:
    16092         (WebCore::DocumentLoader::setTitle):
    16093         * loader/DocumentLoader.h:
    16094         (WebCore::DocumentLoader::title):
    16095         * loader/EmptyClients.h:
    16096         (WebCore::EmptyFrameLoaderClient::dispatchDidReceiveTitle):
    16097         (WebCore::EmptyFrameLoaderClient::setTitle):
    16098         * loader/FrameLoader.cpp:
    16099         (WebCore::FrameLoader::receivedFirstData):
    16100         (WebCore::FrameLoader::commitProvisionalLoad):
    16101         (WebCore::FrameLoader::setTitle):
    16102         * loader/FrameLoader.h:
    16103         * loader/FrameLoaderClient.h:
    16104         * loader/HistoryController.cpp:
    16105         (WebCore::HistoryController::updateForBackForwardNavigation):
    16106         (WebCore::HistoryController::updateForReload):
    16107         (WebCore::HistoryController::updateForRedirectWithLockedBackForwardList):
    16108         (WebCore::HistoryController::updateForClientRedirect):
    16109         (WebCore::HistoryController::updateForCommit):
    16110         (WebCore::HistoryController::setCurrentItemTitle):
    16111         (WebCore::HistoryController::initializeItem):
    16112         * loader/HistoryController.h:
    16113         * platform/text/StringWithDirection.h: Added.
    16114         (WebCore::StringWithDirection::StringWithDirection):
    16115         (WebCore::StringWithDirection::operator==):
    16116         (WebCore::StringWithDirection::operator!=):
    16117         * svg/SVGTitleElement.cpp:
    16118         (WebCore::SVGTitleElement::insertedIntoDocument):
    16119         (WebCore::SVGTitleElement::childrenChanged):
    16120 
    16121 2011-03-31  Alexander Pavlov  <apavlov@chromium.org>
    16122 
    16123         Reviewed by Yury Semikhatsky.
    16124 
    16125         Web Inspector: CSS domain - make a "range" object, get rid of "properties" object for Style objects
    16126         https://bugs.webkit.org/show_bug.cgi?id=57538
    16127 
    16128         * inspector/InspectorStyleSheet.cpp:
    16129         (WebCore::buildSourceRangeObject):
    16130         (WebCore::InspectorStyle::buildObjectForStyle):
    16131         (WebCore::InspectorStyle::populateObjectWithStyleProperties):
    16132         * inspector/front-end/AuditRules.js:
    16133         (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.evalCallback.selectorsCallback):
    16134         * inspector/front-end/CSSStyleModel.js:
    16135         (WebInspector.CSSStyleDeclaration):
    16136 
    16137 2011-03-31  Sheriff Bot  <webkit.review.bot@gmail.com>
    16138 
    16139         Unreviewed, rolling out r82565.
    16140         http://trac.webkit.org/changeset/82565
    16141         https://bugs.webkit.org/show_bug.cgi?id=57541
    16142 
    16143         Caused assertion failures. (Requested by bbandix on #webkit).
    16144 
    16145         * platform/graphics/filters/FEFlood.cpp:
    16146         (WebCore::FEFlood::setFloodColor):
    16147         (WebCore::FEFlood::setFloodOpacity):
    16148         * platform/graphics/filters/FEFlood.h:
    16149         * platform/graphics/filters/FESpecularLighting.cpp:
    16150         (WebCore::FESpecularLighting::setLightingColor):
    16151         * platform/graphics/filters/FESpecularLighting.h:
    16152         * rendering/svg/RenderSVGResourceFilterPrimitive.cpp:
    16153         * rendering/svg/RenderSVGResourceFilterPrimitive.h:
    16154         * rendering/svg/SVGResourcesCache.cpp:
    16155         (WebCore::SVGResourcesCache::clientStyleChanged):
    16156         * svg/SVGFEDiffuseLightingElement.cpp:
    16157         (WebCore::SVGFEDiffuseLightingElement::setFilterEffectAttribute):
    16158         * svg/SVGFEFloodElement.cpp:
    16159         * svg/SVGFEFloodElement.h:
    16160         * svg/SVGFESpecularLightingElement.cpp:
    16161         (WebCore::SVGFESpecularLightingElement::setFilterEffectAttribute):
    16162 
    16163 2011-03-31  Renata Hodovan  <reni@webkit.org>
    16164 
    16165         Reviewed by Dirk Schulze.
    16166 
    16167         CSS related SVG*Element changes doesn't require relayout
    16168         https://bugs.webkit.org/show_bug.cgi?id=56906
    16169 
    16170         The changes of some CSS related SVGFilter properties e.g. lighting-color, flood-color, flood-opacity
    16171         need only repaint. To avoid the default invalidation of filters in SVGResourceCache::clientStyleChange()
    16172         we need an early return. So RenderSVGResourceFilterPrimitive::styleDidChange() can handle these properties
    16173         via RenderSVGResourceFilter::primitiveAttributeChanged() the same way like we do it for the other SVGAttributes.
    16174 
    16175         Tests: svg/dynamic-updates/SVGFEDiffuseLightingElement-inherit-lighting-color-css-prop.html
    16176                svg/dynamic-updates/SVGFEFloodElement-inherit-flood-color.html
    16177                svg/dynamic-updates/SVGFESpecularLightingElement-inherit-lighting-color-css-prop.html
    16178                svg/dynamic-updates/SVGFESpecularLightingElement-lighting-color-css-prop.html
    16179 
    16180         * platform/graphics/filters/FEFlood.cpp:
    16181         (WebCore::FEFlood::setFloodColor):
    16182         (WebCore::FEFlood::setFloodOpacity):
    16183         * platform/graphics/filters/FEFlood.h:
    16184         * platform/graphics/filters/FESpecularLighting.cpp:
    16185         (WebCore::FESpecularLighting::setLightingColor):
    16186         * platform/graphics/filters/FESpecularLighting.h:
    16187         * rendering/svg/RenderSVGResourceFilterPrimitive.cpp:
    16188         (WebCore::RenderSVGResourceFilterPrimitive::styleDidChange):
    16189         * rendering/svg/RenderSVGResourceFilterPrimitive.h:
    16190         * rendering/svg/SVGResourcesCache.cpp:
    16191         (WebCore::SVGResourcesCache::clientStyleChanged):
    16192         * svg/SVGFEDiffuseLightingElement.cpp:
    16193         (WebCore::SVGFEDiffuseLightingElement::setFilterEffectAttribute):
    16194         * svg/SVGFEFloodElement.cpp:
    16195         (WebCore::SVGFEFloodElement::setFilterEffectAttribute):
    16196         * svg/SVGFEFloodElement.h:
    16197         * svg/SVGFESpecularLightingElement.cpp:
    16198         (WebCore::SVGFESpecularLightingElement::setFilterEffectAttribute):
    16199 
    16200 2011-03-29  Vsevolod Vlasov  <vsevik@chromium.org>
    16201 
    16202         Reviewed by Pavel Feldman.
    16203 
    16204         XML Viewer: declared namespaces are not rendered.
    16205         https://bugs.webkit.org/show_bug.cgi?id=56262
    16206 
    16207         XML viewer rewritten on javascript.
    16208 
    16209         * CMakeLists.txt:
    16210         * DerivedSources.make:
    16211         * GNUmakefile.am:
    16212         * WebCore.gyp/WebCore.gyp:
    16213         * WebCore.gypi:
    16214         * WebCore.vcproj/WebCore.vcproj:
    16215         * WebCore.xcodeproj/project.pbxproj:
    16216         * dom/XMLDocumentParserLibxml2.cpp:
    16217         (WebCore::XMLDocumentParser::doEnd):
    16218         * xml/XMLTreeViewer.cpp:
    16219         (WebCore::XMLTreeViewer::transformDocumentToTreeView):
    16220         * xml/XMLViewer.css: Added.
    16221         * xml/XMLViewer.js: Added.
    16222         * xml/XMLViewer.xsl: Removed.
    16223         * xml/XSLStyleSheet.h:
    16224 
    16225 2011-03-31  Jaehun Lim  <ljaehun.lim@samsung.com>
    16226 
    16227         Unreviewed build fix.
    16228 
    16229         Fix build break after rolling out r82496
    16230         https://bugs.webkit.org/show_bug.cgi?id=57536
    16231 
    16232         * platform/efl/RenderThemeEfl.cpp:
    16233 
    16234 2011-03-31  Andrey Adaikin  <aandrey@google.com>
    16235 
    16236         Reviewed by Pavel Feldman.
    16237 
    16238         Web Inspector: execution line is displayed incorrectly after source editing.
    16239         https://bugs.webkit.org/show_bug.cgi?id=57229
    16240 
    16241         * inspector/front-end/SourceFrame.js:
    16242         (WebInspector.SourceFrame.prototype._saveViewerState):
    16243         (WebInspector.SourceFrame.prototype._restoreViewerState):
    16244         (WebInspector.SourceFrame.prototype._startEditing):
    16245         (WebInspector.SourceFrame.prototype._endEditing):
    16246         (WebInspector.SourceFrame.prototype._createTextViewer):
    16247         (WebInspector.SourceFrame.prototype.setExecutionLine):
    16248         (WebInspector.SourceFrame.prototype._handleSave.didEditScriptSource):
    16249         (WebInspector.SourceFrame.prototype._handleSave):
    16250         (WebInspector.SourceFrame.prototype._handleRevertEditing):
    16251         * inspector/front-end/TextViewer.js:
    16252         (WebInspector.TextEditorChunkedPanel.prototype.addDecoration):
    16253         (WebInspector.TextEditorChunkedPanel.prototype.removeDecoration):
    16254         (WebInspector.TextEditorMainPanel.prototype.makeLineAChunk):
    16255         (WebInspector.TextEditorMainPanel.prototype._positionToSelection):
    16256 
    16257 2011-03-30  Alexander Pavlov  <apavlov@chromium.org>
    16258 
    16259         Reviewed by Pavel Feldman.
    16260 
    16261         Web Inspector: Make the CSStyle "shorthandValues" name-value map an array
    16262         https://bugs.webkit.org/show_bug.cgi?id=57452
    16263 
    16264         No new tests, as this is a refactoring.
    16265 
    16266         * inspector/InspectorCSSAgent.cpp:
    16267         * inspector/InspectorStyleSheet.cpp:
    16268         (WebCore::InspectorStyle::populateObjectWithStyleProperties):
    16269         * inspector/front-end/CSSStyleModel.js:
    16270         (WebInspector.CSSStyleDeclaration):
    16271         (WebInspector.CSSStyleDeclaration.buildShorthandValueMap):
    16272 
    16273 2011-03-30  Steve Block  <steveblock@google.com>
    16274 
    16275         Reviewed by Jeremy Orlow.
    16276 
    16277         JavaField should not expose JavaString in its API
    16278         https://bugs.webkit.org/show_bug.cgi?id=55766
    16279 
    16280         This patch fixes JavaField for V8 only.
    16281         - Factors out a JavaField interface which does not use JNI types.
    16282           This will allow the Java bridge to be used with objects that
    16283           don't use JNI directly. The existing jobject-backed
    16284           implementation is moved to a new JavaFieldJobject class which
    16285           implements the interface.
    16286         - Use WTF::String in place of JavaString in the API, as JavaString
    16287           exposes JNI types in its interface.
    16288 
    16289         No new tests, refactoring only.
    16290 
    16291         * Android.v8bindings.mk:
    16292         * WebCore.gypi:
    16293         * bridge/jni/JavaMethod.h:
    16294         (JSC::Bindings::JavaMethod::~JavaMethod):
    16295         * bridge/jni/JobjectWrapper.h:
    16296         * bridge/jni/v8/JavaClassV8.cpp:
    16297         (JavaClass::JavaClass):
    16298         * bridge/jni/v8/JavaFieldJobjectV8.cpp:
    16299         (JavaFieldJobject::JavaFieldJobject):
    16300         * bridge/jni/v8/JavaFieldJobjectV8.h:
    16301         (JSC::Bindings::JavaFieldJobject::name):
    16302         (JSC::Bindings::JavaFieldJobject::typeClassName):
    16303         (JSC::Bindings::JavaFieldJobject::type):
    16304         * bridge/jni/v8/JavaFieldV8.h:
    16305         (JSC::Bindings::JavaField::~JavaField):
    16306         * bridge/jni/v8/JavaInstanceV8.cpp:
    16307         (JavaInstance::getField):
    16308 
    16309 2011-03-31  Levi Weintraub  <leviw@chromium.org>
    16310 
    16311         Reviewed by Ryosuke Niwa.
    16312 
    16313         Clean up from r82447.
    16314         https://bugs.webkit.org/attachment.cgi?bugid=57532
    16315 
    16316         No new tests since this doesn't change behavior.
    16317 
    16318         * rendering/RenderBlock.cpp: Removing unnecessary visible_units.h include.
    16319         * rendering/RootInlineBox.cpp:
    16320         (WebCore::RootInlineBox::getLogicalStartBoxWithNode): Making const.
    16321         (WebCore::RootInlineBox::getLogicalEndBoxWithNode): Ditto.
    16322         * rendering/RootInlineBox.h:
    16323 
    16324 2011-03-31  Benjamin Kalman  <kalman@chromium.org>
    16325 
    16326         Reviewed by Ojan Vafai.
    16327 
    16328         DeleteSelectionCommand::removeNode tries to insert block placeholder in non-editable table cell positions
    16329         https://bugs.webkit.org/show_bug.cgi?id=57079
    16330 
    16331         Test: editing/execCommand/delete-table-with-empty-contents.html
    16332 
    16333         This bug results in an ASSERT fail in CompositeEditCommand::insertNodeAt, so is only observable in debug builds
    16334         of WebKit.
    16335 
    16336         * editing/DeleteSelectionCommand.cpp:
    16337         (WebCore::firstEditablePositionInNode):
    16338         (WebCore::DeleteSelectionCommand::removeNode): Use firstEditablePositionInNode rather than firstPositionInNode
    16339         to find anchor node for the placeholder's position, if any.
    16340 
    16341 2011-03-30  Ojan Vafai  <ojan@chromium.org>
    16342 
    16343         Reviewed by Adam Roben.
    16344 
    16345         REGRESSION (r82400): Leaks seen beneath CSSParser::createFloatingVectorSelector when parsing UA stylesheet
    16346         https://bugs.webkit.org/show_bug.cgi?id=57478
    16347 
    16348         * css/CSSGrammar.y:
    16349         * css/CSSParser.cpp:
    16350         (WebCore::CSSParser::sinkFloatingSelectorVector):
    16351         * css/CSSParser.h:
    16352 
    16353 2011-03-30  Dominic Cooney  <dominicc@google.com>
    16354 
    16355         Reviewed by Dimitri Glazkov.
    16356 
    16357         Adds layoutTestController.shadowRoot accessor to Mac DRT.
    16358         https://bugs.webkit.org/show_bug.cgi?id=57415
    16359 
    16360         * WebCore.exp.in: DRT needs to link WebCore::Element::shadowRoot
    16361 
    16362 2011-03-30  Kent Tamura  <tkent@chromium.org>
    16363 
    16364         Reviewed by Dimitri Glazkov.
    16365 
    16366         Simplify HTMLFormElement::validateInteractively() for asynchronous scroll event
    16367         https://bugs.webkit.org/show_bug.cgi?id=57424
    16368 
    16369         r75555 made 'scroll' event asynchronous. So we don't need to worry about
    16370         deleting or moving a target node in scrollIntoViewIfNeeded().
    16371 
    16372         * html/HTMLFormElement.cpp:
    16373         (WebCore::HTMLFormElement::validateInteractively): Remove unnecessary code.
    16374 
    16375 2011-03-30  Kent Tamura  <tkent@chromium.org>
    16376 
    16377         Reviewed by Darin Adler.
    16378 
    16379         REGRESSION (r74895): Crash if input.type = 'file' twice
    16380         https://bugs.webkit.org/show_bug.cgi?id=57343
    16381 
    16382         * html/HTMLInputElement.cpp:
    16383         (WebCore::HTMLInputElement::updateType):
    16384           Don't call setAttribute() if the type is not changed.
    16385 
    16386 2011-03-30  Jia Pu  <jpu@apple.com>
    16387 
    16388         Reviewed by Darin Adler.
    16389 
    16390         Autocorrection panel isn't positioned correctly in Safari (mac) when the zooming is not 1x.
    16391         https://bugs.webkit.org/show_bug.cgi?id=57353
    16392         <rdar://problem/9163983>
    16393 
    16394         We use Range::textQuads() instead of Range::boundingRect() to compute the position of correction
    16395         panel. The latter function compensates for zooming, which we don't need in this case. We also
    16396         dismiss correction panel when zooming factor is changed. This is done in Frame::setPageAndTextZoomFactors().
    16397 
    16398         * WebCore.exp.in:
    16399         * dom/Range.cpp:
    16400         (WebCore::Range::textQuads):
    16401         * dom/Range.h:
    16402         * editing/Editor.cpp:
    16403         (WebCore::Editor::windowRectForRange):
    16404         * editing/Editor.h:
    16405         * page/Frame.cpp:
    16406         (WebCore::Frame::setPageAndTextZoomFactors):
    16407 
    16408 2011-03-30  Chris Guillory  <chris.guillory@google.com>
    16409 
    16410         Reviewed by Dimitri Glazkov.
    16411 
    16412         Render fonts using skia when requested by platform context.
    16413         https://bugs.webkit.org/show_bug.cgi?id=56441
    16414 
    16415         * platform/graphics/skia/PlatformContextSkia.cpp:
    16416         (WebCore::PlatformContextSkia::isNativeFontRenderingAllowed):
    16417         * platform/graphics/skia/PlatformContextSkia.h:
    16418         * platform/graphics/skia/SkiaFontWin.cpp:
    16419         (WebCore::windowsCanHandleTextDrawing):
    16420         (WebCore::skiaDrawText):
    16421         (WebCore::setupPaintForFont):
    16422         (WebCore::paintSkiaText):
    16423 
    16424 2011-03-30  Dan Bernstein  <mitz@apple.com>
    16425 
    16426         Reviewed by Darin Adler.
    16427 
    16428         <rdar://problem/9199518> Crash when focusing a styled editable element
    16429 
    16430         Test: editing/deleting/delete-button-background-image-none.html
    16431 
    16432         * editing/DeleteButtonController.cpp:
    16433         (WebCore::isDeletableElement): Check all background layers for background images.
    16434         * rendering/style/RenderStyle.h: Removed backgroundImage() as it was only used, incorrectly,
    16435         in the above function.
    16436 
    16437 2011-03-30  Martin Robinson  <mrobinson@igalia.com>
    16438 
    16439         Try once more to fix the EFL build.
    16440 
    16441         * platform/efl/RenderThemeEfl.cpp:
    16442 
    16443 2011-03-30  Chris Fleizach  <cfleizach@apple.com>
    16444 
    16445         Reviewed by Darin Adler.
    16446 
    16447         Regression: VO cursor doesn't follow KB focus back into HTML view
    16448         https://bugs.webkit.org/show_bug.cgi?id=57509
    16449 
    16450         In WK2, because the web area never believes focus leave the area, sending the initial
    16451         focus change when moving back into the web area, does not trigger a notification.
    16452 
    16453         That behavior needs to be overridden by explicitly posting a focused UI element change
    16454         at the appropriate time. This is only used in WK2, hence the absence of a layout test for now.
    16455 
    16456         * page/FocusController.cpp:
    16457         (WebCore::FocusController::setInitialFocus):
    16458 
    16459 2011-03-30  MORITA Hajime  <morrita@google.com>
    16460 
    16461         Reviewed by Simon Fraser.
    16462 
    16463         box-shadow radii stays the same regardless of any spread set
    16464         https://bugs.webkit.org/show_bug.cgi?id=49726
    16465 
    16466         - Removed special shadowSpread handling path
    16467         - Fixed broken multple inset shadow border computation.
    16468 
    16469         Test: fast/box-shadow/spread-multiple-inset.html
    16470 
    16471         * rendering/RenderBoxModelObject.cpp:
    16472         (WebCore::RenderBoxModelObject::paintBoxShadow):
    16473 
    16474 2011-03-29  Matthew Delaney  <mdelaney@apple.com>
    16475 
    16476         Reviewed by Simon Fraser.
    16477 
    16478         Use the Accelerate vImage vectorized (un)premultiplyImageData functions for ImageBufferCG
    16479 
    16480         https://bugs.webkit.org/show_bug.cgi?id=53134
    16481 
    16482         Test: fast/canvas/getPutImageDataPairTest.html
    16483 
    16484         * platform/graphics/cg/ImageBufferCG.cpp:
    16485 
    16486 2011-03-30  Steve Falkenburg  <sfalken@apple.com>
    16487 
    16488         Reviewed by Adam Roben.
    16489 
    16490         Share most vsprops between Release and Production builds in releaseproduction.vsprops
    16491         https://bugs.webkit.org/show_bug.cgi?id=57508
    16492 
    16493         * WebCore.vcproj/QTMovieWinProduction.vsprops:
    16494         * WebCore.vcproj/QTMovieWinRelease.vsprops:
    16495         * WebCore.vcproj/QTMovieWinReleaseCairoCFLite.vsprops:
    16496         * WebCore.vcproj/WebCoreProduction.vsprops:
    16497         * WebCore.vcproj/WebCoreRelease.vsprops:
    16498         * WebCore.vcproj/WebCoreReleaseCairoCFLite.vsprops:
    16499 
    16500 2011-03-30  Timur Iskhodzhanov  <timurrrr@google.com>
    16501 
    16502         Reviewed by Alexey Proskuryakov.
    16503 
    16504         Add some dynamic annotations to JavaScriptCore/wtf
    16505         https://bugs.webkit.org/show_bug.cgi?id=53747
    16506 
    16507         By using these annotations we can improve the precision of finding
    16508         WebKit errors using dynamic analysis tools like ThreadSanitizer and Valgrind.
    16509         These annotations don't affect the compiled binaries unless USE(DYNAMIC_ANNOTATIONS) is "1".
    16510 
    16511         These files don't add new functionality, so don't need extra tests.
    16512 
    16513         * ForwardingHeaders/wtf/DynamicAnnotations.h: Added.
    16514 
    16515 2011-03-30  Abhishek Arya  <inferno@chromium.org>
    16516 
    16517         Reviewed by Simon Fraser.
    16518 
    16519         Fix wrong type assumptions in editing code. Move code
    16520         from ASSERTs to hard checks.
    16521         https://bugs.webkit.org/show_bug.cgi?id=57348
    16522 
    16523         Test: editing/execCommand/remove-format-non-html-element-crash.html
    16524 
    16525         * css/CSSStyleSelector.cpp:
    16526         (WebCore::CSSStyleSelector::applyProperty):
    16527         * editing/ApplyStyleCommand.cpp:
    16528         (WebCore::getRGBAFontColor):
    16529         (WebCore::ApplyStyleCommand::pushDownInlineStyleAroundNode):
    16530         * editing/DeleteButtonController.cpp:
    16531         (WebCore::enclosingDeletableElement):
    16532         * editing/EditingStyle.cpp:
    16533         (WebCore::EditingStyle::textDirection):
    16534         (WebCore::EditingStyle::prepareToApplyAt):
    16535         * editing/Editor.cpp:
    16536         (WebCore::Editor::textDirectionForSelection):
    16537         * editing/FormatBlockCommand.cpp:
    16538         (WebCore::FormatBlockCommand::elementForFormatBlockCommand):
    16539 
    16540 2011-03-30  Stephen White  <senorblanco@chromium.org>
    16541 
    16542         Reviewed by Kenneth Russell.
    16543 
    16544         Speed up clipping in accelerated 2D canvas.
    16545         https://bugs.webkit.org/show_bug.cgi?id=57464
    16546 
    16547         Instead of clearing the entire stencil buffer when removing clipping paths, we erase the path with a DECR stencil operation.
    16548         Covered by canvas/philip/tests/2d.path.clip.intersect.html, and others.
    16549 
    16550         * platform/graphics/chromium/GLES2Canvas.cpp:
    16551         (WebCore::PathAndTransform::PathAndTransform):
    16552         New structure to keep track of the CTM at the time the clipping path was added.
    16553         (WebCore::GLES2Canvas::State::State):
    16554         Replace m_clippingEnabled with a count of total clipping paths.
    16555         (WebCore::GLES2Canvas::clearRect):
    16556         Check the total clipping path count, instead of m_clippingEnabled.
    16557         (WebCore::GLES2Canvas::fillPath):
    16558         (WebCore::GLES2Canvas::fillRect):
    16559         Perform state application after doing shadows.  This is necessary
    16560         since restore() may now leave clipping enabled.
    16561         (WebCore::GLES2Canvas::clipPath):
    16562         Explicitly specify the stencil operation as INCR.  Store the current
    16563         transformation when saving clipping paths.
    16564         (WebCore::GLES2Canvas::restore):
    16565         Don't clear the stencil buffer and re-draw active paths on each restore.
    16566         Erase the old paths with DECR.
    16567         (WebCore::GLES2Canvas::drawTexturedRect):
    16568         Check m_numClippingPaths instead of m_clippingEnabled.
    16569         (WebCore::GLES2Canvas::beginShadowDraw):
    16570         Perform state application when drawing hard shadows.
    16571         (WebCore::GLES2Canvas::endShadowDraw):
    16572         Check m_numClippingPaths instead of m_clippingEnabled.
    16573         (WebCore::GLES2Canvas::beginStencilDraw):
    16574         Make the stencil op a parameter to beginShadowDraw().
    16575         (WebCore::GLES2Canvas::applyClipping):
    16576         Compare against the total number of stencil paths, not just the ones in
    16577         the current state.
    16578         * platform/graphics/chromium/GLES2Canvas.h:
    16579         Make the stencil op a parameter to beginShadowDraw().
    16580 
    16581 2011-03-29  Dimitri Glazkov  <dglazkov@chromium.org>
    16582 
    16583         Reviewed by Darin Adler.
    16584 
    16585         Move factory-like things in EventDispatcher::dispatchMouseEvent to a factory, clean up names and ordering.
    16586         https://bugs.webkit.org/show_bug.cgi?id=57419
    16587 
    16588         Refactoring, covered by existing tests.
    16589 
    16590         * dom/EventDispatcher.cpp:
    16591         (WebCore::EventDispatcher::dispatchMouseEvent): Reordered and clarified names.
    16592         * dom/MouseEvent.cpp:
    16593         (WebCore::MouseEvent::create): Added a new factory method that takes PlatformMouseEvent.
    16594         * dom/MouseEvent.h: Added decl.
    16595 
    16596 2011-03-30  Erik Arvidsson  <arv@chromium.org>
    16597 
    16598         Reviewed by Alexey Proskuryakov.
    16599 
    16600         Missing DOM bindings for a ping
    16601         https://bugs.webkit.org/show_bug.cgi?id=51955
    16602 
    16603         Test: fast/dom/ping-attribute-dom-binding.html
    16604 
    16605         * html/HTMLAnchorElement.idl:
    16606         * html/HTMLAreaElement.idl:
    16607 
    16608 2011-03-30  Patrick Gansterer  <paroga@webkit.org>
    16609 
    16610         Unreviewed WinCE build fix for r82465.
    16611 
    16612         * CMakeListsWinCE.txt:
    16613 
    16614 2011-03-30  Steve Falkenburg  <sfalken@apple.com>
    16615 
    16616         Reviewed by Adam Roben.
    16617 
    16618         Update Windows production build logic for new production configurations
    16619         https://bugs.webkit.org/show_bug.cgi?id=57494
    16620 
    16621         * WebCore.vcproj/QTMovieWinProduction.vsprops:
    16622         * WebCore.vcproj/WebCore.make:
    16623         * WebCore.vcproj/WebCoreProduction.vsprops:
    16624 
    16625 2011-03-30  Sam Weinig  <sam@webkit.org>
    16626 
    16627         Reviewed by Brady Eidson.
    16628 
    16629         WebKit2: Attempting to view css file from url causes it to download
    16630         <rdar://problem/9102611>
    16631         https://bugs.webkit.org/show_bug.cgi?id=57501
    16632 
    16633         * WebCore.exp.in:
    16634         * platform/MIMETypeRegistry.cpp:
    16635         (WebCore::initializeUnsupportedTextMIMETypes):
    16636         (WebCore::initializeMIMETypeRegistry):
    16637         (WebCore::MIMETypeRegistry::isUnsupportedTextMIMEType):
    16638         (WebCore::MIMETypeRegistry::getUnsupportedTextMIMETypes):
    16639         * platform/MIMETypeRegistry.h:
    16640         Add set of unsupported text MIME types, taken from WebKit/mac.
    16641 
    16642 2011-03-30  Brian Weinstein  <bweinstein@apple.com>
    16643 
    16644         Reviewed by Darin Adler.
    16645        
    16646         Crash when closing "Add Bookmark" dialog using the Enter Key
    16647         https://bugs.webkit.org/show_bug.cgi?id=57294
    16648         <rdar://problem/9044756>
    16649 
    16650         Protect the FrameView in EventHandler::keyEvent, like we do in other EventHandler
    16651         functions that could destroy the frame.
    16652 
    16653         * page/EventHandler.cpp:
    16654         (WebCore::EventHandler::keyEvent):
    16655 
    16656 2011-03-30  Sheriff Bot  <webkit.review.bot@gmail.com>
    16657 
    16658         Unreviewed, rolling out r82463.
    16659         http://trac.webkit.org/changeset/82463
    16660         https://bugs.webkit.org/show_bug.cgi?id=57482
    16661 
    16662         Assertion failure in Node::rendererIsEditable on multiple
    16663         editing tests (Requested by aroben|meeting on #webkit).
    16664 
    16665         * css/CSSParser.cpp:
    16666         (WebCore::CSSParser::parseValue):
    16667         * css/CSSPrimitiveValueMappings.h:
    16668         (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
    16669         (WebCore::CSSPrimitiveValue::operator EUnicodeBidi):
    16670         * css/CSSValueKeywords.in:
    16671         * rendering/style/RenderStyle.h:
    16672         * rendering/style/RenderStyleConstants.h:
    16673 
    16674 2011-03-24  Luiz Agostini  <luiz.agostini@openbossa.org>
    16675 
    16676         Reviewed by Kenneth Rohde Christiansen.
    16677 
    16678         [Qt] QNetworkReplyHandler refactoring: signal sequence.
    16679         https://bugs.webkit.org/show_bug.cgi?id=57049
    16680 
    16681         This is the first step in QNetworkReplyHandler. The main objective here is to create simple invariants:
    16682 
    16683             1 - that the signals metadatachanged, readyRead and finished will come in this order.
    16684             2 - that signals metadatachanged and finished will be called exactly once.
    16685 
    16686         Having these invariants further simplifications will be possible and will come in future patches.
    16687 
    16688         Class QNetworkReplyWrapper was created to handle QNetworkReply object. To connect to the signals of it
    16689         instead of connecting to the signals of QNetworkReply is what guarantees the sequence of the signals.
    16690         QNetworkReplyWrapper will be used in future to perform mime type sniffing before sending
    16691         metadatachanged signal.
    16692 
    16693         * platform/network/qt/QNetworkReplyHandler.cpp:
    16694         (WebCore::QNetworkReplyWrapper::QNetworkReplyWrapper):
    16695         (WebCore::QNetworkReplyWrapper::~QNetworkReplyWrapper):
    16696         (WebCore::QNetworkReplyWrapper::release):
    16697         (WebCore::QNetworkReplyWrapper::resetConnections):
    16698         (WebCore::QNetworkReplyWrapper::receiveMetaData):
    16699         (WebCore::QNetworkReplyWrapper::didReceiveFinished):
    16700         (WebCore::QNetworkReplyHandler::QNetworkReplyHandler):
    16701         (WebCore::QNetworkReplyHandler::resetState):
    16702         (WebCore::QNetworkReplyHandler::release):
    16703         (WebCore::QNetworkReplyHandler::finish):
    16704         (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
    16705         (WebCore::QNetworkReplyHandler::redirect):
    16706         (WebCore::QNetworkReplyHandler::forwardData):
    16707         (WebCore::QNetworkReplyHandler::sendNetworkRequest):
    16708         (WebCore::QNetworkReplyHandler::start):
    16709         * platform/network/qt/QNetworkReplyHandler.h:
    16710         (WebCore::QNetworkReplyWrapper::reply):
    16711         (WebCore::QNetworkReplyWrapper::redirectionTargetUrl):
    16712         (WebCore::QNetworkReplyWrapper::encoding):
    16713         (WebCore::QNetworkReplyWrapper::advertisedMimeType):
    16714         (WebCore::QNetworkReplyHandler::reply):
    16715 
    16716 2011-03-30  Steve Falkenburg  <sfalken@apple.com>
    16717 
    16718         Reviewed by Adam Roben.
    16719 
    16720         Rename Windows configuration Release_LTCG to Production for clarity
    16721         https://bugs.webkit.org/show_bug.cgi?id=57465
    16722 
    16723         * WebCore.vcproj/QTMovieWin.vcproj:
    16724         * WebCore.vcproj/QTMovieWinProduction.vsprops: Copied from Source/WebCore/WebCore.vcproj/QTMovieWinReleaseLTCG.vsprops.
    16725         * WebCore.vcproj/QTMovieWinReleaseLTCG.vsprops: Removed.
    16726         * WebCore.vcproj/WebCore.sln:
    16727         * WebCore.vcproj/WebCore.submit.sln:
    16728         * WebCore.vcproj/WebCore.vcproj:
    16729         * WebCore.vcproj/WebCoreGenerated.vcproj:
    16730         * WebCore.vcproj/WebCoreProduction.vsprops: Copied from Source/WebCore/WebCore.vcproj/WebCoreReleaseLTCG.vsprops.
    16731         * WebCore.vcproj/WebCoreReleaseLTCG.vsprops: Removed.
    16732 
    16733 2011-03-30  Brian Weinstein  <bweinstein@apple.com>
    16734 
    16735         Reviewed by Anders Carlsson.
    16736        
    16737         ASSERT(cookieStorageAdapter) when calling stopObservingCookieChanges after WebProcess has crashed
    16738         https://bugs.webkit.org/show_bug.cgi?id=57477
    16739         <rdar://problem/9178751>
    16740        
    16741         If someone has called startObservingCookieChanges, and the WebProcess crashes and restarts, the UIProcess
    16742         will call stopObservingCookieChanges when cookieStorageAdapter is nil.
    16743        
    16744         The assert is wrong when the web process crashes, and there is no harm in dispatching a message to nil,
    16745         so remove the assert.
    16746        
    16747         * platform/network/mac/CookieStorageMac.mm:
    16748         (WebCore::stopObservingCookieChanges):
    16749 
    16750 2011-03-30  Sam Weinig  <sam@webkit.org>
    16751 
    16752         Fix Leopard build.
    16753 
    16754         * platform/DefaultLocalizationStrategy.cpp:
    16755         (WebCore::DefaultLocalizationStrategy::contextMenuItemTagLookUpInDictionary):
    16756 
    16757 2011-03-30  Sam Weinig  <sam@webkit.org>
    16758 
    16759         Reviewed by Anders Carlsson.
    16760 
    16761         Add default localization strategy that can be shared by WebKit1 and WebKit2
    16762         https://bugs.webkit.org/show_bug.cgi?id=57406
    16763 
    16764         Currently, only WebKit2 uses this default strategy, but WebKit1 should be able
    16765         to adopt it soon.
    16766 
    16767         * platform/DefaultLocalizationStrategy.cpp: Copied from Source/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp.
    16768         (WebCore::DefaultLocalizationStrategy::DefaultLocalizationStrategy):
    16769         * platform/DefaultLocalizationStrategy.h: Copied from Source/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.h.
    16770         Copy the implementation of the Localization strategy from WebKit2 into a shared default strategy.
    16771 
    16772         * platform/LocalizedStrings.cpp:
    16773         (WebCore::localizedString):
    16774         Add default implementation of localization bottleneck function.
    16775 
    16776         * platform/LocalizedStrings.h:
    16777         Add localization macros here, instead of defining them in the above layer.
    16778 
    16779         * platform/PlatformStrategies.cpp:
    16780         (WebCore::PlatformStrategies::createLocalizationStrategy):
    16781         * platform/PlatformStrategies.h:
    16782         Add default implementation of strategy creation function which creates the default strategy.
    16783 
    16784         * platform/win/LocalizedStringsWin.cpp: Copied from Source/WebCore/platform/mac/LocalizedStringsMac.mm.
    16785         (WebCore::localizedString):
    16786         Add stub for windows, this will be update to pull from the bundle in a follow up patch.
    16787 
    16788         * Android.mk:
    16789         * CMakeLists.txt:
    16790         * GNUmakefile.am:
    16791         * WebCore.exp.in:
    16792         * WebCore.gypi:
    16793         * WebCore.pro:
    16794         * WebCore.vcproj/WebCore.vcproj:
    16795         * WebCore.xcodeproj/project.pbxproj:
    16796         Add new files.
    16797 
    16798 2011-03-30  Andras Becsi  <abecsi@webkit.org>
    16799 
    16800         Reviewed by Darin Adler.
    16801 
    16802         CSS: Slow parsing of rgb() with percent values
    16803         https://bugs.webkit.org/show_bug.cgi?id=16708
    16804 
    16805         Implement fast-path parsing for percentage color values.
    16806 
    16807         Gain ~30% speedup on  http://canvex.lazyilluminati.com/misc/3d.html
    16808 
    16809         Relanding with rounding fix after it was rolled out in r82315.
    16810 
    16811         * css/CSSParser.cpp:
    16812         (WebCore::checkForValidDouble): Extend to return the number of characters forming a valid double.
    16813         (WebCore::parseDouble): Function for parsing double values if they are valid.
    16814         (WebCore::parseColorIntOrPercentage): Extend parseColorInt to deal with percentage values.
    16815         (WebCore::parseAlphaValue): Use the new functions.
    16816         (WebCore::CSSParser::parseColor): Ditto.
    16817 
    16818 2011-03-30  Ofri Wolfus  <ofri@dhcp-172-28-40-178.tlv.corp.google.com>
    16819 
    16820         Reviewed by Eric Seidel.
    16821 
    16822         Add support for parsing unicode-bidi: -webkit-plaintext.
    16823         https://bugs.webkit.org/show_bug.cgi?id=57457
    16824 
    16825         Test: css3/unicode-bidi-plaintext-parse.html
    16826 
    16827         * css/CSSParser.cpp:
    16828         (WebCore::CSSParser::parseValue):
    16829         * css/CSSPrimitiveValueMappings.h:
    16830         (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
    16831         (WebCore::CSSPrimitiveValue::operator EUnicodeBidi):
    16832         * css/CSSValueKeywords.in:
    16833         * rendering/style/RenderStyle.h:
    16834         * rendering/style/RenderStyleConstants.h:
    16835 
    16836 2011-03-30  Andreas Kling  <kling@webkit.org>
    16837 
    16838         Reviewed by Benjamin Poulain.
    16839 
    16840         [Qt] Remove unused variables in GraphicsContext::fillRect()
    16841 
    16842         * platform/graphics/qt/GraphicsContextQt.cpp:
    16843         (WebCore::GraphicsContext::fillRect):
    16844 
    16845 2011-03-30  Yael Aharon  <yael.aharon@nokia.com>
    16846 
    16847         Reviewed by Eric Seidel.
    16848 
    16849         REGRESSION(r82419): New pixel test failure fast/box-shadow/basic-shadows.html
    16850         https://bugs.webkit.org/show_bug.cgi?id=57442
    16851 
    16852         When checking the position of the inline iterator in the logicallyLastRun, we should not consider BR as text.
    16853 
    16854         No new tests as existing test covers this case.
    16855 
    16856         * rendering/RenderBlockLineLayout.cpp:
    16857         (WebCore::reachedEndOfTextRenderer):
    16858 
    16859 2011-03-30  Mario Sanchez Prada  <msanchez@igalia.com>
    16860 
    16861         Reviewed by Chris Fleizach.
    16862 
    16863         AX: GTK: ARIA role is not respected on <p> <label> <div> and <form>
    16864         https://bugs.webkit.org/show_bug.cgi?id=47636
    16865 
    16866         Define new roles in WebCore and map them to ATK accordingly.
    16867 
    16868         Test: platform/gtk/accessibility/aria-roles-unignored.html
    16869 
    16870         * accessibility/AccessibilityObject.h: Added new roles to
    16871         represent paragraphs, labels, forms and div sections.
    16872         * accessibility/AccessibilityRenderObject.cpp:
    16873         (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
    16874         Return ParagraphRole, LabelRole, FormRole and DivRole when needed
    16875         for the GTK platform only.
    16876         * accessibility/gtk/AccessibilityObjectAtk.cpp:
    16877         (WebCore::AccessibilityObject::allowsTextRanges): Consider the new
    16878         roles now that those kind of nodes won't return true to isGroup().
    16879         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
    16880         (atkRole): Map new WebCore roles to ATK Roles.
    16881         (webkit_accessible_get_role): Remove code to define roles for
    16882         paragraphs, labels, forms and divs based on node's tag name.
    16883 
    16884         Update mappings for the Mac platform.
    16885 
    16886         * accessibility/mac/AccessibilityObjectWrapper.mm:
    16887         (createAccessibilityRoleMap): Add explicit mappings from the new
    16888         roles introduced to NSAccessibilityGroupRole.
    16889 
    16890 2011-03-30  Yury Semikhatsky  <yurys@chromium.org>
    16891 
    16892         Unreviewed. Build fix for Efl and Qt Win.
    16893 
    16894         * inspector/PageDebuggerAgent.cpp: removed ENABLE(WORKERS) guard from code that has nothing to do with workers.
    16895 
    16896 2011-03-30  Andrey Kosyakov  <caseq@chromium.org>
    16897 
    16898         Reviewed by Pavel Feldman.
    16899 
    16900         Web Inspector: audit run never completes, fails in DOMAgent.js
    16901         https://bugs.webkit.org/show_bug.cgi?id=57349
    16902 
    16903         - assure document is present before calling DOMAgent.querySelectAll()
    16904 
    16905         * inspector/front-end/AuditRules.js:
    16906         (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun):
    16907 
    16908 2011-03-30  Yury Semikhatsky  <yurys@chromium.org>
    16909 
    16910         Unreviewed. Build fix.
    16911 
    16912         * UseJSC.cmake: fix typo PageDebugServer -> PageScriptDebugServer
    16913 
    16914 2011-03-30  Yury Semikhatsky  <yurys@chromium.org>
    16915 
    16916         Reviewed by Pavel Feldman.
    16917 
    16918         Web Inspector: split debugger agent into Page and Worker-specific ones
    16919         https://bugs.webkit.org/show_bug.cgi?id=57345
    16920 
    16921         ScriptDebugServer and InspectorDebuggerAgent contain only functionality common
    16922         for Worker and Page debugger. All specifics is moved into Page/WorkerScriptDebugServer
    16923         and Page/WorkerDebuggerAgent.
    16924 
    16925         * CMakeLists.txt:
    16926         * GNUmakefile.am:
    16927         * UseJSC.cmake:
    16928         * WebCore.gypi:
    16929         * WebCore.pro:
    16930         * WebCore.vcproj/WebCore.vcproj:
    16931         * WebCore.xcodeproj/project.pbxproj:
    16932         * bindings/js/JSBindingsAllInOne.cpp:
    16933         * bindings/js/JSInjectedScriptHostCustom.cpp:
    16934         (WebCore::JSInjectedScriptHost::currentCallFrame):
    16935         * bindings/js/PageScriptDebugServer.cpp: Added.
    16936         (WebCore::toPage):
    16937         (WebCore::PageScriptDebugServer::shared):
    16938         (WebCore::PageScriptDebugServer::PageScriptDebugServer):
    16939         (WebCore::PageScriptDebugServer::~PageScriptDebugServer):
    16940         (WebCore::PageScriptDebugServer::addListener):
    16941         (WebCore::PageScriptDebugServer::removeListener):
    16942         (WebCore::PageScriptDebugServer::recompileAllJSFunctions):
    16943         (WebCore::PageScriptDebugServer::getListenersForGlobalObject):
    16944         (WebCore::PageScriptDebugServer::didPause):
    16945         (WebCore::PageScriptDebugServer::didContinue):
    16946         (WebCore::PageScriptDebugServer::didRemoveLastListener):
    16947         (WebCore::PageScriptDebugServer::setJavaScriptPaused):
    16948         * bindings/js/PageScriptDebugServer.h: Added.
    16949         * bindings/js/ScriptDebugServer.cpp:
    16950         (WebCore::ScriptDebugServer::ScriptDebugServer):
    16951         (WebCore::ScriptDebugServer::sourceParsed):
    16952         (WebCore::ScriptDebugServer::dispatchFunctionToListeners):
    16953         (WebCore::ScriptDebugServer::createCallFrameAndPauseIfNeeded):
    16954         (WebCore::ScriptDebugServer::updateCallFrameAndPauseIfNeeded):
    16955         (WebCore::ScriptDebugServer::pauseIfNeeded):
    16956         * bindings/js/ScriptDebugServer.h:
    16957         * bindings/js/WorkerScriptDebugServer.cpp: Added.
    16958         (WebCore::WorkerScriptDebugServer::WorkerScriptDebugServer):
    16959         (WebCore::WorkerScriptDebugServer::addListener):
    16960         (WebCore::WorkerScriptDebugServer::removeListener):
    16961         * bindings/js/WorkerScriptDebugServer.h: Added.
    16962         (WebCore::WorkerScriptDebugServer::~WorkerScriptDebugServer):
    16963         (WebCore::WorkerScriptDebugServer::recompileAllJSFunctions):
    16964         (WebCore::WorkerScriptDebugServer::getListenersForGlobalObject):
    16965         (WebCore::WorkerScriptDebugServer::didPause):
    16966         (WebCore::WorkerScriptDebugServer::didContinue):
    16967         * bindings/v8/PageScriptDebugServer.cpp: Added.
    16968         (WebCore::retrieveFrame):
    16969         (WebCore::PageScriptDebugServer::shared):
    16970         (WebCore::PageScriptDebugServer::PageScriptDebugServer):
    16971         (WebCore::PageScriptDebugServer::addListener):
    16972         (WebCore::PageScriptDebugServer::removeListener):
    16973         (WebCore::PageScriptDebugServer::setClientMessageLoop):
    16974         (WebCore::PageScriptDebugServer::getDebugListenerForContext):
    16975         (WebCore::PageScriptDebugServer::runMessageLoopOnPause):
    16976         (WebCore::PageScriptDebugServer::quitMessageLoopOnPause):
    16977         * bindings/v8/PageScriptDebugServer.h: Added.
    16978         (WebCore::PageScriptDebugServer::setEnabled):
    16979         (WebCore::PageScriptDebugServer::ClientMessageLoop::~ClientMessageLoop):
    16980         (WebCore::PageScriptDebugServer::~PageScriptDebugServer):
    16981         * bindings/v8/ScriptDebugServer.cpp:
    16982         (WebCore::ScriptDebugServer::ScriptDebugServer):
    16983         (WebCore::ScriptDebugServer::setPauseOnNextStatement):
    16984         (WebCore::ScriptDebugServer::breakProgram):
    16985         (WebCore::ScriptDebugServer::continueProgram):
    16986         (WebCore::ScriptDebugServer::stepIntoStatement):
    16987         (WebCore::ScriptDebugServer::stepOverStatement):
    16988         (WebCore::ScriptDebugServer::stepOutOfFunction):
    16989         (WebCore::ScriptDebugServer::editScriptSource):
    16990         (WebCore::toScriptDebugServer):
    16991         (WebCore::ScriptDebugServer::breakProgramCallback):
    16992         (WebCore::ScriptDebugServer::v8DebugEventCallback):
    16993         (WebCore::ScriptDebugServer::handleV8DebugEvent):
    16994         (WebCore::ScriptDebugServer::isPaused):
    16995         * bindings/v8/ScriptDebugServer.h:
    16996         * bindings/v8/WorkerScriptDebugServer.cpp: Added.
    16997         (WebCore::WorkerScriptDebugServer::WorkerScriptDebugServer):
    16998         (WebCore::WorkerScriptDebugServer::addListener):
    16999         (WebCore::WorkerScriptDebugServer::removeListener):
    17000         * bindings/v8/WorkerScriptDebugServer.h: Added.
    17001         (WebCore::WorkerScriptDebugServer::~WorkerScriptDebugServer):
    17002         (WebCore::WorkerScriptDebugServer::getDebugListenerForContext):
    17003         (WebCore::WorkerScriptDebugServer::runMessageLoopOnPause):
    17004         (WebCore::WorkerScriptDebugServer::quitMessageLoopOnPause):
    17005         * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
    17006         (WebCore::V8InjectedScriptHost::currentCallFrameCallback):
    17007         * inspector/InjectedScriptHost.h:
    17008         (WebCore::InjectedScriptHost::init):
    17009         (WebCore::InjectedScriptHost::debuggerAgent):
    17010         * inspector/InspectorAgent.cpp:
    17011         (WebCore::InspectorAgent::InspectorAgent):
    17012         * inspector/InspectorDebuggerAgent.cpp:
    17013         (WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent):
    17014         (WebCore::InspectorDebuggerAgent::enable):
    17015         (WebCore::InspectorDebuggerAgent::disable):
    17016         (WebCore::InspectorDebuggerAgent::setBreakpointsActive):
    17017         (WebCore::InspectorDebuggerAgent::removeBreakpoint):
    17018         (WebCore::InspectorDebuggerAgent::continueToLocation):
    17019         (WebCore::InspectorDebuggerAgent::resolveBreakpoint):
    17020         (WebCore::InspectorDebuggerAgent::editScriptSource):
    17021         (WebCore::InspectorDebuggerAgent::schedulePauseOnNextStatement):
    17022         (WebCore::InspectorDebuggerAgent::cancelPauseOnNextStatement):
    17023         (WebCore::InspectorDebuggerAgent::resume):
    17024         (WebCore::InspectorDebuggerAgent::stepOver):
    17025         (WebCore::InspectorDebuggerAgent::stepInto):
    17026         (WebCore::InspectorDebuggerAgent::stepOut):
    17027         (WebCore::InspectorDebuggerAgent::setPauseOnExceptionsState):
    17028         (WebCore::InspectorDebuggerAgent::didPause):
    17029         (WebCore::InspectorDebuggerAgent::breakProgram):
    17030         * inspector/InspectorDebuggerAgent.h:
    17031         * inspector/InspectorProfilerAgent.cpp:
    17032         (WebCore::InspectorProfilerAgent::disable):
    17033         (WebCore::InspectorProfilerAgent::enable):
    17034         (WebCore::InspectorProfilerAgent::startUserInitiatedProfiling):
    17035         * inspector/PageDebuggerAgent.cpp: Added.
    17036         (WebCore::PageDebuggerAgent::create):
    17037         (WebCore::PageDebuggerAgent::PageDebuggerAgent):
    17038         (WebCore::PageDebuggerAgent::~PageDebuggerAgent):
    17039         (WebCore::PageDebuggerAgent::startListeningScriptDebugServer):
    17040         (WebCore::PageDebuggerAgent::stopListeningScriptDebugServer):
    17041         (WebCore::PageDebuggerAgent::scriptDebugServer):
    17042         * inspector/PageDebuggerAgent.h: Added.
    17043         * inspector/WorkerDebuggerAgent.cpp: Added.
    17044         (WebCore::WorkerDebuggerAgent::create):
    17045         (WebCore::WorkerDebuggerAgent::WorkerDebuggerAgent):
    17046         (WebCore::WorkerDebuggerAgent::~WorkerDebuggerAgent):
    17047         (WebCore::WorkerDebuggerAgent::startListeningScriptDebugServer):
    17048         (WebCore::WorkerDebuggerAgent::stopListeningScriptDebugServer):
    17049         (WebCore::WorkerDebuggerAgent::scriptDebugServer):
    17050         * inspector/WorkerDebuggerAgent.h: Added.
    17051 
    17052 2011-03-30  Levi Weintraub  <leviw@chromium.org>
    17053 
    17054         Reviewed by Ryosuke Niwa.
    17055 
    17056         Clicking below last line of right-to-left editable text that puts caret in the wrong place
    17057         https://bugs.webkit.org/show_bug.cgi?id=38087
    17058 
    17059         Moving getLogical[Start/End]BoxWithNode to RootInlineBox and using it in positionForPointWithInlineChildren
    17060         instead of lastLeafChild, which wasn't correct in the RTL case.
    17061 
    17062         Test: editing/selection/click-below-rtl-text.html
    17063 
    17064         * editing/visible_units.cpp:
    17065         (WebCore::logicalStartPositionForLine): Moved to RootInlineBox.
    17066         (WebCore::logicalEndPositionForLine): Ditto.
    17067         * editing/visible_units.h:
    17068         * rendering/RenderBlock.cpp:
    17069         (WebCore::RenderBlock::positionForPointWithInlineChildren): Useing getLogicalEndBoxWithNode instead
    17070         of lastLeafChild.
    17071         * rendering/RootInlineBox.cpp:
    17072         (WebCore::RootInlineBox::getLogicalStartBoxWithNode): Moved and refactored.
    17073         (WebCore::RootInlineBox::getLogicalEndBoxWithNode): Ditto.
    17074         * rendering/RootInlineBox.h:
    17075 
    17076 2011-03-30  Yury Semikhatsky  <yurys@chromium.org>
    17077 
    17078         Unreviewed. Rollout r82438 and r82436.
    17079 
    17080         * CMakeLists.txt:
    17081         * GNUmakefile.am:
    17082         * UseJSC.cmake:
    17083         * WebCore.gypi:
    17084         * WebCore.pro:
    17085         * WebCore.vcproj/WebCore.vcproj:
    17086         * WebCore.xcodeproj/project.pbxproj:
    17087         * bindings/js/JSBindingsAllInOne.cpp:
    17088         * bindings/js/JSInjectedScriptHostCustom.cpp:
    17089         (WebCore::JSInjectedScriptHost::currentCallFrame):
    17090         * bindings/js/PageScriptDebugServer.cpp: Removed.
    17091         * bindings/js/PageScriptDebugServer.h: Removed.
    17092         * bindings/js/ScriptDebugServer.cpp:
    17093         (WebCore::ScriptDebugServer::shared):
    17094         (WebCore::ScriptDebugServer::ScriptDebugServer):
    17095         (WebCore::ScriptDebugServer::addListener):
    17096         (WebCore::ScriptDebugServer::removeListener):
    17097         (WebCore::ScriptDebugServer::hasListenersInterestedInPage):
    17098         (WebCore::toPage):
    17099         (WebCore::ScriptDebugServer::sourceParsed):
    17100         (WebCore::ScriptDebugServer::dispatchFunctionToListeners):
    17101         (WebCore::ScriptDebugServer::setJavaScriptPaused):
    17102         (WebCore::ScriptDebugServer::createCallFrameAndPauseIfNeeded):
    17103         (WebCore::ScriptDebugServer::updateCallFrameAndPauseIfNeeded):
    17104         (WebCore::ScriptDebugServer::pauseIfNeeded):
    17105         (WebCore::ScriptDebugServer::recompileAllJSFunctions):
    17106         (WebCore::ScriptDebugServer::didAddListener):
    17107         (WebCore::ScriptDebugServer::didRemoveListener):
    17108         * bindings/js/ScriptDebugServer.h:
    17109         * bindings/js/WorkerScriptDebugServer.cpp: Removed.
    17110         * bindings/js/WorkerScriptDebugServer.h: Removed.
    17111         * bindings/v8/PageScriptDebugServer.cpp: Removed.
    17112         * bindings/v8/PageScriptDebugServer.h: Removed.
    17113         * bindings/v8/ScriptDebugServer.cpp:
    17114         (WebCore::retrieveFrame):
    17115         (WebCore::ScriptDebugServer::shared):
    17116         (WebCore::ScriptDebugServer::ScriptDebugServer):
    17117         (WebCore::ScriptDebugServer::addListener):
    17118         (WebCore::ScriptDebugServer::removeListener):
    17119         (WebCore::ScriptDebugServer::setPauseOnNextStatement):
    17120         (WebCore::ScriptDebugServer::breakProgram):
    17121         (WebCore::ScriptDebugServer::continueProgram):
    17122         (WebCore::ScriptDebugServer::stepIntoStatement):
    17123         (WebCore::ScriptDebugServer::stepOverStatement):
    17124         (WebCore::ScriptDebugServer::stepOutOfFunction):
    17125         (WebCore::ScriptDebugServer::editScriptSource):
    17126         (WebCore::ScriptDebugServer::setEnabled):
    17127         (WebCore::ScriptDebugServer::breakProgramCallback):
    17128         (WebCore::ScriptDebugServer::v8DebugEventCallback):
    17129         (WebCore::ScriptDebugServer::handleV8DebugEvent):
    17130         (WebCore::ScriptDebugServer::didResume):
    17131         * bindings/v8/ScriptDebugServer.h:
    17132         (WebCore::ScriptDebugServer::pageCreated):
    17133         (WebCore::ScriptDebugServer::ClientMessageLoop::~ClientMessageLoop):
    17134         (WebCore::ScriptDebugServer::setClientMessageLoop):
    17135         * bindings/v8/WorkerScriptDebugServer.cpp: Removed.
    17136         * bindings/v8/WorkerScriptDebugServer.h: Removed.
    17137         * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
    17138         (WebCore::V8InjectedScriptHost::currentCallFrameCallback):
    17139         * inspector/InjectedScriptHost.h:
    17140         (WebCore::InjectedScriptHost::init):
    17141         * inspector/InspectorAgent.cpp:
    17142         (WebCore::InspectorAgent::InspectorAgent):
    17143         * inspector/InspectorDebuggerAgent.cpp:
    17144         (WebCore::InspectorDebuggerAgent::create):
    17145         (WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent):
    17146         (WebCore::InspectorDebuggerAgent::enable):
    17147         (WebCore::InspectorDebuggerAgent::disable):
    17148         (WebCore::InspectorDebuggerAgent::setBreakpointsActive):
    17149         (WebCore::InspectorDebuggerAgent::removeBreakpoint):
    17150         (WebCore::InspectorDebuggerAgent::continueToLocation):
    17151         (WebCore::InspectorDebuggerAgent::resolveBreakpoint):
    17152         (WebCore::InspectorDebuggerAgent::editScriptSource):
    17153         (WebCore::InspectorDebuggerAgent::schedulePauseOnNextStatement):
    17154         (WebCore::InspectorDebuggerAgent::cancelPauseOnNextStatement):
    17155         (WebCore::InspectorDebuggerAgent::resume):
    17156         (WebCore::InspectorDebuggerAgent::stepOver):
    17157         (WebCore::InspectorDebuggerAgent::stepInto):
    17158         (WebCore::InspectorDebuggerAgent::stepOut):
    17159         (WebCore::InspectorDebuggerAgent::setPauseOnExceptionsState):
    17160         (WebCore::InspectorDebuggerAgent::didPause):
    17161         (WebCore::InspectorDebuggerAgent::breakProgram):
    17162         * inspector/InspectorDebuggerAgent.h:
    17163         * inspector/InspectorProfilerAgent.cpp:
    17164         (WebCore::InspectorProfilerAgent::disable):
    17165         (WebCore::InspectorProfilerAgent::enable):
    17166         (WebCore::InspectorProfilerAgent::startUserInitiatedProfiling):
    17167         * inspector/PageDebuggerAgent.cpp: Removed.
    17168         * inspector/PageDebuggerAgent.h: Removed.
    17169         * inspector/WorkerDebuggerAgent.cpp: Removed.
    17170         * inspector/WorkerDebuggerAgent.h: Removed.
    17171 
    17172 2011-03-30  Yury Semikhatsky  <yurys@chromium.org>
    17173 
    17174         Unreviewed. Fix compilation on Windows and EFL.
    17175 
    17176         * CMakeLists.txt:
    17177         * bindings/js/JSBindingsAllInOne.cpp:
    17178 
    17179 2011-03-30  Yury Semikhatsky  <yurys@chromium.org>
    17180 
    17181         Reviewed by Pavel Feldman.
    17182 
    17183         Web Inspector: split debugger agent into Page and Worker-specific ones
    17184         https://bugs.webkit.org/show_bug.cgi?id=57345
    17185 
    17186         ScriptDebugServer and InspectorDebuggerAgent contain only functionality common
    17187         for Worker and Page debugger. All specifics is moved into Page/WorkerScriptDebugServer
    17188         and Page/WorkerDebuggerAgent.
    17189 
    17190         * GNUmakefile.am:
    17191         * UseJSC.cmake:
    17192         * WebCore.gypi:
    17193         * WebCore.pro:
    17194         * WebCore.vcproj/WebCore.vcproj:
    17195         * WebCore.xcodeproj/project.pbxproj:
    17196         * bindings/js/JSInjectedScriptHostCustom.cpp:
    17197         (WebCore::JSInjectedScriptHost::currentCallFrame):
    17198         * bindings/js/PageScriptDebugServer.cpp: Added.
    17199         (WebCore::toPage):
    17200         (WebCore::PageScriptDebugServer::shared):
    17201         (WebCore::PageScriptDebugServer::PageScriptDebugServer):
    17202         (WebCore::PageScriptDebugServer::~PageScriptDebugServer):
    17203         (WebCore::PageScriptDebugServer::addListener):
    17204         (WebCore::PageScriptDebugServer::removeListener):
    17205         (WebCore::PageScriptDebugServer::recompileAllJSFunctions):
    17206         (WebCore::PageScriptDebugServer::getListenersForGlobalObject):
    17207         (WebCore::PageScriptDebugServer::didPause):
    17208         (WebCore::PageScriptDebugServer::didContinue):
    17209         (WebCore::PageScriptDebugServer::didRemoveLastListener):
    17210         (WebCore::PageScriptDebugServer::setJavaScriptPaused):
    17211         * bindings/js/PageScriptDebugServer.h: Added.
    17212         * bindings/js/ScriptDebugServer.cpp:
    17213         (WebCore::ScriptDebugServer::ScriptDebugServer):
    17214         (WebCore::ScriptDebugServer::sourceParsed):
    17215         (WebCore::ScriptDebugServer::dispatchFunctionToListeners):
    17216         (WebCore::ScriptDebugServer::createCallFrameAndPauseIfNeeded):
    17217         (WebCore::ScriptDebugServer::updateCallFrameAndPauseIfNeeded):
    17218         (WebCore::ScriptDebugServer::pauseIfNeeded):
    17219         * bindings/js/ScriptDebugServer.h:
    17220         * bindings/js/WorkerScriptDebugServer.cpp: Added.
    17221         (WebCore::WorkerScriptDebugServer::WorkerScriptDebugServer):
    17222         (WebCore::WorkerScriptDebugServer::addListener):
    17223         (WebCore::WorkerScriptDebugServer::removeListener):
    17224         * bindings/js/WorkerScriptDebugServer.h: Added.
    17225         (WebCore::WorkerScriptDebugServer::~WorkerScriptDebugServer):
    17226         (WebCore::WorkerScriptDebugServer::recompileAllJSFunctions):
    17227         (WebCore::WorkerScriptDebugServer::getListenersForGlobalObject):
    17228         (WebCore::WorkerScriptDebugServer::didPause):
    17229         (WebCore::WorkerScriptDebugServer::didContinue):
    17230         * bindings/v8/PageScriptDebugServer.cpp: Added.
    17231         (WebCore::retrieveFrame):
    17232         (WebCore::PageScriptDebugServer::shared):
    17233         (WebCore::PageScriptDebugServer::PageScriptDebugServer):
    17234         (WebCore::PageScriptDebugServer::addListener):
    17235         (WebCore::PageScriptDebugServer::removeListener):
    17236         (WebCore::PageScriptDebugServer::setClientMessageLoop):
    17237         (WebCore::PageScriptDebugServer::getDebugListenerForContext):
    17238         (WebCore::PageScriptDebugServer::runMessageLoopOnPause):
    17239         (WebCore::PageScriptDebugServer::quitMessageLoopOnPause):
    17240         * bindings/v8/PageScriptDebugServer.h: Added.
    17241         (WebCore::PageScriptDebugServer::setEnabled):
    17242         (WebCore::PageScriptDebugServer::ClientMessageLoop::~ClientMessageLoop):
    17243         (WebCore::PageScriptDebugServer::~PageScriptDebugServer):
    17244         * bindings/v8/ScriptDebugServer.cpp:
    17245         (WebCore::ScriptDebugServer::ScriptDebugServer):
    17246         (WebCore::ScriptDebugServer::setPauseOnNextStatement):
    17247         (WebCore::ScriptDebugServer::breakProgram):
    17248         (WebCore::ScriptDebugServer::continueProgram):
    17249         (WebCore::ScriptDebugServer::stepIntoStatement):
    17250         (WebCore::ScriptDebugServer::stepOverStatement):
    17251         (WebCore::ScriptDebugServer::stepOutOfFunction):
    17252         (WebCore::ScriptDebugServer::editScriptSource):
    17253         (WebCore::toScriptDebugServer):
    17254         (WebCore::ScriptDebugServer::breakProgramCallback):
    17255         (WebCore::ScriptDebugServer::v8DebugEventCallback):
    17256         (WebCore::ScriptDebugServer::handleV8DebugEvent):
    17257         (WebCore::ScriptDebugServer::isPaused):
    17258         * bindings/v8/ScriptDebugServer.h:
    17259         * bindings/v8/WorkerScriptDebugServer.cpp: Added.
    17260         (WebCore::WorkerScriptDebugServer::WorkerScriptDebugServer):
    17261         (WebCore::WorkerScriptDebugServer::addListener):
    17262         (WebCore::WorkerScriptDebugServer::removeListener):
    17263         * bindings/v8/WorkerScriptDebugServer.h: Added.
    17264         (WebCore::WorkerScriptDebugServer::~WorkerScriptDebugServer):
    17265         (WebCore::WorkerScriptDebugServer::getDebugListenerForContext):
    17266         (WebCore::WorkerScriptDebugServer::runMessageLoopOnPause):
    17267         (WebCore::WorkerScriptDebugServer::quitMessageLoopOnPause):
    17268         * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
    17269         (WebCore::V8InjectedScriptHost::currentCallFrameCallback):
    17270         * inspector/InjectedScriptHost.h:
    17271         (WebCore::InjectedScriptHost::init):
    17272         (WebCore::InjectedScriptHost::debuggerAgent):
    17273         * inspector/InspectorAgent.cpp:
    17274         (WebCore::InspectorAgent::InspectorAgent):
    17275         * inspector/InspectorDebuggerAgent.cpp:
    17276         (WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent):
    17277         (WebCore::InspectorDebuggerAgent::enable):
    17278         (WebCore::InspectorDebuggerAgent::disable):
    17279         (WebCore::InspectorDebuggerAgent::setBreakpointsActive):
    17280         (WebCore::InspectorDebuggerAgent::removeBreakpoint):
    17281         (WebCore::InspectorDebuggerAgent::continueToLocation):
    17282         (WebCore::InspectorDebuggerAgent::resolveBreakpoint):
    17283         (WebCore::InspectorDebuggerAgent::editScriptSource):
    17284         (WebCore::InspectorDebuggerAgent::schedulePauseOnNextStatement):
    17285         (WebCore::InspectorDebuggerAgent::cancelPauseOnNextStatement):
    17286         (WebCore::InspectorDebuggerAgent::resume):
    17287         (WebCore::InspectorDebuggerAgent::stepOver):
    17288         (WebCore::InspectorDebuggerAgent::stepInto):
    17289         (WebCore::InspectorDebuggerAgent::stepOut):
    17290         (WebCore::InspectorDebuggerAgent::setPauseOnExceptionsState):
    17291         (WebCore::InspectorDebuggerAgent::didPause):
    17292         (WebCore::InspectorDebuggerAgent::breakProgram):
    17293         * inspector/InspectorDebuggerAgent.h:
    17294         * inspector/InspectorProfilerAgent.cpp:
    17295         (WebCore::InspectorProfilerAgent::disable):
    17296         (WebCore::InspectorProfilerAgent::enable):
    17297         (WebCore::InspectorProfilerAgent::startUserInitiatedProfiling):
    17298         * inspector/PageDebuggerAgent.cpp: Added.
    17299         (WebCore::PageDebuggerAgent::create):
    17300         (WebCore::PageDebuggerAgent::PageDebuggerAgent):
    17301         (WebCore::PageDebuggerAgent::~PageDebuggerAgent):
    17302         (WebCore::PageDebuggerAgent::startListeningScriptDebugServer):
    17303         (WebCore::PageDebuggerAgent::stopListeningScriptDebugServer):
    17304         (WebCore::PageDebuggerAgent::scriptDebugServer):
    17305         * inspector/PageDebuggerAgent.h: Added.
    17306         * inspector/WorkerDebuggerAgent.cpp: Added.
    17307         (WebCore::WorkerDebuggerAgent::create):
    17308         (WebCore::WorkerDebuggerAgent::WorkerDebuggerAgent):
    17309         (WebCore::WorkerDebuggerAgent::~WorkerDebuggerAgent):
    17310         (WebCore::WorkerDebuggerAgent::startListeningScriptDebugServer):
    17311         (WebCore::WorkerDebuggerAgent::stopListeningScriptDebugServer):
    17312         (WebCore::WorkerDebuggerAgent::scriptDebugServer):
    17313         * inspector/WorkerDebuggerAgent.h: Added.
    17314 
    17315 2011-03-30  Alexander Pavlov  <apavlov@chromium.org>
    17316 
    17317         Reviewed by Pavel Feldman.
    17318 
    17319         Web Inspector: Make the getStylesForNode result "styleAttributes" value an array rather than a map
    17320         https://bugs.webkit.org/show_bug.cgi?id=57440
    17321 
    17322         * inspector/InspectorCSSAgent.cpp:
    17323         (WebCore::InspectorCSSAgent::getStylesForNode):
    17324         (WebCore::InspectorCSSAgent::buildArrayForAttributeStyles):
    17325         * inspector/InspectorCSSAgent.h:
    17326         * inspector/front-end/CSSStyleModel.js:
    17327         (WebInspector.CSSStyleModel.prototype.getStylesAsync):
    17328 
    17329 2011-03-30  Evan Martin  <evan@chromium.org>
    17330 
    17331         Reviewed by Ryosuke Niwa.
    17332 
    17333         Fix a last-second ASSERT in previous change that was wrong.
    17334 
    17335         * dom/Document.cpp:
    17336         (WebCore::Document::setTitle):
    17337 
    17338 2011-03-30  Levi Weintraub  <leviw@chromium.org>
    17339 
    17340         Reviewed by Eric Seidel.
    17341 
    17342         RTL:  Directionality always reset on hard line break
    17343         https://bugs.webkit.org/show_bug.cgi?id=23124
    17344 
    17345         No longer clearing all BidiContexts when we hit a hard line break.
    17346         Instead, directionality applied by DOM elements is preserved by
    17347         reconstructing the context stack ignoring those that didn't come
    17348         from the DOM.
    17349 
    17350         Test: fast/text/international/bidi-br-as-paragraph-separator.html
    17351 
    17352         * platform/text/BidiContext.cpp:
    17353         (WebCore::BidiContext::createUncached):
    17354         (WebCore::BidiContext::create):
    17355         (WebCore::copyContextAndRebaselineLevel): Helper to make a copy of a context
    17356         and recalculate its bidi level.
    17357         (WebCore::BidiContext::copyStackRemovingUnicodeEmbeddingContexts): Returns the top of
    17358         a BidiContext stack that's equivalent but without contexts from Unicode directional
    17359         characters.
    17360         (WebCore::operator==): Now takes into account embedding source.
    17361         * platform/text/BidiContext.h:
    17362         (WebCore::BidiContext::source): Enum to specify whether an embedded
    17363         bidirectional control came from the DOM/Style or Unicode characters
    17364         (WebCore::BidiContext::BidiContext):
    17365         * platform/text/BidiResolver.h:
    17366         (WebCore::BidiEmbedding::BidiEmbedding): An embedding is now a direction
    17367         and a hint about where it came from so we can differentiate DOM directions
    17368         from unicode direction control characters.
    17369         (WebCore::BidiEmbedding::direction):
    17370         (WebCore::BidiEmbedding::source):
    17371         (WebCore::::embed): Now takes a source as well as a direction.
    17372         (WebCore::::commitExplicitEmbedding):
    17373         (WebCore::::createBidiRunsForLine):
    17374         * rendering/InlineIterator.h:
    17375         (WebCore::bidiNext):
    17376         (WebCore::bidiFirst):
    17377         * rendering/RenderBlockLineLayout.cpp:
    17378         (WebCore::RenderBlock::determineStartPosition):
    17379 
    17380 2011-03-30  Steve Block  <steveblock@google.com>
    17381 
    17382         Reviewed by Jeremy Orlow.
    17383 
    17384         JavaMethod should not expose JavaString in its API
    17385         https://bugs.webkit.org/show_bug.cgi?id=55765
    17386 
    17387         - Factors out a JavaMethod interface which does not use JNI types.
    17388           This will allow the Java bridge to be used with objects that
    17389           don't use JNI directly. The existing jobject-backed
    17390           implementation is moved to a new JavaMethodJobject class which
    17391           implements the interface.
    17392         - Use WTF::String in place of JavaString in the API, as JavaString
    17393           exposes JNI types in its interface.
    17394         - Remove the method ID as it uses JNI types.
    17395 
    17396         No new tests, refactoring only.
    17397 
    17398         * Android.jscbindings.mk:
    17399         * Android.v8bindings.mk:
    17400         * GNUmakefile.am:
    17401         * WebCore.gypi:
    17402         * WebCore.xcodeproj/project.pbxproj:
    17403         * bridge/jni/JavaMethod.h:
    17404         * bridge/jni/JavaMethodJobject.cpp:
    17405         (JavaMethodJobject::JavaMethodJobject):
    17406         (JavaMethodJobject::~JavaMethodJobject):
    17407         (appendClassName):
    17408         (JavaMethodJobject::signature):
    17409         * bridge/jni/JavaMethodJobject.h: Copied from Source/WebCore/bridge/jni/JavaMethod.h.
    17410         (JSC::Bindings::JavaMethodJobject::name):
    17411         (JSC::Bindings::JavaMethodJobject::returnTypeClassName):
    17412         (JSC::Bindings::JavaMethodJobject::parameterAt):
    17413         (JSC::Bindings::JavaMethodJobject::returnType):
    17414         (JSC::Bindings::JavaMethodJobject::isStatic):
    17415         (JSC::Bindings::JavaMethodJobject::numParameters):
    17416         * bridge/jni/jsc/JavaClassJSC.cpp:
    17417         (JavaClass::JavaClass):
    17418         * bridge/jni/jsc/JavaInstanceJSC.cpp:
    17419         (JavaInstance::invokeMethod):
    17420         * bridge/jni/v8/JavaClassV8.cpp:
    17421         (JavaClass::JavaClass):
    17422         * bridge/jni/v8/JavaInstanceV8.cpp:
    17423         (JavaInstance::invokeMethod):
    17424 
    17425 2011-03-30  Evan Martin  <evan@chromium.org>
    17426 
    17427         Reviewed by Ryosuke Niwa.
    17428 
    17429         clean up Document's handling of title changes
    17430         https://bugs.webkit.org/show_bug.cgi?id=57433
    17431 
    17432         Document::setTitle has two entry points:
    17433         1) from DOM bindings, like document.title="foo"
    17434         2) from title tags, like <title>foo</title> in HTML
    17435 
    17436         Split these two code paths to make the code easier to follow.
    17437         Also, replace the repeated pattern of
    17438             m_rawTitle = "foo"; updateTitle();
    17439         with
    17440             updateTitle("foo");
    17441 
    17442         * dom/Document.cpp:
    17443         (WebCore::Document::updateTitle):
    17444         (WebCore::Document::setTitle):
    17445         (WebCore::Document::setTitleElement):
    17446         (WebCore::Document::removeTitle):
    17447         * dom/Document.h:
    17448         * html/HTMLTitleElement.cpp:
    17449         (WebCore::HTMLTitleElement::insertedIntoDocument):
    17450         (WebCore::HTMLTitleElement::childrenChanged):
    17451         * svg/SVGTitleElement.cpp:
    17452         (WebCore::SVGTitleElement::insertedIntoDocument):
    17453         (WebCore::SVGTitleElement::childrenChanged):
    17454 
    17455 2011-03-30  Levi Weintraub  <leviw@chromium.org>
    17456 
    17457         Reviewed by Ryosuke Niwa.
    17458 
    17459         BreakBlockQuoteCommand assumes all li tags have list item renderers
    17460         https://bugs.webkit.org/show_bug.cgi?id=57253
    17461 
    17462         Checking that the renderers of li nodes are actually RenderListItems
    17463         before treating them as such.
    17464 
    17465         Test: editing/execCommand/crash-breaking-blockquote-with-list.html
    17466 
    17467         * editing/BreakBlockquoteCommand.cpp:
    17468         (WebCore::BreakBlockQuoteCommand::doApply):
    17469 
    17470 2011-03-30  Pavel Feldman  <pfeldman@chromium.org>
    17471 
    17472         Not reviewed: fixing typo in the inspector front-end.
    17473 
    17474         Web Inspector: REGRESSION: Broken live edit errors handling
    17475         https://bugs.webkit.org/show_bug.cgi?id=57436
    17476 
    17477         * inspector/front-end/DebuggerModel.js:
    17478         (WebInspector.DebuggerModel.prototype._didEditScriptSource):
    17479 
    17480 2011-03-30  Yael Aharon  <yael.aharon@nokia.com>
    17481 
    17482         Reviewed by Eric Seidel.
    17483 
    17484         Left/Right borders/padding/margins are not always added correctly when rendering multiline inline boxes with bidi elements
    17485         https://bugs.webkit.org/show_bug.cgi?id=9272
    17486 
    17487 
    17488         Also fixes https://bugs.webkit.org/show_bug.cgi?id=47210 and https://bugs.webkit.org/show_bug.cgi?id=8392.
    17489 
    17490         Change how we decide if an InlineFlowBox is the last one for its renderer. Use the position of resolver's logicallyLastRun
    17491         to decide if there is more text in the next line.
    17492 
    17493         Tests: fast/borders/rtl-border-01.html
    17494                fast/borders/rtl-border-02.html
    17495                fast/borders/rtl-border-03.html
    17496                fast/borders/rtl-border-04.html
    17497                fast/borders/rtl-border-05.html
    17498 
    17499         * rendering/InlineFlowBox.cpp:
    17500         (WebCore::isAnsectorAndWithinBlock):
    17501         (WebCore::InlineFlowBox::determineSpacingForFlowBoxes):
    17502         * rendering/InlineFlowBox.h:
    17503         * rendering/RenderBlock.h:
    17504         * rendering/RenderBlockLineLayout.cpp:
    17505         (WebCore::RenderBlock::constructLine):
    17506         (WebCore::reachedEndOfTextRenderer):
    17507         (WebCore::RenderBlock::layoutInlineChildren):
    17508 
    17509 2011-03-29  Nikolas Zimmermann  <nzimmermann@rim.com>
    17510 
    17511         Reviewed by Eric Seidel.
    17512 
    17513         REGRESSION (r68976): Incorrect bidi rendering in SVG text
    17514         https://bugs.webkit.org/show_bug.cgi?id=53980
    17515 
    17516         Deconvolute SVGTextLayoutEngine code, which was confusing due to the simultaneous processing of the rendered text
    17517         in visual and logical order. Added several helper methods to make the code more readable.
    17518 
    17519         Fix Unicode directional formatting characters support, now works as expected.
    17520 
    17521         Test: svg/text/bidi-embedded-direction.svg
    17522 
    17523         * editing/visible_units.cpp: Refactor getLeafBoxesInLogicalOrder(), move to InlineFlowBox.
    17524         (WebCore::getLogicalStartBoxAndNode): Use new collectLeafBoxesInLogicalOrder() method in InlineFlowBox.
    17525         (WebCore::getLogicalEndBoxAndNode): Ditto.
    17526         * rendering/InlineFlowBox.cpp: Add new helper function, that returns a list of all leaf boxes in logical order.
    17527         (WebCore::InlineFlowBox::collectLeafBoxesInLogicalOrder):
    17528         * rendering/InlineFlowBox.h:
    17529         * rendering/svg/RenderSVGText.cpp: Actually trigger reordering the x/y/dx/dy/rotate value lists, if needed.
    17530         (WebCore::RenderSVGText::RenderSVGText):
    17531         (WebCore::RenderSVGText::layout):
    17532         * rendering/svg/RenderSVGText.h: Ditto.
    17533         (WebCore::RenderSVGText::layoutAttributes):
    17534         (WebCore::RenderSVGText::needsReordering):
    17535         * rendering/svg/SVGRootInlineBox.cpp: Use new InlineFlowBox::collectLeafBoxesINLogicalOrder(), with a custom "inline box reverse" implementation,
    17536                                               which not only reverses the order of InlineBoxes, but also the order of the x/y/dx/dy/rotate value lists, if needed.
    17537         (WebCore::SVGRootInlineBox::computePerCharacterLayoutInformation):
    17538         (WebCore::SVGRootInlineBox::layoutCharactersInTextBoxes):
    17539         (WebCore::swapItems):
    17540         (WebCore::reverseInlineBoxRangeAndValueListsIfNeeded):
    17541         (WebCore::SVGRootInlineBox::reorderValueLists):
    17542         * rendering/svg/SVGRootInlineBox.h:
    17543         * rendering/svg/SVGTextLayoutAttributes.cpp: Store RenderSVGInlineText* pointer, where we belong to.
    17544         (WebCore::SVGTextLayoutAttributes::SVGTextLayoutAttributes):
    17545         (WebCore::SVGTextLayoutAttributes::dump):
    17546         * rendering/svg/SVGTextLayoutAttributes.h:
    17547         (WebCore::SVGTextLayoutAttributes::context):
    17548         * rendering/svg/SVGTextLayoutAttributesBuilder.cpp: Pass RenderSVGInlineText* object when creating SVGTextLayoutAttributes.
    17549         (WebCore::SVGTextLayoutAttributesBuilder::buildLayoutAttributesForTextSubtree):
    17550         (WebCore::SVGTextLayoutAttributesBuilder::propagateLayoutAttributes):
    17551         * rendering/svg/SVGTextLayoutAttributesBuilder.h:
    17552         * rendering/svg/SVGTextLayoutEngine.cpp: Rewrite & cleanup the main layout algorithm, to be less confusing.
    17553         (WebCore::SVGTextLayoutEngine::SVGTextLayoutEngine):
    17554         (WebCore::SVGTextLayoutEngine::updateRelativePositionAdjustmentsIfNeeded):
    17555         (WebCore::SVGTextLayoutEngine::recordTextFragment):
    17556         (WebCore::SVGTextLayoutEngine::currentLogicalCharacterAttributes):
    17557         (WebCore::SVGTextLayoutEngine::currentLogicalCharacterMetrics):
    17558         (WebCore::SVGTextLayoutEngine::currentVisualCharacterMetrics):
    17559         (WebCore::SVGTextLayoutEngine::advanceToNextLogicalCharacter):
    17560         (WebCore::SVGTextLayoutEngine::advanceToNextVisualCharacter):
    17561         (WebCore::SVGTextLayoutEngine::layoutTextOnLineOrPath):
    17562         * rendering/svg/SVGTextLayoutEngine.h:
    17563 
    17564 2011-03-30  Ilya Tikhonovsky  <loislo@chromium.org>
    17565 
    17566         Not reviewed trivial change.
    17567 
    17568         Web Inspector: Remove unnecessary function arguments after r82281.
    17569         https://bugs.webkit.org/show_bug.cgi?id=57327
    17570 
    17571         * inspector/InspectorAgent.cpp:
    17572         (WebCore::InspectorAgent::didCommitLoad):
    17573         (WebCore::InspectorAgent::domContentLoadedEventFired):
    17574         * inspector/InspectorAgent.h:
    17575         * inspector/InspectorInstrumentation.cpp:
    17576         (WebCore::InspectorInstrumentation::domContentLoadedEventFiredImpl):
    17577         (WebCore::InspectorInstrumentation::didCommitLoadImpl):
    17578 
    17579 2011-03-30  Kent Tamura  <tkent@chromium.org>
    17580 
    17581         Reviewed by Ojan Vafai.
    17582 
    17583         H1 element should have different default style if it is in HTML5 sectioning elements.
    17584         https://bugs.webkit.org/show_bug.cgi?id=52693
    17585 
    17586         Test: fast/css/h1-in-section-elements.html
    17587 
    17588         * css/html.css: Add font-size and margin declarations to follow HTML5 specification.
    17589         (:-webkit-any(article,aside,nav,section) h1):
    17590         (:-webkit-any(article,aside,nav,section) :-webkit-any(article,aside,nav,section) h1):
    17591         (:-webkit-any(article,aside,nav,section) :-webkit-any(article,aside,nav,section) :-webkit-any(article,aside,nav,section) h1):
    17592         (:-webkit-any(article,aside,nav,section) :-webkit-any(article,aside,nav,section) :-webkit-any(article,aside,nav,section) :-webkit-any(article,aside,nav,section) h1):
    17593         (:-webkit-any(article,aside,nav,section) :-webkit-any(article,aside,nav,section) :-webkit-any(article,aside,nav,section) :-webkit-any(article,aside,nav,section) :-webkit-any(article,aside,nav,section) h1):
    17594 
    17595 2011-03-29  Beth Dakin  <bdakin@apple.com>
    17596 
    17597         Reviewed by Maciej Stachowiak.
    17598 
    17599         Fix for https://bugs.webkit.org/show_bug.cgi?id=57408
    17600         webkit-min-device-pixel-ratio media query doesn't work post-SnowLeopard
    17601         -and corresponding-
    17602         <rdar://problem/8665411>
    17603 
    17604         * platform/mac/PlatformScreenMac.mm:
    17605         (WebCore::windowScaleFactor):
    17606         (WebCore::toUserSpace):
    17607         (WebCore::toDeviceSpace):
    17608 
    17609 2011-03-29  Eric Seidel  <eric@webkit.org>
    17610 
    17611         Reviewed by Dimitri Glazkov.
    17612 
    17613         Rename BidiResolver::eor and sor to m_eor and m_sor to match modern style
    17614         https://bugs.webkit.org/show_bug.cgi?id=57369
    17615 
    17616         I considered renaming these to m_endOfRun and m_startOfRun but decided
    17617         that was too verbose for now (given how often they're used).  I suspect
    17618         with a bit more refactoring we'll find they're not used very often and can be renamed
    17619         if so desired.
    17620 
    17621         * platform/text/BidiResolver.h:
    17622         (WebCore::::appendRun):
    17623         (WebCore::::checkDirectionInLowerRaiseEmbeddingLevel):
    17624         (WebCore::::lowerExplicitEmbeddingLevel):
    17625         (WebCore::::raiseExplicitEmbeddingLevel):
    17626         (WebCore::::createBidiRunsForLine):
    17627         * rendering/InlineIterator.h:
    17628         (WebCore::InlineBidiResolver::appendRun):
    17629 
    17630 2011-03-29  Mikhail Naganov  <mnaganov@chromium.org>
    17631 
    17632         Reviewed by Pavel Feldman.
    17633 
    17634         Web Inspector: [Chromium] Remove exact retained size request in detailed heap snapshots.
    17635         https://bugs.webkit.org/show_bug.cgi?id=57351
    17636 
    17637         * bindings/js/ScriptHeapSnapshot.h:
    17638         * bindings/v8/ScriptHeapSnapshot.cpp:
    17639         * bindings/v8/ScriptHeapSnapshot.h:
    17640         * inspector/Inspector.json:
    17641         * inspector/InspectorProfilerAgent.cpp:
    17642         * inspector/InspectorProfilerAgent.h:
    17643         * inspector/front-end/DetailedHeapshotGridNodes.js:
    17644         (WebInspector.HeapSnapshotGenericObjectNode):
    17645         (WebInspector.HeapSnapshotGenericObjectNode.prototype.get data):
    17646         * inspector/front-end/DetailedHeapshotView.js:
    17647         (WebInspector.DetailedHeapshotView.prototype._mouseClickInContainmentGrid):
    17648 
    17649 2011-03-29  Eric Seidel  <eric@webkit.org>
    17650 
    17651         Reviewed by Ryosuke Niwa.
    17652 
    17653         Split more logic out from createBidiRunsForLine for readability
    17654         https://bugs.webkit.org/show_bug.cgi?id=57341
    17655 
    17656         I marked reorderRunsFromLevels inline, but it probably doesn't actually need to (or want to) be.
    17657         This lops another large hunk off of reorderRunsFromLevels further reducing the size and complexity.
    17658 
    17659         * platform/text/BidiResolver.h:
    17660         (WebCore::::reorderRunsFromLevels):
    17661         (WebCore::::createBidiRunsForLine):
    17662 
    17663 2011-03-29  Kent Tamura  <tkent@chromium.org>
    17664 
    17665         Reviewed by Dimitri Glazkov.
    17666 
    17667         Make validation message bubble testable
    17668         https://bugs.webkit.org/show_bug.cgi?id=57290
    17669 
    17670         Introduce a setting for validation message timer so that we can configure
    17671         how long we show a validation message bubble.
    17672 
    17673         Test: fast/forms/validation-message-appearance.html
    17674 
    17675         * html/ValidationMessage.cpp:
    17676         (WebCore::ValidationMessage::setMessageDOMAndStartTimer):
    17677           Don't set a timer if the timer magnification value is 0 or negative.
    17678           Otherwise, hides the bubble length * magnification / 1000 seconds.
    17679         * page/Settings.cpp:
    17680         (WebCore::Settings::Settings): Initialize the timer magnification value.
    17681         * page/Settings.h:
    17682         (WebCore::Settings::setValidationMessageTimerMagnification): Added.
    17683         (WebCore::Settings::validationMessageTimerMaginification): Added.
    17684 
    17685 2011-03-29  Dimitri Glazkov  <dglazkov@chromium.org>
    17686 
    17687         Remove the extraneous declaration I accidentally added in r82376.
    17688 
    17689         * dom/MouseEvent.h: Removed createSimulated decl.
    17690 
    17691 2011-03-29  James Robinson  <jamesr@chromium.org>
    17692 
    17693         Reviewed by Kenneth Russell.
    17694 
    17695         [chromium] Compositor crash with show-layer-borders flag
    17696         https://bugs.webkit.org/show_bug.cgi?id=57292
    17697 
    17698         Synchronize the debug border color/width with other properties to ensure the appropriate
    17699         CCLayerImpl exists.  Code is only exercised with a debugging command line flag so no layout
    17700         test.
    17701 
    17702         * platform/graphics/chromium/LayerChromium.cpp:
    17703         (WebCore::LayerChromium::pushPropertiesTo):
    17704         (WebCore::LayerChromium::setBorderColor):
    17705         (WebCore::LayerChromium::setBorderWidth):
    17706         * platform/graphics/chromium/LayerChromium.h:
    17707 
    17708 2011-03-29  Tony Gentilcore  <tonyg@chromium.org>
    17709 
    17710         Reviewed by Adam Barth.
    17711 
    17712         Teach the preload scanner about &lt;input type=image&gt;
    17713         https://bugs.webkit.org/show_bug.cgi?id=57404
    17714 
    17715         I did a very rough sample of the top 50 web pages to see how many of each
    17716         HTML resource type they include:
    17717         img src: 1,359
    17718         script src: 276
    17719         link href: 256
    17720         iframe src: 104
    17721         input src: 50
    17722         embed src: 37
    17723         @import: 13
    17724         object data: 11
    17725 
    17726         Based on this, it seems worthwhile to preload inputs and iframes (possibly embed).
    17727         This patch only does inputs.
    17728 
    17729         Test: fast/preloader/input.html
    17730 
    17731         * html/parser/HTMLPreloadScanner.cpp:
    17732         (WebCore::HTMLNames::PreloadTask::PreloadTask):
    17733         (WebCore::HTMLNames::PreloadTask::processAttributes):
    17734         (WebCore::HTMLNames::PreloadTask::inputTypeAttributeIsImage):
    17735         (WebCore::HTMLNames::PreloadTask::preload):
    17736 
    17737 2011-03-29  Luke Macpherson   <macpherson@chromium.org>
    17738 
    17739         Reviewed by David Levin.
    17740 
    17741         Improve the massive switch statement in CSSStyleSelector::applyProperty.
    17742         https://bugs.webkit.org/show_bug.cgi?id=56288
    17743 
    17744         No new tests are needed because no new functionality exposed.
    17745 
    17746         * css/CSSStyleSelector.cpp:
    17747         (WebCore::CSSStyleSelector::applyProperty):
    17748         Asserted that cases implemented in the CSSStyleApplyProperty lookup table are unreachable.
    17749         Updated comment.
    17750 
    17751 2011-03-29  Dimitri Glazkov  <dglazkov@chromium.org>
    17752 
    17753         Reviewed by Darin Adler.
    17754 
    17755         Introduce SimulatedMouseEvent and teach EventDispatcher how to use it.
    17756         https://bugs.webkit.org/show_bug.cgi?id=57402
    17757 
    17758         No functional changes, covered by existing tests.
    17759 
    17760         * dom/EventDispatcher.cpp:
    17761         (WebCore::EventDispatcher::dispatchSimulatedClick): Changed to use SimulatedMouseEvent.
    17762         (WebCore::EventDispatcher::dispatchMouseEvent): Combined two dispatchMouseEvent methods
    17763             into one, now that simulated-click events don't need one.
    17764         * dom/EventDispatcher.h: Updated decls.
    17765         * dom/MouseEvent.cpp:
    17766         (WebCore::SimulatedMouseEvent::create): Added.
    17767         (WebCore::SimulatedMouseEvent::~SimulatedMouseEvent): Added.
    17768         (WebCore::SimulatedMouseEvent::SimulatedMouseEvent): Added.
    17769         * dom/MouseEvent.h: Made constructor protected.
    17770 
    17771 2011-03-29  Anders Carlsson  <andersca@apple.com>
    17772 
    17773         Fix build.
    17774 
    17775         * WebCore.exp.in:
    17776 
    17777 2011-03-29  Steve Block  <steveblock@google.com>
    17778 
    17779         Reviewed by Jeremy Orlow.
    17780 
    17781         JavaInstance should not use jvalue in its API
    17782         https://bugs.webkit.org/show_bug.cgi?id=57019
    17783 
    17784         This change updates JavaInstance for V8 to use JavaValue, rather than
    17785         jvalue, in its API. This will allow us to create an API for
    17786         JavaInstance that is independent of JNI, to allow it to be
    17787         implemented on platforms that do not use JNI directly.
    17788 
    17789         Refactoring only, no new tests.
    17790 
    17791         * bridge/jni/v8/JavaInstanceV8.cpp:
    17792         (JavaInstance::invokeMethod):
    17793         (JavaInstance::getField):
    17794         * bridge/jni/v8/JavaInstanceV8.h:
    17795         * bridge/jni/v8/JavaNPObjectV8.cpp:
    17796         (JSC::Bindings::JavaNPObjectInvoke):
    17797         (JSC::Bindings::JavaNPObjectGetProperty):
    17798         * bridge/jni/v8/JavaValueV8.h:
    17799 
    17800 2011-03-29  Eric Seidel  <eric@webkit.org>
    17801 
    17802         Reviewed by Dimitri Glazkov.
    17803 
    17804         Rename BidiResolver::last to m_last to match modern style
    17805         https://bugs.webkit.org/show_bug.cgi?id=57367
    17806 
    17807         * platform/text/BidiResolver.h:
    17808         (WebCore::::lowerExplicitEmbeddingLevel):
    17809         (WebCore::::raiseExplicitEmbeddingLevel):
    17810         (WebCore::::createBidiRunsForLine):
    17811 
    17812 2011-03-29  Justin Schuh  <jschuh@chromium.org>
    17813 
    17814         Reviewed by Maciej Stachowiak.
    17815 
    17816         SVGComponentTransferFunctionElement should validate type
    17817         https://bugs.webkit.org/show_bug.cgi?id=56960
    17818 
    17819         Test: svg/filters/feComponentTransfer-style-crash.xhtml
    17820 
    17821         * svg/SVGComponentTransferFunctionElement.cpp:
    17822         (WebCore::SVGComponentTransferFunctionElement::svgAttributeChanged):
    17823         * svg/SVGComponentTransferFunctionElement.h:
    17824 
    17825 2011-03-29  Thomas Klausner  <tk@giga.or.at>
    17826 
    17827         Reviewed by David Levin.
    17828 
    17829         png-1.5 fixes
    17830         https://bugs.webkit.org/show_bug.cgi?id=54406
    17831 
    17832         Fix compilation with png-1.5: struct members were hidden, and
    17833         a new API to terminate data processing was added (especially for
    17834         WebKit).
    17835 
    17836         Compilation fixes, so no new tests.
    17837 
    17838         * platform/image-decoders/png/PNGImageDecoder.cpp:
    17839         (WebCore::PNGImageDecoder::headerAvailable):
    17840         (WebCore::PNGImageDecoder::rowAvailable):
    17841 
    17842 2011-03-29  Gavin Peters  <gavinp@chromium.org>
    17843 
    17844         Reviewed by Tony Gentilcore.
    17845 
    17846         Add beforeload to icon and prefetch link rel types
    17847         https://bugs.webkit.org/show_bug.cgi?id=56424
    17848 
    17849         Over in https://lists.webkit.org/pipermail/webkit-dev/2011-February/016034.html , a webkit-dev
    17850         thread, I've discussed my hopes for the link element, and adding the link header.  This
    17851         change helps improve the link header by making it participate in the beforeload event in
    17852         two more important cases.
    17853 
    17854         Tests: fast/dom/HTMLLinkElement/prefetch-beforeload.html
    17855                http/tests/misc/link-rel-icon-beforeload.html
    17856                webarchive/test-link-rel-icon-beforeload.html
    17857 
    17858         * html/HTMLLinkElement.cpp:
    17859         (WebCore::HTMLLinkElement::checkBeforeLoadEvent):
    17860         (WebCore::HTMLLinkElement::process):
    17861         * html/HTMLLinkElement.h:
    17862 
    17863 2011-03-29  Eric Seidel  <eric@webkit.org>
    17864 
    17865         Reviewed by Dimitri Glazkov.
    17866 
    17867         Rename BidiResolver::current to BidiResolver::m_current to match modern style
    17868         https://bugs.webkit.org/show_bug.cgi?id=57363
    17869 
    17870         I was very confused by current until I realized it was a member variable.
    17871         I also did m_reachedEndOfLine since that was small.
    17872 
    17873         * platform/text/BidiResolver.h:
    17874         (WebCore::BidiResolver::position):
    17875         (WebCore::BidiResolver::setPosition):
    17876         (WebCore::BidiResolver::increment):
    17877         (WebCore::::createBidiRunsForLine):
    17878 
    17879 2011-03-29  Geoff Pike  <gpike@chromium.org>
    17880 
    17881         Reviewed by Dimitri Glazkov.
    17882 
    17883         In HitTestResult objects, initialize the ListHashSet<RefPtr<Node> >
    17884         lazily.  In my informal testing it seems to be used hardly at all, so
    17885         it's wasteful to create it eagerly.  Initializing a ListHashSet
    17886         is expensive because a ListHashSet initially has space for 256
    17887         elements, and that space is memset to 0.
    17888 
    17889         This change should improve performance but have no impact on
    17890         correctness.  On x86-64, for example, the change cuts the
    17891         cost of HitTestResult(IntPoint()) in EventHandler::mouseMoved()
    17892         from ~1700 cycles to ~300 cycles.
    17893 
    17894         * rendering/HitTestResult.cpp:
    17895         (WebCore::HitTestResult::HitTestResult): copy *m_rectBasedTestResult if m_rectBasedTestResult isn't 0
    17896         (WebCore::HitTestResult::operator=): copy *m_rectBasedTestResult if m_rectBasedTestResult isn't 0
    17897         (WebCore::HitTestResult::addNodeToRectBasedTestResult): use mutableRectBasedTestResult() rather than m_rectBasedTestResult
    17898         (WebCore::HitTestResult::append): append *(other.m_rectBasedTestResult) if other.m_rectBasedTestResult isn't 0
    17899         * rendering/HitTestResult.h:
    17900         (WebCore::HitTestResult::rectBasedTestResult): Add a typedef for ListHashSet<RefPtr<Node> > to ease readability.  Change m_rectBasedTestResult from ListHashSet<RefPtr<Node> > to an OwnPtr of same.  Modify rectBasedTestResult() and add mutableRectBasedTestResult().
    17901 
    17902 2011-03-29  Timothy Hatcher  <timothy@apple.com>
    17903 
    17904         Update the order of the context menu to better match AppKit on Mac.
    17905 
    17906         <rdar://problem/9054893>
    17907 
    17908         Reviewed by John Sullivan.
    17909 
    17910         * English.lproj/Localizable.strings: Updated.
    17911         * page/ContextMenuController.cpp:
    17912         (WebCore::ContextMenuController::populate): Update the order of items on Mac.
    17913         * platform/LocalizationStrategy.h:
    17914         * platform/LocalizedStrings.cpp:
    17915         (WebCore::contextMenuItemTagLookUpInDictionary): Added argument for selected string.
    17916         * platform/LocalizedStrings.h:
    17917         * platform/android/LocalizedStringsAndroid.cpp:
    17918         (WebCore::contextMenuItemTagLookUpInDictionary): Ditto.
    17919         * platform/brew/LocalizedStringsBrew.cpp:
    17920         (WebCore::contextMenuItemTagLookUpInDictionary): Ditto.
    17921         * platform/efl/LocalizedStringsEfl.cpp:
    17922         (WebCore::contextMenuItemTagLookUpInDictionary): Ditto.
    17923         * platform/gtk/LocalizedStringsGtk.cpp:
    17924         (WebCore::contextMenuItemTagLookUpInDictionary): Ditto.
    17925         * platform/haiku/LocalizedStringsHaiku.cpp:
    17926         (WebCore::contextMenuItemTagLookUpInDictionary): Ditto.
    17927         * platform/wx/LocalizedStringsWx.cpp:
    17928         (WebCore::contextMenuItemTagLookUpInDictionary): Ditto.
    17929 
    17930 2011-03-29  Dean Jackson  <dino@apple.com>
    17931 
    17932         Reviewed by Chris Marrin and Ken Russell.
    17933 
    17934         https://bugs.webkit.org/show_bug.cgi?id=57248
    17935         Occlusion issues with WebGL in Safari
    17936 
    17937         The depth buffer on Safari ports was being set up with a
    17938         maximum of 16 bits. Now we use a combined 24/8 depth/stencil
    17939         buffer on Mac ports.
    17940 
    17941         No new tests as this is the setting for a particular port. Other
    17942         ports may use different defaults.
    17943 
    17944         * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
    17945         (WebCore::GraphicsContext3D::validateAttributes):
    17946         - use Extensions3D to test for depth and multisample extensions
    17947           rather than querying OpenGL directly.
    17948         (WebCore::GraphicsContext3D::reshape):
    17949         - use a 24bit depth buffer when the extension is enabled.
    17950 
    17951 2011-03-29  Dimitri Glazkov  <dglazkov@chromium.org>
    17952 
    17953         Sorted XCode project. It's gotten quite out of sorts.
    17954 
    17955         * WebCore.xcodeproj/project.pbxproj: Ran sort-XCode-project-file.
    17956 
    17957 2011-03-29  Emil A Eklund  <eae@chromium.org>
    17958 
    17959         Reviewed by Dimitri Glazkov.
    17960 
    17961         DatasetDOMStringMap::item and ::contains copies attribute name string
    17962         https://bugs.webkit.org/show_bug.cgi?id=55645
    17963 
    17964         Change propertyNameMatchesAttributeName to match without creating a copy
    17965         of the string.
    17966 
    17967         * dom/DatasetDOMStringMap.cpp:
    17968         (WebCore::propertyNameMatchesAttributeName):
    17969 
    17970 2011-03-29  Csaba Osztrogonác  <ossy@webkit.org>
    17971 
    17972         Unreviewed rollout r82282, part of r82288, r82298.
    17973 
    17974         * css/CSSParser.cpp:
    17975         (WebCore::parseColorInt):
    17976         (WebCore::isValidDouble):
    17977         (WebCore::parseAlphaValue):
    17978         (WebCore::CSSParser::parseColor):
    17979 
    17980 2011-03-25  Brent Fulgham  <bfulgham@webkit.org>
    17981 
    17982         Reviewed by Dave Hyatt.
    17983 
    17984         https://bugs.webkit.org/show_bug.cgi?id=55981
    17985         Second round of clean-ups, aimed at supporting GTK with the
    17986         same unified FontPlatformData header.  This version removes
    17987         some unneeded WinCairo code, and aligns the WinCairo and
    17988         GTK ports to reduce code duplication.
    17989 
    17990         * WebCore.vcproj/WebCore.vcproj: Get rid of a dangling reference
    17991           to an old WinCairo file.
    17992         * platform/graphics/FontPlatformData.h: Remove unneeded member
    17993           for m_fontFace, which is a member of m_scaledFont.  Switch to
    17994           standard Cairo hashing.
    17995         (WebCore::FontPlatformData::FontPlatformData):
    17996         (WebCore::FontPlatformData::font):
    17997         (WebCore::FontPlatformData::scaledFont):
    17998         (WebCore::FontPlatformData::hash):
    17999         (WebCore::FontPlatformData::isHashTableDeletedValue):
    18000         (WebCore::FontPlatformData::hashTableDeletedFontValue):
    18001         * platform/graphics/win/FontCacheWin.cpp: Update to no longer use
    18002           the unnecessary fontFace() accessor.
    18003         (WebCore::FontCache::createFontPlatformData):
    18004         * platform/graphics/win/FontCustomPlatformDataCairo.cpp:
    18005         * platform/graphics/win/FontPlatformDataCairoWin.cpp:
    18006         (WebCore::FontPlatformData::platformDataInit):
    18007         (WebCore::FontPlatformData::FontPlatformData):
    18008         (WebCore::FontPlatformData::~FontPlatformData):
    18009         (WebCore::FontPlatformData::platformDataAssign):
    18010         (WebCore::FontPlatformData::platformIsEqual):
    18011         * platform/graphics/win/FontPlatformDataWin.cpp:
    18012         (WebCore::FontPlatformData::FontPlatformData):
    18013 
    18014 2011-03-29  Jian Li  <jianli@chromium.org>
    18015 
    18016         Reviewed by Adam Barth.
    18017 
    18018         Inline worker powered by blob URL does not work with files URL even if
    18019         allowFileAccessFromFileURLs is enabled
    18020         https://bugs.webkit.org/show_bug.cgi?id=56063
    18021 
    18022         Test: fast/files/workers/inline-worker-via-blob-url.html
    18023 
    18024         * fileapi/BlobURL.cpp: Removed unneeded getOrigin() method.
    18025         * fileapi/BlobURL.h: Removed unneeded getOrigin() method.
    18026         * page/SecurityOrigin.cpp:
    18027         (WebCore::SecurityOrigin::SecurityOrigin): Extended the logic to handle
    18028         filesystem URL also to blob URL. Also fixed the problem that m_isUnique
    18029         is incorrectly set for blob and filesystem URLs.
    18030         (WebCore::SecurityOrigin::create): Removed the special logic for blob URL
    18031         since we use the same logic in SecurityOrigin constructor as filesystem
    18032         URL.
    18033         (WebCore::SecurityOrigin::canRequest): Removed the special logic for blob
    18034         URL since it is not needed with the fix in SecurityOrigin constructor.
    18035 
    18036 2011-03-29  Timothy Hatcher  <timothy@apple.com>
    18037 
    18038         Update WebCore Localizable.strings to contain WebCore, WebKit/mac and WebKit2 strings.
    18039 
    18040         https://webkit.org/b/57354
    18041 
    18042         Reviewed by Sam Weinig.
    18043 
    18044         * English.lproj/Localizable.strings: Updated.
    18045         * StringsNotToBeLocalized.txt: Removed. To hard to maintain in WebCore.
    18046         * platform/network/cf/LoaderRunLoopCF.h: Remove a single quote in an #error so
    18047         extract-localizable-strings does not complain about unbalanced single quotes.
    18048 
    18049 2011-03-29  Sheriff Bot  <webkit.review.bot@gmail.com>
    18050 
    18051         Unreviewed, rolling out r82295 and r82300.
    18052         http://trac.webkit.org/changeset/82295
    18053         http://trac.webkit.org/changeset/82300
    18054         https://bugs.webkit.org/show_bug.cgi?id=57380
    18055 
    18056         This patch breaks compile on Chromium (Requested by
    18057         abarth|gardener on #webkit).
    18058 
    18059         * accessibility/AccessibilityObject.h:
    18060         * accessibility/AccessibilityRenderObject.cpp:
    18061         (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
    18062         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
    18063         (atkRole):
    18064         (webkit_accessible_get_role):
    18065         * accessibility/mac/AccessibilityObjectWrapper.mm:
    18066 
    18067 2011-03-29  Anders Carlsson  <andersca@apple.com>
    18068 
    18069         Fix clang build.
    18070 
    18071         * platform/text/BidiResolver.h:
    18072         (WebCore::::createBidiRunsForLine):
    18073 
    18074 2011-03-29  Steve Falkenburg  <sfalken@apple.com>
    18075 
    18076         Reviewed by Adam Roben.
    18077 
    18078         Use per-configuration vsprops in WebCore to avoid WebKitVSPropsRedirectionDir removal by MSVC IDE
    18079         https://bugs.webkit.org/show_bug.cgi?id=57378
    18080 
    18081         Visual Studio's IDE was removing instances of $(WebKitVSPropsRedirectionDir) from
    18082         InheritedPropertySheet rules in our vcproj files when the vcproj was edited from within
    18083         the IDE. To avoid this, add a separate vsprops file for each project configuration that
    18084         contains the required inherited property sheets.
    18085 
    18086         * WebCore.vcproj/QTMovieWin.vcproj:
    18087         * WebCore.vcproj/QTMovieWinDebug.vsprops: Added.
    18088         * WebCore.vcproj/QTMovieWinDebugAll.vsprops: Added.
    18089         * WebCore.vcproj/QTMovieWinDebugCairoCFLite.vsprops: Added.
    18090         * WebCore.vcproj/QTMovieWinRelease.vsprops: Added.
    18091         * WebCore.vcproj/QTMovieWinReleaseCairoCFLite.vsprops: Added.
    18092         * WebCore.vcproj/QTMovieWinReleaseLTCG.vsprops: Added.
    18093         * WebCore.vcproj/WebCore.vcproj:
    18094         * WebCore.vcproj/WebCoreDebug.vsprops: Added.
    18095         * WebCore.vcproj/WebCoreDebugAll.vsprops: Added.
    18096         * WebCore.vcproj/WebCoreDebugCairoCFLite.vsprops: Added.
    18097         * WebCore.vcproj/WebCoreRelease.vsprops: Added.
    18098         * WebCore.vcproj/WebCoreReleaseCairoCFLite.vsprops: Added.
    18099         * WebCore.vcproj/WebCoreReleaseLTCG.vsprops: Added.
    18100 
    18101 2011-03-29  David Hyatt  <hyatt@apple.com>
    18102 
    18103         Reviewed by Simon Fraser.
    18104 
    18105         <rdar://problem/9194927> REGRESSION (r81691): Page at www.mondaynote.com lays out incorrectly
    18106        
    18107         Back out the optimization that stopped when it hit the first float. This was an incorrect optimization
    18108         and can't be done without more work.
    18109 
    18110         Added fast/block/float/float-forced-below-other-floats.html
    18111 
    18112         * rendering/RenderBlock.cpp:
    18113         (WebCore::RenderBlock::logicalLeftOffsetForLine):
    18114         (WebCore::RenderBlock::logicalRightOffsetForLine):
    18115 
    18116 2011-03-29  Eric Seidel  <eric@webkit.org>
    18117 
    18118         Reviewed by Ryosuke Niwa.
    18119 
    18120         Start to clean up BidiResolver::createBidiRunsForLine so that mere mortals can understand it
    18121         https://bugs.webkit.org/show_bug.cgi?id=57338
    18122 
    18123         I'm attempting to break createBidiRunsForLine into understandable pieces
    18124         so that we can tell what it's actually doing.  Our implementation of the
    18125         unicode bidi algorithm is slightly different from the spec in that we
    18126         run it per-line (instead of over the entire paragraph at once).  This is
    18127         great for performance (our implementation is resumable), but it makes
    18128         things a bit tricky to understand.  Splitting createBidiRunsForLine into
    18129         pieces should help make our UBA implementation more readable.
    18130 
    18131         * platform/text/BidiResolver.h:
    18132         (WebCore::::updateStatusLastFromCurrentDirection):
    18133         (WebCore::::createBidiRunsForLine):
    18134 
    18135 2011-03-29  Mario Sanchez Prada  <msanchez@igalia.com>
    18136 
    18137         Reviewed by Martin Robinson.
    18138 
    18139         [Gtk] Consistent crash from Google/ARIA combobox click
    18140         https://bugs.webkit.org/show_bug.cgi?id=55883
    18141 
    18142         Do not call to firstChild() to avoid entering into infinite loops.
    18143 
    18144         This would happen when current item is a WebCore Group and some of
    18145         its children have either role 'option' or 'menuitem'. Other than
    18146         that the logic behind that call to firstChild() seems to be no
    18147         longer needed so it's safe to remove it.
    18148 
    18149         Test: platform/gtk/accessibility/aria-options-and-menuitems-crash.html
    18150 
    18151         * accessibility/gtk/AccessibilityObjectAtk.cpp:
    18152         (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
    18153         Remove call to firsChild, which was leading to crashes sometimes.
    18154 
    18155 2011-03-29  Mario Sanchez Prada  <msanchez@igalia.com>
    18156 
    18157         Reviewed by Chris Fleizach.
    18158 
    18159         AX: GTK: ARIA role is not respected on <p> <label> <div> and <form>
    18160         https://bugs.webkit.org/show_bug.cgi?id=47636
    18161 
    18162         Define new roles in WebCore and map them to ATK accordingly.
    18163 
    18164         Test: platform/gtk/accessibility/aria-roles-unignored.html
    18165 
    18166         * accessibility/AccessibilityObject.h: Added new roles to
    18167         represent paragraphs, labels, forms and div sections.
    18168         * accessibility/AccessibilityRenderObject.cpp:
    18169         (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
    18170         Return ParagraphRole, LabelRole, FormRole and DivRole when needed.
    18171         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
    18172         (atkRole): Map new WebCore roles to ATK Roles.
    18173         (webkit_accessible_get_role): Remove code to define roles for
    18174         paragraphs, labels, forms and divs based on node's tag name.
    18175 
    18176         Update mappings for the Mac platform.
    18177 
    18178         * accessibility/mac/AccessibilityObjectWrapper.mm:
    18179         (createAccessibilityRoleMap): Add explicit mappings from the new
    18180         roles introduced to NSAccessibilityGroupRole.
    18181 
    18182 2011-03-29  Philippe Normand  <pnormand@igalia.com>
    18183 
    18184         Unreviewed build fix. Remove ASSERT hitting consitently on GTK.
    18185 
    18186         * rendering/InlineIterator.h:
    18187         (WebCore::InlineIterator::moveToStartOf):
    18188 
    18189 2011-03-29  Darin Adler  <darin@apple.com>
    18190 
    18191         Fix some just-introduced build failures.
    18192 
    18193         * WebCore.pro: Correct spelling of filename.
    18194 
    18195         * css/CSSParser.cpp:
    18196         (WebCore::parseColorIntOrPercentage): Fix double/int conversion that fails to compile
    18197         on Leopard. Also renamed one local variabel.
    18198 
    18199         * inspector/InspectorAgent.cpp:
    18200         (WebCore::InspectorAgent::didCommitLoad): Removed unused argument names to avoid warning.
    18201         (WebCore::InspectorAgent::domContentLoadedEventFired): Ditto.
    18202 
    18203 2011-03-29  Andras Becsi  <abecsi@webkit.org>
    18204 
    18205         Reviewed by Darin Adler.
    18206 
    18207         CSS: Slow parsing of rgb() with percent values
    18208         https://bugs.webkit.org/show_bug.cgi?id=16708
    18209 
    18210         Implement fast-path parsing for percentage color values.
    18211 
    18212         Gain ~30% speedup on http://canvex.lazyilluminati.com/misc/3d.html.
    18213 
    18214         * css/CSSParser.cpp:
    18215         (WebCore::checkForValidDouble): Extend to return the number of characters forming a valid double.
    18216         (WebCore::parseDouble): Function for parsing double values if they are valid.
    18217         (WebCore::parseColorIntOrPercentage): Extend parseColorInt to deal with percentage values.
    18218         (WebCore::parseAlphaValue): Use the new functions.
    18219         (WebCore::CSSParser::parseColor): Ditto.
    18220 
    18221 2011-03-29  Ilya Tikhonovsky  <loislo@chromium.org>
    18222 
    18223         Reviewed by Pavel Feldman.
    18224 
    18225         Web Inspector: extract InspectorPageAgent from InspectorAgent.
    18226         https://bugs.webkit.org/show_bug.cgi?id=57327
    18227 
    18228         There are page related methods and inspector related methods in InspectorAgent.
    18229         It would be nice to extract page specific methods for future usage the rest of methods in workers debugger.
    18230 
    18231         * GNUmakefile.am:
    18232         * WebCore.gypi:
    18233         * inspector/CodeGeneratorInspector.pm:
    18234         * inspector/Inspector.json:
    18235         * inspector/InspectorAgent.cpp:
    18236         (WebCore::InspectorAgent::InspectorAgent):
    18237         (WebCore::InspectorAgent::restoreInspectorStateFromCookie):
    18238         (WebCore::InspectorAgent::didClearWindowObjectInWorld):
    18239         (WebCore::InspectorAgent::setFrontend):
    18240         (WebCore::InspectorAgent::disconnectFrontend):
    18241         (WebCore::InspectorAgent::didCommitLoad):
    18242         (WebCore::InspectorAgent::domContentLoadedEventFired):
    18243         * inspector/InspectorAgent.h:
    18244         (WebCore::InspectorAgent::pageAgent):
    18245         * inspector/InspectorPageAgent.cpp: Added.
    18246         (WebCore::InspectorPageAgent::create):
    18247         (WebCore::InspectorPageAgent::InspectorPageAgent):
    18248         (WebCore::InspectorPageAgent::setFrontend):
    18249         (WebCore::InspectorPageAgent::clearFrontend):
    18250         (WebCore::InspectorPageAgent::addScriptToEvaluateOnLoad):
    18251         (WebCore::InspectorPageAgent::removeAllScriptsToEvaluateOnLoad):
    18252         (WebCore::InspectorPageAgent::reloadPage):
    18253         (WebCore::InspectorPageAgent::openInInspectedWindow):
    18254         (WebCore::InspectorPageAgent::setUserAgentOverride):
    18255         (WebCore::buildObjectForCookie):
    18256         (WebCore::buildArrayForCookies):
    18257         (WebCore::InspectorPageAgent::getCookies):
    18258         (WebCore::InspectorPageAgent::deleteCookie):
    18259         (WebCore::InspectorPageAgent::inspectedURLChanged):
    18260         (WebCore::InspectorPageAgent::restore):
    18261         (WebCore::InspectorPageAgent::didCommitLoad):
    18262         (WebCore::InspectorPageAgent::domContentEventFired):
    18263         (WebCore::InspectorPageAgent::loadEventFired):
    18264         (WebCore::InspectorPageAgent::didClearWindowObjectInWorld):
    18265         (WebCore::InspectorPageAgent::applyUserAgentOverride):
    18266         * inspector/InspectorPageAgent.h: Added.
    18267         * inspector/InspectorController.cpp:
    18268         (WebCore::InspectorController::connectFrontend):
    18269         * inspector/InspectorInstrumentation.cpp:
    18270         (WebCore::InspectorInstrumentation::didClearWindowObjectInWorldImpl):
    18271         (WebCore::InspectorInstrumentation::applyUserAgentOverrideImpl):
    18272         (WebCore::InspectorInstrumentation::domContentLoadedEventFiredImpl):
    18273         (WebCore::InspectorInstrumentation::loadEventFiredImpl):
    18274         (WebCore::InspectorInstrumentation::didCommitLoadImpl):
    18275         (WebCore::InspectorInstrumentation::retrievePageAgent):
    18276         * inspector/InspectorInstrumentation.h:
    18277         * inspector/InstrumentingAgents.h:
    18278         (WebCore::InstrumentingAgents::InstrumentingAgents):
    18279         (WebCore::InstrumentingAgents::inspectorPageAgent):
    18280         (WebCore::InstrumentingAgents::setInspectorPageAgent):
    18281         * inspector/front-end/AuditsPanel.js:
    18282         (WebInspector.AuditsPanel.prototype._reloadResources):
    18283         * inspector/front-end/CookieItemsView.js:
    18284         (WebInspector.CookieItemsView.prototype._deleteCookie):
    18285         (WebInspector.Cookies.getCookiesAsync):
    18286         * inspector/front-end/ExtensionServer.js:
    18287         (WebInspector.ExtensionServer.prototype._onReload):
    18288         * inspector/front-end/NetworkPanel.js:
    18289         (WebInspector.NetworkDataGridNode.prototype._openInNewTab):
    18290         * inspector/front-end/ResourcesPanel.js:
    18291         (WebInspector.FrameResourceTreeElement.prototype.ondblclick):
    18292         * inspector/front-end/WorkersSidebarPane.js:
    18293         (WebInspector.WorkersSidebarPane.prototype.setInstrumentation):
    18294         * inspector/front-end/inspector.js:
    18295         (WebInspector.openResource):
    18296         (WebInspector.documentKeyDown):
    18297 
    18298 2011-03-29  David Hyatt  <hyatt@apple.com>
    18299 
    18300         Reviewed by Darin Adler.
    18301 
    18302         https://bugs.webkit.org/show_bug.cgi?id=57276
    18303        
    18304         Add optimizations to make the vertical placement of boxes much faster. Whenever a box is added
    18305         to a line, compare it with the parent box. If we can determine that the child box has the exact
    18306         same height and baseline position as the parent box, then we keep a boolean flag set called
    18307         descendantsHaveSameLineHeightAndBaseline(). If the box is different for any reason then we clear the
    18308         flag up the line box parent chain.
    18309 
    18310         When it comes time to do computeLogicalboxHeights, we can avoid recurring into the children of
    18311         a box whose descendants all have the same position. When we do placeBoxesInBlockDirection, we
    18312         can do a simplified recursion that just calls adjustBlockDirectionPosition to offset the boxes
    18313         without doing anything else.
    18314        
    18315         Because of the quirks mode rule of only shrinking boxes with no immediate text children, we need
    18316         to track whether a box has text descendants now as well.  When we avoid doing the recursion
    18317         this flag tells us whether the collection of boxes should have an effect on the ascent and descent
    18318         of the line in quirks mode.
    18319  
    18320         * rendering/InlineFlowBox.cpp:
    18321         (WebCore::InlineFlowBox::addToLine):
    18322         (WebCore::InlineFlowBox::computeLogicalBoxHeights):
    18323         (WebCore::InlineFlowBox::placeBoxesInBlockDirection):
    18324         (WebCore::InlineFlowBox::nodeAtPoint):
    18325         (WebCore::InlineFlowBox::paintBoxDecorations):
    18326         (WebCore::InlineFlowBox::paintMask):
    18327         * rendering/InlineFlowBox.h:
    18328         (WebCore::InlineFlowBox::InlineFlowBox):
    18329         (WebCore::InlineFlowBox::hasTextDescendants):
    18330         (WebCore::InlineFlowBox::descendantsHaveSameLineHeightAndBaseline):
    18331         (WebCore::InlineFlowBox::clearDescendantsHaveSameLineHeightAndBaseline):
    18332         * rendering/RenderBlock.h:
    18333         * rendering/RenderBlockLineLayout.cpp:
    18334         (WebCore::RenderBlock::createLineBoxes):
    18335         (WebCore::RenderBlock::constructLine):
    18336         (WebCore::RenderBlock::computeInlineDirectionPositionsForLine):
    18337 
    18338 2011-03-29  Eric Seidel  <eric@webkit.org>
    18339 
    18340         Reviewed by Ryosuke Niwa.
    18341 
    18342         Remove a bunch of duplicate code by adding some InlineIterator helper methods
    18343         https://bugs.webkit.org/show_bug.cgi?id=57326
    18344 
    18345         Once I started adding these it became clear how much crazy duplicated code
    18346         we had due to treating InlineIterator as a struct and accessing its
    18347         members directly.  We can't quite make the members private yet since
    18348         findNextLineBreak still splits out the members.  But this change
    18349         makes the code much cleaner.
    18350 
    18351         * rendering/InlineIterator.h:
    18352         (WebCore::InlineIterator::clear):
    18353         (WebCore::InlineIterator::moveToStartOf):i
    18354         (WebCore::InlineIterator::moveTo):
    18355         (WebCore::InlineIterator::increment):
    18356         * rendering/RenderBlockLineLayout.cpp:
    18357         (WebCore::tryHyphenating):
    18358         (WebCore::RenderBlock::findNextLineBreak):
    18359 
    18360 2011-03-29  Eric Seidel  <eric@webkit.org>
    18361 
    18362         Reviewed by Ryosuke Niwa.
    18363 
    18364         Clean up bidiNext by abstracting repeated code
    18365         https://bugs.webkit.org/show_bug.cgi?id=57335
    18366 
    18367         I also added a comment to explain what bidiNext is actually doing.
    18368         This whole area of code is confusing but need not be.
    18369 
    18370         * rendering/InlineIterator.h:
    18371         (WebCore::embedCharFromDirection):
    18372         (WebCore::notifyResolverEnteredObject):
    18373         (WebCore::notifyResolverWillExitObject):
    18374         (WebCore::bidiNext):
    18375         (WebCore::bidiFirst):
    18376 
    18377 2011-03-29  Alexander Pavlov  <apavlov@chromium.org>
    18378 
    18379         Reviewed by Yury Semikhatsky.
    18380 
    18381         Web Inspector: Support external CSS stylesheet freeflow text editing
    18382         https://bugs.webkit.org/show_bug.cgi?id=54397
    18383 
    18384         In this implementation, Ctrl/Cmd-S commits the current changes into the model.
    18385 
    18386         * inspector/front-end/ResourceView.js:
    18387         (WebInspector.ResourceView.createResourceView):
    18388         (WebInspector.CSSSourceFrameDelegateForResourcesPanel):
    18389         (WebInspector.CSSSourceFrameDelegateForResourcesPanel.prototype.canEditScriptSource):
    18390         (WebInspector.CSSSourceFrameDelegateForResourcesPanel.prototype.editScriptSource):
    18391         (WebInspector.CSSSourceFrameDelegateForResourcesPanel.prototype.editScriptSource.handleInfos):
    18392         (WebInspector.CSSSourceFrameDelegateForResourcesPanel.prototype._saveStyleSheet):
    18393         * inspector/front-end/ResourcesPanel.js:
    18394         (WebInspector.ResourcesPanel.prototype._applyDiffMarkup):
    18395         (WebInspector.FrameResourceTreeElement.prototype._contentChanged):
    18396         * inspector/front-end/SourceFrame.js:
    18397         (WebInspector.SourceFrame.prototype._createTextViewer):
    18398 
    18399 2011-03-29  Eric Carlson  <eric.carlson@apple.com>
    18400 
    18401         Reviewed by Dan Bernstein.
    18402 
    18403         playbackRate should not be set to defaultPlaybackRate in play()
    18404         https://bugs.webkit.org/show_bug.cgi?id=55943
    18405 
    18406         Test: media/video-playbackrate.html
    18407 
    18408         * html/HTMLMediaElement.cpp:
    18409         (WebCore::HTMLMediaElement::playbackRate): No need to ask the media engine for the current
    18410             rate, we already have the current value cached.
    18411         (WebCore::HTMLMediaElement::playInternal): Don't reset the engine's playback rate to
    18412             the default rate.
    18413         (WebCore::HTMLMediaElement::togglePlayState): Do reset the engine's playback rate to
    18414             the default rate before triggering playback.
    18415         * manual-tests/media-default-playback-rate.html: Added.
    18416 
    18417 2011-03-28  Dimitri Glazkov  <dglazkov@chromium.org>
    18418 
    18419         Reviewed by Eric Seidel.
    18420 
    18421         Remove specialization of EventDispatcher with inversion of control.
    18422         https://bugs.webkit.org/show_bug.cgi?id=57285
    18423 
    18424         Since some events have extra logic around their dispatch, allow them
    18425         to dispatch themselves and specialize the logic. This change only
    18426         converts KeyboardEvent to this model.
    18427 
    18428         No functional change, covered by existing tests.
    18429 
    18430         * dom/Event.cpp:
    18431         (WebCore::Event::dispatch): Added.
    18432         * dom/Event.h: Updated decls.
    18433         * dom/EventDispatcher.cpp:
    18434         (WebCore::EventDispatcher::dispatchEvent): Changed to ask event to dispatch
    18435             itself.
    18436         * dom/EventDispatcher.h: Updated decls.
    18437         * dom/KeyboardEvent.cpp:
    18438         (WebCore::KeyboardEvent::dispatch): Added, moving code from EventDispatcher.
    18439         * dom/KeyboardEvent.h: Updated decls.
    18440         * dom/Node.cpp:
    18441         (WebCore::Node::dispatchKeyEvent): Changed to use the new ways.
    18442 
    18443 2011-03-29  Ilya Tikhonovsky  <loislo@chromium.org>
    18444 
    18445         Reviewed by Yury Semikhatsky.
    18446 
    18447         Web Inspector: InspectorDOMAgent has unnecessary dependency from InspectorAgent.
    18448         https://bugs.webkit.org/show_bug.cgi?id=57329
    18449 
    18450         * inspector/InspectorAgent.cpp:
    18451         (WebCore::InspectorAgent::InspectorAgent):
    18452         (WebCore::InspectorAgent::setFrontend):
    18453         * inspector/InspectorAgent.h:
    18454         * inspector/InspectorController.cpp:
    18455         (WebCore::InspectorController::inspect):
    18456         * inspector/InspectorDOMAgent.cpp:
    18457         (WebCore::InspectorDOMAgent::InspectorDOMAgent):
    18458         (WebCore::InspectorDOMAgent::setFrontend):
    18459         (WebCore::InspectorDOMAgent::handleMousePress):
    18460         (WebCore::InspectorDOMAgent::inspect):
    18461         (WebCore::InspectorDOMAgent::focusNode):
    18462         (WebCore::InspectorDOMAgent::highlight):
    18463         (WebCore::InspectorDOMAgent::hideHighlight):
    18464         * inspector/InspectorDOMAgent.h:
    18465         (WebCore::InspectorDOMAgent::create):
    18466 
    18467 2011-03-29  Eric Seidel  <eric@webkit.org>
    18468 
    18469         Reviewed by Nikolas Zimmermann.
    18470 
    18471         Rename InlineIterator::pos to m_pos to match modern style
    18472         https://bugs.webkit.org/show_bug.cgi?id=57342
    18473 
    18474         Somehow I failed to upload this one earlier, no wonder later patches didn't apply.
    18475 
    18476         * rendering/InlineIterator.h:
    18477         (WebCore::InlineIterator::InlineIterator):
    18478         (WebCore::operator==):
    18479         (WebCore::operator!=):
    18480         (WebCore::InlineIterator::increment):
    18481         (WebCore::InlineIterator::current):
    18482         (WebCore::InlineBidiResolver::appendRun):
    18483         * rendering/RenderBlockLineLayout.cpp:
    18484         (WebCore::checkMidpoints):
    18485         (WebCore::RenderBlock::appendRunsForObject):
    18486         (WebCore::RenderBlock::layoutInlineChildren):
    18487         (WebCore::RenderBlock::matchedEndLine):
    18488         (WebCore::tryHyphenating):
    18489         (WebCore::RenderBlock::findNextLineBreak):
    18490 
    18491 2011-03-29  Pavel Feldman  <pfeldman@chromium.org>
    18492 
    18493         Reviewed by Yury Semikhatsky.
    18494 
    18495         Web Inspector: document BrowserDebugger agent.
    18496         https://bugs.webkit.org/show_bug.cgi?id=57331
    18497 
    18498         * inspector/Inspector.json:
    18499 
    18500 2011-03-29  Alexander Pavlov  <apavlov@chromium.org>
    18501 
    18502         Reviewed by Pavel Feldman.
    18503 
    18504         Web Inspector: Fix handling of the CSSAgent.setStyleSheetText() results in CSSStyleModel.js
    18505         https://bugs.webkit.org/show_bug.cgi?id=56310
    18506 
    18507         Instead of stylesheet ids, CSSAgent.getAllStyleSheets() now returns metainfo objects containing
    18508         "styleSheetId", "sourceURL", "disabled", and "title" fields. The latter three are not returned
    18509         by CSSAgent.getStyleSheet() anymore.
    18510 
    18511         Test: inspector/styles/get-set-stylesheet-text.html
    18512 
    18513         * inspector/Inspector.json:
    18514         * inspector/InspectorCSSAgent.cpp:
    18515         (WebCore::InspectorCSSAgent::getAllStyleSheets):
    18516         * inspector/InspectorCSSAgent.h:
    18517         * inspector/InspectorStyleSheet.cpp:
    18518         (WebCore::InspectorStyleSheet::buildObjectForStyleSheet):
    18519         (WebCore::InspectorStyleSheet::buildObjectForStyleSheetInfo):
    18520         * inspector/InspectorStyleSheet.h:
    18521         * inspector/front-end/AuditRules.js:
    18522         (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.styleSheetCallback):
    18523         (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.allStylesCallback):
    18524         (WebInspector.AuditRules.UnusedCssRule.prototype.doRun):
    18525         * inspector/front-end/CSSStyleModel.js:
    18526         (WebInspector.CSSStyleModel.prototype._styleSheetChanged.callback):
    18527         (WebInspector.CSSStyleModel.prototype._styleSheetChanged):
    18528         (WebInspector.CSSStyleModel.prototype._onRevert):
    18529         (WebInspector.CSSStyleSheet):
    18530         (WebInspector.CSSStyleSheet.prototype.setText):
    18531 
    18532 2011-03-29  Jeremy Moskovich  <jeremy@chromium.org>
    18533 
    18534         Reviewed by Eric Seidel.
    18535 
    18536         Implement text-align:match-parent as -webkit-match-parent.
    18537         https://bugs.webkit.org/show_bug.cgi?id=50951
    18538 
    18539         Add support to the CSS parser.
    18540 
    18541         Tests: fast/css/text-align-webkit-match-parent-parse.html
    18542                fast/css/text-align-webkit-match-parent.html
    18543 
    18544         * css/CSSParser.cpp:
    18545         (WebCore::CSSParser::parseValue):
    18546         * css/CSSStyleSelector.cpp:
    18547         (WebCore::CSSStyleSelector::applyProperty):
    18548         * css/CSSValueKeywords.in:
    18549 
    18550 2011-03-29  Eric Seidel  <eric@webkit.org>
    18551 
    18552         Reviewed by Ryosuke Niwa.
    18553 
    18554         Rename InlineIterator::nextBreakablePosition to m_nextBreakablePosition to match modern style
    18555         https://bugs.webkit.org/show_bug.cgi?id=57323
    18556 
    18557         All of these m_nextBreakablePosition = -1 could probably be replaced with
    18558         some new methods.  But I'll do that in a separate change.  Clearly
    18559         m_nextBreakablePosition is just a cached value which should be cleared
    18560         at the right times.  I suspect we may even fail to clear it sometimes when
    18561         we should due to the current used of direct access instead of smarter functions.
    18562 
    18563         * rendering/InlineIterator.h:
    18564         (WebCore::InlineIterator::InlineIterator):
    18565         (WebCore::InlineIterator::increment):
    18566         * rendering/RenderBlockLineLayout.cpp:
    18567         (WebCore::tryHyphenating):
    18568         (WebCore::RenderBlock::findNextLineBreak):
    18569 
    18570 2011-03-29  Jeff Miller  <jeffm@apple.com>
    18571 
    18572         Reviewed by Jon Honeycutt.
    18573 
    18574         Add WebCore::copyCertificateToData() on Windows
    18575         https://bugs.webkit.org/show_bug.cgi?id=57296
    18576 
    18577         Create a new win directory in platform/cf and add CertificateCFWin.cpp and CertificateCFWin.h to it.
    18578 
    18579         * WebCore.vcproj/WebCore.vcproj: Added CertificateCFWin.cpp and CertificateCFWin.h.
    18580         * WebCore.vcproj/copyForwardingHeaders.cmd: Copy all header files in \platform\cf\win\.
    18581         * platform/cf/win: Added.
    18582         * platform/cf/win/CertificateCFWin.cpp: Added.
    18583         (WebCore::deallocCertContext): Added.
    18584         (WebCore::createCertContextDeallocator): Added.
    18585         (WebCore::copyCertificateToData): Added.
    18586         * platform/cf/win/CertificateCFWin.h: Added.
    18587 
    18588 2011-03-29  Eric Seidel  <eric@webkit.org>
    18589 
    18590         Reviewed by Ryosuke Niwa.
    18591 
    18592         Rename InlineIterator::block to m_block to match modern style
    18593         https://bugs.webkit.org/show_bug.cgi?id=57321
    18594 
    18595         I could have made m_block private, since it's only accessed in
    18596         one place outside of InlineIterator (for an ASSERT).  But I chose
    18597         not to do so in this change.
    18598 
    18599         * rendering/InlineIterator.h:
    18600         (WebCore::InlineIterator::InlineIterator):
    18601         (WebCore::InlineIterator::increment):
    18602         (WebCore::InlineBidiResolver::appendRun):
    18603         * rendering/RenderBlockLineLayout.cpp:
    18604         (WebCore::RenderBlock::findNextLineBreak):
    18605 
    18606 2011-03-29  Leo Yang  <leo.yang@torchmobile.com.cn>
    18607 
    18608         Reviewed by Nikolas Zimmermann.
    18609 
    18610         Incorrect offset of svg <use> element which is in <symbol> element
    18611         https://bugs.webkit.org/show_bug.cgi?id=57318
    18612 
    18613         When webkit expanded a svg <symbol> element in the shadow tree it
    18614         would clone the children of the <symbol>. The children may contain
    18615         SVGShadowTreeContainerElement which was expanded from svg <use>
    18616         element. But the clone operation would clone a
    18617         SVGShadowTreeContainerElement as a svg <g> element. This resulted
    18618         that updateContainerOffset wouldn't update offset for those elements
    18619         which were expand from <use> elements.
    18620 
    18621         This patch implements cloneElementWithoutAttributesAndChildren for
    18622         SVGShadowTreeContainerElement to make the container clone itself
    18623         correctly.
    18624 
    18625         Test: svg/custom/use-in-symbol-with-offset.svg
    18626 
    18627         * rendering/svg/SVGShadowTreeElements.cpp:
    18628         (WebCore::SVGShadowTreeContainerElement::cloneElementWithoutAttributesAndChildren):
    18629         * rendering/svg/SVGShadowTreeElements.h:
    18630 
    18631 2011-03-29  Eric Seidel  <eric@webkit.org>
    18632 
    18633         Reviewed by Ryosuke Niwa.
    18634 
    18635         Rename InlineIterator::obj to m_obj to match modern style
    18636         https://bugs.webkit.org/show_bug.cgi?id=57319
    18637 
    18638         I started this rename after confusion in InlineBidiResolver::appendRun.
    18639         (Which uses an "obj" local in InlineIterator.h.  It's not actually
    18640         masking m_obj because it's a separate class, but I didn't realize
    18641         that at the time because it's in InlineIterator.h which is itself confusing!)
    18642 
    18643         * rendering/InlineIterator.h:
    18644         (WebCore::InlineIterator::InlineIterator):
    18645         (WebCore::operator==):
    18646         (WebCore::operator!=):
    18647         (WebCore::InlineIterator::increment):
    18648         (WebCore::InlineIterator::atEnd):
    18649         (WebCore::InlineIterator::current):
    18650         (WebCore::InlineIterator::direction):
    18651         (WebCore::InlineBidiResolver::appendRun):
    18652         * rendering/RenderBlockLineLayout.cpp:
    18653         (WebCore::checkMidpoints):
    18654         (WebCore::RenderBlock::appendRunsForObject):
    18655         (WebCore::RenderBlock::layoutInlineChildren):
    18656         (WebCore::RenderBlock::matchedEndLine):
    18657         (WebCore::skipNonBreakingSpace):
    18658         (WebCore::RenderBlock::requiresLineBox):
    18659         (WebCore::RenderBlock::skipTrailingWhitespace):
    18660         (WebCore::RenderBlock::skipLeadingWhitespace):
    18661         (WebCore::tryHyphenating):
    18662         (WebCore::RenderBlock::findNextLineBreak):
    18663 
    18664 2011-03-29  Pavel Feldman  <pfeldman@chromium.org>
    18665 
    18666         Reviewed by Yury Semikhatsky.
    18667 
    18668         Web Inspector: document Timeline domain, make timeline event types of type string.
    18669         https://bugs.webkit.org/show_bug.cgi?id=57299
    18670 
    18671         * inspector/Inspector.json:
    18672         * inspector/InspectorTimelineAgent.cpp:
    18673         (WebCore::InspectorTimelineAgent::pushGCEventRecords):
    18674         (WebCore::InspectorTimelineAgent::start):
    18675         (WebCore::InspectorTimelineAgent::stop):
    18676         (WebCore::InspectorTimelineAgent::willCallFunction):
    18677         (WebCore::InspectorTimelineAgent::didCallFunction):
    18678         (WebCore::InspectorTimelineAgent::willDispatchEvent):
    18679         (WebCore::InspectorTimelineAgent::didDispatchEvent):
    18680         (WebCore::InspectorTimelineAgent::willLayout):
    18681         (WebCore::InspectorTimelineAgent::didLayout):
    18682         (WebCore::InspectorTimelineAgent::willRecalculateStyle):
    18683         (WebCore::InspectorTimelineAgent::didRecalculateStyle):
    18684         (WebCore::InspectorTimelineAgent::willPaint):
    18685         (WebCore::InspectorTimelineAgent::didPaint):
    18686         (WebCore::InspectorTimelineAgent::willWriteHTML):
    18687         (WebCore::InspectorTimelineAgent::didWriteHTML):
    18688         (WebCore::InspectorTimelineAgent::didInstallTimer):
    18689         (WebCore::InspectorTimelineAgent::didRemoveTimer):
    18690         (WebCore::InspectorTimelineAgent::willFireTimer):
    18691         (WebCore::InspectorTimelineAgent::didFireTimer):
    18692         (WebCore::InspectorTimelineAgent::willChangeXHRReadyState):
    18693         (WebCore::InspectorTimelineAgent::didChangeXHRReadyState):
    18694         (WebCore::InspectorTimelineAgent::willLoadXHR):
    18695         (WebCore::InspectorTimelineAgent::didLoadXHR):
    18696         (WebCore::InspectorTimelineAgent::willEvaluateScript):
    18697         (WebCore::InspectorTimelineAgent::didEvaluateScript):
    18698         (WebCore::InspectorTimelineAgent::didScheduleResourceRequest):
    18699         (WebCore::InspectorTimelineAgent::willSendResourceRequest):
    18700         (WebCore::InspectorTimelineAgent::willReceiveResourceData):
    18701         (WebCore::InspectorTimelineAgent::didReceiveResourceData):
    18702         (WebCore::InspectorTimelineAgent::willReceiveResourceResponse):
    18703         (WebCore::InspectorTimelineAgent::didReceiveResourceResponse):
    18704         (WebCore::InspectorTimelineAgent::didFinishLoadingResource):
    18705         (WebCore::InspectorTimelineAgent::didMarkTimeline):
    18706         (WebCore::InspectorTimelineAgent::didMarkDOMContentEvent):
    18707         (WebCore::InspectorTimelineAgent::didMarkLoadEvent):
    18708         (WebCore::InspectorTimelineAgent::addRecordToTimeline):
    18709         (WebCore::InspectorTimelineAgent::didCompleteCurrentRecord):
    18710         (WebCore::InspectorTimelineAgent::pushCurrentRecord):
    18711         * inspector/InspectorTimelineAgent.h:
    18712         (WebCore::InspectorTimelineAgent::TimelineRecordEntry::TimelineRecordEntry):
    18713         * inspector/front-end/TimelineAgent.js:
    18714         * inspector/front-end/TimelinePanel.js:
    18715         (WebInspector.TimelinePanel.prototype.get _recordStyles):
    18716         (WebInspector.TimelinePanel.prototype._createEventDivider):
    18717         (WebInspector.TimelinePanel.prototype._findParentRecord):
    18718         (WebInspector.TimelinePanel.prototype._innerAddRecordToTimeline):
    18719         (WebInspector.TimelineDispatcher.prototype.started):
    18720         (WebInspector.TimelineDispatcher.prototype.stopped):
    18721         (WebInspector.TimelineDispatcher.prototype.eventRecorded):
    18722         (WebInspector.TimelinePanel.FormattedRecord):
    18723         (WebInspector.TimelinePanel.FormattedRecord.prototype._generatePopupContent):
    18724         (WebInspector.TimelinePanel.FormattedRecord.prototype._getRecordDetails):
    18725 
    18726 2011-03-29  Andrey Adaikin  <aandrey@google.com>
    18727 
    18728         Reviewed by Pavel Feldman.
    18729 
    18730         Web Inspector: Fixing live edits tests on chromium.
    18731         https://bugs.webkit.org/show_bug.cgi?id=57316
    18732 
    18733         * inspector/front-end/ScriptsPanel.js:
    18734         (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.editScriptSource):
    18735         * inspector/front-end/SourceFrame.js:
    18736         (WebInspector.SourceFrame.prototype._handleSave.didEditScriptSource):
    18737         (WebInspector.SourceFrame.prototype._handleSave):
    18738         (WebInspector.SourceFrameDelegate.prototype.editScriptSource):
    18739 
    18740 2011-03-29  Pavel Podivilov  <podivilov@chromium.org>
    18741 
    18742         Reviewed by Yury Semikhatsky.
    18743 
    18744         Web Inspector: fix call frames positions in formatted scripts.
    18745         https://bugs.webkit.org/show_bug.cgi?id=57036
    18746 
    18747         Introduce PresentationCallFrame class that encapsulates source mapping details from UI components.
    18748 
    18749         * inspector/front-end/CallStackSidebarPane.js:
    18750         (WebInspector.CallStackSidebarPane.prototype.update.didGetSourceLocation):
    18751         (WebInspector.CallStackSidebarPane.prototype.update):
    18752         (WebInspector.CallStackSidebarPane.prototype.set selectedCallFrame):
    18753         (WebInspector.CallStackSidebarPane.prototype._placardSelected):
    18754         (WebInspector.CallStackSidebarPane.prototype._contextMenu):
    18755         (WebInspector.CallStackSidebarPane.prototype._copyStackTrace):
    18756         * inspector/front-end/DebuggerModel.js:
    18757         (WebInspector.DebuggerModel.prototype._didEditScriptSource):
    18758         (WebInspector.DebuggerModel.prototype.get debuggerPausedDetails):
    18759         (WebInspector.DebuggerModel.prototype._pausedScript):
    18760         * inspector/front-end/DebuggerPresentationModel.js:
    18761         (WebInspector.DebuggerPresentationModel):
    18762         (WebInspector.DebuggerPresentationModel.prototype.editScriptSource.didEditScriptSource):
    18763         (WebInspector.DebuggerPresentationModel.prototype.editScriptSource):
    18764         (WebInspector.DebuggerPresentationModel.prototype.toggleFormatSourceFiles):
    18765         (WebInspector.DebuggerPresentationModel.prototype._debuggerPaused):
    18766         (WebInspector.DebuggerPresentationModel.prototype._debuggerResumed):
    18767         (WebInspector.DebuggerPresentationModel.prototype.set selectedCallFrame):
    18768         (WebInspector.DebuggerPresentationModel.prototype.get selectedCallFrame):
    18769         (WebInspector.DebuggerPresentationModel.prototype._reset):
    18770         (WebInspector.PresenationCallFrame): Call frame wrapper for UI.
    18771         * inspector/front-end/ScriptsPanel.js:
    18772         (WebInspector.ScriptsPanel):
    18773         (WebInspector.ScriptsPanel.prototype.evaluateInSelectedCallFrame):
    18774         (WebInspector.ScriptsPanel.prototype._debuggerPaused.else.didGetSourceLocation):
    18775         (WebInspector.ScriptsPanel.prototype._debuggerPaused):
    18776         (WebInspector.ScriptsPanel.prototype._debuggerResumed):
    18777         (WebInspector.ScriptsPanel.prototype._sourceFrameLoaded):
    18778         (WebInspector.ScriptsPanel.prototype._callFrameSelected.didGetSourceLocation):
    18779         (WebInspector.ScriptsPanel.prototype._callFrameSelected):
    18780         (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.evaluateInSelectedCallFrame):
    18781         * inspector/front-end/SourceFile.js:
    18782         (WebInspector.SourceFile.prototype.get content):
    18783         * inspector/front-end/SourceFrame.js:
    18784         (WebInspector.SourceFrame.prototype._createTextViewer):
    18785         (WebInspector.SourceFrame.prototype.setExecutionLine):
    18786         (WebInspector.SourceFrame.prototype.clearExecutionLine):
    18787         (WebInspector.SourceFrame.prototype._showPopup.showObjectPopup):
    18788         (WebInspector.SourceFrame.prototype._showPopup):
    18789 
    18790 2011-03-29  Emil A Eklund  <eae@chromium.org>
    18791 
    18792         Reviewed by Darin Adler.
    18793 
    18794         Fix for execCommand("Delete") with an empty selection.
    18795         https://bugs.webkit.org/show_bug.cgi?id=56652
    18796 
    18797         Test: editing/execCommand/delete-empty-container.html
    18798 
    18799         * editing/TypingCommand.cpp:
    18800         (WebCore::TypingCommand::makeEditableRootEmpty): Add check for root element.
    18801 
    18802 2011-03-29  Mikhail Naganov  <mnaganov@chromium.org>
    18803 
    18804         Reviewed by Pavel Feldman.
    18805 
    18806         Web Inspector: [Chromium] Refactor HeapSnapshot-related code to
    18807         make sure we don't return big amounts of data to forms.
    18808         https://bugs.webkit.org/show_bug.cgi?id=57227
    18809 
    18810         * inspector/front-end/DetailedHeapshotGridNodes.js:
    18811         (WebInspector.HeapSnapshotGridNode.prototype.populateChildren):
    18812         (WebInspector.HeapSnapshotGenericObjectNode.prototype.get _countPercent):
    18813         (WebInspector.HeapSnapshotObjectNode):
    18814         (WebInspector.HeapSnapshotObjectNode.prototype._createProvider):
    18815         (WebInspector.HeapSnapshotInstanceNode):
    18816         (WebInspector.HeapSnapshotInstanceNode.prototype._createProvider):
    18817         (WebInspector.HeapSnapshotConstructorNode.prototype._createNodesProvider):
    18818         (WebInspector.HeapSnapshotConstructorNode.prototype.get _countPercent):
    18819         (WebInspector.HeapSnapshotDiffNode.prototype._createNodesProvider.createProvider):
    18820         (WebInspector.HeapSnapshotDiffNode.prototype._createNodesProvider):
    18821         (WebInspector.HeapSnapshotDominatorObjectNode.prototype._createProvider):
    18822         * inspector/front-end/DetailedHeapshotView.js:
    18823         (WebInspector.HeapSnapshotContainmentDataGrid.prototype.setDataSource):
    18824         (WebInspector.HeapSnapshotDominatorsDataGrid.prototype.setDataSource):
    18825         * inspector/front-end/HeapSnapshot.js:
    18826         (WebInspector.HeapSnapshotNode.prototype.get dominatorIndex):
    18827         (WebInspector.HeapSnapshotNode.prototype.get retainers):
    18828         (WebInspector.HeapSnapshot):
    18829         (WebInspector.HeapSnapshot.prototype.get _allNodes):
    18830         (WebInspector.HeapSnapshot.prototype.get nodeCount):
    18831         (WebInspector.HeapSnapshot.prototype.get rootNodeIndex):
    18832         (WebInspector.HeapSnapshot.prototype.hasId):
    18833         (WebInspector.HeapSnapshot.prototype.get nodeIds):
    18834         (WebInspector.HeapSnapshot.prototype._retainersForNode):
    18835         (WebInspector.HeapSnapshot.prototype._buildRetainers):
    18836         (WebInspector.HeapSnapshot.prototype._buildAggregates):
    18837         (WebInspector.HeapSnapshot.prototype._buildAggregatesIndexes):
    18838         (WebInspector.HeapSnapshot.prototype._buildIdsList):
    18839         (WebInspector.HeapSnapshot.prototype._buildNodeIndex):
    18840         (WebInspector.HeapSnapshotFilteredOrderedIterator):
    18841         (WebInspector.HeapSnapshotFilteredOrderedIterator.prototype.next):
    18842         (WebInspector.HeapSnapshotEdgesProvider):
    18843         (WebInspector.HeapSnapshotNodesProvider):
    18844 
    18845 2011-03-29  Mikhail Naganov  <mnaganov@chromium.org>
    18846 
    18847         Reviewed by Pavel Feldman.
    18848 
    18849         Web Inspector: [Chromium] Fix detailed heap snapshots UI.
    18850         https://bugs.webkit.org/show_bug.cgi?id=57235
    18851 
    18852         Fix two problems:
    18853           1. Text color of grid cells under selection needs to be white, otherwise it's unreadable for some colors;
    18854           2. Long strings need to be truncated in grid, their contents can be shown on hover.
    18855 
    18856         * inspector/front-end/DetailedHeapshotView.js:
    18857         (WebInspector.DetailedHeapshotView.prototype._getHoverAnchor):
    18858         (WebInspector.DetailedHeapshotView.prototype._showStringContentPopup):
    18859         * inspector/front-end/heapProfiler.css:
    18860         (.detailed-heapshot-view .console-formatted-string):
    18861         (.detailed-heapshot-view .data-grid tr.selected *):
    18862         (.detailed-heapshot-view .data-grid:focus tr.selected *):
    18863 
    18864 2011-03-29  Andrey Adaikin  <aandrey@google.com>
    18865 
    18866         Reviewed by Yury Semikhatsky.
    18867 
    18868         Web Inspector: Highlight visible lines first
    18869         https://bugs.webkit.org/show_bug.cgi?id=57013
    18870 
    18871         * inspector/front-end/TextViewer.js:
    18872         (WebInspector.TextEditorChunkedPanel.prototype._findFirstVisibleChunkNumber):
    18873         (WebInspector.TextEditorChunkedPanel.prototype._findVisibleChunks):
    18874         (WebInspector.TextEditorChunkedPanel.prototype._findFirstVisibleLineNumber.compareLineRowOffsetTops):
    18875         (WebInspector.TextEditorChunkedPanel.prototype._findFirstVisibleLineNumber):
    18876         (WebInspector.TextEditorMainPanel.prototype._paintScheduledLines):
    18877         (WebInspector.TextEditorMainPanel.prototype._paintLines):
    18878         (WebInspector.TextEditorMainPanel.prototype._paintLineChunks):
    18879         (WebInspector.TextEditorMainPanel.prototype._paintLine):
    18880         (WebInspector.TextEditorMainChunk.prototype.set expanded):
    18881 
    18882 2011-03-29  Emil A Eklund  <eae@chromium.org>
    18883 
    18884         Reviewed by Dimitri Glazkov.
    18885 
    18886         Relative mouse coordinates recalculated for each target
    18887         https://bugs.webkit.org/show_bug.cgi?id=57130
    18888 
    18889         Calculate relative coordinates lazily for mouse events instead of doing
    18890         it for each target. Speeds up dispatching of mouse events in deep dom
    18891         structures significantly, O(n^2) to O(n).
    18892 
    18893         Also fixes https://bugs.webkit.org/show_bug.cgi?id=34973
    18894 
    18895         Tests: fast/events/mouse-relative-position.html
    18896                perf/mouse-event.html
    18897 
    18898         * dom/Event.cpp:
    18899         (WebCore::Event::setTarget):
    18900         * dom/MouseRelatedEvent.cpp:
    18901         (WebCore::MouseRelatedEvent::MouseRelatedEvent):
    18902         (WebCore::MouseRelatedEvent::initCoordinates):
    18903         (WebCore::pageZoomFactor):
    18904         (WebCore::MouseRelatedEvent::receivedTarget):
    18905         (WebCore::MouseRelatedEvent::computeRelativePosition):
    18906         (WebCore::MouseRelatedEvent::layerX):
    18907         (WebCore::MouseRelatedEvent::layerY):
    18908         (WebCore::MouseRelatedEvent::offsetX):
    18909         (WebCore::MouseRelatedEvent::offsetY):
    18910         * dom/MouseRelatedEvent.h:
    18911         * dom/UIEvent.cpp:
    18912         (WebCore::UIEvent::layerX):
    18913         (WebCore::UIEvent::layerY):
    18914         * dom/UIEvent.h:
    18915 
    18916 2011-03-29  Emil A Eklund  <eae@chromium.org>
    18917 
    18918         Reviewed by Darin Adler.
    18919 
    18920         getComputedStyle counterIncrement crash @ WebCore::counterToCSSValue
    18921         https://bugs.webkit.org/show_bug.cgi?id=57266
    18922 
    18923         Add null check to counterToCSSValue.
    18924 
    18925         Test: fast/css/getComputedStyle/counterIncrement-without-counter.html
    18926 
    18927         * css/CSSComputedStyleDeclaration.cpp:
    18928         (WebCore::counterToCSSValue):
    18929 
    18930 2011-03-29  Gavin Peters  <gavinp@chromium.org>
    18931 
    18932         Reviewed by Tony Gentilcore.
    18933 
    18934         Implement onerror events for <link rel=prefetch>
    18935         https://bugs.webkit.org/show_bug.cgi?id=57182
    18936 
    18937         These events are equired on link elements, see
    18938         http://dev.w3.org/html5/spec/Overview.html#the-link-element
    18939 
    18940         After a discussion in WebKit-dev about the direction of prefetch in the loader, and about a path
    18941         to adding the Link header, we decided to look at making onerror, onload and onbeforeload events
    18942         more uniformly supported.  See the thread at
    18943         https://lists.webkit.org/pipermail/webkit-dev/2011-February/016034.html .
    18944 
    18945         It turned out that part of adding onerror for link prefetch was to make the top CachedResource less
    18946         abstract.  It was pure virtual until prefetch became the first consumer to use an unspecialised
    18947         implementation, and this CL continues that by adding a default checkNotify method to it.  As it
    18948         happens there were already two subclasses using what amounted to the generic checkNotify, so I
    18949         also removed those, buying us some code cleanup with the change.
    18950 
    18951         Test: fast/dom/HTMLLinkElement/prefetch-onerror.html
    18952 
    18953         * html/HTMLLinkElement.cpp:
    18954         (WebCore::HTMLLinkElement::parseMappedAttribute):
    18955         (WebCore::HTMLLinkElement::onloadTimerFired):
    18956         (WebCore::HTMLLinkElement::notifyFinished):
    18957         * loader/cache/CachedImage.cpp:
    18958         * loader/cache/CachedImage.h:
    18959         * loader/cache/CachedResource.cpp:
    18960         (WebCore::CachedResource::checkNotify):
    18961         (WebCore::CachedResource::data):
    18962         (WebCore::CachedResource::error):
    18963         * loader/cache/CachedResource.h:
    18964         * loader/cache/CachedScript.cpp:
    18965         * loader/cache/CachedScript.h:
    18966 
    18967 2011-03-29  Eric Seidel  <eric@webkit.org>
    18968 
    18969         Reviewed by Ryosuke Niwa.
    18970 
    18971         Add support for parsing unicode-bidi: -webkit-isolate
    18972         https://bugs.webkit.org/show_bug.cgi?id=57181
    18973 
    18974         Test: css3/unicode-bidi-insolate-parse.html
    18975 
    18976         * WebCore.xcodeproj/project.pbxproj:
    18977         * css/CSSParser.cpp:
    18978         (WebCore::CSSParser::parseValue):
    18979         * css/CSSPrimitiveValueMappings.h:
    18980         (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
    18981         (WebCore::CSSPrimitiveValue::operator EUnicodeBidi):
    18982         * css/CSSValueKeywords.in:
    18983         * rendering/style/RenderStyleConstants.h:
    18984 
    18985 2011-03-29  Patrick Gansterer  <paroga@webkit.org>
    18986 
    18987         Unreviewed WinCE build fix for r82193.
    18988 
    18989         * platform/wince/FileSystemWinCE.cpp:
    18990         (WebCore::openTemporaryFile):
    18991 
    18992 2011-03-28  Sheriff Bot  <webkit.review.bot@gmail.com>
    18993 
    18994         Unreviewed, rolling out r82198.
    18995         http://trac.webkit.org/changeset/82198
    18996         https://bugs.webkit.org/show_bug.cgi?id=57304
    18997 
    18998         Broke Chromium Win build. (Requested by dave_levin on
    18999         #webkit).
    19000 
    19001         * platform/image-decoders/png/PNGImageDecoder.cpp:
    19002         (WebCore::PNGImageDecoder::headerAvailable):
    19003         (WebCore::PNGImageDecoder::rowAvailable):
    19004 
    19005 2011-03-28  Ofri Wolfus  <ofri@google.com>
    19006 
    19007         Reviewed by Eric Seidel.
    19008 
    19009         RTL: Select elements with a size attribute are always left aligned.
    19010         https://bugs.webkit.org/show_bug.cgi?id=50928
    19011 
    19012         Added support for alignment in RenderListBox.
    19013 
    19014         Test: fast/forms/listbox-bidi-align.html
    19015 
    19016         * rendering/RenderListBox.cpp:
    19017         (WebCore::itemOffsetForAlignment):
    19018         (WebCore::RenderListBox::paintItemForeground): Add support for alignment and directionality.
    19019 
    19020 2011-03-28  Kwang Yul Seo  <skyul@company100.net>
    19021 
    19022         Reviewed by Benjamin Poulain.
    19023 
    19024         [Qt] Change TextureMapperVideoLayer to TextureMapperMediaLayer
    19025         https://bugs.webkit.org/show_bug.cgi?id=57142
    19026 
    19027         TextureMapperMediaLayer is a better name here because both video and plugins use this layer.
    19028         Remove ENABLE(VIDEO) guard.
    19029 
    19030         * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
    19031         * platform/graphics/qt/MediaPlayerPrivateQt.h:
    19032         * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
    19033         (WebCore::GraphicsLayerTextureMapper::setContentsToMedia):
    19034         * platform/graphics/texmap/TextureMapperNode.h:
    19035         * platform/graphics/texmap/TextureMapperPlatformLayer.h:
    19036         (WebCore::TextureMapperMediaLayer::layerType):
    19037 
    19038 2011-03-28  Thomas Klausner  <tk@giga.or.at>
    19039 
    19040         Reviewed by David Levin.
    19041 
    19042         png-1.5 fixes
    19043         https://bugs.webkit.org/show_bug.cgi?id=54406
    19044 
    19045         Fix compilation with png-1.5: struct members were hidden, and
    19046         a new API to terminate data processing was added (especially for
    19047         WebKit).
    19048 
    19049         Compilation fixes, so no new tests.
    19050 
    19051         * platform/image-decoders/png/PNGImageDecoder.cpp:
    19052         (WebCore::PNGImageDecoder::headerAvailable):
    19053         (WebCore::PNGImageDecoder::rowAvailable):
    19054 
    19055 2011-03-28  Kwang Yul Seo  <skyul@company100.net>
    19056 
    19057         Reviewed by Adam Barth.
    19058 
    19059         Replace fprintf(stderr, ...) with LOG_ERROR
    19060         https://bugs.webkit.org/show_bug.cgi?id=57216
    19061 
    19062         LOG_ERROR is a better choice here.
    19063 
    19064         * bridge/jni/v8/JavaClassV8.cpp:
    19065         (JavaClass::JavaClass):
    19066 
    19067 2011-03-28  Steve Block  <steveblock@google.com>
    19068 
    19069         Reviewed by Jeremy Orlow.
    19070 
    19071         Add a new JavaValue to type to represent a Java value in the Java bridge
    19072         https://bugs.webkit.org/show_bug.cgi?id=57022
    19073 
    19074         This change introduces a new JavaValue type and uses it in place of jvalue
    19075         in the conversions to and from JavaNPObject used in the V8 Java bridge.
    19076 
    19077         Refactoring only, no new tests.
    19078 
    19079         * WebCore.gypi:
    19080         * bridge/jni/JNIUtility.cpp:
    19081         (JSC::Bindings::javaTypeFromClassName):
    19082         (JSC::Bindings::signatureFromJavaType):
    19083         (JSC::Bindings::getJNIField):
    19084         (JSC::Bindings::callJNIMethod):
    19085         * bridge/jni/JavaType.h:
    19086         * bridge/jni/v8/JNIUtilityPrivate.cpp:
    19087         (JSC::Bindings::convertNPVariantToJavaValue):
    19088         (JSC::Bindings::convertJavaValueToNPVariant):
    19089         (JSC::Bindings::jvalueToJavaValue):
    19090         (JSC::Bindings::javaValueToJvalue):
    19091         * bridge/jni/v8/JNIUtilityPrivate.h:
    19092         * bridge/jni/v8/JavaNPObjectV8.cpp:
    19093         (JSC::Bindings::JavaNPObjectInvoke):
    19094         (JSC::Bindings::JavaNPObjectGetProperty):
    19095         * bridge/jni/v8/JavaValueV8.h: Added.
    19096         (JSC::Bindings::JavaValue::JavaValue):
    19097 
    19098 2011-03-28  Patrick Gansterer  <paroga@webkit.org>
    19099 
    19100         Reviewed by Darin Adler.
    19101 
    19102         Use String instead of CString as return value of openTemporaryFile
    19103         https://bugs.webkit.org/show_bug.cgi?id=55332
    19104 
    19105         We usually store all paths as UTF-16. Do this for temporary files too.
    19106 
    19107         * WebCore.exp.in
    19108         * platform/FileSystem.h:
    19109         * platform/android/FileSystemAndroid.cpp:
    19110         * platform/brew/FileSystemBrew.cpp:
    19111         * platform/efl/FileSystemEfl.cpp:
    19112         * platform/gtk/FileSystemGtk.cpp:
    19113         * platform/haiku/FileSystemHaiku.cpp:
    19114         * platform/mac/FileSystemMac.mm:
    19115         * platform/qt/FileSystemQt.cpp:
    19116         * platform/win/FileSystemWin.cpp:
    19117         * platform/wince/FileSystemWinCE.cpp:
    19118         * platform/wx/FileSystemWx.cpp:
    19119         * plugins/PluginStream.cpp:
    19120         (WebCore::PluginStream::destroyStream):
    19121         * plugins/PluginStream.h:
    19122 
    19123 2011-03-28  Jeff Johnson  <opendarwin@lapcatsoftware.com>
    19124 
    19125         Reviewed by Pavel Feldman.
    19126 
    19127         Web Inspector: empty, non-functional window
    19128         https://bugs.webkit.org/show_bug.cgi?id=56354
    19129 
    19130         Check whether DOM local storage is enabled
    19131         before attempting to access window.localStorage.
    19132 
    19133         No new tests.
    19134 
    19135         * inspector/front-end/Settings.js:
    19136         (WebInspector.Settings.prototype.findSettingForAllProjects):
    19137         (WebInspector.Settings.prototype._get):
    19138         (WebInspector.Settings.prototype._set):
    19139 
    19140 2011-03-28  Beth Dakin  <bdakin@apple.com>
    19141 
    19142         Reviewed by Darin Adler.
    19143 
    19144         Fix for https://bugs.webkit.org/show_bug.cgi?id=57286 Alternative fix for:
    19145         Horizontal scroller stops appearing after going Forward
    19146         -and corresponding-
    19147         <rdar://problem/9026946>
    19148 
    19149         This patch rolls out revision 79053 and fixes the same bug in a  better way.
    19150 
    19151         New function resetScrollbarsAndClearContentsSize() calls resetScrollbars() and then
    19152         sets the contents size to 0. This is called when a document is going into the page
    19153         cache.
    19154         * dom/Document.cpp:
    19155         (WebCore::Document::setInPageCache):
    19156         (WebCore::FrameView::resetScrollbarsAndClearContentsSize):
    19157 
    19158         Roll-out of 79053.
    19159         * history/CachedFrame.cpp:
    19160         (WebCore::CachedFrameBase::restore):
    19161         * page/FrameView.cpp:
    19162         (WebCore::FrameView::FrameView):
    19163         (WebCore::FrameView::reset):
    19164         (WebCore::FrameView::layout):
    19165         * page/FrameView.h:
    19166 
    19167 2011-03-28  Ojan Vafai  <ojan@chromium.org>
    19168 
    19169         Reviewed by Antti Koivisto.
    19170 
    19171         fix style sharing with :any and sibling selectors
    19172         https://bugs.webkit.org/show_bug.cgi?id=57211
    19173 
    19174         Test: fast/css/sibling-selectors.html
    19175 
    19176         * css/CSSStyleSelector.cpp:
    19177         (WebCore::collectFeaturesFromList):
    19178 
    19179 2011-03-27  Ojan Vafai  <ojan@chromium.org>
    19180 
    19181         Reviewed by Antti Koivisto.
    19182 
    19183         fix :-webkit-any(:last-child)
    19184         https://bugs.webkit.org/show_bug.cgi?id=57207
    19185 
    19186         We were passing the wrong arguments to checkSelector. Also, we were not
    19187         passing through the encounteredLink bool.
    19188 
    19189         * css/CSSStyleSelector.cpp:
    19190         (WebCore::CSSStyleSelector::SelectorChecker::checkSelector):
    19191         (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
    19192         * css/CSSStyleSelector.h:
    19193 
    19194 2011-03-27  Ojan Vafai  <ojan@chromium.org>
    19195 
    19196         Reviewed by Antti Koivisto.
    19197 
    19198         fix :-webkit-any(:last-child)
    19199         https://bugs.webkit.org/show_bug.cgi?id=57207
    19200 
    19201         We were passing the wrong arguments to checkSelector. Also, we were not
    19202         passing through the encounteredLink bool.
    19203 
    19204         * css/CSSStyleSelector.cpp:
    19205         (WebCore::CSSStyleSelector::SelectorChecker::checkSelector):
    19206         (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
    19207         * css/CSSStyleSelector.h:
    19208 
    19209 2011-03-28  Maciej Stachowiak  <mjs@apple.com>
    19210 
    19211         Reviewed by Darin Adler.
    19212 
    19213         REGRESSION(r82152): fast/dom/HTMLAnchorElement/set-href-attribute-pathname.html
    19214         https://bugs.webkit.org/show_bug.cgi?id=57291
    19215 
    19216         * platform/KURL.cpp:
    19217         (WebCore::KURL::parse): Instead of considering URLs with
    19218         credentials but no host invalid, consider them to have a host
    19219         ending in @ (which fails down the line)/
    19220 
    19221 2011-03-28  Kent Tamura  <tkent@chromium.org>
    19222 
    19223         Reviewed by Dimitri Glazkov.
    19224 
    19225         Fix some problems of the appearance of form validation message bubble.
    19226         https://bugs.webkit.org/show_bug.cgi?id=57208
    19227 
    19228         No new tests. Validation message bubble appearance is not testable
    19229         because it depends on a timer.
    19230 
    19231         * css/html.css:
    19232         (::-webkit-validation-bubble):
    19233         (::-webkit-validation-bubble-message):
    19234         (::-webkit-validation-bubble-arrow):
    19235         (::-webkit-validation-bubble-arrow-clipper):
    19236           - Explicitly set margin, padding, and color.
    19237           - Make the shadow darker.
    19238           - Make the background color darker.
    19239           - Make opacity larger.
    19240           - Make the border color lighter.
    19241           - Add inset shadows
    19242           - Change the implementation of an arrow.
    19243             Stop making a right triangle by the border trick.
    19244             Use -webkit-transform instead.
    19245           - Make min-width workable by changing display property of
    19246             -webkit-validation-bubble to "inline-block".
    19247         * html/ValidationMessage.cpp:
    19248         (WebCore::ValidationMessage::buildBubbleTree):
    19249           Change the node structure. Before this change, -webkit-validation-bubble
    19250           had three DIVs inside. After this change, it has two DIVs;
    19251           -webkit-validation-bubble-arrow-clipper and
    19252           -webkit-validation-bubble-message, and
    19253           -webkit-validation-bubble-arrow-clipper contains
    19254           -webkit-validation-bubble-arrow.
    19255 
    19256 2011-03-28  Enrica Casucci  <enrica@apple.com>
    19257 
    19258         Reviewed by Sam Weinig.
    19259 
    19260         REGRESSION: Can't enter pasted with context or Edit menu text in search or address field in the browser.
    19261         https://bugs.webkit.org/show_bug.cgi?id=57275
    19262         <rdar://problem/8246691>
    19263 
    19264         We need to classify cut and paste actions as user typing actions even when
    19265         the action is triggered by a context menu selection to
    19266         allow the propagation of the textDidChangeInTextField event.
    19267 
    19268         * editing/EditorCommand.cpp:
    19269         The following methods have been modified to properly set up
    19270         the UserTypingGestureAction when the command source is the
    19271         menu or a key binding sequence.
    19272         (WebCore::executeCut):
    19273         (WebCore::executePaste):
    19274         (WebCore::executePasteAndMatchStyle):
    19275         (WebCore::executePasteAsPlainText):
    19276         (WebCore::executeDelete):
    19277         * page/ContextMenuController.cpp:
    19278         (WebCore::ContextMenuController::contextMenuItemSelected): Changed to
    19279         call execute command instead of referring to the specific method in
    19280         the editor class.
    19281 
    19282 2011-03-28  Oliver Hunt  <oliver@apple.com>
    19283 
    19284         Reviewed by Geoffrey Garen.
    19285 
    19286         instanceof Array test fails when using iframes
    19287         https://bugs.webkit.org/show_bug.cgi?id=17250
    19288 
    19289         Update for new function and date apis
    19290 
    19291         Test: fast/js/js-constructors-use-correct-global.html
    19292 
    19293         * WebCore.xcodeproj/project.pbxproj:
    19294         * bindings/js/JSDOMBinding.cpp:
    19295         (WebCore::jsDateOrNull):
    19296         * bindings/js/JSLazyEventListener.cpp:
    19297         (WebCore::JSLazyEventListener::initializeJSFunction):
    19298 
    19299 2011-03-28  Beth Dakin  <bdakin@apple.com>
    19300 
    19301         Reviewed by Darin Adler.
    19302 
    19303         Fix for https://bugs.webkit.org/show_bug.cgi?id=57124 When the scroller style is
    19304         changed via delegate method, the page needs a full relayout and repaint
    19305         -and corresponding-
    19306         <rdar://problem/9059129>
    19307 
    19308         Call into WebKitSystemInterface to associate the new painter with the existing
    19309         painter controller. Reset the scrollbar frame rects to the new thickness -- normally
    19310         this only happens when a scrollbar is created, so we have to reset the thickness
    19311         here to pick up the new theme thickness. Finally, force a full relayout and style
    19312         recall with setNeedsRecalcStyleInAllFrames()
    19313         * platform/mac/ScrollAnimatorMac.mm:
    19314         (-[ScrollbarPainterControllerDelegate scrollerImpPair:updateScrollerStyleForNewRecommendedScrollerStyle:]):
    19315 
    19316         setNeedsRecalcStyleInAllFrames() used to be a static method in Settings.cpp. This
    19317         patch moves it to be a member function on Page so that it can be called from
    19318         FrameView when the scrollbar style changes.
    19319         * page/FrameView.cpp:
    19320         (WebCore::FrameView::setNeedsRecalcStyleInAllFrames):
    19321         * page/FrameView.h:
    19322         * page/Page.cpp:
    19323         (WebCore::Page::setNeedsRecalcStyleInAllFrames):
    19324         * page/Page.h:
    19325         * page/Settings.cpp:
    19326         (WebCore::Settings::setStandardFontFamily):
    19327         (WebCore::Settings::setFixedFontFamily):
    19328         (WebCore::Settings::setSerifFontFamily):
    19329         (WebCore::Settings::setSansSerifFontFamily):
    19330         (WebCore::Settings::setCursiveFontFamily):
    19331         (WebCore::Settings::setFantasyFontFamily):
    19332         (WebCore::Settings::setMinimumFontSize):
    19333         (WebCore::Settings::setMinimumLogicalFontSize):
    19334         (WebCore::Settings::setDefaultFontSize):
    19335         (WebCore::Settings::setDefaultFixedFontSize):
    19336         (WebCore::Settings::setTextAreasAreResizable):
    19337         (WebCore::Settings::setAuthorAndUserStylesEnabled):
    19338         (WebCore::Settings::setFontRenderingMode):
    19339         (WebCore::Settings::setAcceleratedCompositingEnabled):
    19340         (WebCore::Settings::setShowDebugBorders):
    19341         (WebCore::Settings::setShowRepaintCounter):
    19342         * platform/ScrollableArea.h:
    19343         (WebCore::ScrollableArea::setNeedsRecalcStyleInAllFrames):
    19344 
    19345 2011-03-28  Dirk Pranke  <dpranke@chromium.org>
    19346 
    19347         RS=Tony Chang.
    19348 
    19349         r81977 moved FontPlatformData.h from
    19350         WebCore/platform/graphics/cocoa to platform/graphics. This
    19351         change updates the chromium build accordingly.
    19352 
    19353         https://bugs.webkit.org/show_bug.cgi?id=57281
    19354 
    19355         * platform/graphics/chromium/CrossProcessFontLoading.mm:
    19356 
    19357 2011-03-28  Jer Noble  <jer.noble@apple.com>
    19358 
    19359         Reviewed by Darin Adler.
    19360 
    19361         MediaPlayerPrivateAVFoundation should report that it supportsFullScreen()
    19362         https://bugs.webkit.org/show_bug.cgi?id=57249
    19363 
    19364         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
    19365         (WebCore::MediaPlayerPrivateAVFoundation::supportsFullscreen):
    19366         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
    19367 
    19368 2011-03-28  Jer Noble  <jer.noble@apple.com>
    19369 
    19370         Reviewed by Darin Adler.
    19371 
    19372         AVFoundation can indeed support full screen.
    19373 
    19374         MediaPlayerPrivateAVFoundation should report that it supportsFullScreen()
    19375         https://bugs.webkit.org/show_bug.cgi?id=57249
    19376 
    19377         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
    19378         (WebCore::MediaPlayerPrivateAVFoundation::supportsFullscreen): Return true if using
    19379             the new full screen APIs.
    19380         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
    19381 
    19382 2011-03-28  Eric Carlson  <eric.carlson@apple.com>
    19383 
    19384         Reviewed by Darin Adler.
    19385 
    19386         http streams don't always display video with AVFoundation backend
    19387         https://bugs.webkit.org/show_bug.cgi?id=57203
    19388 
    19389         No new tests, we don't currently have tests for http live streams. Changes verified manually.
    19390 
    19391         * platform/graphics/MediaPlayer.cpp:
    19392         (WebCore::MediaPlayer::MediaPlayer): Initialize m_shouldPrepareToRender.
    19393         (WebCore::MediaPlayer::loadWithNextMediaEngine): Call prepareForRendering on new engine
    19394             if m_shouldPrepareToRender is set.
    19395         (WebCore::MediaPlayer::prepareForRendering): Set m_shouldPrepareToRender.
    19396         * platform/graphics/MediaPlayer.h:
    19397 
    19398         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
    19399         (WebCore::MediaPlayerPrivateAVFoundation::isReadyForVideoSetup): Don't return true until
    19400             m_isAllowedToRender has been set.
    19401         (WebCore::MediaPlayerPrivateAVFoundation::prepareForRendering): Always call setUpVideoRendering,
    19402             it has logic to figure out when setup is required.
    19403         (WebCore::MediaPlayerPrivateAVFoundation::updateStates): Call setUpVideoRendering when we aren't
    19404             using the preferred rendering mode because if we get a file's metadata between the
    19405             time supportsAcceleratedRendering() and paint() are called, we will allocate a software
    19406             renderer even when we prefer a layer backed renderer.
    19407         (WebCore::MediaPlayerPrivateAVFoundation::movieLoadType): Return "unknown" until we have metadata.
    19408 
    19409         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.h:
    19410         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm:
    19411         (WebCore::MediaPlayerPrivateAVFoundationObjC::cancelLoad): Use itemKVOProperties() instead of
    19412             an explicit list of key path names.
    19413         (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayerForURL): Ditto.
    19414         (WebCore::MediaPlayerPrivateAVFoundationObjC::beginLoadingMetadata): metadataKeyNames renamed
    19415             to assetMetadataKeyNames, return an NSArray instead of a CFArrayRef since that is what the
    19416             callers need.
    19417         (WebCore::MediaPlayerPrivateAVFoundationObjC::platformDuration): Return the duration of the
    19418             player item, not the asset, because AVAsset.duration always returns an indefinite time
    19419             for all streaming files.
    19420         (WebCore::MediaPlayerPrivateAVFoundationObjC::assetStatus): metadataKeyNames renamed
    19421             to assetMetadataKeyNames.
    19422         (WebCore::MediaPlayerPrivateAVFoundationObjC::paintCurrentFrameInContext): Do nothing until
    19423             metadata is available.
    19424         (WebCore::MediaPlayerPrivateAVFoundationObjC::paint): Ditto.
    19425         (WebCore::MediaPlayerPrivateAVFoundationObjC::tracksChanged): Split size calculation logic off
    19426             into sizeChanged().
    19427         (WebCore::MediaPlayerPrivateAVFoundationObjC::sizeChanged): New. Use AVPlayerItem.presentationSize
    19428             until tracks is non-NULL so we have a size as early as possible.
    19429         (WebCore::MediaPlayerPrivateAVFoundationObjC::assetMetadataKeyNames): Renamed from metadataKeyNames.
    19430         (WebCore::MediaPlayerPrivateAVFoundationObjC::itemKVOProperties): New, return an array of
    19431             KVO observable properties.
    19432         (-[WebCoreAVFMovieObserver observeValueForKeyPath:ofObject:change:context:]): Respond to
    19433             presentationSize change.
    19434 
    19435 2011-03-28  Anders Carlsson  <andersca@apple.com>
    19436 
    19437         Reviewed by Sam Weinig.
    19438 
    19439         Search field focus ring is missing
    19440         https://bugs.webkit.org/show_bug.cgi?id=57270
    19441         <rdar://problem/8765555>
    19442 
    19443         Add an _automaticFocusRingDisabled method which returns YES.
    19444 
    19445         * platform/mac/ThemeMac.mm:
    19446         (-[WebCoreFlippedView _automaticFocusRingDisabled]):
    19447 
    19448 2011-03-28  Dimitri Glazkov  <dglazkov@chromium.org>
    19449 
    19450         Reviewed by Darin Adler.
    19451 
    19452         Move more events to EventDispatcher.
    19453         https://bugs.webkit.org/show_bug.cgi?id=57247
    19454 
    19455         No functional changes, covered by existing tests.
    19456 
    19457         * dom/EventDispatcher.cpp:
    19458         (WebCore::eventTargetRespectingSVGTargetRules): Made a static function,
    19459             since it's not used anywhere outside of the EventDispatcher.
    19460         (WebCore::EventDispatcher::dispatchScopedEvent): Moved from Node.cpp.
    19461         (WebCore::EventDispatcher::dispatchKeyEvent): Ditto.
    19462         (WebCore::EventDispatcher::dispatchWheelEvent): Ditto.
    19463         (WebCore::EventDispatcher::dispatchEvent): Changed to use eventTargetRespectingSVGTargetRules
    19464             as a static function.
    19465         * dom/EventDispatcher.h: Updated decls.
    19466         * dom/Node.cpp:
    19467         (WebCore::Node::dispatchScopedEvent): Replaced with calling EventDispatcher.
    19468         (WebCore::Node::dispatchKeyEvent): Ditto.
    19469         (WebCore::Node::dispatchWheelEvent): Ditto.
    19470 
    19471 2011-03-28  Adele Peterson  <adele@apple.com>
    19472 
    19473         Reviewed by Eric Seidel.
    19474 
    19475         Fix for <rdar://problem/9112694> REGRESSION (r79411): "Check grammar with spelling" context menu doesn't check as you type
    19476         https://bugs.webkit.org/show_bug.cgi?id=57173
    19477 
    19478         Test: editing/spelling/grammar.html
    19479 
    19480         * WebCore.exp.in: Add symbol for new selectionStartHasMarkerFor method.
    19481         * editing/Editor.cpp:
    19482         (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges): Every use of paragraph is specific to spelling or grammar,
    19483          so to avoid confusion, we should explicitly use spellingParagraph or grammarParagraph.  In the case of this bug,
    19484          when we're consider ambiguous boundary characters (characters that could indicate word boundaries, but are used
    19485          in the middle of words too, like apostrophes), we should use the use the spellingParagraph since the spellingParagraph
    19486          is the only one operated on when this information is used.
    19487          (WebCore::Editor::selectionStartHasMarkerFor): Changed from selectionStartHasSpellingMarkerFor so it can check for grammar as well as spelling.
    19488         * editing/Editor.h:
    19489 
    19490 2011-03-28  Dan Bernstein  <mitz@apple.com>
    19491 
    19492         Reviewed by Darin Adler.
    19493 
    19494         <rdar://problem/8895977> REGRESSION: multicol crashes with positioned elements
    19495         https://bugs.webkit.org/show_bug.cgi?id=48983
    19496 
    19497         Test: fast/multicol/paginated-layer-crash.html
    19498 
    19499         * rendering/RenderLayer.cpp:
    19500         (WebCore::RenderLayer::paintPaginatedChildLayer): Bring the logic for finding pagintating layers
    19501         into sync with updatePagination() after r68069.
    19502         (WebCore::RenderLayer::hitTestPaginatedChildLayer): Ditto.
    19503 
    19504 2011-03-28  Maciej Stachowiak  <mjs@apple.com>
    19505 
    19506         Reviewed by Darin Adler' .
    19507 
    19508         URLSs with non-empty username but empty hostname treat first path segment as hostname, potentially enabling XSS
    19509         https://bugs.webkit.org/show_bug.cgi?id=57220
    19510 
    19511         Test: http/tests/uri/username-with-no-hostname.html
    19512 
    19513         * platform/KURL.cpp:
    19514         (WebCore::hostPortIsEmptyButUserPassIsNot):
    19515         (WebCore::KURL::parse):
    19516 
    19517 2011-03-28  Adam Barth  <abarth@webkit.org>
    19518 
    19519         Reviewed by Eric Seidel.
    19520 
    19521         script-src should block inline event handlers
    19522         https://bugs.webkit.org/show_bug.cgi?id=57212
    19523 
    19524         I considered wrapping this into the canExecute check, but that approach
    19525         would require passing that function a bunch of context information to
    19526         behave correctly once we add support for the "options" directive that
    19527         re-enables these features.
    19528 
    19529         Test: http/tests/security/contentSecurityPolicy/script-src-none-inline-event.html
    19530 
    19531         * bindings/js/JSLazyEventListener.cpp:
    19532         (WebCore::JSLazyEventListener::initializeJSFunction):
    19533             - This function was a mess.  I couldn't resist cleaning it up a
    19534               bunch.  Notice that we ASSERT at the beginning of the function
    19535               that scriptExecutionContext is a document and that both ways of
    19536               getting the global object are the same when document->frame() is
    19537               non-zero because the document must be active and there is a
    19538               one-to-one relation between Frames and active Documents.
    19539         * bindings/v8/V8LazyEventListener.cpp:
    19540         (WebCore::V8LazyEventListener::prepareListenerObject):
    19541         * page/ContentSecurityPolicy.cpp:
    19542         (WebCore::ContentSecurityPolicy::allowInlineEventHandlers):
    19543         * page/ContentSecurityPolicy.h:
    19544 
    19545 2011-03-28  Jeff Miller  <jeffm@apple.com>
    19546 
    19547         Reviewed by Adam Roben.
    19548 
    19549         ResourceError::certificate() should return a PCCERT_CONTEXT
    19550         https://bugs.webkit.org/show_bug.cgi?id=57262
    19551 
    19552         * platform/network/cf/ResourceError.h: certificate() now returns a PCCERT_CONTEXT.
    19553         * platform/network/cf/ResourceErrorCF.cpp:
    19554         (WebCore::ResourceError::certificate): Added.
    19555 
    19556 2011-03-28  David Hyatt  <hyatt@apple.com>
    19557 
    19558         Reviewed by Simon Fraser and Darin Adler.
    19559 
    19560         https://bugs.webkit.org/show_bug.cgi?id=57221, memory corruption/crashes when positioned objects
    19561         occur at the end of a line.
    19562        
    19563         The old code and new code for dealing with a trailing space object midpoint manipulated a raw
    19564         array instead of the Vector. Otherwise this corruption would have been caught prior to check-in.
    19565        
    19566         I have patched the code to only go through the Vector and to make it handle the case that led to
    19567         the corruption. Trailing positioned objects can occur both prior to and following the trailing space
    19568         object's midpoint, so we have to be prepared to deal with both cases.
    19569        
    19570         This is already tested by fast/block/positioning/052.html, and that test now properly progresses
    19571         like the other positioning tests did.
    19572 
    19573         * rendering/RenderBlockLineLayout.cpp:
    19574         (WebCore::RenderBlock::findNextLineBreak):
    19575 
    19576 2011-03-28  Andrei Popescu  <andreip@google.com>
    19577 
    19578         Reviewed by Steve Block.
    19579 
    19580         V8IDBKeyCustom.cpp does not compile with INDEXED_DATABASE disabled
    19581         https://bugs.webkit.org/show_bug.cgi?id=57100
    19582 
    19583         Close the ENABLE guard and the namespace in the right order.
    19584 
    19585         No new tests, just cleanup.
    19586 
    19587         * bindings/v8/custom/V8IDBAnyCustom.cpp:
    19588         * bindings/v8/custom/V8IDBKeyCustom.cpp:
    19589 
    19590 2011-03-28  Jeff Miller  <jeffm@apple.com>
    19591 
    19592         Reviewed by Adam Roben.
    19593 
    19594         Include certificate when sending a WebCore::ResourceError to UI process on Windows
    19595         https://bugs.webkit.org/show_bug.cgi?id=57195
    19596 
    19597         Add support for tracking the certificate in WebCore::ResourceError.
    19598 
    19599         * platform/network/ResourceErrorBase.cpp:
    19600         (WebCore::ResourceErrorBase::copy): Call platformCopy() to copy platform-specific fields.
    19601         * platform/network/ResourceErrorBase.h:
    19602         (WebCore::ResourceErrorBase::platformCopy): Added.
    19603         * platform/network/cf/ResourceError.h: Added constructor that takes certificate data, shadowed platformCopy, added m_certificate.
    19604         (WebCore::ResourceError::certificate): Added.
    19605         * platform/network/cf/ResourceErrorCF.cpp:
    19606         (WebCore::ResourceError::ResourceError): Added constructor that takes certificate data.
    19607         (WebCore::ResourceError::platformLazyInit): Read any certificate from the userInfo dictionary.
    19608         (WebCore::ResourceError::platformCopy): Copy m_certificate.
    19609         (WebCore::ResourceError::cfError): Add any certificate data to the userInfo dictionary in the CFErrorRef.
    19610 
    19611 2011-03-28  Jessie Berlin  <jberlin@apple.com>
    19612 
    19613         Rubber-stamped by Adam Roben.
    19614 
    19615         Add an extra newline to the end of the generated Inspector.idl file so that it does not
    19616         trigger the Windows "no newline at at end of file" warning.
    19617 
    19618         * inspector/generate-inspector-idl:
    19619 
    19620 2011-03-28  Csaba Osztrogonác  <ossy@webkit.org>
    19621 
    19622         Buildfix after r82125.
    19623 
    19624         [Qt] QtWebKit will not compile with QT_ASCII_CAST_WARNINGS enabled
    19625         https://bugs.webkit.org/show_bug.cgi?id=57087
    19626 
    19627         * platform/graphics/qt/MediaPlayerPrivateQt.cpp: Convert all char* to QString explicitly.
    19628         (WebCore::MediaPlayerPrivateQt::getSupportedTypes):
    19629         (WebCore::MediaPlayerPrivateQt::commitLoad):
    19630 
    19631 2011-03-28  Sheriff Bot  <webkit.review.bot@gmail.com>
    19632 
    19633         Unreviewed, rolling out r82099.
    19634         http://trac.webkit.org/changeset/82099
    19635         https://bugs.webkit.org/show_bug.cgi?id=57245
    19636 
    19637         Breaks live edits tests on chromium. (Requested by pfeldman on
    19638         #webkit).
    19639 
    19640         * inspector/front-end/ScriptsPanel.js:
    19641         (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.editScriptSource):
    19642         * inspector/front-end/SourceFrame.js:
    19643         (WebInspector.SourceFrame.prototype._handleSave):
    19644         (WebInspector.SourceFrameDelegate.prototype.editScriptSource):
    19645 
    19646 2011-03-28  Pavel Feldman  <pfeldman@chromium.org>
    19647 
    19648         Reviewed by Yury Semikhatsky.
    19649 
    19650         Web Inspector: brush up and rename debugger domain functions.
    19651         https://bugs.webkit.org/show_bug.cgi?id=57240
    19652 
    19653         * inspector/Inspector.json:
    19654         * inspector/InspectorAgent.cpp:
    19655         (WebCore::InspectorAgent::setFrontend):
    19656         (WebCore::InspectorAgent::postWorkerNotificationToFrontend):
    19657         * inspector/InspectorDebuggerAgent.cpp:
    19658         (WebCore::InspectorDebuggerAgent::setBreakpointsActive):
    19659         (WebCore::InspectorDebuggerAgent::setBreakpointByUrl):
    19660         (WebCore::InspectorDebuggerAgent::setBreakpoint):
    19661         (WebCore::InspectorDebuggerAgent::removeBreakpoint):
    19662         (WebCore::InspectorDebuggerAgent::editScriptSource):
    19663         (WebCore::InspectorDebuggerAgent::setPauseOnExceptionsState):
    19664         (WebCore::InspectorDebuggerAgent::didParseSource):
    19665         (WebCore::InspectorDebuggerAgent::failedToParseSource):
    19666         (WebCore::InspectorDebuggerAgent::didPause):
    19667         (WebCore::InspectorDebuggerAgent::didContinue):
    19668         * inspector/InspectorDebuggerAgent.h:
    19669         * inspector/front-end/DebuggerModel.js:
    19670         (WebInspector.DebuggerModel.prototype.setBreakpoint):
    19671         (WebInspector.DebuggerModel.prototype.setBreakpointBySourceId):
    19672         (WebInspector.DebuggerModel.prototype.removeBreakpoint):
    19673         (WebInspector.DebuggerModel.prototype._didEditScriptSource):
    19674         (WebInspector.DebuggerDispatcher.prototype.paused):
    19675         (WebInspector.DebuggerDispatcher.prototype.resumed):
    19676         (WebInspector.DebuggerDispatcher.prototype.scriptParsed):
    19677         (WebInspector.DebuggerDispatcher.prototype.scriptFailedToParse):
    19678         (WebInspector.DebuggerDispatcher.prototype.breakpointResolved):
    19679         * inspector/front-end/ScriptsPanel.js:
    19680         (WebInspector.ScriptsPanel.prototype.toggleBreakpointsClicked):
    19681         * inspector/front-end/inspector.js:
    19682         (WebInspector.didCreateWorker):
    19683         (WebInspector.didDestroyWorker):
    19684 
    19685 2011-03-28  David Kilzer  <ddkilzer@apple.com>
    19686 
    19687         <http://webkit.org/b/57239> Use forward class declaration instead of including header
    19688 
    19689         Reviewed by Dan Bernstein.
    19690 
    19691         Adding a "using namespace WebCore;" statement in a header may
    19692         cause issues when <WebCore/Length.h> is included before
    19693         <CoreText/CoreText.h>.
    19694 
    19695         Length.h defines the LengthType enum with a 'Fixed' value.
    19696         CoreText.h includes MacTypes.h, which has a
    19697         "typedef SInt32 Fixed;" statement, and then CoreText.h includes
    19698         other headers that also use 'Fixed', but expect the typedef to
    19699         be defined, not the enum.  If another header includes
    19700         "using namespace WebCore;" before CoreText.h, the
    19701         following compiler errors result (paths abbreviated):
    19702 
    19703             CoreText.framework/Headers/SFNTLayoutTypes.h:689: error: reference to 'Fixed' is ambiguous
    19704             MacTypes.h:184: error: candidates are: typedef SInt32 Fixed
    19705             Length.h:37: error:                 WebCore::LengthType WebCore::Fixed
    19706             SFNTLayoutTypes.h:689: error: 'Fixed' does not name a type
    19707 
    19708         * platform/mac/HTMLConverter.h: Use forward declaration of
    19709         DocumentLoader class instead of including header.  Remove the
    19710         unused "using namespace WebCore;" statement.
    19711 
    19712 2011-03-26  Dimitri Glazkov  <dglazkov@chromium.org>
    19713 
    19714         Reviewed by Eric Seidel.
    19715 
    19716         Introduce EventDispatcher, the new common way to fire events.
    19717         https://bugs.webkit.org/show_bug.cgi?id=57168
    19718 
    19719         The goal here is two-fold:
    19720         1) reduce the need to randomly sprinkle guards around the dispatch code
    19721         by creating a well-scoped abstraction for dispatching events.
    19722         2) create a place where fiddly event-related things like creating event
    19723         contexts for ancestors can be done lazily.
    19724 
    19725         Additionally, with all the free-standing static functions, this code was
    19726         just begging to come out of Node.cpp.
    19727 
    19728         The first step is a near-mechanical extraction of mouse-related events
    19729         from Node.cpp to EventDispatcher. For now, the call sites are just
    19730         replaced with invoking EventDispatcher. Later, we can remove these methods
    19731         from Node.
    19732 
    19733         Refactoring, no functional changes.
    19734 
    19735         * Android.mk: Added EventDispatcher to build system.
    19736         * CMakeLists.txt: Ditto.
    19737         * GNUmakefile.am: Ditto.
    19738         * WebCore.gypi: Ditto.
    19739         * WebCore.pro: Ditto.
    19740         * WebCore.vcproj/WebCore.vcproj: Ditto.
    19741         * WebCore.xcodeproj/project.pbxproj: Ditto.
    19742         * dom/DOMAllInOne.cpp: Ditto.
    19743         * dom/EventDispatcher.cpp: Added.
    19744         * dom/EventDispatcher.h: Added.
    19745         * dom/Node.cpp:
    19746         (WebCore::Node::dispatchScopedEvent): Replaced to use EventDispatcher.
    19747         (WebCore::Node::dispatchEvent): Ditto.
    19748         (WebCore::Node::dispatchMouseEvent): Ditto.
    19749         (WebCore::Node::dispatchSimulatedClick): Ditto.
    19750         * dom/Node.h: Updated decls.
    19751 
    19752 2011-03-28  Dan Bernstein  <mitz@apple.com>
    19753 
    19754         Reviewed by Maciej Stachowiak.
    19755 
    19756         <rdar://problem/9003382> Incomplete repaint of overflow in flipped lines writing modes
    19757         https://bugs.webkit.org/show_bug.cgi?id=57197
    19758 
    19759         Tests: fast/repaint/overflow-flipped-writing-mode-block.html
    19760                fast/repaint/overflow-flipped-writing-mode-table.html
    19761 
    19762         * rendering/RenderBlock.cpp:
    19763         (WebCore::RenderBlock::paint): Flip the overflow rect before testing for intersection
    19764         with the damage rect.
    19765         * rendering/RenderTable.cpp:
    19766         (WebCore::RenderTable::paint): Made the intersection check more like the one in
    19767         RenderBlock::paint().
    19768 
    19769 2011-03-28  Xiaomei Ji  <xji@chromium.org>
    19770 
    19771         Reviewed by Ryosuke Niwa.
    19772 
    19773         move directionOfEnclosingBlock() to be global so that it could be reused.
    19774         https://bugs.webkit.org/show_bug.cgi?id=57233.
    19775 
    19776         Provide global function directionOfEnclosingBlock(Node*) so that it could be
    19777         reused in SelectionController and other functionalities that need enclosing
    19778         block's direcionality, such as moving caret by word in visual order.
    19779      
    19780         No new functionality, so no new tests.
    19781 
    19782         * editing/SelectionController.cpp:
    19783         (WebCore::SelectionController::directionOfEnclosingBlock):
    19784         * editing/htmlediting.cpp:
    19785         (WebCore::directionOfEnclosingBlock):
    19786         * editing/htmlediting.h:
    19787 
    19788 2011-03-28  Jarkko Sakkinen  <jarkko.j.sakkinen@gmail.com>
    19789 
    19790         Reviewed by Benjamin Poulain.
    19791 
    19792         [Qt] fast/canvas/webgl/context-attributes-alpha-depth-stencil-antialias.html fails
    19793         https://bugs.webkit.org/show_bug.cgi?id=56825
    19794 
    19795         Fixes for context attribute handling:
    19796         - Initialize depth and stencil buffer depending on whether they
    19797         are enabled in context attributes.
    19798         - Always enable depth buffer when stencil buffer is enabled.
    19799         - Disable stencil buffer on OpenGL ES 2.0
    19800         - Cleaned up clutter code from initialization. Made code paths
    19801         more sane.
    19802         - Clear mask is now set correctly in reshape().
    19803 
    19804         Tests: fast/canvas/webgl/context-attributes-alpha-depth-stencil-antialias.html
    19805 
    19806         * platform/graphics/qt/GraphicsContext3DQt.cpp:
    19807         (WebCore::GraphicsContext3DInternal::isValid):
    19808         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
    19809         (WebCore::GraphicsContext3DInternal::reshape):
    19810         (WebCore::GraphicsContext3DInternal::paint):
    19811         (WebCore::GraphicsContext3DInternal::getProcAddress):
    19812         (WebCore::GraphicsContext3D::GraphicsContext3D):
    19813         (WebCore::GraphicsContext3D::reshape):
    19814         (WebCore::GraphicsContext3D::bindFramebuffer):
    19815 
    19816 2011-03-28  Pavel Feldman  <pfeldman@chromium.org>
    19817 
    19818         Reviewed by Yury Semikhatsky.
    19819 
    19820         Web Inspector: rename network domain events from didHappenSomething to somethingHappened.
    19821         https://bugs.webkit.org/show_bug.cgi?id=57226
    19822 
    19823         * inspector/Inspector.json:
    19824         * inspector/InspectorResourceAgent.cpp:
    19825         (WebCore::InspectorResourceAgent::willSendRequest):
    19826         (WebCore::InspectorResourceAgent::markResourceAsCached):
    19827         (WebCore::InspectorResourceAgent::didReceiveResponse):
    19828         (WebCore::InspectorResourceAgent::didReceiveContentLength):
    19829         (WebCore::InspectorResourceAgent::didFinishLoading):
    19830         (WebCore::InspectorResourceAgent::didFailLoading):
    19831         (WebCore::InspectorResourceAgent::didLoadResourceFromMemoryCache):
    19832         (WebCore::InspectorResourceAgent::setInitialContent):
    19833         (WebCore::InspectorResourceAgent::didCommitLoad):
    19834         (WebCore::InspectorResourceAgent::frameDetachedFromParent):
    19835         (WebCore::InspectorResourceAgent::didCreateWebSocket):
    19836         (WebCore::InspectorResourceAgent::willSendWebSocketHandshakeRequest):
    19837         (WebCore::InspectorResourceAgent::didReceiveWebSocketHandshakeResponse):
    19838         (WebCore::InspectorResourceAgent::didCloseWebSocket):
    19839         * inspector/front-end/NetworkManager.js:
    19840         (WebInspector.NetworkDispatcher.prototype.requestWillBeSent):
    19841         (WebInspector.NetworkDispatcher.prototype.resourceMarkedAsCached):
    19842         (WebInspector.NetworkDispatcher.prototype.responseReceived):
    19843         (WebInspector.NetworkDispatcher.prototype.dataReceived):
    19844         (WebInspector.NetworkDispatcher.prototype.loadingFinished):
    19845         (WebInspector.NetworkDispatcher.prototype.loadingFailed):
    19846         (WebInspector.NetworkDispatcher.prototype.resourceLoadedFromMemoryCache):
    19847         (WebInspector.NetworkDispatcher.prototype.frameDetached):
    19848         (WebInspector.NetworkDispatcher.prototype.initialContentSet):
    19849         (WebInspector.NetworkDispatcher.prototype.frameNavigated):
    19850         (WebInspector.NetworkDispatcher.prototype.webSocketCreated):
    19851         (WebInspector.NetworkDispatcher.prototype.webSocketWillSendHandshakeRequest):
    19852         (WebInspector.NetworkDispatcher.prototype.webSocketHandshakeResponseReceived):
    19853         (WebInspector.NetworkDispatcher.prototype.webSocketClosed):
    19854 
    19855 2011-03-28  Mikhail Naganov  <mnaganov@chromium.org>
    19856 
    19857         Reviewed by Pavel Feldman.
    19858 
    19859         WebInspector: [Chromium] Delete native CPU profiles and heap snapshots on binding disposal.
    19860         https://bugs.webkit.org/show_bug.cgi?id=57099
    19861 
    19862         * bindings/v8/ScriptHeapSnapshot.cpp:
    19863         (WebCore::ScriptHeapSnapshot::~ScriptHeapSnapshot):
    19864         * bindings/v8/ScriptHeapSnapshot.h:
    19865         * bindings/v8/ScriptProfile.cpp:
    19866         (WebCore::ScriptProfile::~ScriptProfile):
    19867         * bindings/v8/ScriptProfile.h:
    19868         * inspector/InspectorProfilerAgent.cpp:
    19869         (WebCore::InspectorProfilerAgent::resetState):
    19870 
    19871 2011-03-24  Pavel Podivilov  <podivilov@chromium.org>
    19872 
    19873         Reviewed by Yury Semikhatsky.
    19874 
    19875         Web Inspector: fix console messages positions in formatted scripts.
    19876         https://bugs.webkit.org/show_bug.cgi?id=57010
    19877 
    19878         * inspector/front-end/DebuggerPresentationModel.js:
    19879         (WebInspector.DebuggerPresentationModel):
    19880         (WebInspector.DebuggerPresentationModel.prototype.toggleFormatSourceFiles):
    19881         (WebInspector.DebuggerPresentationModel.prototype.addConsoleMessage.didRequestMapping):
    19882         (WebInspector.DebuggerPresentationModel.prototype.addConsoleMessage):
    19883         (WebInspector.DebuggerPresentationModel.prototype.clearConsoleMessages):
    19884         (WebInspector.DebuggerPresentationModel.prototype._reset):
    19885         * inspector/front-end/ResourceTreeModel.js:
    19886         (WebInspector.ResourceTreeModel.prototype.addConsoleMessage):
    19887         * inspector/front-end/ScriptsPanel.js:
    19888         (WebInspector.ScriptsPanel):
    19889         (WebInspector.ScriptsPanel.prototype.addConsoleMessage):
    19890         (WebInspector.ScriptsPanel.prototype.clearConsoleMessages):
    19891         (WebInspector.ScriptsPanel.prototype._consoleMessageAdded):
    19892         (WebInspector.ScriptsPanel.prototype.reset):
    19893         (WebInspector.ScriptsPanel.prototype._sourceFrameLoaded):
    19894         * inspector/front-end/SourceFile.js:
    19895         (WebInspector.SourceFile):
    19896         * inspector/front-end/SourceFrame.js:
    19897         (WebInspector.SourceFrame.prototype.addMessage):
    19898         (WebInspector.SourceFrame.prototype._addExistingMessagesToSource):
    19899         (WebInspector.SourceFrame.prototype.addMessageToSource):
    19900 
    19901 2011-03-27  Pavel Feldman  <pfeldman@chromium.org>
    19902 
    19903         Reviewed by Yury Semikhatsky.
    19904 
    19905         Web Inspector: refactor ResourceTreeModel to remove poor dependencies.
    19906         https://bugs.webkit.org/show_bug.cgi?id=57186
    19907 
    19908         - ResourceTreeModel is now event target (Object)
    19909         - There is no ResourceTreeModel -> UI dependencies
    19910         - NetworkManager -> ResourceTreeModel dependencies has been removed
    19911         - NetworkManager is no longer dealing with the resources tree, it is only responsible for network events
    19912         - ResourceTreeModel requests tree structure from the backend separately
    19913         - Cached resources tree payload is now limited to url and type (no headers involved)
    19914         - Resources tree is being rendered lazily upon request from the panel.
    19915 
    19916         * inspector/Inspector.json:
    19917         * inspector/InspectorResourceAgent.cpp:
    19918         (WebCore::InspectorResourceAgent::resourceContent):
    19919         (WebCore::InspectorResourceAgent::resourceContentBase64):
    19920         (WebCore::buildObjectForFrameTree):
    19921         (WebCore::InspectorResourceAgent::enable):
    19922         (WebCore::InspectorResourceAgent::getCachedResources):
    19923         (WebCore::InspectorResourceAgent::getResourceContent):
    19924         * inspector/InspectorResourceAgent.h:
    19925         * inspector/InspectorStyleSheet.cpp:
    19926         (WebCore::InspectorStyleSheet::resourceStyleSheetText):
    19927         * inspector/front-end/InspectorFrontendHostStub.js:
    19928         (.WebInspector.InspectorFrontendHostStub.prototype.sendMessageToBackend):
    19929         (.WebInspector.InspectorFrontendHostStub.prototype.loadSessionSetting):
    19930         * inspector/front-end/NetworkManager.js:
    19931         (WebInspector.NetworkManager):
    19932         (WebInspector.NetworkManager.prototype.frontendReused):
    19933         (WebInspector.NetworkManager.prototype.requestContent):
    19934         (WebInspector.NetworkDispatcher):
    19935         (WebInspector.NetworkDispatcher.prototype.didReceiveResponse):
    19936         (WebInspector.NetworkDispatcher.prototype.didLoadResourceFromMemoryCache):
    19937         (WebInspector.NetworkDispatcher.prototype.frameDetachedFromParent):
    19938         (WebInspector.NetworkDispatcher.prototype.didCommitLoadForFrame):
    19939         * inspector/front-end/NetworkPanel.js:
    19940         (WebInspector.NetworkPanel):
    19941         (WebInspector.NetworkPanel.prototype._updateSummaryBar):
    19942         (WebInspector.NetworkPanel.prototype._onFrameCommitLoad):
    19943         * inspector/front-end/ResourceTreeModel.js:
    19944         (WebInspector.ResourceTreeModel):
    19945         (WebInspector.ResourceTreeModel.prototype.frontendReused):
    19946         (WebInspector.ResourceTreeModel.prototype._processCachedResources):
    19947         (WebInspector.ResourceTreeModel.prototype._addOrUpdateFrame):
    19948         (WebInspector.ResourceTreeModel.prototype.frames):
    19949         (WebInspector.ResourceTreeModel.prototype.subframes):
    19950         (WebInspector.ResourceTreeModel.prototype.resources):
    19951         (WebInspector.ResourceTreeModel.prototype._onCommitLoad):
    19952         (WebInspector.ResourceTreeModel.prototype._onFrameDetachedFromParent):
    19953         (WebInspector.ResourceTreeModel.prototype._onResourceUpdated):
    19954         (WebInspector.ResourceTreeModel.prototype._addResourceToFrame):
    19955         (WebInspector.ResourceTreeModel.prototype.resourceForURL):
    19956         (WebInspector.ResourceTreeModel.prototype._bindResourceURL):
    19957         (WebInspector.ResourceTreeModel.prototype._clearChildFramesAndResources):
    19958         (WebInspector.ResourceTreeModel.prototype._clearResources):
    19959         (WebInspector.ResourceTreeModel.prototype._callForFrameResources):
    19960         (WebInspector.ResourceTreeModel.prototype._unbindResourceURL):
    19961         (WebInspector.ResourceTreeModel.prototype._addFramesRecursively):
    19962         (WebInspector.ResourceTreeModel.prototype._createResource):
    19963         * inspector/front-end/ResourcesPanel.js:
    19964         (WebInspector.ResourcesPanel):
    19965         (WebInspector.ResourcesPanel.prototype.show):
    19966         (WebInspector.ResourcesPanel.prototype._populateResourceTree.populateFrame):
    19967         (WebInspector.ResourcesPanel.prototype._populateResourceTree):
    19968         (WebInspector.ResourcesPanel.prototype._frameAdded):
    19969         (WebInspector.ResourcesPanel.prototype._frameDetached):
    19970         (WebInspector.ResourcesPanel.prototype._resourceAdded):
    19971         (WebInspector.ResourcesPanel.prototype._frameNavigated):
    19972         (WebInspector.FrameTreeElement.prototype.setTitles):
    19973         * inspector/front-end/inspector.js:
    19974         (WebInspector.frontendReused):
    19975 
    19976 2011-03-27  Ryosuke Niwa  <rniwa@webkit.org>
    19977 
    19978         Reviewed by Eric Seidel.
    19979 
    19980         WebKit's behavior for text-align inherit differs from other browsers
    19981         https://bugs.webkit.org/show_bug.cgi?id=56377
    19982 
    19983         The bug was caused by WebKit's resolving text-align: start and text-align: end too early.
    19984         As discussed on the bug, when text-align: start and text-align: end are inherited by descendent nodes,
    19985         the alignment of the text in those nodes should be determined based on the directionality of the text,
    19986         not by the directionality of the ancestor node from which text-align property is inherited.
    19987 
    19988         Fixed the bug by introducing new enum values to ETextAlign: TASTART and TAEND. These two values will
    19989         align text to the left in a LTR context and to the right in a RTL context respectively.
    19990 
    19991         * css/CSSPrimitiveValueMappings.h:
    19992         (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): Added the support for TASTART and TAEND.
    19993         (WebCore::CSSPrimitiveValue::operator ETextAlign): Ditto.
    19994         * css/CSSStyleSelector.cpp:
    19995         (WebCore::CSSStyleSelector::applyProperty): No longer processes CSSValueStart and CSSValueEnd.
    19996         * rendering/RenderBlock.cpp:
    19997         (WebCore::RenderBlock::localCaretRect): Added the support for TASTART and TAEND.
    19998         * rendering/RenderBlockLineLayout.cpp:
    19999         (WebCore::RenderBlock::computeInlineDirectionPositionsForLine): Added the support for TASTART and TAEND.
    20000         * rendering/RenderText.cpp:
    20001         (WebCore::RenderText::localCaretRect): Ditto.
    20002         * rendering/style/RenderStyle.h: ETextAlign now has 10 values and requires 4 bits.
    20003         * rendering/style/RenderStyleConstants.h: Added TASTART and TAEND to ETextAlign.
    20004 
    20005 2011-03-28  Pavel Podivilov  <podivilov@chromium.org>
    20006 
    20007         Reviewed by Yury Semikhatsky.
    20008 
    20009         Web Inspector: fix breakpoints positions in formatted scripts.
    20010         https://bugs.webkit.org/show_bug.cgi?id=56931
    20011 
    20012         Add async requestMapping method to SourceFile interface as required for populating
    20013         breakpoints sidebar pane when in "format all scripts" mode.
    20014 
    20015         * inspector/front-end/DebuggerPresentationModel.js:
    20016         (WebInspector.DebuggerPresentationModel.prototype.continueToLine):
    20017         (WebInspector.DebuggerPresentationModel.prototype.setBreakpoint.didRequestSourceMapping):
    20018         (WebInspector.DebuggerPresentationModel.prototype.setBreakpoint):
    20019         (WebInspector.DebuggerPresentationModel.prototype._breakpointAdded.didRequestSourceMapping):
    20020         (WebInspector.DebuggerPresentationModel.prototype._breakpointAdded):
    20021         (WebInspector.DebuggerPresentationModel.prototype.set selectedCallFrame.didRequestSourceMapping):
    20022         (WebInspector.DebuggerPresentationModel.prototype.set selectedCallFrame):
    20023         (WebInspector.PresentationBreakpoint): Breakpoint wrapper for UI.
    20024         (WebInspector.PresentationBreakpoint.prototype.get sourceFileId):
    20025         (WebInspector.PresentationBreakpoint.prototype.get lineNumber):
    20026         (WebInspector.PresentationBreakpoint.prototype.get condition):
    20027         (WebInspector.PresentationBreakpoint.prototype.get enabled):
    20028         (WebInspector.PresentationBreakpoint.prototype.get url):
    20029         (WebInspector.PresentationBreakpoint.prototype.get resolved):
    20030         (WebInspector.PresentationBreakpoint.prototype.loadSnippet):
    20031         * inspector/front-end/ScriptFormatter.js:
    20032         (WebInspector.ScriptFormatter.prototype.formatContent.didFormatChunks):
    20033         (WebInspector.ScriptFormatter.prototype.formatContent):
    20034         * inspector/front-end/SourceFile.js:
    20035         (WebInspector.SourceFile.prototype.requestSourceMapping):
    20036         (WebInspector.FormattedSourceFile.prototype.requestSourceMapping):
    20037         (WebInspector.FormattedSourceFile.prototype._didRequestContent):
    20038         (WebInspector.SourceMapping):
    20039         (WebInspector.SourceMapping.prototype.scriptLocationToSourceLocation):
    20040         (WebInspector.SourceMapping.prototype.sourceLocationToScriptLocation):
    20041         (WebInspector.FormattedSourceMapping):
    20042         (WebInspector.FormattedSourceMapping.prototype.scriptLocationToSourceLocation):
    20043         (WebInspector.FormattedSourceMapping.prototype.sourceLocationToScriptLocation):
    20044         (WebInspector.FormattedSourceMapping.prototype._convertPosition):
    20045 
    20046 2011-03-28  Nancy Piedra  <nancy.piedra@nokia.com>
    20047 
    20048         Reviewed by Csaba Osztrogonác.
    20049 
    20050         This patch fixes linking errors on Qt Webkit Windows MinGW builds.
    20051         This patch sets the BUILDING_WEBKIT & QT_MAKEDLL macros so that
    20052         QWEBKIT_EXPORT is defined as follows:
    20053         #define QWEBKIT_EXPORT Q_DECL_EXPORT
    20054 
    20055         No new tests needed since only changing .pro file.
    20056 
    20057         * WebCore.pro:
    20058 
    20059 2011-03-28  Andrey Adaikin  <aandrey@google.com>
    20060 
    20061         Reviewed by Yury Semikhatsky.
    20062 
    20063         Web Inspector: source frame should show the error to user when live edit is failed
    20064         https://bugs.webkit.org/show_bug.cgi?id=57002
    20065 
    20066         * inspector/front-end/ScriptsPanel.js:
    20067         (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.editScriptSource):
    20068         * inspector/front-end/SourceFrame.js:
    20069         (WebInspector.SourceFrame.prototype._handleSave.didSaveScriptSource):
    20070         (WebInspector.SourceFrame.prototype._handleSave):
    20071         (WebInspector.SourceFrameDelegate.prototype.editScriptSource):
    20072 
    20073 2011-03-26  Mario Sanchez Prada  <msanchez@igalia.com>
    20074 
    20075         Reviewed by Martin Robinson.
    20076 
    20077         [GTK] Expose the AtkValue interface for WAI-ARIA sliders
    20078         https://bugs.webkit.org/show_bug.cgi?id=56655
    20079 
    20080         Implement AtkValue interface for WAI-ARIA sliders.
    20081 
    20082         Test: platform/gtk/accessibility/aria-slider-required-attributes.html
    20083 
    20084         * accessibility/gtk/AXObjectCacheAtk.cpp:
    20085         (WebCore::AXObjectCache::postPlatformNotification): Emit the
    20086         'property-change::accessible-value' signal when needed.
    20087 
    20088         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
    20089         (core): New, returns a core object from an AtkValue.
    20090         (webkitAccessibleValueGetCurrentValue): New, implements AtkValue.
    20091         (webkitAccessibleValueGetMaximumValue): Ditto.
    20092         (webkitAccessibleValueGetMinimumValue): Ditto.
    20093         (webkitAccessibleValueSetCurrentValue): Ditto.
    20094         (webkitAccessibleValueGetMinimumIncrement): Ditto.
    20095         (atkValueInterfaceInit): Ditto.
    20096         (GetAtkInterfaceTypeFromWAIType): Add ATK_TYPE_VALUE.
    20097         (getInterfaceMaskFromObject): Set the WAI_VALUE bit for sliders.
    20098 
    20099 2011-03-28  Maciej Stachowiak  <mjs@apple.com>
    20100 
    20101         Reviewed by Dan Bernstein.
    20102 
    20103         Assigning location.path to something that doesn't start with / mangles the authority
    20104         https://bugs.webkit.org/show_bug.cgi?id=57209
    20105         <rdar://problem/9195132>
    20106        
    20107         Tests: http/tests/uri/assign-path-with-leading-slash.html
    20108                http/tests/uri/assign-path-without-leading-slash.html
    20109 
    20110         * platform/KURL.cpp:
    20111         (WebCore::KURL::setPath): If the new path does not have a leading slash, add one.
    20112 
    20113 2011-03-28  Ryosuke Niwa  <rniwa@webkit.org>
    20114 
    20115         Reviewed by Eric Seidel.
    20116 
    20117         Extract functions to update logical width from computeInlineDirectionPositionsForLine
    20118         https://bugs.webkit.org/show_bug.cgi?id=57213
    20119 
    20120         Extracted updateLogicalWidthForLeftAlignedBlock, updateLogicalWidthForRightAlignedBlock,
    20121         and updateLogicalWidthForCenterAlignedBlock from computeInlineDirectionPositionsForLine.
    20122 
    20123         They are used to update logical widths, logical left, and total logical width for left,
    20124         right, and center aligned blocks.
    20125 
    20126         * rendering/RenderBlockLineLayout.cpp:
    20127         (WebCore::updateLogicalWidthForLeftAlignedBlock):
    20128         (WebCore::updateLogicalWidthForRightAlignedBlock):
    20129         (WebCore::updateLogicalWidthForCenterAlignedBlock):
    20130         (WebCore::RenderBlock::computeInlineDirectionPositionsForLine):
    20131 
    20132 2011-03-28  Evan Martin  <evan@chromium.org>
    20133 
    20134         Reviewed by Ryosuke Niwa.
    20135 
    20136         Refactor duplicate code in HTMLTextElement
    20137         https://bugs.webkit.org/show_bug.cgi?id=57215
    20138 
    20139         * html/HTMLTitleElement.cpp:
    20140         (WebCore::HTMLTitleElement::childrenChanged):
    20141         This method did an equivalent loop to the text() method on
    20142         the same object.
    20143 
    20144 2011-03-27  Fumitoshi Ukai  <ukai@chromium.org>
    20145 
    20146         Reviewed by Alexey Proskuryakov.
    20147 
    20148         Don't call WebSocket::didClose() more than once.
    20149         https://bugs.webkit.org/show_bug.cgi?id=57081
    20150 
    20151         If WebSocket close() is called, and connection is established, then
    20152         it will call didClose() that resets m_channel to 0.
    20153         After that, when connection is closed, WebSocketChannel will call
    20154         didClose for the WebSocket instance.
    20155 
    20156         Call WebSocketChannel::disconnect() before m_channel = 0 to make sure
    20157         WebSocketChannel suppress the second didClose().
    20158 
    20159         Test: http/tests/websocket/tests/close-unref-websocket.html
    20160 
    20161         * websockets/WebSocket.cpp:
    20162         (WebCore::WebSocket::didClose):
    20163 
    20164 2011-03-27  Adam Barth  <abarth@webkit.org>
    20165 
    20166         Reviewed by Eric Seidel.
    20167 
    20168         Fix script-src redirect handling
    20169         https://bugs.webkit.org/show_bug.cgi?id=57196
    20170 
    20171         Resource-loading requirements in CSP apply to each hop in the redirect
    20172         chain.  To make that work properly, we need to move enforcement into
    20173         the loader.  Fortunately, we already have a choke-point in the loader
    20174         for enforcing this kind of policy.
    20175 
    20176         * dom/ScriptElement.cpp:
    20177         (WebCore::ScriptElement::requestScript):
    20178         * html/parser/HTMLDocumentParser.cpp:
    20179         * html/parser/HTMLDocumentParser.h:
    20180         * html/parser/HTMLScriptRunnerHost.h:
    20181         * loader/cache/CachedResourceLoader.cpp:
    20182         (WebCore::CachedResourceLoader::canRequest):
    20183         * page/ContentSecurityPolicy.cpp:
    20184         (WebCore::ContentSecurityPolicy::allowScriptFromSource):
    20185         * page/ContentSecurityPolicy.h:
    20186 
    20187 2011-03-27  Jer Noble  <jer.noble@apple.com>
    20188 
    20189         Reviewed by Maciej Stachowiak.
    20190 
    20191         Full Screen: disable keyboard access by default
    20192         https://bugs.webkit.org/show_bug.cgi?id=56684
    20193 
    20194         Pass whether keyboard access was requested up to ChromeClient when asking
    20195         if fullscreen mode is supported.
    20196 
    20197         * dom/Document.cpp:
    20198         (WebCore::Document::webkitRequestFullScreenForElement):
    20199         * page/ChromeClient.h:
    20200         (WebCore::ChromeClient::supportsFullscreenForElement):
    20201 
    20202 2011-03-27  Patrick Gansterer  <paroga@webkit.org>
    20203 
    20204         Reviewed by Andreas Kling.
    20205 
    20206         [CMake] Generate WebKitVersion.h
    20207         https://bugs.webkit.org/show_bug.cgi?id=57128
    20208 
    20209         This file will be used for the user agent string by the CMake based ports.
    20210 
    20211         * CMakeLists.txt:
    20212 
    20213 2011-03-27  Ben Taylor  <bentaylor.solx86@gmail.com>
    20214 
    20215         Reviewed by Alexey Proskuryakov.
    20216 
    20217         https://bugs.webkit.org/show_bug.cgi?id=57170  Fix last elements
    20218         in an enum to remove a trailing comma. Sun Studio 12 CC errors out.
    20219 
    20220         Compile fix only, no actual code change.
    20221 
    20222         * dom/ExceptionCode.h:
    20223         * editing/EditorInsertAction.h:
    20224         * loader/FrameLoaderTypes.h:
    20225         * platform/PlatformKeyboardEvent.h:
    20226         * platform/ScrollTypes.h:
    20227         * platform/graphics/BitmapImage.h:
    20228         * platform/image-decoders/ImageDecoder.h:
    20229         * platform/network/ProtectionSpace.h:
    20230         * platform/network/ResourceHandleClient.h:
    20231         * platform/network/ResourceRequestBase.h:
    20232         * platform/text/TextCodec.h:
    20233 
    20234 2011-03-27  Rob Buis  <rwlbuis@gmail.com>
    20235 
    20236         Reviewed by Nikolas Zimmermann.
    20237 
    20238         Text on path positioning at zero startOffset
    20239         https://bugs.webkit.org/show_bug.cgi?id=56245
    20240 
    20241         Since for length 0 no previous point is set, choose epsilon
    20242         length to get normal at starting point of the path.
    20243 
    20244         Test: svg/text/text-path-middle-align.svg
    20245 
    20246         * platform/graphics/Path.cpp:
    20247         (WebCore::Path::normalAngleAtLength):
    20248 
    20249 2011-03-27  Ben Taylor  <bentaylor.solx86@gmail.com>
    20250 
    20251         Reviewed by Oliver Hunt.
    20252 
    20253         https://bugs.webkit.org/show_bug.cgi?id=57151, patch derived from set
    20254         created by Thiago Macieria in bug https://bugs.webkit.org/show_bug.cgi?id=24932
    20255 
    20256         Fix compile issue on Solaris 10/Sun Studio 12 regarding ambiguity on ?: functions
    20257 
    20258         * bindings/js/JSJavaScriptCallFrameCustom.cpp:
    20259         (WebCore::JSJavaScriptCallFrame::thisObject):
    20260 
    20261 2011-03-26  Jer Noble  <jer.noble@apple.com>
    20262 
    20263         Unreviewed build fix.
    20264 
    20265         Fix a bug which was causing the "skip back" button to be missing, causing
    20266         the media layout tests to fail.
    20267 
    20268         * rendering/RenderThemeMac.mm:
    20269         (WebCore::RenderThemeMac::shouldRenderMediaControlPart):
    20270 
    20271 2011-03-26  Dan Bernstein  <mitz@apple.com>
    20272 
    20273         Reviewed by Maciej Stachowiak.
    20274 
    20275         <rdar://problem/9180716> REGRESSION (r80582): Angle bracket rendered upright in vertical mode
    20276         https://bugs.webkit.org/show_bug.cgi?id=57169
    20277 
    20278         Test: fast/blockflow/fallback-orientation.html
    20279 
    20280         * platform/graphics/FontFastPath.cpp:
    20281         (WebCore::Font::glyphDataForCharacter): If the font has vertical glyphs, use it, rather
    20282         than continuing down the fallback list.
    20283 
    20284 2011-03-26  Maciej Stachowiak  <mjs@apple.com>
    20285 
    20286         Reviewed by Darin Adler.
    20287 
    20288         Follow-up fix for crash with giant inline stylesheets - actually don't crash, and add test
    20289         https://bugs.webkit.org/show_bug.cgi?id=56150
    20290 
    20291         Test: fast/css/giant-stylesheet-crash.html
    20292 
    20293         * dom/StyleElement.cpp:
    20294         (WebCore::StyleElement::process):
    20295 
    20296 2011-03-22  Jer Noble  <jer.noble@apple.com>
    20297 
    20298         Reviewed by Eric Carlson.
    20299 
    20300         Media controls must use full screen style when in new full screen mode.
    20301         https://bugs.webkit.org/show_bug.cgi?id=56851
    20302 
    20303         Add new full screen styles for the full screen media elements.
    20304 
    20305         * DerivedSources.make: Add fullScreenQuickTime.css.
    20306         * WebCore.xcodeproj/project.pbxproj: Ditto.
    20307         * css/CSSStyleSelector.cpp: Removed loadFullScreenRulesIfNeeded().
    20308         (WebCore::CSSStyleSelector::CSSStyleSelector): Ditto.
    20309         (WebCore::CSSStyleSelector::styleForElement): Load full screen rules
    20310             if needed.
    20311         * css/fullscreenQuickTime.css: Added.
    20312         * css/mediaControls.css:
    20313         * html/shadow/MediaControls.cpp:
    20314         (WebCore::isFullScreen): Added.
    20315         (WebCore::MediaControls::create): Add new full screen volume controls.
    20316         (WebCore::MediaControls::updateStyle): Ditto.
    20317         (WebCore::MediaControls::update): Ditto.
    20318         (WebCore::MediaControls::updateVolumeSliderContainer): Ditto.
    20319         (WebCore::MediaControls::forwardEvent): Ditto.
    20320         * rendering/MediaControlElements.cpp:
    20321         (WebCore::MediaControlFullscreenVolumeSliderElement::MediaControlFullscreenVolumeSliderElement): Added.
    20322         (WebCore::MediaControlFullscreenVolumeSliderElement::create): Added.
    20323         (WebCore::MediaControlFullscreenVolumeSliderElement::shadowPseudoId): Added.
    20324         (WebCore::MediaControlFullscreenVolumeMinButtonElement::MediaControlFullscreenVolumeMinButtonElement): Addet
    20325         (WebCore::MediaControlFullscreenVolumeMinButtonElement::create): Added.
    20326         (WebCore::MediaControlFullscreenVolumeMinButtonElement::defaultEventHandler): Added.
    20327         (WebCore::MediaControlFullscreenVolumeMinButtonElement::shadowPseudoId): Added.
    20328         (WebCore::MediaControlFullscreenVolumeMaxButtonElement::MediaControlFullscreenVolumeMaxButtonElement): Added.
    20329         (WebCore::MediaControlFullscreenVolumeMaxButtonElement::create): Added.
    20330         (WebCore::MediaControlFullscreenVolumeMaxButtonElement::defaultEventHandler): Added.
    20331         (WebCore::MediaControlFullscreenVolumeMaxButtonElement::shadowPseudoId): Added.
    20332         * rendering/MediaControlElements.h:
    20333             Added m_overridePosition.
    20334         (WebCore::MediaControlVolumeSliderContainerElement::setOverridesPosition): Added.
    20335         * rendering/MediaControlElements.h:
    20336         (WebCore::MediaControlVolumeSliderContainerElement::overridesPosition): Added.
    20337         * rendering/RenderTheme.h:
    20338         (WebCore::RenderTheme::extraFullScreenStyleSheet): Added.
    20339         * rendering/RenderThemeMac.h:
    20340         * rendering/RenderThemeMac.mm:
    20341         (WebCore::RenderThemeMac::extraFullScreenStyleSheet): Added.
    20342         (WebCore::RenderThemeMac::shouldRenderMediaControlPart): Render seek forward and backward
    20343             buttons.
    20344 
    20345 2011-03-26  Jer Noble  <jer.noble@apple.com>
    20346 
    20347         Reviewed by Dan Bernstein.
    20348 
    20349         RenderMedia should obey the view's flattening bit.
    20350         https://bugs.webkit.org/show_bug.cgi?id=57156
    20351 
    20352         Paint the current frame in software when the associated FrameView
    20353         has its flattening bit set.
    20354 
    20355         * rendering/RenderVideo.cpp:
    20356         (WebCore::RenderVideo::paintReplaced):
    20357 
    20358 2011-03-26  Patrick Gansterer  <paroga@webkit.org>
    20359 
    20360         Unreviewed build fix for !ENABLE(DOM_STORAGE).
    20361 
    20362         * storage/StorageTracker.cpp:
    20363             Added #if ENABLE(DOM_STORAGE) like in the other storage files.
    20364 
    20365 2011-03-26  Kwang Yul Seo  <skyul@company100.net>
    20366 
    20367         Reviewed by Benjamin Poulain.
    20368 
    20369         [Qt] Remove GraphicsLayerTextureMapper::nativeLayer
    20370         https://bugs.webkit.org/show_bug.cgi?id=57141
    20371 
    20372         GraphicsLayer::nativeLayer was removed in r73380.
    20373 
    20374         * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
    20375         * platform/graphics/texmap/GraphicsLayerTextureMapper.h:
    20376 
    20377 2011-03-26  Adam Barth  <abarth@webkit.org>
    20378 
    20379         Reviewed by Eric Seidel.
    20380 
    20381         Teach Content Security Policy how to parse source-list
    20382         https://bugs.webkit.org/show_bug.cgi?id=54799
    20383 
    20384         This patch is larger than I would like, but I wasn't sure how to make
    20385         it any smaller while still being reasonably testable.  I've left out
    20386         some features (such as host wildcarding and 'self') so I can add them
    20387         in later patches with tests.
    20388 
    20389         Test: http/tests/security/contentSecurityPolicy/source-list-parsing.html
    20390 
    20391         * bindings/ScriptControllerBase.cpp:
    20392         * dom/ScriptElement.cpp:
    20393         * html/parser/HTMLDocumentParser.cpp:
    20394         * loader/FrameLoader.cpp:
    20395             - Add include explicitly now that we're not spamming the include
    20396               everywhere.
    20397         * dom/Document.cpp:
    20398         (WebCore::Document::initSecurityContext):
    20399             - We need to pass the SecurityOrigin object to
    20400               ContentSecurityPolicy so that it can resolve implicit parts of
    20401               source patterns, such as the scheme.
    20402         * dom/Document.h:
    20403             - Forward declare ContentSecurityPolicy rather than including the
    20404               header.  Technically this could be a separate change, but I was
    20405               getting annoyed at the world re-builds.
    20406         * page/ContentSecurityPolicy.cpp:
    20407         (WebCore::skipExactly):
    20408         (WebCore::skipUtil):
    20409         (WebCore::skipWhile):
    20410             - Clean up these parser helper functions.  We might consider moving
    20411               them to a more general location.  They're very helpful for
    20412               writing secure HTTP header parsers.
    20413         (WebCore::CSPSource::CSPSource):
    20414             - New class to represent one source in a source-list.
    20415         (WebCore::CSPSource::matches):
    20416         (WebCore::CSPSource::schemeMatches):
    20417         (WebCore::CSPSource::hostMatches):
    20418         (WebCore::CSPSource::portMatches):
    20419         (WebCore::CSPSource::isSchemeOnly):
    20420             - Currently we represent scheme-only sources using with an empty
    20421               m_host.  Another approach I considered was using another bool,
    20422               but that seemed slighly messier.
    20423         (WebCore::CSPSourceList::CSPSourceList):
    20424             - CSPSourceList doesn't need to ref SecurityOrigin because
    20425               CSPSourceList is owned by ContentSecurityPolicy, which holds a
    20426               ref.
    20427         (WebCore::CSPSourceList::parse):
    20428         (WebCore::CSPSourceList::matches):
    20429         (WebCore::CSPSourceList::parseSource):
    20430         (WebCore::CSPSourceList::parseScheme):
    20431         (WebCore::CSPSourceList::parseHost):
    20432         (WebCore::CSPSourceList::parsePort):
    20433             - A basic "segment and recurse" parser.  This parser causes us to
    20434               take more branches than we need, but I don't think we need to
    20435               squeeze every last ouch of performance out of this parser.  This
    20436               approach is more simple than some of the other approaches I
    20437               tried.
    20438         (WebCore::CSPSourceList::addSourceSelf):
    20439         (WebCore::CSPDirective::CSPDirective):
    20440         (WebCore::CSPDirective::allows):
    20441         (WebCore::ContentSecurityPolicy::ContentSecurityPolicy):
    20442         (WebCore::ContentSecurityPolicy::parse):
    20443         (WebCore::ContentSecurityPolicy::parseDirective):
    20444         (WebCore::ContentSecurityPolicy::addDirective):
    20445             - I couldn't resist re-writing this parser to use the helper
    20446               functions and to match the style of the source-list parser.
    20447         * page/ContentSecurityPolicy.h:
    20448         (WebCore::ContentSecurityPolicy::create):
    20449             - Accept a SecurityOrigin context object.
    20450 
    20451 2011-03-26  Patrick Gansterer  <paroga@webkit.org>
    20452 
    20453         Unreviewed EFL and WinCE build fix for r81977.
    20454 
    20455         * platform/graphics/FontPlatformData.h:
    20456 
    20457 2011-03-26  Patrick Gansterer  <paroga@webkit.org>
    20458 
    20459         Unreviewed WinCE build fix for r82000.
    20460 
    20461         * platform/wince/FileSystemWinCE.cpp:
    20462         (WebCore::openFile): Added missing function.
    20463 
    20464 2011-03-25  Kevin Ollivier  <kevino@theolliviers.com>
    20465 
    20466         [wx] Build fix, don't use the new FPD implementation yet, until we can merge ours with it.
    20467 
    20468         * platform/graphics/FontPlatformData.h:
    20469 
    20470 2011-03-25  Jer Noble  <jer.noble@apple.com>
    20471 
    20472         Reviewed by Eric Carlson.
    20473 
    20474         MediaPlayerPrivateQuickTimeVisualContext should use the Application Cache during load.
    20475         https://bugs.webkit.org/show_bug.cgi?id=57047
    20476 
    20477         No new tests.
    20478        
    20479         When loading a URL, checkk osee if the Appplication Cache has a version of that URL
    20480         stored; if so, use the local path to that cached media instead of the remote URL.
    20481 
    20482         * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
    20483         (WebCore::MediaPlayerPrivateQuickTimeVisualContext::loadInternal):
    20484         * platform/graphics/win/QTMovie.cpp:
    20485         (QTMovie::loadPath):
    20486         * platform/graphics/win/QTMovie.h:
    20487 
    20488 2011-03-25  Dan Bernstein  <mitz@apple.com>
    20489 
    20490         Reviewed by Darin Adler.
    20491 
    20492         <rdar://problem/9134330> Missing expansion before ideograph at the beginning or end of a text run
    20493         https://bugs.webkit.org/show_bug.cgi?id=57106
    20494 
    20495         Test: fast/text/justify-ideograph-leading-expansion.html
    20496 
    20497         * platform/graphics/TextRun.h:
    20498         Replaced TrailingExpansionBehavior enum with ExpansionBehavior flags.
    20499         (WebCore::TextRun::TextRun): Constructors now take an expansionBehavior parameter.
    20500         (WebCore::TextRun::allowsLeadingExpansion): Added this accessor.
    20501         (WebCore::TextRun::allowsTrailingExpansion): Changed to use the m_expansionBehavior member.
    20502         * platform/graphics/WidthIterator.cpp:
    20503         (WebCore::WidthIterator::WidthIterator): Initialize m_isAfterExpansion from the TextRun, allowing
    20504         leading expansion when appropriate.
    20505         (WebCore::WidthIterator::advance): Moved the last-glyph-in-run check to only apply to expansion
    20506         after the glyph, not expansion before the glyph, since that is not trailing expansion. Added code
    20507         to handle expansion before the first glyph.
    20508         * platform/graphics/mac/ComplexTextController.cpp:
    20509         (WebCore::ComplexTextController::ComplexTextController): Initialize m_afterExpansion from the
    20510         TextRun, allowing leading expansion when appropriate. Set m_runWidthSoFar to the leading expansion.
    20511         (WebCore::ComplexTextController::offsetForPosition): Account for leading expansion.
    20512         (WebCore::ComplexTextController::adjustGlyphsAndAdvances): Similar to WidthIterator::advance()
    20513         * platform/graphics/mac/ComplexTextController.h: Added m_leadingExpansion member variable.
    20514         * rendering/InlineBox.h:
    20515         (WebCore::InlineBox::InlineBox): Renamed m_hasSelectedChildren to m_hasSelectedChildrenOrCanHaveLeadingExpansion
    20516         to reflect the use of this bit by InlineTextBox.
    20517         * rendering/InlineTextBox.cpp:
    20518         (WebCore::InlineTextBox::selectionRect): Replaced calls to trailingExpansionBehavior() with expansionBehavior().
    20519         (WebCore::InlineTextBox::paint): Ditto.
    20520         (WebCore::InlineTextBox::paintSelection): Ditto.
    20521         (WebCore::InlineTextBox::paintCompositionBackground): Ditto.
    20522         (WebCore::InlineTextBox::paintSpellingOrGrammarMarker): Ditto.
    20523         (WebCore::InlineTextBox::paintTextMatchMarker): Ditto.
    20524         (WebCore::InlineTextBox::computeRectForReplacementMarker): Ditto.
    20525         (WebCore::InlineTextBox::offsetForPosition): Ditto.
    20526         (WebCore::InlineTextBox::positionForOffset): Ditto.
    20527         * rendering/InlineTextBox.h:
    20528         (WebCore::InlineTextBox::canHaveLeadingExpansion): Added this accessor.
    20529         (WebCore::InlineTextBox::setCanHaveLeadingExpansion): Ditto.
    20530         (WebCore::InlineTextBox::expansionBehavior): Replaced trailingExpansionBehavior() with this function,
    20531         which also considers canHaveLeadingExpansion().
    20532         * rendering/RenderBlockLineLayout.cpp:
    20533         (WebCore::RenderBlock::computeInlineDirectionPositionsForLine): Call setCanHaveLeadingExpansion() on
    20534         text boxes that can have leading expansion. Avoid negative expansion.
    20535         * rendering/RootInlineBox.cpp:
    20536         * rendering/RootInlineBox.h:
    20537         (WebCore::RootInlineBox::hasSelectedChildren): Updated for renaming of the flag.
    20538         (WebCore::RootInlineBox::setHasSelectedChildren): Ditto.
    20539 
    20540 2011-03-23  Jer Noble  <jer.noble@apple.com>
    20541 
    20542         Reviewed by Maciej Stachowiak.
    20543 
    20544         MediaPlayerPrivateAVFoundation should use the Application Cache during load.
    20545         https://bugs.webkit.org/show_bug.cgi?id=56997
    20546 
    20547         No new tests.
    20548 
    20549         When loading a URL, check to see if the Application Cache has a version of that URL
    20550         stored; if so, use the local path to that cached media instead of the remote URL.
    20551 
    20552         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
    20553         (WebCore::MediaPlayerPrivateAVFoundation::prepareToPlay): Check to see if the media should be loaded
    20554             from the application cache.
    20555         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
    20556         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.h:
    20557         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm:
    20558         (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayerForURL):
    20559         (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayerForCacheResource): Added.
    20560         (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayer): Split out from createAVPlayerForURL.
    20561 
    20562 2011-03-25  Ben Taylor  <bentaylor.solx86@gmail.com>
    20563 
    20564         Reviewed by Darin Adler.
    20565 
    20566         https://bugs.webkit.org/show_bug.cgi?id=57122. Solaris 10/SunStudio 12 expect
    20567         both sides of a ?: operation to have the same types.  Extracted from original
    20568         https://bugs.webkit.org/show_bug.cgi?id=24932, patch 13 of 17, and originally
    20569         created by Thiago Macieira.
    20570 
    20571         fixes a compile issue on Solaris 10/SunStudio 12
    20572 
    20573         * loader/DocumentLoader.h:
    20574         (WebCore::DocumentLoader::serverRedirectSourceForHistory):
    20575         * loader/FrameLoader.cpp:
    20576         (WebCore::FrameLoader::load):
    20577         (WebCore::FrameLoader::loadWithNavigationAction):
    20578 
    20579 2011-02-03  Jer Noble  <jer.noble@apple.com>
    20580 
    20581         Reviewed by Maciej Stachowiak.
    20582 
    20583         MediaPlayerPrivateQTKit should use the Application Cache during load.       
    20584         https://bugs.webkit.org/show_bug.cgi?id=53818
    20585 
    20586         No new tests.
    20587 
    20588         When loading a URL, check to see if the Application Cache has a version of that URL
    20589         stored; if so, use that data instead of the remote URL.
    20590 
    20591         * platform/graphics/mac/MediaPlayerPrivateQTKit.h:
    20592         * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
    20593         (WebCore::MediaPlayerPrivateQTKit::commonMovieAttributes):
    20594         (WebCore::MediaPlayerPrivateQTKit::createQTMovie):
    20595         (WebCore::MediaPlayerPrivateQTKit::loadInternal):
    20596 
    20597 2011-03-25  James Robinson  <jamesr@chromium.org>
    20598 
    20599         Reviewed by Kenneth Russell.
    20600 
    20601         [chromium] Move draw implementations to CCLayerImpl for everything except content layers
    20602         https://bugs.webkit.org/show_bug.cgi?id=56793
    20603 
    20604         Moves the implementation of the layer's draw() function from LayerChromium subclasses to CCLayerImpl subclasses for
    20605         all layer types except content layers.  This gets us closer to decoupling the composite step itself from updating the layers.
    20606 
    20607         The biggest change in this patch is adding a set of CCLayerImpl subclasses to implement the different drawing routines
    20608         and moving the code from each XXXLayerChromium to CCXXXLayerImpl.  In order to render from the CCLayerImpl side all state
    20609         needed at draw time also has to be synchronized, which is performed in pushPropertiesTo().
    20610 
    20611         On the LayerRendererChromium side there are a few changes.  I've split the updateContents calls on LayerChromiums into two operations
    20612         tentatively named 'paintContentsIfNeeded' and 'updateCompositorResources'.  paintContents() is used for any code that calls into WebKit in order to generate
    20613         new pixel data.  It's expected that this call may take a long period of time and may involve "odd" side effects.  updateCompositorResources() is used for
    20614         code that needs to update the compositor's texture data or other state.  It is not expected that this callback will take long (since it's just inserting
    20615         commands into the GL command stream, ideally) and this call is expected to have access to the compositor's context, unlike paintContents().
    20616 
    20617         The updateAndDrawLayers cycle now looks like this:
    20618         1.) update the root content layer
    20619         2.) update the root layer scrollbars
    20620         3.) for each LayerChromium in tree order:
    20621           a.) ensure a CCLayerImpl of the correct type exists for this layer
    20622           b.) push all draw time properties from the LayerChromium to the CCLayerImpl
    20623           c.) construct the appropriate draw transforms, render surfaces and render surface z-order sublayer lists
    20624         4.) for each LayerChromium in tree order, paint the layer's contents
    20625         5.) for each LayerChromium in tree order, update the associate compositor resources (textures, etc)
    20626         6.) draw the root layer and its scrollbars
    20627         7.) for each CCLayerImpl in render surface order, draw it
    20628 
    20629         Step 3 should really happen after step 5, but right now painting a content layer requires knowledge of the render surface properties and draw transforms
    20630         in order to paint.  We also currently push layer properties from LayerChromium->CCLayerImpls twice now - once at 3.b and once after 5 so we can pick
    20631         up any texture updates.  This will also get fixed when the paint dependency on render surfaces is resolved.
    20632 
    20633         I haven't modified the root layer or content layers in order to minimize conflicts with the other pending work in that area.
    20634 
    20635         Tests: compositing/
    20636 
    20637         * WebCore.gypi:
    20638         * platform/graphics/chromium/Canvas2DLayerChromium.cpp:
    20639         (WebCore::Canvas2DLayerChromium::updateCompositorResources):
    20640         * platform/graphics/chromium/Canvas2DLayerChromium.h:
    20641         * platform/graphics/chromium/CanvasLayerChromium.cpp:
    20642         (WebCore::CanvasLayerChromium::createCCLayerImpl):
    20643         (WebCore::CanvasLayerChromium::pushPropertiesTo):
    20644         * platform/graphics/chromium/CanvasLayerChromium.h:
    20645         * platform/graphics/chromium/ContentLayerChromium.cpp:
    20646         (WebCore::ContentLayerChromium::requiresClippedUpdateRect):
    20647         (WebCore::ContentLayerChromium::paintContentsIfDirty):
    20648         (WebCore::ContentLayerChromium::updateCompositorResources):
    20649         (WebCore::ContentLayerChromium::bindContentsTexture):
    20650         * platform/graphics/chromium/ContentLayerChromium.h:
    20651         * platform/graphics/chromium/ImageLayerChromium.cpp:
    20652         (WebCore::ImageLayerChromium::paintContentsIfDirty):
    20653         * platform/graphics/chromium/ImageLayerChromium.h:
    20654         * platform/graphics/chromium/LayerChromium.cpp:
    20655         (WebCore::LayerChromium::LayerChromium):
    20656         (WebCore::LayerChromium::cleanupResources):
    20657         (WebCore::LayerChromium::setLayerRenderer):
    20658         (WebCore::LayerChromium::setName):
    20659         (WebCore::LayerChromium::pushPropertiesTo):
    20660         (WebCore::LayerChromium::dumpLayer):
    20661         (WebCore::LayerChromium::createCCLayerImpl):
    20662         (WebCore::LayerChromium::createCCLayerImplIfNeeded):
    20663         (WebCore::LayerChromium::ccLayerImpl):
    20664         (WebCore::LayerChromium::layerRenderer):
    20665         * platform/graphics/chromium/LayerChromium.h:
    20666         (WebCore::LayerChromium::paintContentsIfDirty):
    20667         (WebCore::LayerChromium::updateCompositorResources):
    20668         * platform/graphics/chromium/LayerRendererChromium.cpp:
    20669         (WebCore::LayerRendererChromium::updateLayers):
    20670         (WebCore::LayerRendererChromium::updatePropertiesAndRenderSurfaces):
    20671         (WebCore::LayerRendererChromium::paintContentsRecursive):
    20672         (WebCore::LayerRendererChromium::updateCompositorResourcesRecursive):
    20673         (WebCore::LayerRendererChromium::drawLayer):
    20674         (WebCore::LayerRendererChromium::initializeSharedObjects):
    20675         * platform/graphics/chromium/LayerRendererChromium.h:
    20676         (WebCore::LayerRendererChromium::canvasLayerProgram):
    20677         (WebCore::LayerRendererChromium::pluginLayerProgram):
    20678         (WebCore::LayerRendererChromium::videoLayerRGBAProgram):
    20679         (WebCore::LayerRendererChromium::videoLayerYUVProgram):
    20680         * platform/graphics/chromium/PluginLayerChromium.cpp:
    20681         (WebCore::PluginLayerChromium::createCCLayerImpl):
    20682         (WebCore::PluginLayerChromium::setTextureId):
    20683         (WebCore::PluginLayerChromium::pushPropertiesTo):
    20684         * platform/graphics/chromium/PluginLayerChromium.h:
    20685         (WebCore::PluginLayerChromium::textureId):
    20686         * platform/graphics/chromium/VideoLayerChromium.cpp:
    20687         (WebCore::VideoLayerChromium::createCCLayerImpl):
    20688         (WebCore::VideoLayerChromium::updateCompositorResources):
    20689         (WebCore::VideoLayerChromium::pushPropertiesTo):
    20690         * platform/graphics/chromium/VideoLayerChromium.h:
    20691         * platform/graphics/chromium/WebGLLayerChromium.cpp:
    20692         (WebCore::WebGLLayerChromium::updateCompositorResources):
    20693         * platform/graphics/chromium/WebGLLayerChromium.h:
    20694         * platform/graphics/chromium/cc/CCCanvasLayerImpl.cpp: Copied from Source/WebCore/platform/graphics/chromium/PluginLayerChromium.cpp.
    20695         (WebCore::CCCanvasLayerImpl::CCCanvasLayerImpl):
    20696         (WebCore::CCCanvasLayerImpl::~CCCanvasLayerImpl):
    20697         (WebCore::CCCanvasLayerImpl::draw):
    20698         (WebCore::CCCanvasLayerImpl::dumpLayerProperties):
    20699         * platform/graphics/chromium/cc/CCCanvasLayerImpl.h: Copied from Source/WebCore/platform/graphics/chromium/PluginLayerChromium.h.
    20700         (WebCore::CCCanvasLayerImpl::create):
    20701         (WebCore::CCCanvasLayerImpl::setTextureId):
    20702         (WebCore::CCCanvasLayerImpl::setPremultipliedAlpha):
    20703         * platform/graphics/chromium/cc/CCLayerImpl.cpp:
    20704         (WebCore::CCLayerImpl::descendantsDrawsContent):
    20705         (WebCore::CCLayerImpl::updateCompositorResources):
    20706         (WebCore::CCLayerImpl::writeIndent):
    20707         * platform/graphics/chromium/cc/CCLayerImpl.h:
    20708         (WebCore::CCLayerImpl::setAnchorPoint):
    20709         (WebCore::CCLayerImpl::setAnchorPointZ):
    20710         (WebCore::CCLayerImpl::setMasksToBounds):
    20711         (WebCore::CCLayerImpl::setOpacity):
    20712         (WebCore::CCLayerImpl::setPosition):
    20713         (WebCore::CCLayerImpl::setPreserves3D):
    20714         (WebCore::CCLayerImpl::setSublayerTransform):
    20715         (WebCore::CCLayerImpl::setTransform):
    20716         * platform/graphics/chromium/cc/CCPluginLayerImpl.cpp: Copied from Source/WebCore/platform/graphics/chromium/PluginLayerChromium.cpp.
    20717         (WebCore::CCPluginLayerImpl::CCPluginLayerImpl):
    20718         (WebCore::CCPluginLayerImpl::~CCPluginLayerImpl):
    20719         (WebCore::CCPluginLayerImpl::draw):
    20720         (WebCore::CCPluginLayerImpl::dumpLayerProperties):
    20721         * platform/graphics/chromium/cc/CCPluginLayerImpl.h: Copied from Source/WebCore/platform/graphics/chromium/PluginLayerChromium.h.
    20722         (WebCore::CCPluginLayerImpl::create):
    20723         (WebCore::CCPluginLayerImpl::setTextureId):
    20724         * platform/graphics/chromium/cc/CCVideoLayerImpl.cpp: Added.
    20725         (WebCore::CCVideoLayerImpl::CCVideoLayerImpl):
    20726         (WebCore::CCVideoLayerImpl::~CCVideoLayerImpl):
    20727         (WebCore::CCVideoLayerImpl::setTexture):
    20728         (WebCore::CCVideoLayerImpl::draw):
    20729         (WebCore::CCVideoLayerImpl::drawYUV):
    20730         (WebCore::CCVideoLayerImpl::drawRGBA):
    20731         (WebCore::CCVideoLayerImpl::dumpLayerProperties):
    20732         * platform/graphics/chromium/cc/CCVideoLayerImpl.h: Copied from Source/WebCore/platform/graphics/chromium/PluginLayerChromium.h.
    20733         (WebCore::CCVideoLayerImpl::create):
    20734         (WebCore::CCVideoLayerImpl::setSkipsDraw):
    20735         (WebCore::CCVideoLayerImpl::setFrameFormat):
    20736 
    20737 2011-03-25  Oliver Hunt  <oliver@apple.com>
    20738 
    20739         Reviewed by Darin Adler.
    20740 
    20741         Allow defineOwnProperty to work on DOMObjects
    20742         https://bugs.webkit.org/show_bug.cgi?id=57129
    20743 
    20744         As other engines are allowing defineOwnProperty to be applied
    20745         to host objects there's no reason for us to retain this
    20746         restriction.
    20747 
    20748         * bindings/js/JSDOMWrapper.cpp:
    20749         * bindings/js/JSDOMWrapper.h:
    20750 
    20751 2011-03-25  Andy Estes  <aestes@apple.com>
    20752 
    20753         Reviewed by Adele Peterson.
    20754 
    20755         REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
    20756         https://bugs.webkit.org/show_bug.cgi?id=49016
    20757 
    20758         AC_QuickTime.js uses the common <object>/<embed> paradigm to embed the
    20759         QuickTime plug-in in web pages. r70748 removed our mapping of classids
    20760         to MIME types, which causes WebKit to fall back from the object to the
    20761         embed tag when QuickTime is embedded by this script. The script emits
    20762         the following embed tag to embed a QuickTime movie with a poster frame:
    20763 
    20764         <embed src="poster-frame.png" target="quicktimeplayer" href="movie.mov">
    20765 
    20766         The expectation is that a QuickTime plug-in is instantiated to display the
    20767         poster frame, since QuickTime registers for many common image MIME
    20768         types. This is how Gecko behaves for embed. However, WebKit prefers to
    20769         use its native image rendering for image embeds, in which case no movie
    20770         is played when the poster frame is clicked.
    20771 
    20772         Fix this by changing embed to check for a plug-in that can handle the
    20773         image type before rendering the image natively. This matches Gecko.
    20774 
    20775         Test: plugins/embed-prefers-plugins-for-images.html
    20776 
    20777         * html/HTMLEmbedElement.cpp:
    20778         (WebCore::HTMLEmbedElement::HTMLEmbedElement):
    20779         * html/HTMLObjectElement.cpp:
    20780         (WebCore::HTMLObjectElement::HTMLObjectElement):
    20781         (WebCore::HTMLObjectElement::parametersForPlugin):
    20782         * html/HTMLPlugInImageElement.cpp:
    20783         (WebCore::HTMLPlugInImageElement::HTMLPlugInImageElement):
    20784         (WebCore::HTMLPlugInImageElement::isImageType):
    20785         (WebCore::HTMLPlugInImageElement::wouldLoadAsNetscapePlugin):
    20786         * html/HTMLPlugInImageElement.h:
    20787         (WebCore::HTMLPlugInImageElement::shouldPreferPlugInsForImages):
    20788         * loader/EmptyClients.h:
    20789         (WebCore::EmptyFrameLoaderClient::objectContentType):
    20790         * loader/FrameLoader.cpp:
    20791         (WebCore::FrameLoader::defaultObjectContentType):
    20792         * loader/FrameLoader.h:
    20793         * loader/FrameLoaderClient.h:
    20794         * loader/SubframeLoader.cpp:
    20795         (WebCore::SubframeLoader::resourceWillUsePlugin):
    20796         (WebCore::SubframeLoader::requestPlugin):
    20797         (WebCore::SubframeLoader::requestObject):
    20798         (WebCore::SubframeLoader::shouldUsePlugin):
    20799         * loader/SubframeLoader.h:
    20800 
    20801 2011-03-23  Jer Noble  <jer.noble@apple.com>
    20802 
    20803         Reviewed by Eric Carlson.
    20804 
    20805         Application Cache should save audio/ and video/ mime types as flat files
    20806         https://bugs.webkit.org/show_bug.cgi?id=53784
    20807         <rdar://problem/8932473>
    20808 
    20809         No new tests, as this behavior is not possible to test without changes to the MediaPlayer engines.
    20810 
    20811         Store certain mime types as flat files alongside the Application Cache database.
    20812         This requires plumbing the saved file path from ApplicationCacheStorage through
    20813         to ApplicationCacheResource.
    20814 
    20815         (WebCore::ApplicationCacheStorage::openDatabase): Modify the CacheResourceData schema and
    20816             add a new DeletedCacheResources table, add a new CacheResourceDataDeleted trigger.
    20817         (WebCore::ApplicationCacheStorage::store): Add the new path data when adding new rows in
    20818             CacheResourceData, and store media resources as flat files.
    20819         (WebCore::ApplicationCacheStorage::loadCache): Pull the "path" column from CacheResourceData
    20820             when loading cache items.
    20821         (WebCore::ApplicationCacheStorage::remove): Call checkForDeletedResources.
    20822         (WebCore::ApplicationCacheStorage::empty): Ditto.
    20823         (WebCore::ApplicationCacheStorage::storeCopyOfCache): Ditto.
    20824         (WebCore::ApplicationCacheStorage::deleteCacheGroup): Ditto.
    20825         (WebCore::ApplicationCacheStorage::checkForDeletedResources): Walk through DeletedCacheResourceData
    20826             looking for entries with non-empty "path" columns; if found, delete.
    20827         (WebCore::ApplicationCacheStorage::flatFileAreaSize): Walk through CacheResourceData rows
    20828             and sum the file size of those rows with flat file storage.
    20829         (WebCore::ApplicationCacheStorage::verifySchemaVersion): Call deleteTables() instead of
    20830             clearAllTables() directly.
    20831         (WebCore::ApplicationCacheStorage::deleteTables): Call empty() before deleting the tables,
    20832             so that flat files get deleted.
    20833         (WebCore::ApplicationCacheStorage::shouldStoreResourceAsFlatFile): Added.
    20834         (WebCore::ApplicationCacheStorage::writeDataToUniqueFileInDirectory): Added.
    20835         * loader/appcache/ApplicationCacheStorage.h:
    20836         * platform/win/FileSystemWin.cpp:
    20837         (WebCore::openFile): Implement openFile on Windows.
    20838 
    20839 2011-03-24  David Hyatt  <hyatt@apple.com>
    20840 
    20841         Reviewed by Dan Bernstein.
    20842 
    20843         https://bugs.webkit.org/show_bug.cgi?id=56909
    20844        
    20845         Add a simplified normal flow layout path optimization for overflow recomputation
    20846         and for positioned objects inside relative positioned containers.
    20847 
    20848         Currently there is an optimized code path for positioned objects, but as soon as
    20849         we encounter a normal flow object in the containing block chain, we lose the
    20850         optimization.
    20851 
    20852         This patch adds a new type of style difference called SimplifiedLayout that is
    20853         returned when only overflow needs to be recomputed. Whenever a transform changes,
    20854         this is the hint returned now instead of a full layout.
    20855        
    20856         In addition, when positioned objects need layout and start marking up the
    20857         containing block chain, we now propagate the fact that the layout is simplified
    20858         all the way up to the root, even when we encounter normal flow containing
    20859         blocks.
    20860        
    20861         The layoutOnlyPositionedObjects function has been renamed to simplifiedLayout()
    20862         and is now used for all of these cases (in addition to what it handled before).
    20863        
    20864         The simplified layout optimization (even in ToT) did not work correctly when
    20865         static distances needed to be recomputed. In order to make static distance
    20866         computations work with simplified layout, positioned objects now always compute
    20867         their static offsets, even if they explicitly specify left/top.  That way normal
    20868         flow layout never has to re-run when the positioned object moves.  This makes
    20869         movement of a positioned object along a single non-auto axis much faster when the
    20870         other axis is auto. Because this code kicked in more often for absolutely positioned
    20871         objects whose original display was inline, I went ahead and fixed the trailing space
    20872         issue with those objects.  This causes a bunch of layout tests to progress.
    20873 
    20874         Added fast/block/positioning/static-inline-position-dynamic.html and trailing-space-test.html.
    20875 
    20876         * rendering/RenderBlock.cpp:
    20877         (WebCore::RenderBlock::layoutBlock):
    20878         (WebCore::RenderBlock::adjustPositionedBlock):
    20879         (WebCore::RenderBlock::simplifiedNormalFlowLayout):
    20880         (WebCore::RenderBlock::simplifiedLayout):
    20881         * rendering/RenderBlock.h:
    20882         * rendering/RenderBlockLineLayout.cpp:
    20883         (WebCore::setStaticPositions):
    20884         (WebCore::RenderBlock::findNextLineBreak):
    20885         * rendering/RenderBox.cpp:
    20886         (WebCore::RenderBox::styleDidChange):
    20887         (WebCore::RenderBox::positionLineBox):
    20888         * rendering/RenderBoxModelObject.cpp:
    20889         (WebCore::RenderBoxModelObject::styleWillChange):
    20890         * rendering/RenderFlexibleBox.cpp:
    20891         (WebCore::RenderFlexibleBox::layoutBlock):
    20892         (WebCore::RenderFlexibleBox::layoutHorizontalBox):
    20893         (WebCore::RenderFlexibleBox::layoutVerticalBox):
    20894         * rendering/RenderObject.cpp:
    20895         (WebCore::RenderObject::RenderObject):
    20896         (WebCore::RenderObject::adjustStyleDifference):
    20897         (WebCore::RenderObject::setStyle):
    20898         (WebCore::RenderObject::styleDidChange):
    20899         * rendering/RenderObject.h:
    20900         (WebCore::RenderObject::needsLayout):
    20901         (WebCore::RenderObject::needsPositionedMovementLayoutOnly):
    20902         (WebCore::RenderObject::needsSimplifiedNormalFlowLayout):
    20903         (WebCore::RenderObject::setNeedsLayout):
    20904         (WebCore::RenderObject::setChildNeedsLayout):
    20905         (WebCore::RenderObject::setNeedsSimplifiedNormalFlowLayout):
    20906         (WebCore::RenderObject::markContainingBlocksForLayout):
    20907         * rendering/RenderTable.cpp:
    20908         (WebCore::RenderTable::layout):
    20909         * rendering/style/RenderStyle.cpp:
    20910         (WebCore::RenderStyle::diff):
    20911         * rendering/style/RenderStyleConstants.h:
    20912         * rendering/svg/RenderSVGText.cpp:
    20913         (WebCore::RenderSVGText::layout):
    20914 
    20915 2011-03-25  Martin Robinson  <mrobinson@igalia.com>
    20916 
    20917         Fix the GTK+ build until we can implement the new cross-platform
    20918         FontPlatformData.h bits.
    20919 
    20920         * platform/graphics/FontPlatformData.h: Include the proper old font headers.
    20921         (WebCore::FontPlatformData::FontPlatformData): Eliminate GTK+ specific bits of this file
    20922         which reference our obsolete font implementation.
    20923         (WebCore::FontPlatformData::hash): Ditto.
    20924 
    20925 2011-03-25  Steve Falkenburg  <sfalken@apple.com>
    20926 
    20927         Reviewed by Brian Weinstein.
    20928 
    20929         Microsoft Windows Presentation Foundation (WPF) plug-in complains about missing xpcom.dll
    20930         https://bugs.webkit.org/show_bug.cgi?id=57119
    20931         <rdar://problem/9054148>
    20932        
    20933         This plug-in from Microsoft links against xpcom.dll, which is a Firefox-specific DLL
    20934         not available in WebKit. The plug-in is fairly widespread, since it was included in
    20935         a Windows Update push at one point.
    20936 
    20937         * plugins/win/PluginPackageWin.cpp:
    20938         (WebCore::PluginPackage::isPluginBlacklisted): Blacklist npwpf.dll.
    20939 
    20940 2011-03-25  Tony Chang  <tony@chromium.org>
    20941 
    20942         Try to fix the chromium mac build.
    20943         We used the mac FontPlatformData on chromium mac.
    20944 
    20945         * WebCore.gyp/WebCore.gyp:
    20946         * WebCore.gypi:
    20947         * platform/graphics/FontPlatformData.h:
    20948 
    20949 2011-03-25  Tony Chang  <tony@chromium.org>
    20950 
    20951         Build fix:
    20952         have chromium and qt use the correct FontPlatformData.h
    20953         https://bugs.webkit.org/show_bug.cgi?id=57115
    20954 
    20955         * platform/graphics/FontPlatformData.h:
    20956 
    20957 2011-03-25  Beth Dakin  <bdakin@apple.com>
    20958 
    20959         Reviewed by Dave Hyatt.
    20960 
    20961         Fix for https://bugs.webkit.org/show_bug.cgi?id=57057 Overlay scrollbars in overflow
    20962         areas paint behind positive z-index content
    20963         -and corresponding-
    20964         <rdar://problem/9070500>
    20965 
    20966         Since overlay scrollbars don't clip the scrollable content like other scrollbars do,
    20967         the only way to get them to paint on top of all possible scrollable content is to
    20968         make them paint on top of everything. To do this, this patch adds a second trip
    20969         through the layer tree if it contains overlay scrollbars that need painting.
    20970 
    20971         After calling paint() on the rootLayer, call paintOverlayScrollers() if
    20972         containsDirtyOverlayScrollbars() is true.
    20973         * page/FrameView.cpp:
    20974         (WebCore::FrameView::paintContents):
    20975 
    20976         RenderLayer has two new member variable. m_containsDirtyOverlayScrollbars is a bool
    20977         that is set on the root layer when it has child layers that need overlay scrollbars
    20978         to be painted. m_cachedOverlayScrollbarOffset is an IntPoint to cache the tx and ty
    20979         of the overlay scrollbars on the first (normal) pass through the layer tree. This
    20980         prevents us from having to re-enter the render tree during the second (overlay-only)
    20981         pass. Finally, there is also a new paint flag: PaintLayerPaintingOverlayScrollbars.
    20982         * rendering/RenderLayer.h:
    20983         (WebCore::RenderLayer::containsDirtyOverlayScrollbars):
    20984         (WebCore::RenderLayer::setContainsDirtyOverlayScrollbars):
    20985         * rendering/RenderLayer.cpp:
    20986         (WebCore::RenderLayer::RenderLayer):
    20987         (WebCore::RenderLayer::paintOverflowControls):
    20988         (WebCore::RenderLayer::paintOverlayScrollbars):
    20989         (WebCore::RenderLayer::paintLayer):
    20990 
    20991 2011-03-25  Jessie Berlin  <jberlin@apple.com>
    20992 
    20993         Reviewed by Sam Weinig.
    20994 
    20995         WebKit2: Need to be able to set and get the Cookie Storage Policy.
    20996         https://bugs.webkit.org/show_bug.cgi?id=50780
    20997 
    20998         * platform/network/cf/CookieStorageCFNet.cpp:
    20999         (WebCore::privateCookieStorage):
    21000         Rename privateBrowsingCookieStorage to privateCookieStorage.
    21001         (WebCore::currentCookieStorage):
    21002         Ditto.
    21003         (WebCore::setCurrentCookieStorage):
    21004         Ditto.
    21005         (WebCore::setCookieStoragePrivateBrowsingEnabled):
    21006         Ditto.
    21007         (WebCore::defaultCookieStorage):
    21008         Return the default cookie storage.
    21009         (WebCore::privateBrowsingCookieStorage):
    21010         Return privateCookieStorage().get()
    21011         * platform/network/cf/CookieStorageCFNet.h:
    21012 
    21013 2011-03-25  Emil A Eklund  <eae@chromium.org>
    21014 
    21015         Reviewed by Dimitri Glazkov.
    21016 
    21017         Text field "onchange" event is triggered if actual value unchanged
    21018         https://bugs.webkit.org/show_bug.cgi?id=36314
    21019 
    21020         Change RenderTextControl::subtreeHasChanged to only return true if the
    21021         subtree has changed since the last event was triggered.
    21022 
    21023         * html/HTMLFormControlElement.cpp:
    21024         (WebCore::HTMLTextFormControlElement::insertedIntoDocument):
    21025         (WebCore::HTMLTextFormControlElement::dispatchFormControlChangeEvent):
    21026         * html/HTMLFormControlElement.h:
    21027         (WebCore::HTMLTextFormControlElement::setTextAsOfLastFormControlChangeEvent):
    21028         * html/HTMLInputElement.cpp:
    21029         (WebCore::HTMLInputElement::setChecked):
    21030         (WebCore::HTMLInputElement::setValue):
    21031         * html/HTMLTextAreaElement.cpp:
    21032         (WebCore::HTMLTextAreaElement::setValue):
    21033         (WebCore::HTMLTextAreaElement::setNonDirtyValue):
    21034 
    21035 2011-03-25  Brent Fulgham  <bfulgham@webkit.org>
    21036 
    21037         Reviewed by David Hyatt.
    21038 
    21039         Clean up FontPlatformData structure so that a single implementation
    21040         is used across all ports.  This first patch works for the Windows
    21041         build (both CG and WinCairo), and Cocoa.
    21042 
    21043         * WebCore.vcproj/WebCore.vcproj:
    21044         * platform/graphics/FontPlatformData.cpp: Added.
    21045         (WebCore::FontPlatformData::FontPlatformData):
    21046         (WebCore::FontPlatformData::operator=):
    21047         * platform/graphics/FontPlatformData.h: Added.
    21048         (WebCore::toCTFontRef):
    21049         (WebCore::FontPlatformData::FontPlatformData):
    21050         (WebCore::FontPlatformData::hfont):
    21051         (WebCore::FontPlatformData::useGDI):
    21052         (WebCore::FontPlatformData::font):
    21053         (WebCore::FontPlatformData::cgFont):
    21054         (WebCore::FontPlatformData::size):
    21055         (WebCore::FontPlatformData::setSize):
    21056         (WebCore::FontPlatformData::syntheticBold):
    21057         (WebCore::FontPlatformData::syntheticOblique):
    21058         (WebCore::FontPlatformData::isColorBitmapFont):
    21059         (WebCore::FontPlatformData::orientation):
    21060         (WebCore::FontPlatformData::textOrientation):
    21061         (WebCore::FontPlatformData::widthVariant):
    21062         (WebCore::FontPlatformData::setOrientation):
    21063         (WebCore::FontPlatformData::scaledFont):
    21064         (WebCore::FontPlatformData::fontFace):
    21065         (WebCore::FontPlatformData::hash):
    21066         (WebCore::FontPlatformData::operator==):
    21067         (WebCore::FontPlatformData::isHashTableDeletedValue):
    21068         (WebCore::FontPlatformData::hashTableDeletedFontValue):
    21069         * platform/graphics/cg/FontPlatformData.h: Removed.
    21070         * platform/graphics/cocoa/FontPlatformData.h: Removed.
    21071         * platform/graphics/cocoa/FontPlatformDataCocoa.mm:
    21072         (WebCore::~FontPlatformData):
    21073         (WebCore::FontPlatformData::platformDataInit):
    21074         (WebCore::FontPlatformData::platformDataAssign):
    21075         * platform/graphics/win/FontPlatformDataCGWin.cpp:
    21076         (WebCore::FontPlatformData::FontPlatformData):
    21077         (WebCore::FontPlatformData::~FontPlatformData):
    21078         (WebCore::FontPlatformData::platformDataInit):
    21079         (WebCore::FontPlatformData::platformDataAssign):
    21080         * platform/graphics/win/FontPlatformDataCairoWin.cpp:
    21081         (WebCore::FontPlatformData::FontPlatformData):
    21082         (WebCore::FontPlatformData::~FontPlatformData):
    21083         (WebCore::FontPlatformData::platformDataInit):
    21084         (WebCore::FontPlatformData::platformDataAssign):
    21085         * platform/graphics/win/FontPlatformDataWin.cpp:
    21086         (WebCore::FontPlatformData::FontPlatformData):
    21087         * platform/graphics/win/cairo/FontPlatformData.h: Removed.
    21088 
    21089 2011-03-25  Enrica Casucci  <enrica@apple.com>
    21090 
    21091         Reviewed by Oliver Hunt.
    21092 
    21093         Pasteboard data's RTF data doesn't always include URLs via NSLinkAttributeName.
    21094         https://bugs.webkit.org/show_bug.cgi?id=57107
    21095         <rdar://problem/9084267>
    21096 
    21097         If the selection is at the beginning of content inside an anchor tag
    21098         we move the selection start to include the anchor.
    21099        
    21100         * platform/mac/PasteboardMac.mm:
    21101         (WebCore::Pasteboard::writeSelection): Modified to change the selection
    21102         start according to the new rule.
    21103 
    21104 2011-03-25  Pavel Feldman  <pfeldman@chromium.org>
    21105 
    21106         Reviewed by Yury Semikhatsky.
    21107 
    21108         Web Inspector: refactor Network domain's frame tree API
    21109         https://bugs.webkit.org/show_bug.cgi?id=57103
    21110 
    21111         * inspector/Inspector.json:
    21112         * inspector/InspectorResourceAgent.cpp:
    21113         (WebCore::buildObjectForFrameResource):
    21114         (WebCore::buildObjectForCachedResource):
    21115         (WebCore::InspectorResourceAgent::willSendRequest):
    21116         (WebCore::InspectorResourceAgent::didLoadResourceFromMemoryCache):
    21117         (WebCore::buildObjectForFrame):
    21118         (WebCore::buildObjectForFrameTree):
    21119         (WebCore::InspectorResourceAgent::didCommitLoad):
    21120         (WebCore::InspectorResourceAgent::enable):
    21121         * inspector/front-end/NetworkManager.js:
    21122         (WebInspector.NetworkManager.prototype.requestContent):
    21123         (WebInspector.NetworkDispatcher):
    21124         (WebInspector.NetworkDispatcher.prototype.willSendRequest):
    21125         (WebInspector.NetworkDispatcher.prototype.didReceiveResponse):
    21126         (WebInspector.NetworkDispatcher.prototype.didLoadResourceFromMemoryCache):
    21127         (WebInspector.NetworkDispatcher.prototype.frameDetachedFromParent):
    21128         (WebInspector.NetworkDispatcher.prototype.didCommitLoadForFrame):
    21129         (WebInspector.NetworkDispatcher.prototype.didCreateWebSocket):
    21130         (WebInspector.NetworkDispatcher.prototype._appendRedirect):
    21131         (WebInspector.NetworkDispatcher.prototype._addFramesRecursively):
    21132         (WebInspector.NetworkDispatcher.prototype._createResource):
    21133         * inspector/front-end/ResourceTreeModel.js:
    21134         (WebInspector.ResourceTreeModel.prototype.addOrUpdateFrame):
    21135         (WebInspector.ResourceTreeModel.prototype.didCommitLoadForFrame):
    21136         (WebInspector.ResourceTreeModel.prototype._clearChildFramesAndResources):
    21137         (WebInspector.ResourceTreeModel.prototype._clearResources):
    21138         * inspector/front-end/ResourcesPanel.js:
    21139         (WebInspector.ResourcesPanel.prototype.addOrUpdateFrame):
    21140         (WebInspector.ResourcesPanel.prototype.addResourceToFrame):
    21141 
    21142 2011-03-25  Dave Hyatt  <hyatt@apple.com>
    21143 
    21144         Reviewed by Adele Peterson.
    21145 
    21146         REGRESSION(r77257): Only first page of a document is printed
    21147         https://bugs.webkit.org/show_bug.cgi?id=56958
    21148 
    21149         Test: printing/page-count-layout-overflow.html
    21150 
    21151         * page/FrameView.cpp:
    21152         (WebCore::FrameView::forceLayoutForPagination): Moved clearing of overflow
    21153             to the right place.
    21154 
    21155 2011-03-25  Benjamin Poulain  <benjamin.poulain@nokia.com>
    21156 
    21157         Reviewed by Andreas Kling.
    21158 
    21159         [Qt] QtWebKit will not compile with QT_ASCII_CAST_WARNINGS enabled
    21160         https://bugs.webkit.org/show_bug.cgi?id=57087
    21161 
    21162         Use explicit conversion for string to avoid depending on the default codec
    21163         installed by the user code.
    21164 
    21165         * bridge/qt/qt_pixmapruntime.cpp:
    21166         (JSC::Bindings::QtPixmapToDataUrlMethod::invoke):
    21167         (JSC::Bindings::QtPixmapInstance::valueOf):
    21168         * platform/qt/LanguageQt.cpp:
    21169         (WebCore::platformDefaultLanguage):
    21170         * platform/qt/PasteboardQt.cpp:
    21171         (WebCore::Pasteboard::writeSelection):
    21172         * plugins/qt/PluginPackageQt.cpp:
    21173         (WebCore::initializeGtk):
    21174         * plugins/qt/PluginViewQt.cpp:
    21175         (WebCore::getPluginDisplay):
    21176 
    21177 2011-03-25  Chang Shu  <cshu@webkit.org>
    21178 
    21179         Reviewed by Ryosuke Niwa.
    21180 
    21181         rename Node::isContentEditable and all call sites to rendererIsEditable
    21182         https://bugs.webkit.org/show_bug.cgi?id=54290
    21183 
    21184         This is part of the effort to separate JS API HTMLElement isContentEditable from
    21185         internal Node::rendererIsEditable.
    21186 
    21187         Code refactoring. No new tests.
    21188 
    21189         * accessibility/AccessibilityRenderObject.cpp:
    21190         (WebCore::AccessibilityRenderObject::isReadOnly):
    21191         (WebCore::AccessibilityRenderObject::accessibilityIsIgnored):
    21192         * dom/Document.cpp:
    21193         (WebCore::acceptsEditingFocus):
    21194         * dom/Node.cpp:
    21195         (WebCore::Node::rendererIsEditable):
    21196         (WebCore::Node::shouldUseInputMethod):
    21197         (WebCore::Node::canStartSelection):
    21198         (WebCore::Node::rootEditableElement):
    21199         * dom/Node.h:
    21200         (WebCore::Node::isContentEditable):
    21201         (WebCore::Node::rendererIsEditable):
    21202         (WebCore::Node::rendererIsRichlyEditable):
    21203         * dom/Position.cpp:
    21204         (WebCore::nextRenderedEditable):
    21205         (WebCore::previousRenderedEditable):
    21206         (WebCore::Position::atEditingBoundary):
    21207         (WebCore::Position::parentEditingBoundary):
    21208         (WebCore::Position::upstream):
    21209         (WebCore::Position::downstream):
    21210         (WebCore::Position::isCandidate):
    21211         * dom/PositionIterator.cpp:
    21212         (WebCore::PositionIterator::isCandidate):
    21213         * editing/AppendNodeCommand.cpp:
    21214         (WebCore::AppendNodeCommand::AppendNodeCommand):
    21215         (WebCore::AppendNodeCommand::doApply):
    21216         (WebCore::AppendNodeCommand::doUnapply):
    21217         * editing/ApplyStyleCommand.cpp:
    21218         (WebCore::containsNonEditableRegion):
    21219         (WebCore::ApplyStyleCommand::applyInlineStyleToNodeRange):
    21220         (WebCore::ApplyStyleCommand::removeInlineStyleFromElement):
    21221         (WebCore::ApplyStyleCommand::surroundNodeRangeWithElement):
    21222         * editing/CompositeEditCommand.cpp:
    21223         (WebCore::CompositeEditCommand::breakOutOfEmptyListItem):
    21224         * editing/DeleteButtonController.cpp:
    21225         (WebCore::isDeletableElement):
    21226         (WebCore::enclosingDeletableElement):
    21227         * editing/DeleteFromTextNodeCommand.cpp:
    21228         (WebCore::DeleteFromTextNodeCommand::doApply):
    21229         (WebCore::DeleteFromTextNodeCommand::doUnapply):
    21230         * editing/DeleteSelectionCommand.cpp:
    21231         (WebCore::DeleteSelectionCommand::removeNode):
    21232         * editing/Editor.cpp:
    21233         (WebCore::Editor::canDeleteRange):
    21234         (WebCore::Editor::markMisspellingsOrBadGrammar):
    21235         (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
    21236         * editing/EditorCommand.cpp:
    21237         (WebCore::verticalScrollDistance):
    21238         * editing/FormatBlockCommand.cpp:
    21239         (WebCore::enclosingBlockToSplitTreeTo):
    21240         * editing/IndentOutdentCommand.cpp:
    21241         (WebCore::IndentOutdentCommand::outdentParagraph):
    21242         * editing/InsertIntoTextNodeCommand.cpp:
    21243         (WebCore::InsertIntoTextNodeCommand::doApply):
    21244         (WebCore::InsertIntoTextNodeCommand::doUnapply):
    21245         * editing/InsertNodeBeforeCommand.cpp:
    21246         (WebCore::InsertNodeBeforeCommand::InsertNodeBeforeCommand):
    21247         (WebCore::InsertNodeBeforeCommand::doApply):
    21248         (WebCore::InsertNodeBeforeCommand::doUnapply):
    21249         * editing/JoinTextNodesCommand.cpp:
    21250         (WebCore::JoinTextNodesCommand::doApply):
    21251         (WebCore::JoinTextNodesCommand::doUnapply):
    21252         * editing/MergeIdenticalElementsCommand.cpp:
    21253         (WebCore::MergeIdenticalElementsCommand::doApply):
    21254         (WebCore::MergeIdenticalElementsCommand::doUnapply):
    21255         * editing/RemoveNodeCommand.cpp:
    21256         (WebCore::RemoveNodeCommand::doApply):
    21257         (WebCore::RemoveNodeCommand::doUnapply):
    21258         * editing/ReplaceSelectionCommand.cpp:
    21259         (WebCore::ReplacementFragment::ReplacementFragment):
    21260         * editing/SelectionController.cpp:
    21261         (WebCore::SelectionController::selectFrameElementInParentIfFullySelected):
    21262         (WebCore::SelectionController::setSelectionFromNone):
    21263         * editing/SplitElementCommand.cpp:
    21264         (WebCore::SplitElementCommand::executeApply):
    21265         (WebCore::SplitElementCommand::doUnapply):
    21266         * editing/SplitTextNodeCommand.cpp:
    21267         (WebCore::SplitTextNodeCommand::doApply):
    21268         (WebCore::SplitTextNodeCommand::doUnapply):
    21269         (WebCore::SplitTextNodeCommand::doReapply):
    21270         * editing/SplitTextNodeContainingElementCommand.cpp:
    21271         (WebCore::SplitTextNodeContainingElementCommand::doApply):
    21272         * editing/VisiblePosition.cpp:
    21273         (WebCore::VisiblePosition::canonicalPosition):
    21274         * editing/WrapContentsInDummySpanCommand.cpp:
    21275         (WebCore::WrapContentsInDummySpanCommand::doUnapply):
    21276         (WebCore::WrapContentsInDummySpanCommand::doReapply):
    21277         * editing/htmlediting.cpp:
    21278         (WebCore::highestEditableRoot):
    21279         (WebCore::lowestEditableAncestor):
    21280         (WebCore::isEditablePosition):
    21281         (WebCore::isRichlyEditablePosition):
    21282         (WebCore::firstEditablePositionAfterPositionInRoot):
    21283         (WebCore::extendRangeToWrappingNodes):
    21284         (WebCore::enclosingNodeWithTag):
    21285         (WebCore::enclosingNodeOfType):
    21286         (WebCore::highestEnclosingNodeOfType):
    21287         (WebCore::canMergeLists):
    21288         * editing/visible_units.cpp:
    21289         (WebCore::previousLeafWithSameEditability):
    21290         (WebCore::previousLinePosition):
    21291         (WebCore::nextLeafWithSameEditability):
    21292         (WebCore::nextLinePosition):
    21293         (WebCore::startOfParagraph):
    21294         (WebCore::endOfParagraph):
    21295         * html/HTMLAnchorElement.cpp:
    21296         (WebCore::HTMLAnchorElement::supportsFocus):
    21297         (WebCore::HTMLAnchorElement::defaultEventHandler):
    21298         (WebCore::HTMLAnchorElement::setActive):
    21299         (WebCore::HTMLAnchorElement::canStartSelection):
    21300         (WebCore::HTMLAnchorElement::treatLinkAsLiveForEventType):
    21301         * html/HTMLBodyElement.cpp:
    21302         (WebCore::HTMLBodyElement::supportsFocus):
    21303         * html/HTMLElement.cpp:
    21304         (WebCore::HTMLElement::supportsFocus):
    21305         (WebCore::HTMLElement::isContentEditable):
    21306         (WebCore::HTMLElement::contentEditable):
    21307         * html/HTMLElement.h:
    21308         * page/DragController.cpp:
    21309         (WebCore::DragController::operationForLoad):
    21310         (WebCore::DragController::canProcessDrag):
    21311         * page/EventHandler.cpp:
    21312         (WebCore::EventHandler::handleMouseReleaseEvent):
    21313         (WebCore::EventHandler::selectCursor):
    21314         * page/FocusController.cpp:
    21315         (WebCore::relinquishesEditingFocus):
    21316         * rendering/HitTestResult.cpp:
    21317         (WebCore::HitTestResult::isContentEditable):
    21318         * rendering/RenderBlock.cpp:
    21319         (WebCore::positionForPointRespectingEditingBoundaries):
    21320         (WebCore::RenderBlock::hasLineIfEmpty):
    21321         * rendering/RenderBlockLineLayout.cpp:
    21322         (WebCore::RenderBlock::addOverflowFromInlineChildren):
    21323         * rendering/RenderBox.cpp:
    21324         (WebCore::RenderBox::canBeProgramaticallyScrolled):
    21325         * rendering/RenderObject.cpp:
    21326         (WebCore::RenderObject::createVisiblePosition):
    21327         * rendering/RootInlineBox.cpp:
    21328         (WebCore::isEditableLeaf):
    21329         * svg/SVGAElement.cpp:
    21330         (WebCore::SVGAElement::supportsFocus):
    21331 
    21332 2011-03-25  Maciej Stachowiak  <mjs@apple.com>
    21333 
    21334         Reviewed by Antti Koivisto.
    21335 
    21336         Crash when a wbr element is inserted inside mroot
    21337         https://bugs.webkit.org/show_bug.cgi?id=56352
    21338 
    21339         Test: mathml/wbr-in-mroot-crash.html
    21340 
    21341         * rendering/mathml/RenderMathMLRoot.cpp:
    21342         (WebCore::RenderMathMLRoot::layout): Look for the first box model child of the first
    21343         child, instead of just assuming.
    21344 
    21345 2011-03-25  Vsevolod Vlasov  <vsevik@chromium.org>
    21346 
    21347         Reviewed by Pavel Feldman.
    21348 
    21349         XML Viewer: extensions can't render original XML
    21350         https://bugs.webkit.org/show_bug.cgi?id=56263
    21351 
    21352         Added source xml to transformed document, renamed onload function.
    21353 
    21354         * xml/XMLTreeViewer.cpp:
    21355         (WebCore::XMLTreeViewer::transformDocumentToTreeView):
    21356         * xml/XMLViewer.xsl:
    21357 
    21358 2011-03-25  Benjamin Poulain  <benjamin.poulain@nokia.com>
    21359 
    21360         Reviewed by Andreas Kling.
    21361 
    21362         [Qt] Get rid of the invalid string conversion with ::fromAscii()
    21363         https://bugs.webkit.org/show_bug.cgi?id=57102
    21364 
    21365         Replace ::fromAscii() with ::fromLatin1() to make sure the codec does not depend on the user code.
    21366 
    21367         * platform/network/qt/QNetworkReplyHandler.cpp:
    21368         (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
    21369         * platform/qt/CookieJarQt.cpp:
    21370         (WebCore::cookies):
    21371         (WebCore::cookieRequestHeaderFieldValue):
    21372 
    21373 2011-03-25  Sheriff Bot  <webkit.review.bot@gmail.com>
    21374 
    21375         Unreviewed, rolling out r81953.
    21376         http://trac.webkit.org/changeset/81953
    21377         https://bugs.webkit.org/show_bug.cgi?id=57096
    21378 
    21379         "inspector test breakage: part 2/2" (Requested by apavlov on
    21380         #webkit).
    21381 
    21382         * inspector/Inspector.json:
    21383         * inspector/InspectorCSSAgent.cpp:
    21384         (WebCore::InspectorCSSAgent::getAllStyles):
    21385         * inspector/InspectorCSSAgent.h:
    21386         * inspector/InspectorStyleSheet.cpp:
    21387         (WebCore::InspectorStyleSheet::buildObjectForStyleSheet):
    21388         * inspector/InspectorStyleSheet.h:
    21389         * inspector/front-end/AuditRules.js:
    21390         (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.styleSheetCallback):
    21391         (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.allStylesCallback):
    21392         (WebInspector.AuditRules.UnusedCssRule.prototype.doRun):
    21393         * inspector/front-end/CSSStyleModel.js:
    21394         (WebInspector.CSSStyleModel.prototype._styleSheetChanged.callback):
    21395         (WebInspector.CSSStyleModel.prototype._styleSheetChanged):
    21396         (WebInspector.CSSStyleModel.prototype._onRevert):
    21397         (WebInspector.CSSStyleSheet):
    21398         (WebInspector.CSSStyleSheet.prototype.setText):
    21399 
    21400 2011-03-15  Alexander Pavlov  <apavlov@chromium.org>
    21401 
    21402         Reviewed by Pavel Feldman.
    21403 
    21404         Web Inspector: Fix handling of the CSSAgent.setStyleSheetText() results in CSSStyleModel.js
    21405         https://bugs.webkit.org/show_bug.cgi?id=56310
    21406 
    21407         Instead of stylesheet ids, CSSAgent.getAllStyleSheets() now returns metainfo objects containing
    21408         "styleSheetId", "sourceURL", "disabled", and "title" fields. The latter three are not returned
    21409         by CSSAgent.getStyleSheet() anymore.
    21410 
    21411         Test: inspector/styles/get-set-stylesheet-text.html
    21412 
    21413         * inspector/Inspector.json:
    21414         * inspector/InspectorCSSAgent.cpp:
    21415         (WebCore::InspectorCSSAgent::getAllStyleSheets):
    21416         * inspector/InspectorCSSAgent.h:
    21417         * inspector/InspectorStyleSheet.cpp:
    21418         (WebCore::InspectorStyleSheet::buildObjectForStyleSheet):
    21419         (WebCore::InspectorStyleSheet::buildObjectForStyleSheetInfo):
    21420         * inspector/InspectorStyleSheet.h:
    21421         * inspector/front-end/AuditRules.js:
    21422         (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.styleSheetCallback):
    21423         (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.allStylesCallback):
    21424         (WebInspector.AuditRules.UnusedCssRule.prototype.doRun):
    21425         * inspector/front-end/CSSStyleModel.js:
    21426         (WebInspector.CSSStyleModel.prototype._styleSheetChanged.callback):
    21427         (WebInspector.CSSStyleModel.prototype._styleSheetChanged):
    21428         (WebInspector.CSSStyleModel.prototype._onRevert):
    21429         (WebInspector.CSSStyleSheet):
    21430         (WebInspector.CSSStyleSheet.prototype.setText):
    21431 
    21432 2011-03-25  Pavel Feldman  <pfeldman@chromium.org>
    21433 
    21434         Reviewed by Yury Semikhatsky.
    21435 
    21436         Web Inspector: extension server should not convert all resources to HAR when there are no extensions.
    21437         https://bugs.webkit.org/show_bug.cgi?id=57044
    21438 
    21439         * inspector/front-end/ExtensionServer.js:
    21440         (WebInspector.ExtensionServer.prototype._notifyResourceFinished):
    21441         (WebInspector.ExtensionServer.prototype._hasSubscribers):
    21442 
    21443 2011-03-25  Leo Yang  <leo.yang@torchmobile.com.cn>
    21444 
    21445         Reviewed by Nikolas Zimmermann.
    21446 
    21447         SVG <use> element performance improvement
    21448         https://bugs.webkit.org/show_bug.cgi?id=57077
    21449 
    21450         SVG <use> element was expanding nesting <use> and <symbol> elements
    21451         in an inefficient way. After it expanded an <use> or a <symbol>
    21452         element it would restart expanding from the shadow tree root.
    21453         This behavior was leading about 160 millions of calls to
    21454         expandUseElementInShadowTree or expandSymbolElementInShadowTree for
    21455         a single shadow tree which is illustrated by
    21456         http://upload.wikimedia.org/wikipedia/commons/4/4e/Sierpinski_carpet_6.svg.
    21457         But the effective calls, which really expand <use> or <symbol>
    21458         elements, were about 5200; others were passing-by calls, which are
    21459         recursively down to the children.
    21460 
    21461         This patch is altering the expanding path to reduce the passing-by
    21462         calls. It will expand elements in sibling chain where there is an
    21463         effective call, because the effective call replaces element which is
    21464         expanded and the replacement results lose of the sibling chain of
    21465         the replaced on the upper recursion stack. With this patch the
    21466         passing-by calls are reduced from about 160 millions to about 30
    21467         thousands.
    21468 
    21469         No functionality change, no new tests.
    21470 
    21471         * svg/SVGUseElement.cpp:
    21472         (WebCore::SVGUseElement::expandUseElementsInShadowTree):
    21473         (WebCore::SVGUseElement::expandSymbolElementsInShadowTree):
    21474         * svg/SVGUseElement.h:
    21475 
    21476 2011-03-25  Dominic Cooney  <dominicc@google.com>
    21477 
    21478         Reviewed by Kent Tamura.
    21479 
    21480         Makes keygen support autofocus attribute.
    21481         https://bugs.webkit.org/show_bug.cgi?id=57091
    21482 
    21483         Test: fast/forms/autofocus-keygen.html
    21484 
    21485         * html/HTMLFormControlElement.cpp:
    21486         (WebCore::HTMLFormControlElement::attach):
    21487 
    21488 2011-03-24  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
    21489 
    21490         Reviewed by Antonio Gomes.
    21491 
    21492         [EFL] Add sound / mute button to MediaControl UI
    21493         https://bugs.webkit.org/show_bug.cgi?id=56726
    21494 
    21495         Add sound / mute button to MediaControl UI.
    21496 
    21497         * platform/efl/RenderThemeEfl.cpp:
    21498         (WebCore::RenderThemeEfl::edjeGroupFromFormType):
    21499         (WebCore::RenderThemeEfl::emitMediaButtonSignal):
    21500         (WebCore::RenderThemeEfl::paintMediaMuteButton):
    21501         * platform/efl/RenderThemeEfl.h:
    21502 
    21503 2011-03-24  Nikolas Zimmermann  <nzimmermann@rim.com>
    21504 
    21505         Reviewed by Darin Adler.
    21506 
    21507         Introduce WTF HexNumber.h
    21508         https://bugs.webkit.org/show_bug.cgi?id=56099
    21509 
    21510         Introduce a set of functions that ease converting from a bye or a number to a hex string,
    21511         replacing several of these conversions and String::format("%x") usages all over WebCore.
    21512 
    21513         * ForwardingHeaders/wtf/HexNumber.h: Added.
    21514         * css/CSSOMUtils.cpp:
    21515         (WebCore::serializeCharacterAsCodePoint):
    21516         * css/CSSParser.cpp:
    21517         (WebCore::quoteCSSString):
    21518         * inspector/InspectorResourceAgent.cpp:
    21519         (WebCore::createReadableStringFromBinary):
    21520         * platform/FileSystem.cpp:
    21521         (WebCore::encodeForFileName):
    21522         * platform/KURL.cpp:
    21523         (WebCore::appendEscapedChar):
    21524         * platform/UUID.cpp:
    21525         (WebCore::createCanonicalUUIDString):
    21526         * platform/graphics/Color.cpp:
    21527         (WebCore::Color::serialized):
    21528         * platform/network/FormDataBuilder.cpp:
    21529         (WebCore::FormDataBuilder::encodeStringAsFormData):
    21530         * rendering/RenderTreeAsText.cpp:
    21531         (WebCore::quoteAndEscapeNonPrintables):
    21532 
    21533 2011-03-24  Stephanie Lewis  <slewis@apple.com>
    21534 
    21535         Reviewed by Geoff Garen.
    21536 
    21537         <rdar://problem/9146716> REGRESSION: ~10 MB increase in memory under CachedScripts
    21538         Add back a call to destroy decoded data after access.  Keep the SourceProviderCache
    21539         around as long as their are still clients to use it.
    21540 
    21541         No new tests because there is no change in behavior.  Current tests pass.
    21542 
    21543         * loader/cache/CachedScript.cpp:
    21544         (WebCore::CachedScript::script):
    21545         (WebCore::CachedScript::destroyDecodedData):
    21546 
    21547 2011-03-24  Stephanie Lewis  <slewis@apple.com>
    21548 
    21549         Reviewed by Geoff Garen.
    21550 
    21551         https://bugs.webkit.org/show_bug.cgi?id=57073
    21552         Rework the AtomicHTMLConstructor to reserve space for attributes based on the size of the attribute list.
    21553         Saves 1.5 MB on Membuster.
    21554 
    21555         No new tests because there was no change in behavior.  Current tests pass.
    21556 
    21557         * html/parser/HTMLToken.h:
    21558         (WebCore::AtomicHTMLToken::AtomicHTMLToken):
    21559         (WebCore::AtomicHTMLToken::initializeAttributes):
    21560 
    21561 2011-03-24  Sheriff Bot  <webkit.review.bot@gmail.com>
    21562 
    21563         Unreviewed, rolling out r81916 and r81917.
    21564         http://trac.webkit.org/changeset/81916
    21565         http://trac.webkit.org/changeset/81917
    21566         https://bugs.webkit.org/show_bug.cgi?id=57071
    21567 
    21568         broke a test on platforms that do not have QuickTime installed
    21569         (Requested by estes on #webkit).
    21570 
    21571         * html/HTMLEmbedElement.cpp:
    21572         (WebCore::HTMLEmbedElement::HTMLEmbedElement):
    21573         * html/HTMLObjectElement.cpp:
    21574         (WebCore::HTMLObjectElement::HTMLObjectElement):
    21575         (WebCore::HTMLObjectElement::parametersForPlugin):
    21576         * html/HTMLPlugInImageElement.cpp:
    21577         (WebCore::HTMLPlugInImageElement::HTMLPlugInImageElement):
    21578         (WebCore::HTMLPlugInImageElement::isImageType):
    21579         (WebCore::HTMLPlugInImageElement::wouldLoadAsNetscapePlugin):
    21580         * html/HTMLPlugInImageElement.h:
    21581         * loader/EmptyClients.h:
    21582         (WebCore::EmptyFrameLoaderClient::objectContentType):
    21583         * loader/FrameLoader.cpp:
    21584         (WebCore::FrameLoader::defaultObjectContentType):
    21585         * loader/FrameLoader.h:
    21586         * loader/FrameLoaderClient.h:
    21587         * loader/SubframeLoader.cpp:
    21588         (WebCore::SubframeLoader::resourceWillUsePlugin):
    21589         (WebCore::SubframeLoader::requestObject):
    21590         (WebCore::SubframeLoader::shouldUsePlugin):
    21591         * loader/SubframeLoader.h:
    21592 
    21593 2011-03-24  Dimitri Glazkov  <dglazkov@chromium.org>
    21594 
    21595         Reviewed by Darin Adler.
    21596 
    21597         Eliminate Node::dispatchGenericEvent.
    21598         https://bugs.webkit.org/show_bug.cgi?id=57045
    21599 
    21600         No functional change, covered by existing tests.
    21601 
    21602         * dom/Node.cpp:
    21603         (WebCore::Node::dispatchEvent): Combined with the body of dispatchGenericEvent,
    21604             removed unnecessary extra refs and a stale comment.
    21605         * dom/Node.h:
    21606         * page/DOMWindow.cpp:
    21607         (WebCore::DOMWindow::dispatchLoadEvent): Changed to use dispatchEvent.
    21608         * svg/SVGElement.cpp:
    21609         (WebCore::SVGElement::sendSVGLoadEventIfPossible): Ditto.
    21610         * svg/SVGElementInstance.cpp:
    21611         (WebCore::SVGElementInstance::dispatchEvent): Ditto. The code here still
    21612             works thanks to SVG-aware retargeting in Node.
    21613 
    21614 2011-03-24  Chris Rogers  <crogers@google.com>
    21615 
    21616         Reviewed by Kenneth Russell.
    21617 
    21618         web audio: Properly sample-rate convert audio assets in chromium port
    21619         https://bugs.webkit.org/show_bug.cgi?id=56980
    21620 
    21621         No new tests since audio API is not yet implemented.
    21622 
    21623         * WebCore.gypi:
    21624         * platform/audio/AudioBus.cpp:
    21625         (WebCore::AudioBus::createBySampleRateConverting):
    21626         (WebCore::AudioBus::createByMixingToMono):
    21627         * platform/audio/AudioBus.h:
    21628         * platform/audio/HRTFKernel.cpp:
    21629         (WebCore::extractAverageGroupDelay):
    21630         (WebCore::HRTFKernel::HRTFKernel):
    21631         * platform/audio/SincResampler.cpp:
    21632         * platform/audio/chromium/AudioBusChromium.cpp:
    21633         (WebCore::AudioBus::loadPlatformResource):
    21634         (WebCore::createBusFromInMemoryAudioFile):
    21635 
    21636 2011-03-24  Rik Cabanier  <cabanier@adobe.com>
    21637 
    21638         Reviewed by David Hyatt.
    21639 
    21640         REGRESSION (r81625): fast/css/percentage-non-integer.html fails on Windows
    21641         https://bugs.webkit.org/show_bug.cgi?id=56829
    21642 
    21643         Test: fast/css/percentage-non-integer.html
    21644 
    21645         * platform/Length.h:
    21646         (WebCore::Length::calcValue):
    21647         (WebCore::Length::calcMinValue):
    21648         (WebCore::Length::calcFloatValue):
    21649 
    21650 2011-03-24  Mihai Parparita  <mihaip@chromium.org>
    21651 
    21652         Reviewed by James Robinson.
    21653 
    21654         [Chromium] Vertical Japanese text is not displayed on Snow Leopard
    21655         https://bugs.webkit.org/show_bug.cgi?id=56962
    21656 
    21657         Make Snow Leopard check added by r80740 into a runtime check for
    21658         Chromium, since it uses the same binary on both Leopard and Snow Leopard.
    21659 
    21660         * platform/graphics/mac/FontMac.mm:
    21661         (WebCore::hasBrokenCTFontGetVerticalTranslationsForGlyphs):
    21662         (WebCore::showGlyphsWithAdvances):
    21663 
    21664 2011-03-24  Brady Eidson  <beidson@apple.com>
    21665 
    21666         Reviewed by Sam Weinig.
    21667 
    21668         https://bugs.webkit.org/show_bug.cgi?id=57058
    21669         Hookup the UIProcess WebIconDatabase to a WebCore::IconDatabase as its implementation
    21670 
    21671         * loader/icon/IconDatabase.cpp:
    21672         (WebCore::IconDatabase::synchronousLoadDecisionForIconURL): Only add the DocumentLoader to the set if it's non-zero.
    21673         (WebCore::IconDatabase::IconDatabase): Add more logging.
    21674         (WebCore::IconDatabase::performURLImport): Dispatch the "didFinishURLImport" client callback using the following 3 methods.
    21675         (WebCore::FinishedURLImport::FinishedURLImport):
    21676         (WebCore::FinishedURLImport::performWork):
    21677         (WebCore::IconDatabase::dispatchDidFinishURLImportOnMainThread):
    21678 
    21679         * loader/icon/IconDatabase.h:
    21680         (WebCore::IconDatabase::create): Expose a PassOwnPtr<> creator.
    21681 
    21682         * WebCore.exp.in:
    21683 
    21684 2011-03-23  Jer Noble  <jer.noble@apple.com>
    21685 
    21686         Reviewed by Maciej Stachowiak.
    21687 
    21688         Application Cache should save audio/ and video/ mime types as flat files
    21689         https://bugs.webkit.org/show_bug.cgi?id=53784
    21690         <rdar://problem/8932473>
    21691 
    21692         No new tests.
    21693 
    21694         ApplicationCacheResource::create() now takes an additional "path" parameter.  To facilitate
    21695         extracting this path information, two functions in ApplicationCacheHost have been made public.
    21696 
    21697         * loader/appcache/ApplicationCacheGroup.cpp:
    21698         (WebCore::ApplicationCacheGroup::didReceiveResponse): Pass along new "path" parameter.
    21699         (WebCore::ApplicationCacheGroup::didFail): Ditto.
    21700         * loader/appcache/ApplicationCacheHost.h:
    21701         (WebCore::ApplicationCacheHost::shouldLoadResourceFromApplicationCache): Made public.
    21702         (WebCore::ApplicationCacheHost::getApplicationCacheFallbackResource): Made public.
    21703         * loader/appcache/ApplicationCacheResource.cpp:
    21704         (WebCore::ApplicationCacheResource::ApplicationCacheResource): Add new "path" parameter.
    21705         * loader/appcache/ApplicationCacheResource.h:
    21706         (WebCore::ApplicationCacheResource::create): Ditto.
    21707         (WebCore::ApplicationCacheResource::path): New accessor.
    21708 
    21709 2011-03-24  Andy Estes  <aestes@apple.com>
    21710 
    21711         Reviewed by Darin Adler.
    21712 
    21713         REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
    21714         https://bugs.webkit.org/show_bug.cgi?id=49016
    21715 
    21716         AC_QuickTime.js uses the common <object>/<embed> paradigm to embed the
    21717         QuickTime plug-in in web pages. r70748 removed our mapping of classids
    21718         to MIME types, which causes WebKit to fall back from the object to the
    21719         embed tag when QuickTime is embedded by this script. The script emits
    21720         the following embed tag to embed a QuickTime movie with a poster frame:
    21721 
    21722         <embed src="poster-frame.png" target="quicktimeplayer" href="movie.mov">
    21723 
    21724         The expectation is that a QuickTime plug-in is instantiated to display the
    21725         poster frame, since QuickTime registers for many common image MIME
    21726         types. This is how Gecko behaves for embed. However, WebKit prefers to
    21727         use its native image rendering for image embeds, in which case no movie
    21728         is played when the poster frame is clicked.
    21729 
    21730         Fix this by changing embed to check for a plug-in that can handle the
    21731         image type before rendering the image natively. This matches Gecko.
    21732 
    21733         Test: fast/images/embed-image-plugins-disabled.html
    21734 
    21735         * html/HTMLObjectElement.cpp:
    21736         (WebCore::HTMLObjectElement::parametersForPlugin):
    21737         * html/HTMLPlugInImageElement.cpp:
    21738         (WebCore::HTMLPlugInImageElement::HTMLPlugInImageElement):
    21739         (WebCore::HTMLPlugInImageElement::isImageType):
    21740         (WebCore::HTMLPlugInImageElement::wouldLoadAsNetscapePlugin):
    21741         * html/HTMLPlugInImageElement.h:
    21742         (WebCore::HTMLPlugInImageElement::preferPluginsForImages):
    21743         * loader/EmptyClients.h:
    21744         (WebCore::EmptyFrameLoaderClient::objectContentType):
    21745         * loader/FrameLoader.cpp:
    21746         (WebCore::FrameLoader::defaultObjectContentType):
    21747         * loader/FrameLoader.h:
    21748         * loader/FrameLoaderClient.h:
    21749         * loader/SubframeLoader.cpp:
    21750         (WebCore::SubframeLoader::resourceWillUsePlugin):
    21751         (WebCore::SubframeLoader::requestPlugin):
    21752         (WebCore::SubframeLoader::requestObject):
    21753         (WebCore::SubframeLoader::shouldUsePlugin):
    21754         * loader/SubframeLoader.h:
    21755 
    21756 2011-03-24  Mike Reed  <reed@google.com>
    21757 
    21758         Reviewed by James Robinson.
    21759 
    21760         Move lifetime management of grContext from a global to being
    21761         per-SharedGraphicsContext3D, which correctly is 1:1 with the
    21762         underlying opengl context.
    21763         https://bugs.webkit.org/show_bug.cgi?id=54330
    21764 
    21765         No new tests. Existing <canvas> tests exercise this:
    21766 
    21767         * platform/graphics/chromium/DrawingBufferChromium.cpp:
    21768         (WebCore::DrawingBuffer::DrawingBuffer):
    21769         (WebCore::DrawingBuffer::~DrawingBuffer):
    21770         (WebCore::DrawingBuffer::publishToPlatformLayer):
    21771         (WebCore::DrawingBuffer::setGrContext):
    21772         * platform/graphics/gpu/DrawingBuffer.h:
    21773         * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
    21774         (WebCore::SharedGraphicsContext3D::SharedGraphicsContext3D):
    21775         (WebCore::SharedGraphicsContext3D::~SharedGraphicsContext3D):
    21776         (WebCore::SharedGraphicsContext3D::getGrContext):
    21777         * platform/graphics/gpu/SharedGraphicsContext3D.h:
    21778         * platform/graphics/skia/PlatformContextSkia.cpp:
    21779         (WebCore::PlatformContextSkia::~PlatformContextSkia):
    21780         (WebCore::PlatformContextSkia::setSharedGraphicsContext3D):
    21781 
    21782 2011-03-24  Dimitri Glazkov  <dglazkov@chromium.org>
    21783 
    21784         Reviewed by Darin Adler.
    21785 
    21786         Untangle dependency between event ancestor chain computation and InspectorDOMAgent.
    21787         https://bugs.webkit.org/show_bug.cgi?id=57050
    21788 
    21789         Inspector's list of event listeners does not need to invoke Node::getEventListeners,
    21790         because it simply wants to collect all ancestors and never uses EventContext bits.
    21791 
    21792         No functional change, covered by existing tests.
    21793 
    21794         * dom/Node.cpp:
    21795         (WebCore::getEventAncestors): Converted into a static function.
    21796         (WebCore::Node::dispatchGenericEvent): Changed to pass node to getEventAncestors.
    21797         * dom/Node.h: Removed decl, moved EventDispatchBehavior enum inside.
    21798         * inspector/InspectorDOMAgent.cpp:
    21799         (WebCore::InspectorDOMAgent::getEventListenersForNode): Replaced the call
    21800             to getEventAncestors with a simple ancestor traversal loop.
    21801 
    21802 2011-03-24  Adam Klein  <adamk@chromium.org>
    21803 
    21804         Reviewed by David Levin.
    21805 
    21806         [fileapi] Make FileError and FileException accessible from WorkerContext
    21807         https://bugs.webkit.org/show_bug.cgi?id=57041
    21808 
    21809         * workers/WorkerContext.idl:
    21810 
    21811 2011-03-24  Sam Weinig  <sam@webkit.org>
    21812 
    21813         Reviewed by Anders Carlsson.
    21814 
    21815         Remove legacy version of findPlainText.
    21816         https://bugs.webkit.org/show_bug.cgi?id=57056
    21817 
    21818         * editing/TextIterator.cpp:
    21819         * editing/TextIterator.h:
    21820         Remove legacy overload of findPlainText that doesn't
    21821         take an options parameter.
    21822 
    21823 2011-03-24  Geoffrey Garen  <ggaren@apple.com>
    21824 
    21825         Reviewed by Oliver Hunt.
    21826 
    21827         Ensure that all compilation takes place within a dynamic global object scope
    21828         https://bugs.webkit.org/show_bug.cgi?id=57054
    21829 
    21830         * bindings/js/JSErrorHandler.cpp:
    21831         (WebCore::JSErrorHandler::handleEvent):
    21832         * bindings/js/JSEventListener.cpp:
    21833         (WebCore::JSEventListener::handleEvent): Updated for signature change.
    21834 
    21835 2011-03-24  John Bauman  <jbauman@chromium.org>
    21836 
    21837         Reviewed by Kenneth Russell.
    21838 
    21839         preserveDrawingBuffer=true is ignored
    21840         https://bugs.webkit.org/show_bug.cgi?id=56987
    21841 
    21842         Add code to the V8 and JSC bindings to support grabbing the value of
    21843         preserveDrawingBuffer from the input context attributes. Also, in
    21844         WebGLRenderingContext use the WebGLContextAttributes that were input
    21845         directly, not those from the GraphicsContext3D which could have been
    21846         changed.
    21847 
    21848         No new tests, as this can't be tested with DRT. However, this works
    21849         when tested manually.
    21850 
    21851         * bindings/js/JSHTMLCanvasElementCustom.cpp:
    21852         (WebCore::JSHTMLCanvasElement::getContext):
    21853         * bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
    21854         (WebCore::V8HTMLCanvasElement::getContextCallback):
    21855         * html/canvas/WebGLRenderingContext.cpp:
    21856         (WebCore::WebGLRenderingContext::clearIfComposited):
    21857         (WebCore::WebGLRenderingContext::paintRenderingResultsToCanvas):
    21858 
    21859 2011-03-24  Enrica Casucci  <enrica@apple.com>
    21860 
    21861         Reviewed by Alexey Proskuryakov.
    21862 
    21863         WebKit2:Services menu item to convert selected Simplified/Traditional Chinese Text is not working.
    21864         https://bugs.webkit.org/show_bug.cgi?id=56975
    21865         <rdar://problem/8915066>
    21866        
    21867         Adding support in WebCore to implement readSelectionFromPasteboard
    21868         to support Mac OS X services from WebKit2.
    21869 
    21870         * WebCore.exp.in:
    21871         * editing/Editor.h:
    21872         * editing/mac/EditorMac.mm:
    21873         (WebCore::Editor::readSelectionFromPasteboard): Added entry point
    21874         to call the paste functions with the specified pasteboard.
    21875 
    21876 2011-03-24  Vsevolod Vlasov  <vsevik@chromium.org>
    21877 
    21878         Reviewed by Pavel Feldman.
    21879 
    21880         Web Inspector: Inspector does not show correct transfer size for synchronous requests
    21881         https://bugs.webkit.org/show_bug.cgi?id=56951
    21882 
    21883         Fixed transfer size for synchronous load.
    21884 
    21885         Test: http/tests/inspector/network/network-size-sync.html
    21886 
    21887         * loader/FrameLoader.cpp:
    21888         (WebCore::FrameLoader::willLoadMediaElementURL):
    21889         (WebCore::FrameLoader::commitProvisionalLoad):
    21890         (WebCore::FrameLoader::loadResourceSynchronously):
    21891         (WebCore::FrameLoader::loadedResourceFromMemoryCache):
    21892         * loader/ResourceLoadNotifier.cpp:
    21893         (WebCore::ResourceLoadNotifier::sendRemainingDelegateMessages):
    21894         * loader/ResourceLoadNotifier.h:
    21895 
    21896 2011-03-24  Brady Eidson  <beidson@apple.com>
    21897 
    21898         Reviewed by Adam Roben.
    21899 
    21900         https://bugs.webkit.org/show_bug.cgi?id=57030
    21901         REGRESSION (r81782): http/tests/inspector/extensions-resources-redirect.html sometimes crashes WebKit2's
    21902         web process while handling a WebIconDatabaseProxy::ReceivedIconLoadDecision message
    21903 
    21904         The callback objects had some bogus ASSERTs and missed a relevant null check. If a callback was waiting on
    21905         a message back from the UIProcess, but was invalidated from within the WebProcess in the meantime, it's
    21906         perfectly valid to attempt to performCallback() after the callback function pointer has been cleared.
    21907 
    21908         * loader/icon/IconDatabaseBase.h:
    21909         (WebCore::EnumCallback::performCallback):
    21910         (WebCore::EnumCallback::invalidate):
    21911         (WebCore::EnumCallback::EnumCallback):
    21912         (WebCore::ObjectCallback::performCallback):
    21913         (WebCore::ObjectCallback::invalidate):
    21914         (WebCore::ObjectCallback::ObjectCallback):
    21915 
    21916 2011-03-24  Sam Weinig  <sam@webkit.org>
    21917 
    21918         Reviewed by Darin Adler.
    21919 
    21920         Dictionary text extraction is not correctly detecting word boundaries on bing.com
    21921         <rdar://problem/9078569>
    21922         https://bugs.webkit.org/show_bug.cgi?id=56995
    21923 
    21924         * WebCore.exp.in:
    21925         Add some editing related exports needed by WebKit2.
    21926 
    21927 2011-03-24  Andy Estes  <aestes@apple.com>
    21928 
    21929         Reviewed by Eric Seidel.
    21930 
    21931         REGRESSION (r80231): Bad cast in HTMLTreeBuilder with closed </form> tags
    21932         https://bugs.webkit.org/show_bug.cgi?id=56836
    21933 
    21934         During fragment parsing, HTMLConstructionSite holds a reference to the
    21935         fragment context's closest form ancestor. If a misnested form end tag is
    21936         then encountered as the first node of the fragment, we will check to see
    21937         if a corresponding form start tag is in scope even though no such tag
    21938         exists. This led to isScope() walking the HTMLElementStack all the way
    21939         to the root DocumentFragment and attempting to cast it to Element*.
    21940 
    21941         Fix this by ensuring that the inScope() family of functions operate in
    21942         terms of ContainerNodes to account for the fragment case.
    21943 
    21944         Test: fast/parser/fragment-closest-form-ancestor.html
    21945 
    21946         * html/parser/HTMLElementStack.cpp:
    21947         (WebCore::HTMLNames::isRootNode):
    21948         (WebCore::HTMLNames::isScopeMarker):
    21949         (WebCore::HTMLNames::isTableScopeMarker):
    21950         (WebCore::HTMLNames::isTableBodyScopeMarker):
    21951         (WebCore::HTMLNames::isTableRowScopeMarker):
    21952         (WebCore::HTMLElementStack::hasOnlyHTMLElementsInScope):
    21953         (WebCore::HTMLElementStack::inScope):
    21954 
    21955 2011-03-24  Enrica Casucci  <enrica@apple.com>
    21956 
    21957         Reviewed by Darin Adler.
    21958 
    21959         Repeated copy and paste-in-place operation results in increasingly verbose HTML.
    21960         <rdar://problem/8690506>
    21961         https://bugs.webkit.org/show_bug.cgi?id=56874
    21962        
    21963         When we calculate the style to apply at the insertion point we compare the initial
    21964         style at the insertion point against the style calculated at the span we wrap the
    21965         copied markup fragment with. We could end up with a series of unnecessary spans
    21966         to remove the initial style that simply grow our markup.
    21967         The consists in moving the insertion point outside any inline element that could
    21968         affect the fragment being inserted when we are not pasting and matching the style.
    21969 
    21970         Test: editing/pasteboard/paste-text-with-style.html
    21971 
    21972         * editing/ReplaceSelectionCommand.cpp:
    21973         (WebCore::isInlineNodeWithStyle): Added.
    21974         (WebCore::ReplaceSelectionCommand::doApply): Added logic to change the insertion
    21975         point according to the new rules.
    21976 
    21977 2011-03-24  Benjamin Poulain  <benjamin.poulain@nokia.com>
    21978 
    21979         Reviewed by Kenneth Rohde Christiansen.
    21980 
    21981         [Qt] When we render WebGL offscreen, color conversion cost a lot of CPU cycles
    21982         https://bugs.webkit.org/show_bug.cgi?id=40884
    21983 
    21984         The software fallback is now only needed for corner cases like a manual rendering
    21985         of the page to QImage.
    21986 
    21987         Keeping the image with the last pixel values is no longer needed. Removing it reduce the
    21988         performance for real-time rendering on software surface, but this case should no longer be
    21989         supported.
    21990 
    21991         The conversion from OpenGL color space and coordinates is done manually for performance. This
    21992         also fix the bug of the inverted X axis due to the transformation.
    21993 
    21994         The tests and benchmarks are done through Qt API tests.
    21995 
    21996         * platform/graphics/qt/GraphicsContext3DQt.cpp:
    21997         (WebCore::swapBgrToRgb):
    21998         (WebCore::GraphicsContext3DInternal::paint):
    21999         (WebCore::GraphicsContext3D::reshape):
    22000 
    22001 2011-03-24  Nat Duca  <nduca@chromium.org>
    22002 
    22003         Reviewed by James Robinson.
    22004 
    22005         [chromium] Remove bool that forces compositor HUD to always be enabled
    22006         https://bugs.webkit.org/show_bug.cgi?id=57034
    22007 
    22008         * platform/graphics/chromium/cc/CCHeadsUpDisplay.h:
    22009         (WebCore::CCHeadsUpDisplay::enabled):
    22010 
    22011 2011-03-24  Nat Duca  <nduca@chromium.org>
    22012 
    22013         Reviewed by Kenneth Russell.
    22014 
    22015         [chromium] Add traceEvents to compositor
    22016         https://bugs.webkit.org/show_bug.cgi?id=56965
    22017 
    22018         * WebCore.gypi:
    22019         * platform/chromium/TraceEvent.h: Added.
    22020         (WebCore::internal::ScopeTracer::ScopeTracer):
    22021         (WebCore::internal::ScopeTracer::~ScopeTracer):
    22022         * platform/graphics/chromium/LayerRendererChromium.cpp:
    22023         (WebCore::LayerRendererChromium::updateRootLayerContents):
    22024         (WebCore::LayerRendererChromium::updateRootLayerScrollbars):
    22025         (WebCore::LayerRendererChromium::updateLayers):
    22026         (WebCore::LayerRendererChromium::drawLayers):
    22027         (WebCore::LayerRendererChromium::finish):
    22028         (WebCore::LayerRendererChromium::present):
    22029         * platform/graphics/chromium/LayerTilerChromium.cpp:
    22030         (WebCore::LayerTilerChromium::update):
    22031 
    22032 2011-03-24  Pavel Feldman  <pfeldman@chromium.org>
    22033 
    22034         Reviewed by Yury Semikhatsky.
    22035 
    22036         Web Inspector: render XHRs matching JSON regex as JSON.
    22037         https://bugs.webkit.org/show_bug.cgi?id=57035
    22038 
    22039         * English.lproj/localizedStrings.js:
    22040         * WebCore.gypi:
    22041         * WebCore.vcproj/WebCore.vcproj:
    22042         * inspector/front-end/NetworkItemView.js:
    22043         (WebInspector.NetworkItemView):
    22044         * inspector/front-end/RemoteObject.js:
    22045         (WebInspector.LocalJSONObject.prototype.get description.switch.case):
    22046         (WebInspector.LocalJSONObject.prototype.get description):
    22047         (WebInspector.LocalJSONObject.prototype._concatenate):
    22048         (WebInspector.LocalJSONObject.prototype.getProperties):
    22049         (WebInspector.LocalJSONObject.prototype._children):
    22050         * inspector/front-end/ResourceJSONView.js: Added.
    22051         (WebInspector.ResourceJSONView):
    22052         (WebInspector.ResourceJSONView.parseJSON.WebInspector.ResourceJSONView.prototype.hasContent):
    22053         (WebInspector.ResourceJSONView.parseJSON.WebInspector.ResourceJSONView.prototype.show):
    22054         (WebInspector.ResourceJSONView.parseJSON.WebInspector.ResourceJSONView.prototype._initialize):
    22055         * inspector/front-end/WebKit.qrc:
    22056         * inspector/front-end/inspector.css:
    22057         (.resource-view.json):
    22058         * inspector/front-end/inspector.html:
    22059 
    22060 2011-03-24  Dimitri Glazkov  <dglazkov@chromium.org>
    22061 
    22062         Reviewed by Darin Adler.
    22063 
    22064         Move media controls subtree creation into one method.
    22065         https://bugs.webkit.org/show_bug.cgi?id=56969
    22066 
    22067         Mechanical move, no changes in functionality.
    22068 
    22069         The purpose of this patch is to align existing code closer with its
    22070         future version, when MediaControls is an element whose tree is created
    22071         at the instantiation.
    22072 
    22073         * html/shadow/MediaControls.cpp:
    22074         (WebCore::MediaControls::create): Added, consolidating all subtree generation logic into one place.
    22075         (WebCore::MediaControls::update): Replaced methods with one call.
    22076         * html/shadow/MediaControls.h: Updated decls.
    22077         * rendering/MediaControlElements.cpp:
    22078         (WebCore::MediaControlTimelineElement::create): Moved setting of attributes here.
    22079         (WebCore::MediaControlVolumeSliderElement::create): Ditto.
    22080 
    22081 2011-03-24  Steve Falkenburg  <sfalken@apple.com>
    22082 
    22083         Reviewed by Darin Adler.
    22084 
    22085         Use proper string method to generate webloc string.
    22086         https://bugs.webkit.org/show_bug.cgi?id=57028
    22087         <rdar://problem/9181955>
    22088 
    22089         * platform/win/ClipboardUtilitiesWin.cpp:
    22090         (WebCore::getWebLocData):
    22091 
    22092 2011-03-24  Ben Taylor  <bentaylor.solx86@gmail.com>
    22093 
    22094         Reviewed by Alexey Proskuryakov.
    22095 
    22096         https://bugs.webkit.org/show_bug.cgi?id=32821
    22097         Fix conditionals which had an int for one case and a pointer for another.
    22098         Fix is similar to https://bugs.webkit.org/show_bug.cgi?id=56198
    22099 
    22100         No new tests. Fix compilation on Solaris 10 with SunStudio 12 C++
    22101 
    22102         * css/CSSComputedStyleDeclaration.cpp:
    22103         (WebCore::CSSComputedStyleDeclaration::valueForShadow):
    22104 
    22105 2011-03-24  Pavel Podivilov  <podivilov@chromium.org>
    22106 
    22107         Reviewed by Yury Semikhatsky.
    22108 
    22109         Web Inspector: provide live edit callback to source frame delegate.
    22110         https://bugs.webkit.org/show_bug.cgi?id=57003
    22111 
    22112         * inspector/front-end/DebuggerModel.js:
    22113         (WebInspector.DebuggerModel.prototype.editScriptSource):
    22114         (WebInspector.DebuggerModel.prototype._didEditScriptSource):
    22115         * inspector/front-end/DebuggerPresentationModel.js:
    22116         (WebInspector.DebuggerPresentationModel):
    22117         (WebInspector.DebuggerPresentationModel.prototype.canEditScriptSource):
    22118         (WebInspector.DebuggerPresentationModel.prototype.editScriptSource.didEditScriptSource):
    22119         (WebInspector.DebuggerPresentationModel.prototype.editScriptSource):
    22120         (WebInspector.DebuggerPresentationModel.prototype._updateBreakpointsAfterLiveEdit):
    22121         (WebInspector.DebuggerPresentationModel.prototype._scriptForSourceFileId):
    22122         * inspector/front-end/ScriptsPanel.js:
    22123         (WebInspector.ScriptsPanel.prototype._createSourceFrame):
    22124         (WebInspector.SourceFrameDelegateForScriptsPanel):
    22125         (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.canEditScriptSource):
    22126         (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.editScriptSource):
    22127 
    22128 2011-03-24  Benjamin Poulain  <benjamin.poulain@nokia.com>
    22129 
    22130         Reviewed by Andreas Kling.
    22131 
    22132         Regression: WebKit does not build with Python 3 following 56807
    22133         https://bugs.webkit.org/show_bug.cgi?id=56923
    22134 
    22135         The module string does not have the function replace in Python 3. The str.replace function
    22136         can do the same operation in this case and works with the versions 2 and 3.
    22137 
    22138         * inspector/generate-inspector-idl:
    22139 
    22140 2011-03-24  Pavel Feldman  <pfeldman@chromium.org>
    22141 
    22142         Reviewed by Yury Semikhatsky.
    22143 
    22144         Web Inspector: brush up Network agent API.
    22145         https://bugs.webkit.org/show_bug.cgi?id=57001
    22146 
    22147         * inspector/Inspector.json:
    22148         * inspector/InspectorInstrumentation.cpp:
    22149         (WebCore::InspectorInstrumentation::willSendRequestImpl):
    22150         * inspector/InspectorInstrumentation.h:
    22151         (WebCore::InspectorInstrumentation::willSendRequest):
    22152         * inspector/InspectorResourceAgent.cpp:
    22153         (WebCore::buildObjectForResourceRequest):
    22154         (WebCore::buildObjectForResourceResponse):
    22155         (WebCore::buildObjectForCachedResource):
    22156         (WebCore::InspectorResourceAgent::willSendRequest):
    22157         (WebCore::InspectorResourceAgent::willSendWebSocketHandshakeRequest):
    22158         (WebCore::InspectorResourceAgent::didReceiveWebSocketHandshakeResponse):
    22159         (WebCore::InspectorResourceAgent::setExtraHeaders):
    22160         * inspector/InspectorResourceAgent.h:
    22161         * inspector/TimelineRecordFactory.cpp:
    22162         (WebCore::TimelineRecordFactory::createResourceReceiveResponseData):
    22163         * inspector/front-end/NetworkManager.js:
    22164         (WebInspector.NetworkDispatcher.prototype._updateResourceWithRequest):
    22165         (WebInspector.NetworkDispatcher.prototype._updateResourceWithResponse):
    22166         (WebInspector.NetworkDispatcher.prototype._updateResourceWithCachedResource):
    22167         (WebInspector.NetworkDispatcher.prototype.willSendRequest):
    22168         (WebInspector.NetworkDispatcher.prototype.didReceiveWebSocketHandshakeResponse):
    22169         (WebInspector.NetworkDispatcher.prototype.didCloseWebSocket):
    22170         * inspector/front-end/Resource.js:
    22171         * inspector/front-end/TimelinePanel.js:
    22172         (WebInspector.TimelinePanel.FormattedRecord.prototype._generatePopupContent):
    22173         * loader/ResourceLoadNotifier.cpp:
    22174         (WebCore::ResourceLoadNotifier::assignIdentifierToInitialRequest):
    22175         (WebCore::ResourceLoadNotifier::dispatchWillSendRequest):
    22176         * loader/appcache/ApplicationCacheGroup.cpp:
    22177         (WebCore::ApplicationCacheGroup::createResourceHandle):
    22178 
    22179 2011-03-11  Steve Block  <steveblock@google.com>
    22180 
    22181         Reviewed by Jeremy Orlow.
    22182 
    22183         JNIType is not specific to JNI so should be renamed
    22184         https://bugs.webkit.org/show_bug.cgi?id=56197
    22185 
    22186         This patch renames JNIType to JavaType, renames the values of
    22187         the enum, and moves it out of JNIUtility.h to its own file.
    22188         Also renames the corresponding JavaField and JavaMethod getters.
    22189 
    22190         No new tests, refactoring only.
    22191 
    22192         * GNUmakefile.am:
    22193         * WebCore.gypi:
    22194         * WebCore.xcodeproj/project.pbxproj:
    22195         * bridge/jni/JNIUtility.cpp:
    22196         (JSC::Bindings::javaTypeFromClassName):
    22197         (JSC::Bindings::signatureFromJavaType):
    22198         (JSC::Bindings::javaTypeFromPrimitiveType):
    22199         (JSC::Bindings::getJNIField):
    22200         (JSC::Bindings::callJNIMethod):
    22201         * bridge/jni/JNIUtility.h:
    22202         * bridge/jni/JavaMethod.cpp:
    22203         (JavaMethod::JavaMethod):
    22204         (JavaMethod::signature):
    22205         * bridge/jni/JavaMethod.h:
    22206         (JSC::Bindings::JavaMethod::returnTypeClassName):
    22207         (JSC::Bindings::JavaMethod::returnType):
    22208         * bridge/jni/JavaType.h: Copied from Source/WebCore/bridge/jni/JavaMethod.h.
    22209         * bridge/jni/jni_jsobject.mm:
    22210         (JavaJSObject::toString):
    22211         * bridge/jni/jni_objc.mm:
    22212         (JSC::Bindings::dispatchJNICall):
    22213         * bridge/jni/jsc/JNIUtilityPrivate.cpp:
    22214         (JSC::Bindings::convertArrayInstanceToJavaArray):
    22215         (JSC::Bindings::convertValueToJValue):
    22216         * bridge/jni/jsc/JNIUtilityPrivate.h:
    22217         * bridge/jni/jsc/JavaArrayJSC.cpp:
    22218         (JavaArray::setValueAt):
    22219         (JavaArray::valueAt):
    22220         * bridge/jni/jsc/JavaClassJSC.cpp:
    22221         * bridge/jni/jsc/JavaFieldJSC.cpp:
    22222         (JavaField::JavaField):
    22223         (JavaField::dispatchValueFromInstance):
    22224         (JavaField::valueFromInstance):
    22225         (JavaField::dispatchSetValueToInstance):
    22226         (JavaField::setValueToInstance):
    22227         * bridge/jni/jsc/JavaFieldJSC.h:
    22228         (JSC::Bindings::JavaField::typeClassName):
    22229         (JSC::Bindings::JavaField::type):
    22230         * bridge/jni/jsc/JavaInstanceJSC.cpp:
    22231         (JavaInstance::invokeMethod):
    22232         * bridge/jni/v8/JNIUtilityPrivate.cpp:
    22233         (JSC::Bindings::convertNPVariantToJValue):
    22234         (JSC::Bindings::convertJValueToNPVariant):
    22235         * bridge/jni/v8/JNIUtilityPrivate.h:
    22236         * bridge/jni/v8/JavaFieldV8.cpp:
    22237         (JavaField::JavaField):
    22238         * bridge/jni/v8/JavaFieldV8.h:
    22239         (JSC::Bindings::JavaField::typeClassName):
    22240         (JSC::Bindings::JavaField::type):
    22241         * bridge/jni/v8/JavaInstanceV8.cpp:
    22242         (JavaInstance::invokeMethod):
    22243         (JavaInstance::getField):
    22244         * bridge/jni/v8/JavaNPObjectV8.cpp:
    22245         (JSC::Bindings::JavaNPObjectInvoke):
    22246         (JSC::Bindings::JavaNPObjectGetProperty):
    22247 
    22248 2011-03-24  Ojan Vafai  <ojan@chromium.org>
    22249 
    22250         Was being a little braindead when I committed this.
    22251         Only simple selectors are allowed, but sibling selectors
    22252         are sibling selectors.
    22253 
    22254         * css/CSSStyleSelector.cpp:
    22255         (WebCore::collectFeaturesFromList):
    22256 
    22257 2011-03-23  MORITA Hajime  <morrita@google.com>
    22258 
    22259         Reviewed by Kent Tamura.
    22260 
    22261         Spellcheck feature specific symbols should be defined.
    22262         https://bugs.webkit.org/show_bug.cgi?id=56818
    22263        
    22264         * Introduced USE(UNIFIED_TEXT_CHECKING), USE(GRAMMAR_CHECKING) and USE(AUTOMATIC_TEXT_REPLACEMENT)
    22265         * Replaced a part of of BUILDING_ON_* conditionals with them.
    22266 
    22267         Note that small amount of code path on Editor.cpp is now compiled under USE(GRAMMAR_CHECKING)
    22268         because these code path is already built under non-Mac ports and
    22269         Keeping them buildable for such platforms reduces the build breakage risk.
    22270         These path is guarded by Settings thus should never get reached.
    22271 
    22272         No new tests. No behavioral change.
    22273 
    22274         * WebCore.gypi:
    22275         * WebCore.pro:
    22276         * WebCore.vcproj/WebCore.vcproj:
    22277         * WebCore.xcodeproj/project.pbxproj:
    22278         * editing/Editor.cpp:
    22279         (WebCore::Editor::advanceToNextMisspelling):
    22280         (WebCore::Editor::isSelectionUngrammatical):
    22281         (WebCore::Editor::guessesForUngrammaticalSelection):
    22282         (WebCore::Editor::guessesForMisspelledOrUngrammaticalSelection):
    22283         (WebCore::Editor::markMisspellingsAfterTypingToWord):
    22284         (WebCore::Editor::markMisspellingsOrBadGrammar):
    22285         (WebCore::Editor::markBadGrammar):
    22286         (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
    22287         (WebCore::Editor::changeBackToReplacedString):
    22288         (WebCore::Editor::markMisspellingsAndBadGrammar):
    22289         * editing/Editor.h:
    22290         * editing/TextCheckingHelper.cpp:
    22291         (WebCore::TextCheckingHelper::findFirstMisspellingOrBadGrammar):
    22292         (WebCore::TextCheckingHelper::findFirstGrammarDetail):
    22293         (WebCore::TextCheckingHelper::findFirstBadGrammar):
    22294         (WebCore::TextCheckingHelper::isUngrammatical):
    22295         (WebCore::TextCheckingHelper::guessesForMisspelledOrUngrammaticalRange):
    22296         (WebCore::TextCheckingHelper::markAllBadGrammar):
    22297         * loader/EmptyClients.h:
    22298         * platform/text/TextCheckerClient.h:
    22299         * platform/text/TextChecking.h: Added.
    22300 
    22301 2011-03-23  Kent Tamura  <tkent@chromium.org>
    22302 
    22303         Reviewed by Dimitri Glazkov.
    22304 
    22305         [Chromium] Force to make validation bubble DIV position:absolute
    22306         https://bugs.webkit.org/show_bug.cgi?id=56901
    22307 
    22308         Test: fast/forms/interactive-validation-crash-by-style-override.html
    22309 
    22310         * html/ValidationMessage.cpp:
    22311         (WebCore::ValidationMessage::buildBubbleTree): Add position:absolute
    22312           because we need to move the validation message to a good position.
    22313         * rendering/RenderMenuList.cpp:
    22314         (WebCore::RenderMenuList::addChild):
    22315 
    22316 2011-03-23  Mike Lawther  <mikelawther@chromium.org>
    22317 
    22318         Reviewed by Ojan Vafai.
    22319 
    22320         flex/bison tokens and grammar for CSS calc
    22321         https://bugs.webkit.org/show_bug.cgi?id=54412
    22322 
    22323         Tests: css3/calc/calc-errors.html
    22324                css3/calc/minmax-errors.html
    22325                css3/calc/simple-calcs.html
    22326                css3/calc/simple-minmax.html
    22327 
    22328         * css/CSSGrammar.y:
    22329         * css/CSSParserValues.cpp:
    22330         (WebCore::CSSParserValueList::insertValueAt):
    22331         (WebCore::CSSParserValueList::extend):
    22332         * css/CSSParserValues.h:
    22333         * css/tokenizer.flex:
    22334 
    22335 2011-03-23  Adam Klein  <adamk@chromium.org>
    22336 
    22337         Reviewed by David Levin.
    22338 
    22339         Fix resolveLocalFileSystemURL (and sync version) error codes to match the spec
    22340         https://bugs.webkit.org/show_bug.cgi?id=56961
    22341 
    22342         See error code listing in the Files & Directories spec:
    22343         http://dev.w3.org/2009/dap/file-system/file-dir-sys.html#widl-LocalFileSystemSync-resolveLocalFileSystemSyncURL
    22344 
    22345         Note that the spec currently only specifies errors for the sync
    22346         version; I've used the same codes for the async version.
    22347 
    22348         * page/DOMWindow.cpp:
    22349         (WebCore::DOMWindow::resolveLocalFileSystemURL):
    22350         * workers/WorkerContext.cpp:
    22351         (WebCore::WorkerContext::resolveLocalFileSystemURL):
    22352         (WebCore::WorkerContext::resolveLocalFileSystemSyncURL):
    22353 
    22354 2011-03-23  Jia Pu  <jpu@apple.com>
    22355 
    22356         Reviewed by Darin Adler.
    22357 
    22358         Hook up new AppKit autocorrection UI with WK2.
    22359         https://bugs.webkit.org/show_bug.cgi?id=56055
    22360         <rdar://problem/8947463>
    22361 
    22362         This patch is to enable WK2 to utilize autocorrection UI on Mac OS X. It contains following
    22363         major changes:
    22364 
    22365         1. All but one autocorrection related message is synchronous. Since dismissing autocorrection
    22366         panel can potentially cause editing to occur, a synchronous dismissCorrectionPanelSoon() function
    22367         is introduced to ensure all editing commands occur in correct order.
    22368 
    22369         2. Additional condition variable is needed to implement dismissCorrectionPanelSoon().
    22370         To improve maintainability, CorrectionPanel class is introduced to manage the
    22371         internal state related to correction panel. This change is applied to both WK1 and WK2.
    22372 
    22373         3. EditorClient::isShowingCorrectionPanel() has been removed. The original purpose is to allow
    22374         editor to know when to handle ESC key event. Now this is handled internally in AppKit, so
    22375         EditorClient::isShowingCorrectionPanel() isn't necessary anymore.
    22376 
    22377         4. The Editor* argument in EditorClient::showCorrectionPanel() has been removed, since we can
    22378         access object via WebView or WKView.
    22379 
    22380         * editing/Editor.cpp:
    22381         (WebCore::Editor::markMisspellingsAfterTypingToWord):
    22382         (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
    22383         (WebCore::Editor::correctionPanelTimerFired):
    22384         (WebCore::Editor::dismissCorrectionPanel):
    22385         (WebCore::Editor::dismissCorrectionPanelSoon):
    22386         (WebCore::Editor::applyAutocorrectionBeforeTypingIfAppropriate):
    22387         * editing/Editor.h:
    22388         * editing/EditorCommand.cpp:
    22389         (WebCore::createCommandMap):
    22390         * loader/EmptyClients.h:
    22391         (WebCore::EmptyEditorClient::showCorrectionPanel):
    22392         (WebCore::EmptyEditorClient::dismissCorrectionPanelSoon):
    22393         * manual-tests/autocorrection/close-window-when-correction-is-shown.html: Added.
    22394         * page/EditorClient.h:
    22395 
    22396 2011-03-22  Ojan Vafai  <ojan@chromium.org>
    22397 
    22398         Reviewed by Antti Koivisto.
    22399 
    22400         move :not over to using selectorList instead of simpleSelector
    22401         https://bugs.webkit.org/show_bug.cgi?id=56894
    22402 
    22403         Saves memory and simplifies code.
    22404 
    22405         No new tests since existing tests cover this code.
    22406 
    22407         * css/CSSGrammar.y:
    22408         Also removed extranenous calls to updateLastSelectorLineAndPosition in
    22409         simple_selector_list. These happened to work, but are only actually
    22410         needed in selector_list.
    22411         * css/CSSParserValues.h:
    22412         * css/CSSSelector.cpp:
    22413         (WebCore::CSSSelector::specificityForOneSelector):
    22414         Removed null-check. The parser null-checks, I don't see why we need to here.
    22415         (WebCore::CSSSelector::selectorText):
    22416         Ditto.
    22417         (WebCore::CSSSelector::setArgument):
    22418         (WebCore::CSSSelector::isSimple):
    22419         * css/CSSSelector.h:
    22420         * css/CSSSelectorList.cpp:
    22421         (WebCore::forEachTagSelector):
    22422         * css/CSSStyleSelector.cpp:
    22423         (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
    22424         (WebCore::collectFeaturesFromSelector):
    22425         (WebCore::collectFeaturesFromList):
    22426 
    22427 2011-03-23  Carol Szabo  <carol.szabo@nokia.com>
    22428 
    22429         Reviewed by David Hyatt.
    22430 
    22431         Made sure that renderers displaying counters are invalidated upon
    22432         counter destruction.
    22433 
    22434         Assertion and incorrect rendering of counters.
    22435         https://bugs.webkit.org/show_bug.cgi?id=56896
    22436 
    22437         Test: fast/css/counters/2displays.html
    22438 
    22439         * rendering/CounterNode.cpp:
    22440         (WebCore::CounterNode::~CounterNode):
    22441         Added to make sure that its display renderers are always reset when
    22442         the node is deleted.
    22443         (WebCore::CounterNode::resetRenderers):
    22444         Fixed bug that would prevent reset of second and subsequent
    22445         display renderers.
    22446         * rendering/CounterNode.h:
    22447         * rendering/RenderCounter.cpp:
    22448         (WebCore::destroyCounterNodeWithoutMapRemoval):
    22449         removed unnecessary calls to resetRenderers() as the CounterNode
    22450         destructor takes care of that now.
    22451 
    22452 2011-03-23  Brian Weinstein  <bweinstein@apple.com>
    22453 
    22454         Reviewed by Maciej Stachowiak.
    22455 
    22456         WebKit2: Need API to manage the Media Cache
    22457         https://bugs.webkit.org/show_bug.cgi?id=56878
    22458         <rdar://problem/9082503>
    22459 
    22460         Add functions that need to be exported.
    22461 
    22462         * WebCore.exp.in:
    22463 
    22464 2011-03-23  Robert Kroeger  <rjkroege@chromium.org>
    22465 
    22466         Reviewed by James Robinson.
    22467 
    22468         Correct use of ENABLE() Macro
    22469 
    22470         In http://trac.webkit.org/changeset/81618, I mis-used the ENABLE()
    22471         macro. This patch corrects.
    22472 
    22473         https://bugs.webkit.org/show_bug.cgi?id=56964
    22474 
    22475         * page/EventHandler.cpp:
    22476         (WebCore::EventHandler::EventHandler):
    22477         (WebCore::EventHandler::handleTouchEvent):
    22478         * page/EventHandler.h:
    22479 
    22480 2011-03-23  Jer Noble  <jer.noble@apple.com>
    22481 
    22482         Reviewed by Simon Fraser.
    22483 
    22484         Scrubbing <video> with HTTP Live Stream resizes element to 0x0
    22485         https://bugs.webkit.org/show_bug.cgi?id=55702
    22486 
    22487         QTKit will occasionally set the natural size of a QTMovie to 0x0 while scrubbing
    22488         an HTTP Live Stream.  So we will cache the last valid value returned by QTKit
    22489         and use that as our naturalSize until a new valid value is returned.
    22490 
    22491         Unfortunately, QTKit will also fail to generate a notification when the natural size
    22492         changes, so we are forced to cache the natural size from within naturalSize(), which
    22493         is a const function, necessitating a const_cast to set m_cachedNaturalSize.
    22494 
    22495         * platform/graphics/mac/MediaPlayerPrivateQTKit.h: Added m_cachedNaturalSize.
    22496         * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
    22497         (WebCore::MediaPlayerPrivateQTKit::MediaPlayerPrivateQTKit): Initialize m_cachedNaturalSize.
    22498         (WebCore::MediaPlayerPrivateQTKit::naturalSize):
    22499 
    22500 2011-03-23  Alexey Proskuryakov  <ap@apple.com>
    22501 
    22502         Build fix.
    22503 
    22504         * loader/FrameLoader.cpp: (WebCore::FrameLoader::checkLoadCompleteForThisFrame):
    22505         Removed a stray parenthesis.
    22506 
    22507 2011-03-23  Alexey Proskuryakov  <ap@apple.com>
    22508 
    22509         Reviewed by Maciej Stachowiak.
    22510 
    22511         REGRESSION: Infinite recursion in recursiveCheckLoadComplete()/checkLoadCompleteForThisFrame()/stopLoading()
    22512         https://bugs.webkit.org/show_bug.cgi?id=56978
    22513         <rdar://problem/9041670>
    22514 
    22515         No new tests, because there is no known way to reproduce.
    22516 
    22517         Removed strange code that was trying to stop a non-loading provisional document loader and
    22518         even its subframes (?!). Added assertions to catch it if we can actually be loading here in
    22519         some sense.
    22520         Rewrote a condition for clarity - starting with r43148, it was acting as an opposite of a
    22521         recursion guard (but that didn't cause immediate problems then).
    22522 
    22523         * loader/FrameLoader.cpp: (WebCore::FrameLoader::checkLoadCompleteForThisFrame):
    22524 
    22525 2011-03-23  Brady Eidson  <beidson@apple.com>
    22526 
    22527         Attempt to fix the build for platforms that have the icon database
    22528         disabled but still provide settings API for it...?
    22529 
    22530         * loader/icon/IconDatabase.h:
    22531         (WebCore::IconDatabase::defaultDatabaseFilename):
    22532 
    22533 2011-03-23  Mark Rowe  <mrowe@apple.com>
    22534 
    22535         Fix the build.
    22536 
    22537         * WebCore.exp.in: Export the new version of IconDatabase::open.
    22538 
    22539 2011-03-23  Brady Eidson  <beidson@apple.com>
    22540 
    22541         Reviewed by Sam Weinig.
    22542 
    22543         Change IconDatabase opening to allow for arbitrary filenames
    22544         https://bugs.webkit.org/show_bug.cgi?id=56977
    22545 
    22546         * WebCore.exp.in:
    22547         * loader/icon/IconDatabase.cpp:
    22548         (WebCore::IconDatabase::open):
    22549         * loader/icon/IconDatabase.h:
    22550         * loader/icon/IconDatabaseBase.cpp:
    22551         (WebCore::IconDatabaseBase::open):
    22552         * loader/icon/IconDatabaseBase.h:
    22553         * loader/icon/IconDatabaseClient.h:
    22554 
    22555 2011-03-23  Kenneth Russell  <kbr@google.com>
    22556 
    22557         Reviewed by James Robinson.
    22558 
    22559         [chromium] WebGLRenderingContext and other DOMWindow properties should remain if WebGL is disabled
    22560         https://bugs.webkit.org/show_bug.cgi?id=56947
    22561 
    22562         Removed the RuntimeEnabledFeatures setting for WebGL and the
    22563         EnabledAtRuntime extended attribute from the WebGL-related
    22564         properties on the DOMWindow. WebGL support is now controlled
    22565         exclusively through the page's Settings.
    22566 
    22567         No new tests; tested manually in Chromium with --disable-webgl
    22568         command line argument and blacklist.
    22569 
    22570         * bindings/generic/RuntimeEnabledFeatures.cpp:
    22571         * bindings/generic/RuntimeEnabledFeatures.h:
    22572         * page/DOMWindow.idl:
    22573 
    22574 2011-03-23  Sheriff Bot  <webkit.review.bot@gmail.com>
    22575 
    22576         Unreviewed, rolling out r81802.
    22577         http://trac.webkit.org/changeset/81802
    22578         https://bugs.webkit.org/show_bug.cgi?id=56963
    22579 
    22580         Broke a layout test, and this fix is not trivial. (Requested
    22581         by dhyatt on #webkit).
    22582 
    22583         * rendering/RenderBlock.cpp:
    22584         (WebCore::RenderBlock::layoutBlock):
    22585         (WebCore::RenderBlock::layoutOnlyPositionedObjects):
    22586         * rendering/RenderBlock.h:
    22587         * rendering/RenderBox.cpp:
    22588         (WebCore::RenderBox::styleDidChange):
    22589         * rendering/RenderBoxModelObject.cpp:
    22590         (WebCore::RenderBoxModelObject::styleWillChange):
    22591         * rendering/RenderFlexibleBox.cpp:
    22592         (WebCore::RenderFlexibleBox::layoutBlock):
    22593         * rendering/RenderObject.cpp:
    22594         (WebCore::RenderObject::RenderObject):
    22595         (WebCore::RenderObject::adjustStyleDifference):
    22596         (WebCore::RenderObject::setStyle):
    22597         (WebCore::RenderObject::styleDidChange):
    22598         * rendering/RenderObject.h:
    22599         (WebCore::RenderObject::needsLayout):
    22600         (WebCore::RenderObject::needsPositionedMovementLayoutOnly):
    22601         (WebCore::RenderObject::setNeedsLayout):
    22602         (WebCore::RenderObject::setChildNeedsLayout):
    22603         (WebCore::RenderObject::markContainingBlocksForLayout):
    22604         * rendering/RenderTable.cpp:
    22605         (WebCore::RenderTable::layout):
    22606         * rendering/style/RenderStyle.cpp:
    22607         (WebCore::RenderStyle::diff):
    22608         * rendering/style/RenderStyleConstants.h:
    22609         * rendering/svg/RenderSVGText.cpp:
    22610         (WebCore::RenderSVGText::layout):
    22611 
    22612 2011-03-23  Luiz Agostini  <luiz.agostini@openbossa.org>
    22613 
    22614         Reviewed by David Hyatt.
    22615 
    22616         REGRESSION(81035): crash in RenderDetails::removeChild
    22617         https://bugs.webkit.org/show_bug.cgi?id=56773
    22618 
    22619         Test: fast/html/details-children-merge-crash.html
    22620 
    22621         Preventing merging of RenderDetails's anonymous children.
    22622 
    22623         * rendering/RenderBlock.cpp:
    22624         (WebCore::canMergeContiguousAnonymousBlocks):
    22625 
    22626         Fixing RenderDetails::removeChild and cleaning m_marker in RenderDetails::destroy.
    22627 
    22628         * rendering/RenderDetails.cpp:
    22629         (WebCore::RenderDetails::destroy):
    22630         (WebCore::RenderDetails::removeChild):
    22631 
    22632 2011-03-23  Xiaomei Ji  <xji@chromium.org>
    22633 
    22634         Reviewed by David Hyatt.
    22635 
    22636         Preserve unicode-bidi:bidi-override in anonymous block.
    22637         https://bugs.webkit.org/show_bug.cgi?id=21440
    22638 
    22639         unicode-bidi:bidi-override should be preserved in anonymous block
    22640         according to http://www.w3.org/TR/CSS21/visuren.html#propdef-unicode-bidi.
    22641 
    22642         Introduce a helper function RenderStyle()::createAnonymousStyle() which
    22643         creates a default RenderStyle, inherits the inherited style from parent,
    22644         and inherit unicode-bidi:bidi-override from parent.
    22645         And replace the style creation when anonymous block is created.
    22646 
    22647         Note: the TABLE releated anonymous blocks are untouched, including:
    22648         TABLE, TABLE_CELL, TABLE_ROW, TABLE_ROW_GROUP anonymous blocks created in
    22649         RenderObject, RenderTable, RenderTableRow, and RenderTableSection,
    22650         due to the expected behavior is not clear.
    22651         Please refer to https://bugs.webkit.org/show_bug.cgi?id=56594.
    22652        
    22653         Test: fast/css/bidi-override-in-anonymous-block.html
    22654 
    22655         * rendering/RenderBlock.cpp:
    22656         (WebCore::RenderBlock::styleDidChange):
    22657         (WebCore::RenderBlock::removeChild):
    22658         (WebCore::RenderBlock::createAnonymousBlock):
    22659         (WebCore::RenderBlock::createAnonymousColumnsBlock):
    22660         (WebCore::RenderBlock::createAnonymousColumnSpanBlock):
    22661         * rendering/RenderInline.cpp:
    22662         (WebCore::RenderInline::addChildIgnoringContinuation):
    22663         * rendering/RenderRubyRun.cpp:
    22664         (WebCore::RenderRubyRun::createRubyBase):
    22665         (WebCore::RenderRubyRun::staticCreateRubyRun):
    22666         * rendering/style/RenderStyle.cpp:
    22667         (WebCore::RenderStyle::createAnonymousStyle):
    22668         * rendering/style/RenderStyle.h:
    22669 
    22670 2011-03-23  David Hyatt  <hyatt@apple.com>
    22671 
    22672         Reviewed by Dan Bernstein.
    22673 
    22674         https://bugs.webkit.org/show_bug.cgi?id=56909
    22675        
    22676         Add a simplified normal flow layout path optimization for overflow recomputation
    22677         and for positioned objects inside relative positioned containers.
    22678 
    22679         Currently there is an optimized code path for positioned objects, but as soon as
    22680         we encounter a normal flow object in the containing block chain, we lose the
    22681         optimization.
    22682 
    22683         This patch adds a new type of style difference called SimplifiedLayout that is
    22684         returned when only overflow needs to be recomputed. Whenever opacity changes or
    22685         a transform changes, this is the hint returned now instead of a full layout.
    22686        
    22687         In addition, when positioned objects need layout and start marking up the
    22688         containing block chain, we now propagate the fact that the layout is simplified
    22689         all the way up to the root, even when we encounter normal flow containing
    22690         blocks.
    22691        
    22692         The layoutOnlyPositionedObjects function has been renamed to simplifiedLayout()
    22693         and is now used for all of these cases (in addition to what it handled before).
    22694        
    22695         No new tests, since existing tests covered this very well (especially the opacity
    22696         and transforms repaint tests in fast/repaint).
    22697 
    22698         * rendering/RenderBlock.cpp:
    22699         (WebCore::RenderBlock::layoutBlock):
    22700         (WebCore::RenderBlock::simplifiedNormalFlowLayout):
    22701         (WebCore::RenderBlock::simplifiedLayout):
    22702         * rendering/RenderBlock.h:
    22703         * rendering/RenderBox.cpp:
    22704         (WebCore::RenderBox::styleDidChange):
    22705         * rendering/RenderBoxModelObject.cpp:
    22706         (WebCore::RenderBoxModelObject::styleWillChange):
    22707         * rendering/RenderFlexibleBox.cpp:
    22708         (WebCore::RenderFlexibleBox::layoutBlock):
    22709         * rendering/RenderObject.cpp:
    22710         (WebCore::RenderObject::RenderObject):
    22711         (WebCore::RenderObject::adjustStyleDifference):
    22712         (WebCore::RenderObject::setStyle):
    22713         (WebCore::RenderObject::styleDidChange):
    22714         * rendering/RenderObject.h:
    22715         (WebCore::RenderObject::needsLayout):
    22716         (WebCore::RenderObject::needsPositionedMovementLayoutOnly):
    22717         (WebCore::RenderObject::needsSimplifiedNormalFlowLayout):
    22718         (WebCore::RenderObject::setNeedsLayout):
    22719         (WebCore::RenderObject::setChildNeedsLayout):
    22720         (WebCore::RenderObject::setNeedsSimplifiedNormalFlowLayout):
    22721         (WebCore::RenderObject::markContainingBlocksForLayout):
    22722         * rendering/RenderTable.cpp:
    22723         (WebCore::RenderTable::layout):
    22724         * rendering/style/RenderStyle.cpp:
    22725         (WebCore::RenderStyle::diff):
    22726         * rendering/style/RenderStyleConstants.h:
    22727         * rendering/svg/RenderSVGText.cpp:
    22728         (WebCore::RenderSVGText::layout):
    22729 
    22730 2011-03-23  Tyler Close  <tjclose@chromium.org>
    22731 
    22732         Reviewed by Jeremy Orlow.
    22733 
    22734         Fix ambiguous method call in V8 IDL generated code for DOMStringList callback parameter
    22735         https://bugs.webkit.org/show_bug.cgi?id=56950
    22736 
    22737         * bindings/scripts/CodeGeneratorV8.pm:
    22738         * bindings/scripts/test/CPP/WebDOMTestCallback.cpp:
    22739         (WebDOMTestCallback::callbackWithStringList):
    22740         * bindings/scripts/test/CPP/WebDOMTestCallback.h:
    22741         * bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp:
    22742         (webkit_dom_test_callback_callback_with_string_list):
    22743         * bindings/scripts/test/GObject/WebKitDOMTestCallback.h:
    22744         * bindings/scripts/test/JS/JSTestCallback.cpp:
    22745         (WebCore::JSTestCallback::callbackWithStringList):
    22746         * bindings/scripts/test/JS/JSTestCallback.h:
    22747         * bindings/scripts/test/ObjC/DOMTestCallback.h:
    22748         * bindings/scripts/test/ObjC/DOMTestCallback.mm:
    22749         (-[DOMTestCallback callbackWithStringList:]):
    22750         * bindings/scripts/test/TestCallback.idl:
    22751         * bindings/scripts/test/V8/V8TestCallback.cpp:
    22752         (WebCore::V8TestCallback::callbackWithStringList):
    22753         * bindings/scripts/test/V8/V8TestCallback.h:
    22754 
    22755 2011-03-23  Cris Neckar  <cdn@chromium.org>
    22756 
    22757         Reviewed by Eric Seidel.
    22758 
    22759         Add refptr for widget. Mutations can happen within the event handler.
    22760         https://bugs.webkit.org/show_bug.cgi?id=56774
    22761 
    22762         Test: plugins/change-widget-and-click-crash.html
    22763 
    22764         * html/HTMLPlugInElement.cpp:
    22765         (WebCore::HTMLPlugInElement::defaultEventHandler):
    22766 
    22767 2011-03-23  Abhishek Arya  <inferno@chromium.org>
    22768 
    22769         Reviewed by Dave Hyatt.
    22770 
    22771         Add combine text cast checks since style property is insufficient
    22772         in telling object types.
    22773         https://bugs.webkit.org/show_bug.cgi?id=56358
    22774 
    22775         Test: fast/text/input-box-text-fragment-combine-text-crash.html
    22776 
    22777         * rendering/InlineTextBox.cpp:
    22778         (WebCore::InlineTextBox::paint):
    22779         * rendering/RenderBlock.cpp:
    22780         (WebCore::RenderBlock::computeInlinePreferredLogicalWidths):
    22781         * rendering/RenderBlockLineLayout.cpp:
    22782         (WebCore::RenderBlock::findNextLineBreak):
    22783         * rendering/RenderText.cpp:
    22784         (WebCore::RenderText::widthFromCache):
    22785 
    22786 2011-03-23  Andreas Kling  <kling@webkit.org>
    22787 
    22788         Reviewed by Kenneth Rohde Christiansen.
    22789 
    22790         [Qt] "Unwavering" HTML5 game freezes the web page.
    22791         https://bugs.webkit.org/show_bug.cgi?id=56944
    22792 
    22793         For canvas's getImageData() API, we don't want to make a deep-copy of
    22794         the pixels, which is the case on Qt's "raster" graphics system.
    22795 
    22796         To work around this, we trick QPixmap::toImage() into giving us the
    22797         QPixmap's backing QImage by temporarily pointing the paint engine to
    22798         a null paint device.
    22799 
    22800         * platform/graphics/qt/ImageBufferData.h:
    22801         * platform/graphics/qt/ImageBufferQt.cpp:
    22802         (WebCore::ImageBufferData::toQImage): Added, returns the
    22803         ImageBufferData as a QImage, avoiding a backend deep-copy if possible.
    22804         (WebCore::ImageBuffer::platformTransformColorSpace):
    22805         (WebCore::getImageData):
    22806 
    22807 2011-03-23  Viet-Trung Luu  <viettrungluu@chromium.org>
    22808 
    22809         Reviewed by Tony Chang.
    22810 
    22811         [chromium] Add FormatPlainText to WebClipboard::Format enumeration.
    22812         https://bugs.webkit.org/show_bug.cgi?id=56868
    22813 
    22814         Chromium's WebClipboard::isFormatAvailable() will be correspondingly
    22815         extended.
    22816 
    22817         * platform/chromium/PasteboardPrivate.h: Add corresponding enum entry.
    22818             This part of the change is inert and should have no effect.
    22819 
    22820 2011-03-23  Tyler Close  <tjclose@chromium.org>
    22821 
    22822         Reviewed by Jeremy Orlow.
    22823 
    22824         run-bindings-tests reference files are out of sync with CodeGenerator*.pm
    22825         https://bugs.webkit.org/show_bug.cgi?id=56934
    22826 
    22827         * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
    22828         * bindings/scripts/test/GObject/WebKitDOMTestObj.h:
    22829         * bindings/scripts/test/JS/JSTestInterface.cpp:
    22830         (WebCore::JSTestInterfaceConstructor::createStructure):
    22831         (WebCore::JSTestInterfaceConstructor::JSTestInterfaceConstructor):
    22832         (WebCore::JSTestInterface::createPrototype):
    22833         * bindings/scripts/test/JS/JSTestInterface.h:
    22834         (WebCore::JSTestInterface::createStructure):
    22835         (WebCore::JSTestInterfacePrototype::createStructure):
    22836         * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
    22837         (WebCore::JSTestMediaQueryListListenerConstructor::createStructure):
    22838         (WebCore::JSTestMediaQueryListListenerConstructor::JSTestMediaQueryListListenerConstructor):
    22839         (WebCore::JSTestMediaQueryListListener::createPrototype):
    22840         * bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
    22841         (WebCore::JSTestMediaQueryListListener::createStructure):
    22842         (WebCore::JSTestMediaQueryListListenerPrototype::createStructure):
    22843         * bindings/scripts/test/JS/JSTestObj.cpp:
    22844         (WebCore::JSTestObjConstructor::createStructure):
    22845         (WebCore::JSTestObjConstructor::JSTestObjConstructor):
    22846         (WebCore::JSTestObj::createPrototype):
    22847         * bindings/scripts/test/JS/JSTestObj.h:
    22848         (WebCore::JSTestObj::createStructure):
    22849         (WebCore::JSTestObjPrototype::createStructure):
    22850         * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
    22851         (WebCore::JSTestSerializedScriptValueInterfaceConstructor::createStructure):
    22852         (WebCore::JSTestSerializedScriptValueInterfaceConstructor::JSTestSerializedScriptValueInterfaceConstructor):
    22853         (WebCore::JSTestSerializedScriptValueInterface::createPrototype):
    22854         * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
    22855         (WebCore::JSTestSerializedScriptValueInterface::createStructure):
    22856         (WebCore::JSTestSerializedScriptValueInterfacePrototype::createStructure):
    22857         * bindings/scripts/test/V8/V8TestCallback.cpp:
    22858         * bindings/scripts/test/V8/V8TestInterface.cpp:
    22859         (WebCore::V8TestInterface::wrapSlow):
    22860         * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
    22861         (WebCore::V8TestMediaQueryListListener::wrapSlow):
    22862         * bindings/scripts/test/V8/V8TestObj.cpp:
    22863         (WebCore::V8TestObj::wrapSlow):
    22864         * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
    22865         (WebCore::V8TestSerializedScriptValueInterface::wrapSlow):
    22866 
    22867 2011-03-23  Daniel Bates  <dbates@rim.com>
    22868 
    22869         Reviewed by Antonio Gomes.
    22870 
    22871         Clean up: Rename HTMLFrameSetElement::{noresize, frameborder, and frameBorderSet}
    22872         to conform to the WebKit Code style guidelines
    22873         https://bugs.webkit.org/show_bug.cgi?id=56871
    22874 
    22875         No functionality changed. So, no new tests.
    22876 
    22877         * html/HTMLFrameSetElement.cpp:
    22878         (WebCore::HTMLFrameSetElement::HTMLFrameSetElement):
    22879         (WebCore::HTMLFrameSetElement::parseMappedAttribute):
    22880         (WebCore::HTMLFrameSetElement::attach):
    22881         (WebCore::HTMLFrameSetElement::defaultEventHandler):
    22882         * html/HTMLFrameSetElement.h:
    22883         (WebCore::HTMLFrameSetElement::hasFrameBorder):
    22884         (WebCore::HTMLFrameSetElement::noResize):
    22885 
    22886 2011-03-23  Abhishek Arya  <inferno@chromium.org>
    22887 
    22888         Reviewed by Dan Bernstein.
    22889 
    22890         Replace height with logicalHeight when removing items from
    22891         gPercentHeightDescendantMap so that it is writing mode aware.
    22892         https://bugs.webkit.org/show_bug.cgi?id=56902
    22893 
    22894         Test: fast/block/percent-height-descendant-not-removed-crash.html
    22895 
    22896         * rendering/RenderBox.cpp:
    22897         (WebCore::RenderBox::destroy):
    22898         (WebCore::RenderBox::styleDidChange):
    22899         * rendering/RenderWidget.cpp:
    22900         (WebCore::RenderWidget::destroy):
    22901 
    22902 2011-03-23  Anders Carlsson  <andersca@apple.com>
    22903 
    22904         Fix clang build.
    22905 
    22906         * inspector/DOMNodeHighlighter.cpp:
    22907         Remove an unused function.
    22908 
    22909 2011-03-22  Brady Eidson  <beidson@apple.com>
    22910 
    22911         Reviewed by Sam Weinig.
    22912 
    22913         Add asynchronous load decision call to WebKit2 IconDatabase
    22914         https://bugs.webkit.org/show_bug.cgi?id=56887
    22915 
    22916         Clear the callback when it's made:
    22917         * loader/DocumentLoader.cpp:
    22918         (WebCore::DocumentLoader::continueIconLoadWithDecision):
    22919 
    22920         Don't load icons when using new-style icon database if in private browsing:
    22921         * loader/FrameLoader.cpp:
    22922         (WebCore::FrameLoader::continueIconLoadWithDecision):
    22923        
    22924         Enhance the IconDatabase callbacks to have an ID and inherit from a common base:
    22925         * loader/icon/IconDatabaseBase.h:
    22926         (WebCore::CallbackBase::~CallbackBase):
    22927         (WebCore::CallbackBase::callbackID):
    22928         (WebCore::CallbackBase::CallbackBase):
    22929         (WebCore::CallbackBase::context):
    22930         (WebCore::CallbackBase::generateCallbackID):
    22931         (WebCore::EnumCallback::performCallback):
    22932         (WebCore::EnumCallback::EnumCallback):
    22933         (WebCore::ObjectCallback::performCallback):
    22934         (WebCore::ObjectCallback::ObjectCallback):
    22935 
    22936 2011-03-21  Pavel Podivilov  <podivilov@chromium.org>
    22937 
    22938         Reviewed by Yury Semikhatsky.
    22939 
    22940         Web Inspector: move scripts concatenation logic to SourceFile.
    22941         https://bugs.webkit.org/show_bug.cgi?id=56756
    22942 
    22943         * inspector/front-end/ScriptsPanel.js:
    22944         * inspector/front-end/SourceFile.js:
    22945         (WebInspector.SourceFile.prototype._requestContent):
    22946         (WebInspector.SourceFile.prototype._loadResourceContent):
    22947         (WebInspector.SourceFile.prototype._loadAndConcatenateScriptsContent):
    22948         (WebInspector.SourceFile.prototype._concatenateScriptsContent):
    22949 
    22950 2011-03-23  Leandro Gracia Gil  <leandrogracia@chromium.org>
    22951 
    22952         Reviewed by Steve Block.
    22953 
    22954         Media Stream API: add a flag to RuntimeEnabledFeatures.
    22955         https://bugs.webkit.org/show_bug.cgi?id=56921
    22956 
    22957         Add a flag to RuntimeEnabledFeatures to check if the Media Stream API is enabled at runtime.
    22958 
    22959         Tests for the Media Stream API will be provided by the bug 56587.
    22960 
    22961         * bindings/generic/RuntimeEnabledFeatures.cpp:
    22962         * bindings/generic/RuntimeEnabledFeatures.h:
    22963         (WebCore::RuntimeEnabledFeatures::mediaStreamEnabled):
    22964         (WebCore::RuntimeEnabledFeatures::setMediaStreamEnabled):
    22965         (WebCore::RuntimeEnabledFeatures::webkitGetUserMediaEnabled):
    22966 
    22967 2011-03-23  Carol Szabo  <carol.szabo@nokia.com>
    22968 
    22969         Reviewed by David Hyatt.
    22970 
    22971         Modified RenderCounter::originalText() to correctly attach
    22972         the created counter to the before/after container even when
    22973         that is not the RenderCounter's direct parent.
    22974 
    22975         CSS 2.1 failure: various before-after-* tests fail
    22976         https://bugs.webkit.org/show_bug.cgi?id=47207
    22977 
    22978         Test: fast/css/counters/complex-before.html
    22979 
    22980         * rendering/RenderCounter.cpp:
    22981         (WebCore::RenderCounter::originalText):
    22982 
    22983 2011-03-23  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
    22984 
    22985         Reviewed by Antonio Gomes.
    22986 
    22987         [EFL] Add play / pause button to media control
    22988         https://bugs.webkit.org/show_bug.cgi?id=55463
    22989 
    22990         Add play|pause button to media control.
    22991 
    22992         * platform/efl/RenderThemeEfl.cpp:
    22993         (WebCore::RenderThemeEfl::edjeGroupFromFormType):
    22994         (WebCore::RenderThemeEfl::emitMediaButtonSignal): Added.
    22995         (WebCore::RenderThemeEfl::paintMediaPlayButton):
    22996         * platform/efl/RenderThemeEfl.h:
    22997 
    22998 2011-03-23  Aparna Nandyal  <aparna.nand@wipro.com>
    22999 
    23000         Reviewed by Andreas Kling.
    23001 
    23002         [Qt] QtWebKit rendering problem when maximizing and doing a back
    23003         https://bugs.webkit.org/show_bug.cgi?id=56669
    23004 
    23005         Contents of the page are not re-sized on going back after
    23006         maximizing. ContentsResized() is not getting called. Hence old
    23007         document width and height are used. Corrected this behaviour by
    23008         calling setBoundsSize() which calls contentsSize().
    23009 
    23010         * loader/FrameLoader.cpp:
    23011         (WebCore::FrameLoader::open):
    23012 
    23013 2011-03-21  Pavel Podivilov  <podivilov@chromium.org>
    23014 
    23015         Reviewed by Yury Semikhatsky.
    23016 
    23017         Web Inspector: add support for formating source files in debugger presentation model.
    23018         https://bugs.webkit.org/show_bug.cgi?id=56558
    23019 
    23020         * inspector/front-end/DebuggerModel.js:
    23021         (WebInspector.DebuggerModel.prototype.reset):
    23022         (WebInspector.DebuggerModel.prototype.get scripts):
    23023         * inspector/front-end/DebuggerPresentationModel.js:
    23024         (WebInspector.DebuggerPresentationModel):
    23025         (WebInspector.DebuggerPresentationModel.prototype._addScript):
    23026         (WebInspector.DebuggerPresentationModel.prototype._refreshBreakpoints):
    23027         (WebInspector.DebuggerPresentationModel.prototype.toggleFormatSourceFiles):
    23028         (WebInspector.DebuggerPresentationModel.prototype.continueToLine):
    23029         (WebInspector.DebuggerPresentationModel.prototype.setBreakpoint):
    23030         (WebInspector.DebuggerPresentationModel.prototype._breakpointAdded):
    23031         (WebInspector.DebuggerPresentationModel.prototype.set selectedCallFrame):
    23032         (WebInspector.DebuggerPresentationModel.prototype._sourceFileForScript):
    23033         (WebInspector.DebuggerPresentationModel.prototype._reset):
    23034         * inspector/front-end/ScriptFormatter.js:
    23035         (WebInspector.ScriptFormatter.prototype.formatContent.didFormatChunks):
    23036         (WebInspector.ScriptFormatter.prototype.formatContent):
    23037         * inspector/front-end/ScriptsPanel.js:
    23038         (WebInspector.ScriptsPanel):
    23039         (WebInspector.ScriptsPanel.prototype.reset):
    23040         (WebInspector.ScriptsPanel.prototype._toggleFormatSourceFiles):
    23041         * inspector/front-end/Settings.js:
    23042         * inspector/front-end/SourceFile.js:
    23043         (WebInspector.SourceFile.prototype.scriptLocationToSourceLocation):
    23044         (WebInspector.SourceFile.prototype.sourceLocationToScriptLocation):
    23045         (WebInspector.FormattedSourceFile):
    23046         (WebInspector.FormattedSourceFile.prototype.scriptLocationToSourceLocation):
    23047         (WebInspector.FormattedSourceFile.prototype.sourceLocationToScriptLocation):
    23048         (WebInspector.FormattedSourceFile.prototype._didRequestContent):
    23049 
    23050 2011-03-23  Yury Semikhatsky  <yurys@chromium.org>
    23051 
    23052         Reviewed by Pavel Feldman.
    23053 
    23054         Web Inspector: use unsigned char instead of char when storing script source
    23055         https://bugs.webkit.org/show_bug.cgi?id=56920
    23056 
    23057         * bindings/v8/DebuggerScript.js:
    23058         * bindings/v8/ScriptDebugServer.cpp:
    23059         (WebCore::ScriptDebugServer::ensureDebuggerScriptCompiled):
    23060         * inspector/InjectedScriptManager.cpp:
    23061         (WebCore::InjectedScriptManager::injectedScriptSource):
    23062         * inspector/InjectedScriptSource.js: whitespace change to trigger compilation
    23063         * inspector/xxd.pl:
    23064         * xml/XMLViewer.xsl:
    23065 
    23066 2011-03-23  Ilya Tikhonovsky  <loislo@chromium.org>
    23067 
    23068         Reviewed by Yury Semikhatsky.
    23069 
    23070         Web Inspector: move node searching and node highlight related methods from InspectorAgent to InspectorDOMAgent.
    23071         https://bugs.webkit.org/show_bug.cgi?id=56912
    23072 
    23073         The next functions were moved:
    23074             setSearchingForNode
    23075             highlightDOMNode
    23076             hideDOMNodeHighlight
    23077             highlightFrame
    23078             hideFrameHighlight
    23079             mouseDidMoveOverElement
    23080             handleMousePress
    23081 
    23082         The code which does real highlight in Graphic context was moved to new files DOMNodeHighlighter.*
    23083 
    23084         * CMakeLists.txt:
    23085         * GNUmakefile.am:
    23086         * WebCore.gypi:
    23087         * WebCore.pro:
    23088         * WebCore.vcproj/WebCore.vcproj:
    23089         * WebCore.xcodeproj/project.pbxproj:
    23090         * inspector/DOMNodeHighlighter.cpp: Added.
    23091         (WebCore::DOMNodeHighlighter::DrawNodeHighlight):
    23092         * inspector/DOMNodeHighlighter.h: Added.
    23093         * inspector/Inspector.json:
    23094         * inspector/InspectorAgent.cpp:
    23095         (WebCore::InspectorAgent::InspectorAgent):
    23096         (WebCore::InspectorAgent::~InspectorAgent):
    23097         (WebCore::InspectorAgent::inspectedPageDestroyed):
    23098         (WebCore::InspectorAgent::disconnectFrontend):
    23099         * inspector/InspectorAgent.h:
    23100         * inspector/InspectorController.cpp:
    23101         (WebCore::InspectorController::drawNodeHighlight):
    23102         (WebCore::InspectorController::hideHighlight):
    23103         * inspector/InspectorDOMAgent.cpp:
    23104         (WebCore::InspectorDOMAgent::InspectorDOMAgent):
    23105         (WebCore::InspectorDOMAgent::~InspectorDOMAgent):
    23106         (WebCore::InspectorDOMAgent::clearFrontend):
    23107         (WebCore::InspectorDOMAgent::handleMousePress):
    23108         (WebCore::InspectorDOMAgent::mouseDidMoveOverElement):
    23109         (WebCore::InspectorDOMAgent::searchingForNodeInPage):
    23110         (WebCore::InspectorDOMAgent::setSearchingForNode):
    23111         (WebCore::InspectorDOMAgent::highlight):
    23112         (WebCore::InspectorDOMAgent::highlightDOMNode):
    23113         (WebCore::InspectorDOMAgent::highlightFrame):
    23114         (WebCore::InspectorDOMAgent::hideHighlight):
    23115         (WebCore::InspectorDOMAgent::drawNodeHighlight):
    23116         * inspector/InspectorDOMAgent.h:
    23117         (WebCore::InspectorDOMAgent::hideDOMNodeHighlight):
    23118         (WebCore::InspectorDOMAgent::hideFrameHighlight):
    23119         * inspector/InspectorInstrumentation.cpp:
    23120         (WebCore::InspectorInstrumentation::mouseDidMoveOverElementImpl):
    23121         (WebCore::InspectorInstrumentation::handleMousePressImpl):
    23122         * inspector/InstrumentingAgents.h:
    23123         (WebCore::InstrumentingAgents::InstrumentingAgents):
    23124         (WebCore::InstrumentingAgents::inspectorAgent):
    23125         (WebCore::InstrumentingAgents::setInspectorAgent):
    23126         * inspector/front-end/ElementsPanel.js:
    23127         (WebInspector.ElementsPanel.prototype.setSearchingForNode):
    23128         * inspector/front-end/ResourcesPanel.js:
    23129         (WebInspector.FrameTreeElement.prototype.onselect):
    23130         (WebInspector.FrameTreeElement.prototype.set hovered):
    23131         * inspector/front-end/inspector.js:
    23132         (WebInspector.highlightDOMNode):
    23133 
    23134 2011-03-23  Yury Semikhatsky  <yurys@chromium.org>
    23135 
    23136         Unreviewed. Rollout r81768 which broke compilation on Win.
    23137 
    23138         * xml/XMLTreeViewer.cpp:
    23139         (WebCore::XMLTreeViewer::transformDocumentToTreeView):
    23140         * xml/XMLViewer.xsl:
    23141 
    23142 2011-03-23  Yury Semikhatsky  <yurys@chromium.org>
    23143 
    23144         Reviewed by Pavel Feldman.
    23145 
    23146         Web Inspector: remove unnecessary reinterpret_cast in XMLTreeViewer
    23147         https://bugs.webkit.org/show_bug.cgi?id=56919
    23148 
    23149         * xml/XMLTreeViewer.cpp:
    23150         (WebCore::XMLTreeViewer::transformDocumentToTreeView):
    23151         * xml/XMLViewer.xsl: whitespace change to trigger compilation.
    23152 
    23153 2011-03-21  Pavel Podivilov  <podivilov@chromium.org>
    23154 
    23155         Reviewed by Yury Semikhatsky.
    23156 
    23157         Web Inspector: move content loading logic to a new SourceFile class.
    23158         https://bugs.webkit.org/show_bug.cgi?id=56748
    23159 
    23160         * WebCore.gypi:
    23161         * WebCore.vcproj/WebCore.vcproj:
    23162         * inspector/front-end/DebuggerPresentationModel.js:
    23163         (WebInspector.DebuggerPresentationModel.prototype.requestSourceFileContent):
    23164         (WebInspector.DebuggerPresentationModel.prototype._addScript.contentChanged):
    23165         (WebInspector.DebuggerPresentationModel.prototype._addScript):
    23166         (WebInspector.DebuggerPresentationModel.prototype._scriptSourceChanged):
    23167         (WebInspector.DebuggerPresentationModel.prototype.set selectedCallFrame):
    23168         * inspector/front-end/SourceFile.js: Added.
    23169         (WebInspector.SourceFile):
    23170         (WebInspector.SourceFile.prototype.addScript):
    23171         (WebInspector.SourceFile.prototype.requestContent):
    23172         (WebInspector.SourceFile.prototype.forceLoadContent):
    23173         (WebInspector.SourceFile.prototype.reload):
    23174         (WebInspector.SourceFile.prototype._requestContent):
    23175         (WebInspector.SourceFile.prototype._loadResourceContent):
    23176         (WebInspector.SourceFile.prototype._loadScriptContent):
    23177         (WebInspector.SourceFile.prototype._loadAndConcatenateScriptsContent):
    23178         (WebInspector.SourceFile.prototype._didRequestContent):
    23179         (WebInspector.SourceFile.prototype._hasPendingResource):
    23180         * inspector/front-end/WebKit.qrc:
    23181         * inspector/front-end/inspector.html:
    23182 
    23183 2011-03-23  Pavel Podivilov  <podivilov@chromium.org>
    23184 
    23185         Unreviewed, fix compilation broken by r81758.
    23186 
    23187         * xml/XMLTreeViewer.cpp:
    23188         (WebCore::XMLTreeViewer::transformDocumentToTreeView):
    23189 
    23190 2011-03-23  Pavel Feldman  <pfeldman@chromium.org>
    23191 
    23192         Reviewed by Yury Semikhatsky.
    23193 
    23194         Web Inspector: define array types properly in the Inspector.json
    23195         https://bugs.webkit.org/show_bug.cgi?id=56915
    23196 
    23197         * inspector/Inspector.json:
    23198         * inspector/generate-inspector-idl:
    23199 
    23200 2011-03-23  Yury Semikhatsky  <yurys@chromium.org>
    23201 
    23202         Reviewed by Pavel Feldman.
    23203 
    23204         [V8] Web Inspector: compile DebuggerScript.js into DebuggerScriptSource.h
    23205         https://bugs.webkit.org/show_bug.cgi?id=56843
    23206 
    23207         * inspector/front-end/WebKit.qrc:
    23208 
    23209 2011-03-23  Andrey Adaikin  <aandrey@google.com>
    23210 
    23211         Reviewed by Yury Semikhatsky.
    23212 
    23213         Web Inspector: Add a star while editing a source code
    23214         https://bugs.webkit.org/show_bug.cgi?id=56743
    23215 
    23216         * inspector/front-end/ScriptsPanel.js:
    23217         (WebInspector.ScriptsPanel.prototype.setScriptSourceIsBeingEdited):
    23218         (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.setScriptSourceIsBeingEdited):
    23219         * inspector/front-end/SourceFrame.js:
    23220         (WebInspector.SourceFrame.prototype._startEditing):
    23221         (WebInspector.SourceFrame.prototype._registerShortcuts):
    23222         (WebInspector.SourceFrame.prototype._handleSave):
    23223         (WebInspector.SourceFrame.prototype._handleRevertEditing):
    23224         (WebInspector.SourceFrameDelegate.prototype.setScriptSourceIsBeingEdited):
    23225 
    23226 2011-03-23  Andrey Adaikin  <aandrey@google.com>
    23227 
    23228         Reviewed by Yury Semikhatsky.
    23229 
    23230         Web Inspector: Scrolling and navigation is not smooth on a script with many long lines
    23231         https://bugs.webkit.org/show_bug.cgi?id=56559
    23232 
    23233         * inspector/front-end/TextViewer.js:
    23234         (WebInspector.TextEditorChunkedPanel.prototype._expandChunks):
    23235         (WebInspector.TextEditorMainPanel.prototype._expandChunks):
    23236         (WebInspector.TextEditorMainPanel.prototype._highlightDataReady):
    23237         (WebInspector.TextEditorMainPanel.prototype._schedulePaintLines):
    23238         (WebInspector.TextEditorMainPanel.prototype._paintScheduledLines):
    23239         (WebInspector.TextEditorMainPanel.prototype._restorePaintLinesOperationsCredit):
    23240         (WebInspector.TextEditorMainPanel.prototype._paintLines):
    23241         (WebInspector.TextEditorMainPanel.prototype._paintLine):
    23242         (WebInspector.TextEditorMainPanel.prototype._applyDomUpdates):
    23243 
    23244 2011-03-22  Yury Semikhatsky  <yurys@chromium.org>
    23245 
    23246         Reviewed by Pavel Feldman.
    23247 
    23248         [V8] Web Inspector: compile DebuggerScript.js into DebuggerScriptSource.h
    23249         https://bugs.webkit.org/show_bug.cgi?id=56843
    23250 
    23251         DebuggerScript.js is now translated into a char[] array before inspector compilation.
    23252 
    23253         * WebCore.gyp/WebCore.gyp:
    23254         * WebCore.gypi:
    23255         * bindings/v8/ScriptDebugServer.cpp:
    23256         (WebCore::ScriptDebugServer::ensureDebuggerScriptCompiled):
    23257         * bindings/v8/ScriptDebugServer.h:
    23258         * inspector/InjectedScriptManager.cpp:
    23259         (WebCore::InjectedScriptManager::injectedScriptSource):
    23260         * inspector/InjectedScriptSource.js: whitespace change to trigger InjectedScriptSource.h generation.
    23261         * inspector/xxd.pl:
    23262 
    23263 2011-03-23  Mark Rowe  <mrowe@apple.com>
    23264 
    23265         Fix the 32-bit build.
    23266 
    23267         * html/canvas/WebGLRenderingContext.cpp:
    23268         (WebCore::WebGLRenderingContext::initializeNewContext):
    23269 
    23270 2011-03-22  Noel Gordon  <noel.gordon@gmail.com>
    23271 
    23272         Reviewed by Ojan Vafai.
    23273 
    23274         [chromium] skia image encoders should use <wtf/Vector.h>
    23275         https://bugs.webkit.org/show_bug.cgi?id=56893
    23276 
    23277         No new tests. Covered by existing canvas.toDataURL tests.
    23278 
    23279         * platform/image-encoders/skia/JPEGImageEncoder.h:
    23280         * platform/image-encoders/skia/PNGImageEncoder.h:
    23281 
    23282 2011-03-22  David Hyatt  <hyatt@apple.com>
    23283 
    23284         Reviewed by Beth Dakin.
    23285 
    23286         Move the cellWidthChanged bit out of RenderObject and back down into RenderTableCell in order to
    23287         free up a bit for another performance optimization I have planned.
    23288 
    23289         * rendering/RenderObject.cpp:
    23290         (WebCore::RenderObject::RenderObject):
    23291         * rendering/RenderObject.h:
    23292         (WebCore::RenderObject::setHasColumns):
    23293         * rendering/RenderTableCell.cpp:
    23294         (WebCore::RenderTableCell::RenderTableCell):
    23295         * rendering/RenderTableCell.h:
    23296         (WebCore::RenderTableCell::cellWidthChanged):
    23297         (WebCore::RenderTableCell::setCellWidthChanged):
    23298 
    23299 2011-03-22  David Hyatt  <hyatt@apple.com>
    23300 
    23301         Reviewed by Dan Bernstein.
    23302 
    23303         https://bugs.webkit.org/show_bug.cgi?id=56892
    23304        
    23305         Adding floats to an empty block is O(n^2).
    23306 
    23307         If you just add floats back to back to an empty block, the addition is essentially O(n^2)
    23308         once the floats move below your current line position.  This is because we repeatedly ask for the
    23309         available width for the line from scratch every time we add a float, regardless of whether the
    23310         float even vertically intersected our current line position.
    23311        
    23312         Change positionNewFloatOnLine to update left and right line offsets intelligently and to only
    23313         do it based off the single new float that just got added.
    23314        
    23315         This fix cuts the IE MazeSolver time in half.
    23316 
    23317         * rendering/RenderBlock.cpp:
    23318         (WebCore::RenderBlock::positionNewFloatOnLine):
    23319         * rendering/RenderBlock.h:
    23320         * rendering/RenderBlockLineLayout.cpp:
    23321         (WebCore::RenderBlock::skipLeadingWhitespace):
    23322         (WebCore::RenderBlock::findNextLineBreak):
    23323 
    23324 2011-03-22  Beth Dakin  <bdakin@apple.com>
    23325 
    23326         Reviewed by Sam Weinig.
    23327 
    23328         Fix for https://bugs.webkit.org/show_bug.cgi?id=56890 It is possible to calculate a
    23329         NaN value for "value" in ScrollbarThemeMac::paint()
    23330         -and corresponding-
    23331         <rdar://problem/9160621>
    23332 
    23333         * platform/mac/ScrollbarThemeMac.mm:
    23334         (WebCore::ScrollbarThemeMac::paint):
    23335 
    23336 2011-03-17  Ojan Vafai  <ojan@chromium.org>
    23337 
    23338         Reviewed by Antti Koivisto.
    23339 
    23340         webkit should implement -moz-any selector (as -webkit-any obviously)
    23341         https://bugs.webkit.org/show_bug.cgi?id=38095
    23342 
    23343         For now, match the Mozilla implementation with respect to specificity
    23344         and only allowing simple selectors. Both of these are likely to change
    23345         pending discussion on www-style@.
    23346 
    23347         Tests: fast/css/pseudo-any.html
    23348                fast/dom/SelectorAPI/unknown-pseudo.html
    23349 
    23350         * css/CSSGrammar.y:
    23351         Create simple_selector_list. This is exactly like selector_list
    23352         except it only allows simple selectors and creates a new vector
    23353         instead of a reusable one since there can be multiple in one rule.
    23354         * css/CSSParser.cpp:
    23355         (WebCore::CSSParser::~CSSParser):
    23356         (WebCore::CSSParser::lex):
    23357         (WebCore::CSSParser::createFloatingSelectorVector):
    23358         (WebCore::CSSParser::sinkFloatingSelectorVector):
    23359         * css/CSSParser.h:
    23360         * css/CSSParserValues.cpp:
    23361         (WebCore::CSSParserSelector::adoptSelectorVector):
    23362         * css/CSSParserValues.h:
    23363         * css/CSSSelector.cpp:
    23364         (WebCore::CSSSelector::specificityForOneSelector):
    23365         (WebCore::CSSSelector::pseudoId):
    23366         (WebCore::nameToPseudoTypeMap):
    23367         (WebCore::CSSSelector::extractPseudoType):
    23368         (WebCore::CSSSelector::selectorText):
    23369         (WebCore::CSSSelector::setSelectorList):
    23370         (WebCore::CSSSelector::RareData::RareData):
    23371         (WebCore::CSSSelector::RareData::~RareData):
    23372         These need to be moved into the cpp file so that we can
    23373         have an OwnPtr<CSSSelectorList> in CSSSelector::RareData.
    23374         * css/CSSSelector.h:
    23375         (WebCore::CSSSelector::selectorList):
    23376         * css/CSSSelectorList.cpp:
    23377         (WebCore::forEachTagSelector):
    23378         * css/CSSStyleSelector.cpp:
    23379         (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
    23380         (WebCore::collectFeaturesFromSelector):
    23381         * css/tokenizer.flex:
    23382 
    23383 2011-03-22  John Bauman  <jbauman@chromium.org>
    23384 
    23385         Reviewed by Kenneth Russell.
    23386 
    23387         Add support for preserveDrawingBuffer context creation attribute
    23388         https://bugs.webkit.org/show_bug.cgi?id=56431
    23389 
    23390         For the accelerated compositing case, only prepare the texture if it
    23391         has been updated since the last composite. For the non-accelerated case, make sure to
    23392         grab a copy of the image buffer and paint from that if the backbuffer
    23393         would be cleared.
    23394 
    23395         In both cases, make sure to clear the context's backbuffer before the
    23396         first operation that uses it.
    23397 
    23398         No new tests. It seems to be difficult/impossible to trigger an early
    23399         compositing operation in DumpRenderTree, making this hard to
    23400         test automatically. However, Chromium and Safari (Mac) have been
    23401         tested manually on the webgl conformance test for this.
    23402 
    23403         * html/HTMLCanvasElement.cpp:
    23404         (WebCore::HTMLCanvasElement::paint):
    23405         (WebCore::HTMLCanvasElement::makePresentationCopy):
    23406         (WebCore::HTMLCanvasElement::clearPresentationCopy):
    23407         * html/HTMLCanvasElement.h:
    23408         * html/canvas/WebGLContextAttributes.cpp:
    23409         (WebCore::WebGLContextAttributes::preserveDrawingBuffer):
    23410         (WebCore::WebGLContextAttributes::setPreserveDrawingBuffer):
    23411         * html/canvas/WebGLContextAttributes.h:
    23412         * html/canvas/WebGLContextAttributes.idl:
    23413         * html/canvas/WebGLRenderingContext.cpp:
    23414         (WebCore::WebGLRenderingContext::initializeNewContext):
    23415         (WebCore::WebGLRenderingContext::markContextChanged):
    23416         (WebCore::WebGLRenderingContext::clearIfComposited):
    23417         (WebCore::WebGLRenderingContext::markLayerComposited):
    23418         (WebCore::WebGLRenderingContext::paintRenderingResultsToCanvas):
    23419         (WebCore::WebGLRenderingContext::paintRenderingResultsToImageData):
    23420         (WebCore::WebGLRenderingContext::clear):
    23421         (WebCore::WebGLRenderingContext::clearColor):
    23422         (WebCore::WebGLRenderingContext::clearDepth):
    23423         (WebCore::WebGLRenderingContext::clearStencil):
    23424         (WebCore::WebGLRenderingContext::colorMask):
    23425         (WebCore::WebGLRenderingContext::disable):
    23426         (WebCore::WebGLRenderingContext::drawArrays):
    23427         (WebCore::WebGLRenderingContext::drawElements):
    23428         (WebCore::WebGLRenderingContext::enable):
    23429         (WebCore::WebGLRenderingContext::readPixels):
    23430         * html/canvas/WebGLRenderingContext.h:
    23431         * platform/graphics/GraphicsContext3D.h:
    23432         (WebCore::GraphicsContext3D::Attributes::Attributes):
    23433         * platform/graphics/chromium/WebGLLayerChromium.cpp:
    23434         (WebCore::WebGLLayerChromium::updateContentsIfDirty):
    23435         (WebCore::WebGLLayerChromium::textureUpdated):
    23436         (WebCore::WebGLLayerChromium::setContext):
    23437         * platform/graphics/chromium/WebGLLayerChromium.h:
    23438         * platform/graphics/mac/GraphicsContext3DMac.mm
    23439         (WebCore::GraphicsContext3D::GraphicsContext3D):
    23440         (WebCore::GraphicsContext3D::~GraphicsContext3D):
    23441         * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
    23442         (WebCore::GraphicsContext3D::reshape):
    23443         (WebCore::GraphicsContext3D::prepareTexture):
    23444         (WebCore::GraphicsContext3D::activeTexture):
    23445         (WebCore::GraphicsContext3D::bindTexture):
    23446         (WebCore::GraphicsContext3D::markContextChanged):
    23447         (WebCore::GraphicsContext3D::markLayerComposited):
    23448         (WebCore::GraphicsContext3D::layerComposited):
    23449         * platform/graphics/qt/GraphicsContext3DQt.cpp:
    23450         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
    23451         (WebCore::GraphicsContext3D::markLayerComposited):
    23452         (WebCore::GraphicsContext3D::markContextChanged):
    23453         (WebCore::GraphicsContext3D::layerComposited):
    23454 
    23455 2011-03-22  Sam Weinig  <sam@webkit.org>
    23456 
    23457         Reviewed by Mark Rowe.
    23458 
    23459         Remove USE_WK_SCROLLBAR_PAINTER_AND_CONTROLLER.
    23460         <rdar://problem/8944718>
    23461 
    23462         * DerivedSources.make:
    23463         Remove generation of HeaderDetection.h.
    23464 
    23465         * WebCore.xcodeproj/project.pbxproj:
    23466         Remove HeaderDetection.h.
    23467 
    23468         * platform/mac/ScrollAnimatorMac.h:
    23469         * platform/mac/ScrollAnimatorMac.mm:
    23470         * platform/mac/ScrollbarThemeMac.h:
    23471         * platform/mac/ScrollbarThemeMac.mm:
    23472         Replace use of USE_WK_SCROLLBAR_PAINTER_AND_CONTROLLER with USE(WK_SCROLLBAR_PAINTER).
    23473 
    23474 2011-03-22  Victoria Kirst  <vrk@google.com>
    23475 
    23476         Reviewed by Kenneth Russell.
    23477 
    23478         [chromium] Properly reset VideoLayerChromium textures after lost renderer context
    23479         https://bugs.webkit.org/show_bug.cgi?id=56514
    23480 
    23481         The VideoLayerChromium textures were still mapped to the old
    23482         renderer's context when LayerRendererChromium was being recreated
    23483         i.e. when GPU process is killed. This patch allows VideoLayerChromium
    23484         it recreate textures in the new context when the old renderer is lost.
    23485         Patch also does a bit of refactoring and code clean-up.
    23486 
    23487         * platform/graphics/chromium/VideoLayerChromium.cpp:
    23488         (WebCore::VideoLayerChromium::~VideoLayerChromium):
    23489         (WebCore::VideoLayerChromium::cleanupResources):
    23490         (WebCore::VideoLayerChromium::updateContentsIfDirty):
    23491         (WebCore::VideoLayerChromium::allocateTexturesIfNeeded):
    23492         (WebCore::VideoLayerChromium::computeVisibleSize):
    23493         (WebCore::VideoLayerChromium::drawYUV):
    23494         (WebCore::VideoLayerChromium::drawRGBA):
    23495         (WebCore::VideoLayerChromium::resetFrameParameters):
    23496         (WebCore::VideoLayerChromium::saveCurrentFrame):
    23497         * platform/graphics/chromium/VideoLayerChromium.h:
    23498 
    23499 2011-03-22  Adam Barth  <abarth@webkit.org>
    23500 
    23501         Reviewed by Eric Seidel.
    23502 
    23503         WebCore GYP build should export the headers needed by WebKit
    23504         https://bugs.webkit.org/show_bug.cgi?id=56883
    23505 
    23506         * WebCore.gypi:
    23507         * gyp/WebCore.gyp:
    23508             - Export a couple more headers.
    23509             - Remove FIXME comments for things we've already fixed.
    23510 
    23511 2011-03-22  Anton D'Auria  <adauria@apple.com>
    23512 
    23513         Reviewed by Alexey Proskuryakov.
    23514 
    23515         Add +[WebApplicationCache getOriginsWithCache]
    23516         https://bugs.webkit.org/show_bug.cgi?id=56722
    23517 
    23518         Added test that exercises WebCore API to get origins with application cache.
    23519 
    23520         Test: http/tests/appcache/origins-with-appcache.html
    23521 
    23522         * loader/appcache/ApplicationCacheStorage.cpp:
    23523         (WebCore::ApplicationCacheStorage::getOriginsWithCache):
    23524         * loader/appcache/ApplicationCacheStorage.h:
    23525 
    23526 2011-03-22  Carol Szabo  <carol.szabo@nokia.com>
    23527 
    23528         Reviewed by David Hyatt.
    23529 
    23530         Introduced double linkage between a CounterNode and its display renderer.
    23531 
    23532         use of freed pointer in WebCore::RenderCounter::originalText()
    23533         https://bugs.webkit.org/show_bug.cgi?id=56065
    23534 
    23535         No new tests. This bug could only be reproduced manually by
    23536         refreshing the page during load at a critical point.
    23537         See bug attachment for testing.
    23538 
    23539         * rendering/CounterNode.cpp:
    23540         Introduced new member "m_owner" to store the renderer that has the
    23541         style directives that produce the CounterNode.
    23542         Repurposed m_renderer to reffer to the RenderCounter that shows the
    23543         CounterNode.
    23544         (WebCore::CounterNode::CounterNode):
    23545         Updated member initialization.
    23546         (WebCore::CounterNode::create):
    23547         (WebCore::CounterNode::addRenderer):
    23548         (WebCore::CounterNode::removeRenderer):
    23549         Introduced to manage the renderer list associated wit this CounterNode.
    23550         (WebCore::CounterNode::resetRenderers):
    23551         This is the old resetRenderer. Renamed to take into account that there may be
    23552         more than one renderer to a CounterNode.
    23553         (WebCore::CounterNode::resetThisAndDescendantsRenderers):
    23554         This is the old resetRenderers renamed for clarity.
    23555         (WebCore::CounterNode::recount):
    23556         (WebCore::CounterNode::insertAfter):
    23557         (WebCore::CounterNode::removeChild):
    23558         No functional changes.
    23559         (WebCore::showTreeAndMark):
    23560         Added flushing to ensure that the output is complete.
    23561         * rendering/CounterNode.h:
    23562         (WebCore::CounterNode::owner):
    23563         Renamed from renderer()
    23564         * rendering/RenderCounter.cpp:
    23565         (WebCore::findPlaceForCounter):
    23566         Fixed comments. No functional changes.
    23567         (WebCore::RenderCounter::~RenderCounter):
    23568         Made sure that the CounterNode that this renderers displays is
    23569         detached from this.
    23570         (WebCore::RenderCounter::originalText):
    23571         (WebCore::RenderCounter::invalidate):
    23572         Changed to maintain the bidirectional relationship with the displayed CounterNode.
    23573         Also made "invalidate" private as it should be used only by CounterNode.
    23574         (WebCore::destroyCounterNodeWithoutMapRemoval):
    23575         (WebCore::RenderCounter::destroyCounterNodes):
    23576         (WebCore::RenderCounter::destroyCounterNode):
    23577         (WebCore::updateCounters):
    23578         No change, just kept code in line with the changes above.
    23579         (showCounterRendererTree):
    23580         Added fflush to ensure complete display.
    23581         * rendering/RenderCounter.h:
    23582         * rendering/RenderObjectChildList.cpp:
    23583         * rendering/RenderObjectChildList.h:
    23584         Removed unneeded invalidateCounters related functions.
    23585 
    23586 2011-03-22  Dean Jackson  <dino@apple.com>
    23587 
    23588         Reviewed by Simon Fraser.
    23589 
    23590         https://bugs.webkit.org/show_bug.cgi?id=56242
    23591         Interrupted accelerated animations/transitions were causing
    23592         subsequent animations to not start (because they were stuck
    23593         waiting for a response from the compositing layer). I renamed
    23594         the instance variable that indicates whether or not to
    23595         notify animations of start time, from m_waitingForStartTimeResponse
    23596         to m_waitingForAsyncStartNotification, so that it makes more sense.
    23597         The actual bug fix was changing the logic so that the flag is reset
    23598         when the list of waiting animations becomes empty. I mistakenly committed
    23599         the bad logic in r81613.
    23600 
    23601         * page/animation/AnimationBase.cpp:
    23602         (WebCore::AnimationBase::updateStateMachine):
    23603         - Always set paused time as we enter the paused state
    23604         * page/animation/AnimationController.cpp:
    23605         (WebCore::AnimationControllerPrivate::AnimationControllerPrivate):
    23606         (WebCore::AnimationControllerPrivate::endAnimationUpdate):
    23607         (WebCore::AnimationControllerPrivate::receivedStartTimeResponse):
    23608         (WebCore::AnimationControllerPrivate::addToAnimationsWaitingForStartTimeResponse):
    23609         (WebCore::AnimationControllerPrivate::removeFromAnimationsWaitingForStartTimeResponse):
    23610         - reset the waiting flag when the list is empty (rather than not empty)
    23611         (WebCore::AnimationControllerPrivate::startTimeResponse):
    23612         * page/animation/AnimationControllerPrivate.h:
    23613         - rename m_waitingForStartTimeResponse to m_waitingForAsyncStartNotification
    23614 
    23615 2011-03-22  Brady Eidson  <beidson@apple.com>
    23616 
    23617         Reviewed by Sam Weinig.
    23618 
    23619         <rdar://problem/8648311> and https://bugs.webkit.org/show_bug.cgi?id=56876
    23620         WK2 Icon DB: Expand IconDatabaseClient interface and move it to the main thread
    23621 
    23622         * loader/icon/IconDatabase.cpp:
    23623         Add a dummy client implementation for non-Mac, non-Win ports:
    23624         (WebCore::DefaultIconDatabaseClient::performImport):
    23625         (WebCore::DefaultIconDatabaseClient::didImportIconURLForPageURL):
    23626         (WebCore::DefaultIconDatabaseClient::didImportIconDataForPageURL):
    23627         (WebCore::DefaultIconDatabaseClient::didChangeIconForPageURL):
    23628         (WebCore::DefaultIconDatabaseClient::didRemoveAllIcons):
    23629         (WebCore::DefaultIconDatabaseClient::didFinishURLImport):
    23630         (WebCore::defaultClient):
    23631 
    23632         Either call the client directly when on the main thread, or use the dispatch functions below
    23633         if on the background thread:
    23634         (WebCore::IconDatabase::setIconDataForIconURL):
    23635         (WebCore::IconDatabase::setIconURLForPageURL):
    23636         (WebCore::IconDatabase::performURLImport):
    23637         (WebCore::IconDatabase::readFromDatabase):
    23638         (WebCore::IconDatabase::removeAllIconsOnThread):
    23639 
    23640         Add a very targeted WorkItem interface for dispatching client calls on the main thread:
    23641         (WebCore::ClientWorkItem::ClientWorkItem):
    23642         (WebCore::ClientWorkItem::~ClientWorkItem):
    23643         (WebCore::ImportedIconURLForPageURLWorkItem::ImportedIconURLForPageURLWorkItem):
    23644         (WebCore::ImportedIconURLForPageURLWorkItem::~ImportedIconURLForPageURLWorkItem):
    23645         (WebCore::ImportedIconURLForPageURLWorkItem::performWork):
    23646         (WebCore::ImportedIconDataForPageURLWorkItem::ImportedIconDataForPageURLWorkItem):
    23647         (WebCore::ImportedIconDataForPageURLWorkItem::~ImportedIconDataForPageURLWorkItem):
    23648         (WebCore::ImportedIconDataForPageURLWorkItem::performWork):
    23649         (WebCore::RemovedAllIconsWorkItem::RemovedAllIconsWorkItem):
    23650         (WebCore::RemovedAllIconsWorkItem::performWork):
    23651         (WebCore::performWorkItem):
    23652 
    23653         Use the client WorkItem interface to perform these callbacks on the main thread:
    23654         (WebCore::IconDatabase::dispatchDidImportIconURLForPageURLOnMainThread):
    23655         (WebCore::IconDatabase::dispatchDidImportIconDataForPageURLOnMainThread):
    23656         (WebCore::IconDatabase::dispatchDidRemoveAllIconsOnMainThread):
    23657         * loader/icon/IconDatabase.h:
    23658         * loader/icon/IconDatabaseClient.h:
    23659 
    23660 2011-03-22  David Hyatt  <hyatt@apple.com>
    23661 
    23662         Reviewed by Simon Fraser.
    23663 
    23664         https://bugs.webkit.org/show_bug.cgi?id=56869
    23665        
    23666         Make horizontal writing mode a bit on RenderObject with a fast inlined method for access. This should be
    23667         a little faster than having to access the information from the RenderStyle's sub-structure.
    23668 
    23669         * rendering/RenderBlock.cpp:
    23670         (WebCore::RenderBlock::layoutBlock):
    23671         (WebCore::RenderBlock::addOverflowFromChildren):
    23672         (WebCore::RenderBlock::computeOverflow):
    23673         (WebCore::RenderBlock::adjustPositionedBlock):
    23674         (WebCore::RenderBlock::setLogicalLeftForChild):
    23675         (WebCore::RenderBlock::setLogicalTopForChild):
    23676         (WebCore::RenderBlock::layoutPositionedObjects):
    23677         (WebCore::RenderBlock::paintColumnRules):
    23678         (WebCore::RenderBlock::paintColumnContents):
    23679         (WebCore::RenderBlock::flipFloatForWritingMode):
    23680         (WebCore::blockDirectionOffset):
    23681         (WebCore::inlineDirectionOffset):
    23682         (WebCore::RenderBlock::logicalRectToPhysicalRect):
    23683         (WebCore::RenderBlock::inlineSelectionGaps):
    23684         (WebCore::RenderBlock::addOverhangingFloats):
    23685         (WebCore::RenderBlock::addIntrudingFloats):
    23686         (WebCore::RenderBlock::hitTestColumns):
    23687         (WebCore::positionForPointRespectingEditingBoundaries):
    23688         (WebCore::RenderBlock::positionForPointWithInlineChildren):
    23689         (WebCore::RenderBlock::positionForPoint):
    23690         (WebCore::RenderBlock::columnRectAt):
    23691         (WebCore::RenderBlock::adjustPointToColumnContents):
    23692         (WebCore::RenderBlock::adjustRectForColumns):
    23693         (WebCore::RenderBlock::flipForWritingModeIncludingColumns):
    23694         (WebCore::RenderBlock::adjustForColumns):
    23695         (WebCore::RenderBlock::lastLineBoxBaseline):
    23696         (WebCore::RenderBlock::nextPageLogicalTop):
    23697         (WebCore::RenderBlock::adjustForUnsplittableChild):
    23698         (WebCore::RenderBlock::adjustLinePositionForPagination):
    23699         (WebCore::RenderBlock::collapsedMarginBeforeForChild):
    23700         (WebCore::RenderBlock::collapsedMarginAfterForChild):
    23701         (WebCore::RenderBlock::marginStartForChild):
    23702         (WebCore::RenderBlock::marginEndForChild):
    23703         (WebCore::RenderBlock::setMarginStartForChild):
    23704         (WebCore::RenderBlock::setMarginEndForChild):
    23705         (WebCore::RenderBlock::marginValuesForChild):
    23706         * rendering/RenderBlock.h:
    23707         (WebCore::RenderBlock::logicalWidthForChild):
    23708         (WebCore::RenderBlock::logicalHeightForChild):
    23709         (WebCore::RenderBlock::logicalTopForChild):
    23710         (WebCore::RenderBlock::logicalRightOffsetForContent):
    23711         (WebCore::RenderBlock::logicalLeftOffsetForContent):
    23712         (WebCore::RenderBlock::logicalTopForFloat):
    23713         (WebCore::RenderBlock::logicalBottomForFloat):
    23714         (WebCore::RenderBlock::logicalLeftForFloat):
    23715         (WebCore::RenderBlock::logicalRightForFloat):
    23716         (WebCore::RenderBlock::logicalWidthForFloat):
    23717         (WebCore::RenderBlock::setLogicalTopForFloat):
    23718         (WebCore::RenderBlock::setLogicalLeftForFloat):
    23719         (WebCore::RenderBlock::setLogicalHeightForFloat):
    23720         (WebCore::RenderBlock::setLogicalWidthForFloat):
    23721         (WebCore::RenderBlock::xPositionForFloatIncludingMargin):
    23722         (WebCore::RenderBlock::yPositionForFloatIncludingMargin):
    23723         * rendering/RenderBlockLineLayout.cpp:
    23724         (WebCore::RenderBlock::createLineBoxes):
    23725         (WebCore::RenderBlock::layoutInlineChildren):
    23726         (WebCore::RenderBlock::checkFloatsInCleanLine):
    23727         (WebCore::setStaticPositions):
    23728         (WebCore::RenderBlock::findNextLineBreak):
    23729         (WebCore::RenderBlock::beforeSideVisualOverflowForLine):
    23730         (WebCore::RenderBlock::afterSideVisualOverflowForLine):
    23731         (WebCore::RenderBlock::beforeSideLayoutOverflowForLine):
    23732         (WebCore::RenderBlock::afterSideLayoutOverflowForLine):
    23733         * rendering/RenderBox.cpp:
    23734         (WebCore::RenderBox::marginStart):
    23735         (WebCore::RenderBox::marginEnd):
    23736         (WebCore::RenderBox::setMarginStart):
    23737         (WebCore::RenderBox::setMarginEnd):
    23738         (WebCore::RenderBox::styleDidChange):
    23739         (WebCore::RenderBox::logicalScroll):
    23740         (WebCore::RenderBox::computeLogicalWidth):
    23741         (WebCore::RenderBox::computeLogicalHeight):
    23742         (WebCore::RenderBox::availableLogicalHeightUsing):
    23743         (WebCore::RenderBox::containingBlockLogicalWidthForPositioned):
    23744         (WebCore::RenderBox::containingBlockLogicalHeightForPositioned):
    23745         (WebCore::RenderBox::computePositionedLogicalWidth):
    23746         (WebCore::computeLogicalLeftPositionedOffset):
    23747         (WebCore::RenderBox::computePositionedLogicalHeight):
    23748         (WebCore::computeLogicalTopPositionedOffset):
    23749         (WebCore::RenderBox::computePositionedLogicalWidthReplaced):
    23750         (WebCore::RenderBox::computePositionedLogicalHeightReplaced):
    23751         (WebCore::RenderBox::addLayoutOverflow):
    23752         (WebCore::RenderBox::flipForWritingMode):
    23753         * rendering/RenderBoxModelObject.cpp:
    23754         (WebCore::RenderBoxModelObject::updateBoxModelInfoFromStyle):
    23755         * rendering/RenderObject.cpp:
    23756         (WebCore::RenderObject::RenderObject):
    23757         (WebCore::RenderObject::styleWillChange):
    23758         * rendering/RenderObject.h:
    23759         (WebCore::RenderObject::isHorizontalWritingMode):
    23760         (WebCore::RenderObject::setHorizontalWritingMode):
    23761         * rendering/RenderTableCell.cpp:
    23762         (WebCore::RenderTableCell::paddingTop):
    23763         (WebCore::RenderTableCell::paddingBottom):
    23764         (WebCore::RenderTableCell::paddingLeft):
    23765         (WebCore::RenderTableCell::paddingRight):
    23766         (WebCore::RenderTableCell::scrollbarsChanged):
    23767         * rendering/RootInlineBox.cpp:
    23768         (WebCore::RootInlineBox::RootInlineBox):
    23769         (WebCore::RootInlineBox::lineSelectionGap):
    23770         (WebCore::RootInlineBox::verticalPositionForBox):
    23771 
    23772 2011-03-22  Simon Fraser  <simon.fraser@apple.com>
    23773 
    23774         Reviewed by Beth Dakin.
    23775 
    23776         Incorrect rendering of composited element with negative z-index child
    23777         https://bugs.webkit.org/show_bug.cgi?id=56846
    23778        
    23779         When a composited element has a child with negative z-index, we make
    23780         a separate layer for that element's foreground content. This layer
    23781         was positioned incorrectly (but the content happened to paint at
    23782         the right location), resulting in right/bottom clipping.
    23783        
    23784         Fix this, remove the little-used graphicsLayerToContentsCoordinates()
    23785         contentsToGraphicsLayerCoordinates() methods, and optimize incremental
    23786         repaints in the foreground and mask layers.
    23787 
    23788         Tests: compositing/geometry/foreground-layer.html
    23789                compositing/geometry/repaint-foreground-layer.html
    23790 
    23791         * platform/graphics/ca/GraphicsLayerCA.cpp:
    23792         (WebCore::GraphicsLayerCA::setNeedsDisplayInRect): Cull repaints
    23793         which fall outside the layer bounds, so callers don't have to,
    23794         and to avoid unnecessary layer commits.
    23795 
    23796         * rendering/RenderLayerBacking.cpp:
    23797         (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry): If
    23798         we have a foreground layer inside a clipping layer, the foreground
    23799         layer's offset is zero, since the clipping layer is its parent.
    23800        
    23801         (WebCore::RenderLayerBacking::setContentsNeedDisplayInRect): Use
    23802         offsetFromRenderer() directly instead of contentsToGraphicsLayerCoordinates().
    23803         Also do incremental repaints of the foreground and mask layers.
    23804        
    23805         (WebCore::RenderLayerBacking::paintContents): It was incorrect to always
    23806         use compositedBounds() to compute the painting offset, since that's
    23807         per-RenderLayerBacking, but a single RenderLayerBacking can have different
    23808         GraphicsLayers with different offsets (e.g. the foreground layer).
    23809         Instead, use offsetFromRenderer(), which gives has the correct offset.
    23810 
    23811         * rendering/RenderLayerBacking.h: Remove unused methods.
    23812 
    23813 2011-03-22  Chris Rogers  <crogers@google.com>
    23814 
    23815         Reviewed by Kenneth Russell.
    23816 
    23817         Use default-output instead of default-input to get hardware sample-rate
    23818         https://bugs.webkit.org/show_bug.cgi?id=56858
    23819 
    23820         No new tests since audio API is not yet implemented.
    23821 
    23822         * platform/audio/mac/AudioDestinationMac.cpp:
    23823         (WebCore::AudioDestination::hardwareSampleRate):
    23824 
    23825 2011-03-22  Pratik Solanki  <psolanki@apple.com>
    23826 
    23827         Reviewed by David Kilzer.
    23828 
    23829         Implement -connection:didReceiveDataArray: NSURLConnection delegate method
    23830         https://bugs.webkit.org/show_bug.cgi?id=56838
    23831 
    23832         Add experimental support for the didReceiveDataArray callback on
    23833         NSURLConnection. A RessourceHandleClient indicates its ability to
    23834         handle this callback by returning true from supportsDataArray() method.
    23835         Currently only SubresourceLoader uses this so we get the benefit for
    23836         CSS, JS and image loads. For other clients we call didReceiveData with
    23837         the CFData contents as before.
    23838 
    23839         * WebCore.xcodeproj/project.pbxproj:
    23840         * loader/ResourceLoader.h:
    23841         * loader/SubresourceLoader.h:
    23842         (WebCore::SubresourceLoader::supportsDataArray):
    23843         * loader/cf/SubresourceLoaderCF.cpp: Added.
    23844         (WebCore::SubresourceLoader::didReceiveDataArray):
    23845         * loader/mac/ResourceLoaderMac.mm:
    23846         (WebCore::ResourceLoader::didReceiveDataArray):
    23847         * platform/SharedBuffer.cpp:
    23848         (WebCore::SharedBuffer::clear):
    23849         (WebCore::SharedBuffer::buffer):
    23850         * platform/SharedBuffer.h:
    23851         * platform/cf/SharedBufferCF.cpp:
    23852         (WebCore::SharedBuffer::append):
    23853         (WebCore::SharedBuffer::copyDataArrayAndClear):
    23854         * platform/network/ResourceHandleClient.h:
    23855         (WebCore::ResourceHandleClient::supportsDataArray):
    23856         (WebCore::ResourceHandleClient::didReceiveDataArray):
    23857         * platform/network/mac/ResourceHandleMac.mm:
    23858         (-[WebCoreResourceHandleAsDelegate connection:didReceiveDataArray:]):
    23859 
    23860 2011-03-22  Eric Seidel  <eric@webkit.org>
    23861 
    23862         Reviewed by Adam Barth.
    23863 
    23864         Make it possible to build JavaScriptCore and WebCore gyp builds outside of Source
    23865         https://bugs.webkit.org/show_bug.cgi?id=56867
    23866 
    23867         This should make it possible to build the gyp-generated WebCore.xcodeproj
    23868         from a WebCore directory outside of Source.
    23869 
    23870         * gyp/WebCore.gyp:
    23871         * gyp/run-if-exists.sh: Added.
    23872         * gyp/update-info-plist.sh: Added.
    23873 
    23874 2011-03-22  Anders Carlsson  <andersca@apple.com>
    23875 
    23876         Fix WebKit2 build.
    23877 
    23878         * WebCore.exp.in:
    23879         Export a symbol needed by WebKit2.
    23880 
    23881 2011-03-22  Adam Barth  <abarth@webkit.org>
    23882 
    23883         Reviewed by Eric Seidel.
    23884 
    23885         Add the remaining steps to WebCore GYP build
    23886         https://bugs.webkit.org/show_bug.cgi?id=56864
    23887 
    23888         These steps match the normal build.  After this patch, I believe the
    23889         WebCore GYP build is complete.
    23890 
    23891         * WebCore.gypi:
    23892         * gyp/WebCore.gyp:
    23893         * gyp/copy-inspector-resources.sh: Added.
    23894 
    23895 2011-03-22  Beth Dakin  <bdakin@apple.com>
    23896 
    23897         Reviewed by Simon Fraser.
    23898 
    23899         Fix for https://bugs.webkit.org/show_bug.cgi?id=56856 RenderListBox needs to be
    23900         added to Page::scrollableAreaSet()
    23901 
    23902         * rendering/RenderListBox.cpp:
    23903         (WebCore::RenderListBox::RenderListBox):
    23904         (WebCore::RenderListBox::~RenderListBox):
    23905         * rendering/RenderListBox.h:
    23906         (WebCore::RenderListBox::disconnectFromPage):
    23907 
    23908 2011-03-22  Chris Rogers  <crogers@google.com>
    23909 
    23910         Reviewed by Kenneth Russell.
    23911 
    23912         Add high-quality band-limited audio resampling algorithm
    23913         https://bugs.webkit.org/show_bug.cgi?id=56692
    23914 
    23915         No new tests since audio API is not yet implemented.
    23916 
    23917         * platform/audio/SincResampler.cpp: Added.
    23918         (WebCore::SincResampler::SincResampler):
    23919         (WebCore::SincResampler::initializeKernel):
    23920         (WebCore::SincResampler::consumeSource):
    23921         (WebCore::SincResampler::process):
    23922         * platform/audio/SincResampler.h: Added.
    23923 
    23924 2011-03-22  Adam Barth  <abarth@webkit.org>
    23925 
    23926         Reviewed by Eric Seidel.
    23927 
    23928         WebCore GYP build should build without help from normal WebCore build
    23929         https://bugs.webkit.org/show_bug.cgi?id=56860
    23930 
    23931         Before this patch, the WebCore GYP build wasn't generating the derived
    23932         sources quite right because the ENABLE macros were not being
    23933         communicated to the "Derived Sources" target.
    23934 
    23935         This patch also adds the "Copy Forwarding and ICU Headers" as well as
    23936         the "Streamline Inspector Source" steps, which are present in the
    23937         normal build.  Unlike the normal build, these steps occur in a new
    23938         target, called "WebCore Support", which is less than aesthetically
    23939         beautiful.  Hopefully we'll be able to move them into the WebCore
    23940         target proper in the future, but that will likely require some GYP
    23941         changes.
    23942 
    23943         This patch probably could have been broken down into a couple smaller
    23944         patches, but that doesn't seem necessary.
    23945 
    23946         * WebCore.gypi:
    23947             - This file appears to no longer exist.
    23948         * gyp/WebCore.gyp:
    23949         * gyp/copy-forwarding-and-icu-headers.sh: Added.
    23950         * gyp/streamline-inspector-source.sh: Added.
    23951 
    23952 2011-03-22  David Hyatt  <hyatt@apple.com>
    23953 
    23954         Reviewed by Simon Fraser.
    23955 
    23956         https://bugs.webkit.org/show_bug.cgi?id=56859
    23957        
    23958         Floats in the floating object list occur in the order that they are positioned. This means
    23959         that for a given vertical offset, the last left object in the list that intersects that offset
    23960         will be the rightmost float. There is no need to check any previous floats, since they have to be
    23961         further left than that rightmost float. The same rules hold true for right-aligned floats.
    23962        
    23963         Change logicalLeft/RightOffsetForLine to iterate backwards instead of forwards and to stop the moment
    23964         they encounter a float that intersects the vertical range.
    23965        
    23966         This cuts the maze solving time for a 20x20 maze in the IE MazeSolver test in half.
    23967 
    23968         * rendering/RenderBlock.cpp:
    23969         (WebCore::RenderBlock::logicalLeftOffsetForLine):
    23970         (WebCore::RenderBlock::logicalRightOffsetForLine):
    23971 
    23972 2011-03-22  Justin Schuh  <jschuh@chromium.org>
    23973 
    23974         Reviewed by Dirk Schulze.
    23975 
    23976         SVG displacement map should validate channel selections
    23977         https://bugs.webkit.org/show_bug.cgi?id=56794
    23978 
    23979         Test: svg/filters/feDisplacementMap-crash-test.xhtml
    23980 
    23981         * svg/SVGFEDisplacementMapElement.cpp:
    23982         (WebCore::SVGFEDisplacementMapElement::svgAttributeChanged):
    23983 
    23984 2011-03-22  Huahui Wu  <mediadependent@gmail.com>
    23985 
    23986         Reviewed by Steve Block.
    23987 
    23988         [Android] Update PlatformTouchEvent for android so it can pass IDs and states around.
    23989         https://bugs.webkit.org/show_bug.cgi?id=56763
    23990 
    23991         No new tests as no new functionality is exposed.
    23992 
    23993         * platform/PlatformTouchEvent.h:
    23994         * platform/android/PlatformTouchEventAndroid.cpp:
    23995         (WebCore::PlatformTouchEvent::PlatformTouchEvent):
    23996 
    23997 2011-03-22  David Hyatt  <hyatt@apple.com>
    23998 
    23999         Reviewed by Simon Fraser.
    24000 
    24001         Implement the CSS3 line-box-contain property. This property provides authors with more control over spacing between lines. For example,
    24002         you can fix the height of lines and cause all line contents to be ignored. You can make lines fit to glyphs. You can ignore leading and
    24003         fit to the font size. You can ignore replaced elements, etc.
    24004 
    24005         Refactor the code in computeLogicalBoxHeights into helper methods on RootInlineBox. verticalPositionForBox moved over to RootInlineBox
    24006         so that it could be called from RenderBlockLineLayout. ascentAndDescentForBox is the new method that computes the appropriate box
    24007         height based off the block's line-box-contain value.
    24008        
    24009         GlyphOverflow can now have a computeBounds parameter set, in which case glyph bounds will be computed and stored in the overflow struct.
    24010        
    24011         RenderInline no longer returns 0 margins in the block direction, since line-box-contain can size around the margin box.
    24012        
    24013         Added new tests in fast/block/lineboxcontain
    24014 
    24015         * GNUmakefile.am:
    24016         * WebCore.gypi:
    24017         * WebCore.pro:
    24018         * WebCore.vcproj/WebCore.vcproj:
    24019         * WebCore.xcodeproj/project.pbxproj:
    24020         * css/CSSComputedStyleDeclaration.cpp:
    24021         (WebCore::createLineBoxContainValue):
    24022         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
    24023         * css/CSSLineBoxContainValue.cpp: Added.
    24024         (WebCore::CSSLineBoxContainValue::CSSLineBoxContainValue):
    24025         (WebCore::CSSLineBoxContainValue::cssText):
    24026         * css/CSSLineBoxContainValue.h: Added.
    24027         (WebCore::CSSLineBoxContainValue::create):
    24028         (WebCore::CSSLineBoxContainValue::value):
    24029         (WebCore::CSSLineBoxContainValue::isCSSLineBoxContainValue):
    24030         * css/CSSParser.cpp:
    24031         (WebCore::CSSParser::parseValue):
    24032         (WebCore::CSSParser::parseLineBoxContain):
    24033         * css/CSSParser.h:
    24034         * css/CSSPropertyNames.in:
    24035         * css/CSSStyleSelector.cpp:
    24036         (WebCore::CSSStyleSelector::applyProperty):
    24037         * css/CSSValue.h:
    24038         (WebCore::CSSValue::isCSSLineBoxContainValue):
    24039         * css/CSSValueKeywords.in:
    24040         * platform/graphics/Font.cpp:
    24041         (WebCore::Font::width):
    24042         * platform/graphics/Font.h:
    24043         (WebCore::GlyphOverflow::GlyphOverflow):
    24044         * platform/graphics/FontFastPath.cpp:
    24045         (WebCore::Font::floatWidthForSimpleText):
    24046         * platform/graphics/mac/FontComplexTextMac.cpp:
    24047         (WebCore::Font::floatWidthForComplexText):
    24048         * platform/graphics/win/FontWin.cpp:
    24049         (WebCore::Font::floatWidthForComplexText):
    24050         * rendering/InlineFlowBox.cpp:
    24051         (WebCore::InlineFlowBox::computeLogicalBoxHeights):
    24052         * rendering/InlineFlowBox.h:
    24053         * rendering/RenderBlock.h:
    24054         * rendering/RenderBlockLineLayout.cpp:
    24055         (WebCore::RenderBlock::computeInlineDirectionPositionsForLine):
    24056         (WebCore::RenderBlock::layoutInlineChildren):
    24057         * rendering/RenderInline.cpp:
    24058         (WebCore::RenderInline::marginLeft):
    24059         (WebCore::RenderInline::marginRight):
    24060         (WebCore::RenderInline::marginTop):
    24061         (WebCore::RenderInline::marginBottom):
    24062         (WebCore::RenderInline::marginBefore):
    24063         (WebCore::RenderInline::marginAfter):
    24064         * rendering/RenderInline.h:
    24065         * rendering/RenderText.cpp:
    24066         (WebCore::RenderText::widthFromCache):
    24067         (WebCore::RenderText::width):
    24068         * rendering/RootInlineBox.cpp:
    24069         (WebCore::RootInlineBox::alignBoxesInBlockDirection):
    24070         (WebCore::setAscentAndDescent):
    24071         (WebCore::RootInlineBox::ascentAndDescentForBox):
    24072         (WebCore::RootInlineBox::verticalPositionForBox):
    24073         (WebCore::RootInlineBox::includeLeadingForBox):
    24074         (WebCore::RootInlineBox::includeFontForBox):
    24075         (WebCore::RootInlineBox::includeGlyphsForBox):
    24076         (WebCore::RootInlineBox::includeMarginForBox):
    24077         (WebCore::RootInlineBox::fitsToGlyphs):
    24078         (WebCore::RootInlineBox::includesRootLineBoxFontOrLeading):
    24079         * rendering/RootInlineBox.h:
    24080         * rendering/style/RenderStyle.cpp:
    24081         (WebCore::RenderStyle::diff):
    24082         * rendering/style/RenderStyle.h:
    24083         (WebCore::InheritedFlags::lineBoxContain):
    24084         (WebCore::InheritedFlags::setLineBoxContain):
    24085         (WebCore::InheritedFlags::initialLineBoxContain):
    24086         * rendering/style/StyleRareInheritedData.cpp:
    24087         (WebCore::StyleRareInheritedData::StyleRareInheritedData):
    24088         (WebCore::StyleRareInheritedData::operator==):
    24089         * rendering/style/StyleRareInheritedData.h:
    24090 
    24091 2011-03-22  Sheriff Bot  <webkit.review.bot@gmail.com>
    24092 
    24093         Unreviewed, rolling out r81653.
    24094         http://trac.webkit.org/changeset/81653
    24095         https://bugs.webkit.org/show_bug.cgi?id=56839
    24096 
    24097         Breaks fast/text/drawBidiText.html on Chromium. (Requested by
    24098         pfeldman on #webkit).
    24099 
    24100         * rendering/RenderListBox.cpp:
    24101         (WebCore::RenderListBox::paintItemForeground):
    24102 
    24103 2011-03-22  Pavel Feldman  <pfeldman@chromium.org>
    24104 
    24105         Not reviewed. Rolling out 81657, 81654, 81651 for breaking tests on chromium.
    24106 
    24107         * inspector/Inspector.json:
    24108         * inspector/InspectorDatabaseResource.cpp:
    24109         (WebCore::InspectorDatabaseResource::bind):
    24110         * inspector/front-end/Database.js:
    24111         (WebInspector.DatabaseDispatcher.prototype.addDatabase):
    24112 
    24113 2011-03-21  Pavel Podivilov  <podivilov@chromium.org>
    24114 
    24115         Reviewed by Yury Semikhatsky.
    24116 
    24117         Web Inspector: [REGRESSION] scripts panel is broken when frontend is reopened.
    24118         https://bugs.webkit.org/show_bug.cgi?id=56747
    24119 
    24120         Debugger should be enabled on front-end side to guarantee initialization sequence (resources come before scripts).
    24121 
    24122         * inspector/Inspector.json:
    24123         * inspector/InspectorAgent.cpp:
    24124         (WebCore::InspectorAgent::showProfilesPanel):
    24125         * inspector/InspectorAgent.h:
    24126         * inspector/InspectorController.cpp:
    24127         (WebCore::InspectorController::InspectorController):
    24128         (WebCore::InspectorController::connectFrontend):
    24129         (WebCore::InspectorController::showAndEnableDebugger):
    24130         * inspector/InspectorController.h:
    24131         * inspector/InspectorDebuggerAgent.cpp:
    24132         (WebCore::InspectorDebuggerAgent::setFrontend):
    24133         (WebCore::InspectorDebuggerAgent::clearFrontend):
    24134         * inspector/InspectorDebuggerAgent.h:
    24135 
    24136 2011-03-22  Jarkko Sakkinen  <jarkko.j.sakkinen@gmail.com>
    24137 
    24138         Reviewed by Benjamin Poulain.
    24139 
    24140         [Qt] WebGL: renderbufferStorage() fails with internal format GL_RGBA4
    24141         https://bugs.webkit.org/show_bug.cgi?id=56824
    24142 
    24143         On desktop OpenGL substitute in renderbufferStorage:
    24144         - GL_DEPTH24_STENCIL8 for GL_DEPTH_STENCIL
    24145         - GL_DEPTH_COMPONENT for GL_DEPTH_COMPONENT16
    24146         - GL_RGBA for GL_RGBA4 and GL_RGBA565
    24147         - GL_RGB for RGB5_A1.
    24148 
    24149         Tests: fast/canvas/webgl/uninitialized-test.html
    24150 
    24151         * platform/graphics/qt/GraphicsContext3DQt.cpp:
    24152         (WebCore::GraphicsContext3D::renderbufferStorage):
    24153 
    24154 2011-03-16  Dimitri Glazkov  <dglazkov@chromium.org>
    24155 
    24156         Reviewed by Eric Seidel.
    24157 
    24158         Move volume slider positioning logic to a custom renderer.
    24159         https://bugs.webkit.org/show_bug.cgi?id=56498
    24160 
    24161         No functional change, covered by existing tests.
    24162 
    24163         * html/shadow/MediaControls.cpp:
    24164         (WebCore::MediaControls::updateVolumeSliderContainer): Removed positioning logic.
    24165         * rendering/MediaControlElements.cpp:
    24166         (WebCore::RenderMediaVolumeSliderContainer::RenderMediaVolumeSliderContainer): Added.
    24167         (WebCore::RenderMediaVolumeSliderContainer::layout): Added.
    24168         (WebCore::MediaControlVolumeSliderContainerElement::MediaControlVolumeSliderContainerElement): Removed storing of coordinates.
    24169         (WebCore::MediaControlVolumeSliderContainerElement::createRenderer): Added.
    24170         (WebCore::MediaControlVolumeSliderContainerElement::styleForElement): Removed setting of coordinates.
    24171         * rendering/MediaControlElements.h: Changed corresponding decls.
    24172 
    24173 2011-03-22  Andrew Wason  <rectalogic@rectalogic.com>
    24174 
    24175         Reviewed by Benjamin Poulain.
    24176 
    24177         [Qt] QWebPage with WebGL content crashes when rendering if no QWebView parent
    24178         https://bugs.webkit.org/show_bug.cgi?id=54138
    24179 
    24180         * platform/graphics/qt/GraphicsContext3DQt.cpp:
    24181         (WebCore::GraphicsContext3DInternal::getViewportGLWidget):
    24182          Check if we actually have a QWebPageClient before dereferencing it.
    24183 
    24184 2011-03-22  Pavel Feldman  <pfeldman@chromium.org>
    24185 
    24186         Reviewed by Yury Semikhatsky.
    24187 
    24188         Web Inspector: document DOM domain types and protocol methods.
    24189         https://bugs.webkit.org/show_bug.cgi?id=56807
    24190 
    24191         * inspector/InjectedScript.cpp:
    24192         (WebCore::InjectedScript::wrapNode):
    24193         * inspector/InjectedScript.h:
    24194         * inspector/Inspector.json:
    24195         * inspector/InspectorBrowserDebuggerAgent.cpp:
    24196         (WebCore::InspectorBrowserDebuggerAgent::descriptionForDOMEvent):
    24197         * inspector/InspectorDOMAgent.cpp:
    24198         (WebCore::InspectorDOMAgent::removeNode):
    24199         (WebCore::InspectorDOMAgent::setNodeValue):
    24200         * inspector/InspectorDOMAgent.h:
    24201         * inspector/front-end/ElementsTreeOutline.js:
    24202         (WebInspector.ElementsTreeElement.prototype._createTooltipForNode.resolvedNode):
    24203         (WebInspector.ElementsTreeElement.prototype._createTooltipForNode):
    24204         * inspector/front-end/EventListenersSidebarPane.js:
    24205         * inspector/front-end/PropertiesSidebarPane.js:
    24206         (WebInspector.PropertiesSidebarPane.prototype.update.nodeResolved):
    24207         * inspector/front-end/RemoteObject.js:
    24208         (WebInspector.RemoteObject.resolveNode):
    24209 
    24210 2011-03-22  Adam Barth  <abarth@webkit.org>
    24211 
    24212         Reviewed by Eric Seidel.
    24213 
    24214         Production configuration in GYP isn&apos;t set up correctly
    24215         https://bugs.webkit.org/show_bug.cgi?id=56786
    24216 
    24217         Update WebCore.gyp with information mined from WebCore.xcodeproj.
    24218 
    24219         * WebCore.gypi:
    24220         * gyp/WebCore.gyp:
    24221 
    24222 2011-03-22  Ofri Wolfus  <ofri@google.com>
    24223 
    24224         Reviewed by Eric Seidel.
    24225 
    24226         RTL: Select elements with a size attribute are always left aligned.
    24227         https://bugs.webkit.org/show_bug.cgi?id=50928
    24228 
    24229         Added support for alignment in RenderListBox.
    24230 
    24231         Test: fast/forms/listbox-bidi-align.html
    24232 
    24233         * rendering/RenderListBox.cpp:
    24234         (WebCore::RenderListBox::paintItemForeground): Add support for alignment and directionality.
    24235 
    24236 2011-03-22  Ilya Sherman  <isherman@chromium.org>
    24237 
    24238         Reviewed by Kent Tamura.
    24239 
    24240         Clear autofilled flag when reseting a form
    24241         In service of https://code.google.com/p/chromium/issues/detail?id=70037
    24242         https://bugs.webkit.org/show_bug.cgi?id=56802
    24243 
    24244         Test: fast/forms/reset-autofilled.html
    24245 
    24246         * html/HTMLInputElement.cpp:
    24247         (WebCore::HTMLInputElement::reset): Clear the autofilled flag.
    24248 
    24249 2011-03-22  Ilya Tikhonovsky  <loislo@chromium.org>
    24250 
    24251         Reviewed by Yury Semikhatsky.
    24252 
    24253         Web Inspector: protocol cleanup. DatabaseAgent.
    24254         https://bugs.webkit.org/show_bug.cgi?id=56815
    24255 
    24256         see protocol metabug:
    24257         - All events should use notification wording, not command wording:
    24258 
    24259         addDatabase was renamed to DatabaseOpened.
    24260 
    24261         Test: inspector/protocol/database-agent.html
    24262 
    24263         * inspector/Inspector.json:
    24264         * inspector/InspectorDatabaseResource.cpp:
    24265         (WebCore::InspectorDatabaseResource::bind):
    24266         * inspector/front-end/Database.js:
    24267         (WebInspector.DatabaseDispatcher.prototype.DatabaseOpened):
    24268 
    24269 2011-03-22  Ilya Tikhonovsky  <loislo@chromium.org>
    24270 
    24271         Reviewed by Yury Semikhatsky.
    24272 
    24273         Web Inspector: protocol cleanup. ConsoleAgent.
    24274         https://bugs.webkit.org/show_bug.cgi?id=56806
    24275 
    24276         renamed method: void setConsoleMessagesEnabled(in boolean enabled, out boolean newState); => void enable(out long expiredMessagesCount);
    24277         new method: disable()
    24278         deleted method: [event] void consoleMessageExpiredCountUpdate(out unsigned long count); delete it. The counter will be transfered as out argument of enable command.
    24279 
    24280         * inspector/ConsoleMessage.cpp:
    24281         (WebCore::ConsoleMessage::updateRepeatCountInConsole):
    24282         * inspector/Inspector.json:
    24283         * inspector/InspectorConsoleAgent.cpp:
    24284         (WebCore::InspectorConsoleAgent::enable):
    24285         (WebCore::InspectorConsoleAgent::disable):
    24286         * inspector/InspectorConsoleAgent.h:
    24287         * inspector/front-end/ConsoleView.js:
    24288         (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher.dispatcher.consoleMessageRepeatCountUpdated):
    24289         (WebInspector.ConsoleView.prototype.setConsoleMessageExpiredCount):
    24290         * inspector/front-end/inspector.js:
    24291 
    24292 2011-03-22  Kent Tamura  <tkent@chromium.org>
    24293 
    24294         Reviewed by Eric Seidel.
    24295 
    24296         REGRESSION(r80096): Number type input unexpectedly rounds fractional values
    24297         https://bugs.webkit.org/show_bug.cgi?id=56367
    24298 
    24299         Because the default value of the maximum fractional digits of NSNumberFormatter
    24300         and ICU NumberFormat is 3, the value 0.55555 is rounded to 0.556 in a
    24301         localized representation. This bug affects only in Mac and Chromium.
    24302 
    24303         To fix this bug,
    24304          - Add "maximum fractional digits" parameter to formatLocalizedNumber(), and
    24305          - NumberInputType::visibleValue uses parseToDoubleForNumberTypeWithDecimalPlaces()
    24306           instead of parseToDoubleForNumberType().
    24307 
    24308         No automated tests because the behavior is locale-dependent. This change
    24309         updates a manual test.
    24310 
    24311         * html/NumberInputType.cpp:
    24312         (WebCore::NumberInputType::visibleValue):
    24313           Use parseToDoubleForNumberTypeWithDecimalPlaces() and passing fractional
    24314           part length to formatLocalizedNumber().
    24315         * manual-tests/input-number-localization.html:
    24316           Update the test to cover this change.
    24317         * platform/text/LocalizedNumber.h: Add a parameter to formatLocalizedNumber().
    24318         * platform/text/LocalizedNumberICU.cpp:
    24319         (WebCore::formatLocalizedNumber): Call setMaximumFractionalDigits().
    24320         * platform/text/LocalizedNumberNone.cpp:
    24321         (WebCore::formatLocalizedNumber):
    24322         * platform/text/mac/LocalizedNumberMac.mm:
    24323         (WebCore::formatLocalizedNumber): Call setMaximumFractionalDigits().
    24324 
    24325 2011-03-21  Abhishek Arya  <inferno@chromium.org>
    24326 
    24327         Reviewed by Eric Seidel.
    24328 
    24329         Anonymous blocks need isRenderBlock cast check. Also, need
    24330         to allow display BOX for flexible boxes.
    24331         https://bugs.webkit.org/show_bug.cgi?id=56709
    24332 
    24333         Test: accessibility/anchor-linked-anonymous-block-crash.html
    24334 
    24335         * rendering/RenderBlock.cpp:
    24336         (WebCore::canMergeContiguousAnonymousBlocks): remove specific
    24337         fix in r81088 which is no longer needed.
    24338         * rendering/RenderObject.h:
    24339         (WebCore::RenderObject::isAnonymousBlock): Add isRenderBlock cast
    24340         check.
    24341 
    24342 2011-03-21  Abhishek Arya  <inferno@chromium.org>
    24343 
    24344         Reviewed by Eric Seidel.
    24345 
    24346         Revert small change made in r78846 of replacing move with positionLineBox
    24347         in the adjusting position function for inline box.
    24348         https://bugs.webkit.org/show_bug.cgi?id=56300
    24349 
    24350         The change in r78846 caused positioning line boxes during the step of adjusting
    24351         position for inline box, thereby causing line boxes to be nuked. This happens as
    24352         part of aligning boxes in block direction in RenderBlock::computeBlockDirectionPositionsForLine.
    24353         Later on, we do the positioning of line boxes again later in that function. This
    24354         causes use of removed inline box leading to crash. Also, it is unnecessary to do
    24355         this twice.
    24356 
    24357         Tests: fast/inline/inline-box-adjust-position-crash.html
    24358                fast/inline/inline-box-adjust-position-crash2.html
    24359 
    24360         * rendering/InlineBox.cpp:
    24361         (WebCore::InlineBox::adjustPosition):
    24362 
    24363 2011-03-21  Adam Klein  <adamk@chromium.org>
    24364 
    24365         Reviewed by David Levin.
    24366 
    24367         [fileapi] Add URI resolution support to WorkerContext
    24368         https://bugs.webkit.org/show_bug.cgi?id=55644
    24369 
    24370         Tests: http/tests/filesystem/workers/resolve-url-sync.html
    24371                http/tests/filesystem/workers/resolve-url.html
    24372 
    24373         * fileapi/LocalFileSystem.cpp:
    24374         (WebCore::LocalFileSystem::readFileSystem):
    24375         Add support for workers.
    24376         * fileapi/LocalFileSystem.h:
    24377         * workers/WorkerContext.cpp:
    24378         (WebCore::WorkerContext::resolveLocalFileSystemURL):
    24379         (WebCore::WorkerContext::resolveLocalFileSystemSyncURL):
    24380         * workers/WorkerContext.h:
    24381         * workers/WorkerContext.idl:
    24382 
    24383 2011-03-21  David Levin  <levin@chromium.org>
    24384 
    24385         Reviewed by Adam Barth.
    24386 
    24387         XHR in Workers doesn't set the referrer correctly.
    24388         https://bugs.webkit.org/show_bug.cgi?id=24683
    24389 
    24390         Tests: http/tests/xmlhttprequest/workers/referer.html
    24391                http/tests/xmlhttprequest/workers/shared-worker-referer.html
    24392 
    24393         * loader/DocumentThreadableLoader.cpp:
    24394         (WebCore::DocumentThreadableLoader::loadResourceSynchronously): Fill in empty string for the outgoing referrer.
    24395         (WebCore::DocumentThreadableLoader::create): Added the ability to set the outgoing referrer.
    24396         (WebCore::DocumentThreadableLoader::DocumentThreadableLoader): Ditto.
    24397         (WebCore::DocumentThreadableLoader::loadRequest): Ditto.
    24398         * loader/DocumentThreadableLoader.h: Ditto.
    24399         * loader/ResourceLoadScheduler.cpp:
    24400         (WebCore::ResourceLoadScheduler::scheduleSubresourceLoad): Ditto.
    24401         * loader/ResourceLoadScheduler.h: Ditto.
    24402         * loader/SubresourceLoader.cpp:
    24403         (WebCore::SubresourceLoader::create): Fixed bug (caught by the test) in last minute change done in previous check-in.
    24404         * loader/WorkerThreadableLoader.cpp:
    24405         (WebCore::WorkerThreadableLoader::WorkerThreadableLoader): Fill in the outgoing referrer.
    24406         (WebCore::WorkerThreadableLoader::MainThreadBridge::MainThreadBridge): Plumbing for the outgoing referrer.
    24407         (WebCore::WorkerThreadableLoader::MainThreadBridge::mainThreadCreateLoader): Plumbing for the outgoing referrer.
    24408         * loader/WorkerThreadableLoader.h:
    24409 
    24410 2011-03-21  Nate Chapin  <japhet@chromium.org>
    24411 
    24412         Reviewed by Brady Eidson.
    24413 
    24414         Do not check the DocumentLoader's request cache policy
    24415         in determining whether we should force revalidation of a cached
    24416         subresource. If the main resource received headers telling it not
    24417         to cache, that policy will be propagated to subresources.
    24418 
    24419         The previous behavior is left in behind a flag in Settings, since
    24420         QuickLook depends on it.
    24421 
    24422         https://bugs.webkit.org/show_bug.cgi?id=38690
    24423 
    24424         Tests: http/tests/cache/post-redirect-get.php
    24425                http/tests/cache/post-with-cached-subresources.php
    24426 
    24427         * loader/FrameLoader.cpp:
    24428         (WebCore::FrameLoader::subresourceCachePolicy):
    24429         (WebCore::FrameLoader::loadPostRequest):
    24430         * page/Settings.cpp:
    24431         (WebCore::Settings::Settings):
    24432         * page/Settings.h:
    24433         (WebCore::Settings::setUseQuickLookResourceCachingQuirks):
    24434         (WebCore::Settings::useQuickLookResourceCachingQuirks):
    24435 
    24436 2011-03-21  Rik Cabanier  <cabanier@adobe.com>
    24437 
    24438         Reviewed by James Robinson.
    24439 
    24440         bug 56052: percentages are incorrectly rounded in WebKit
    24441         https://bugs.webkit.org/show_bug.cgi?id=56052
    24442 
    24443         test: fast/css/percentage-non-integer.html
    24444 
    24445         * css/CSSStyleSelector.cpp:
    24446         (WebCore::CSSStyleSelector::applyProperty):
    24447         * page/PrintContext.cpp:
    24448         (WebCore::PrintContext::pageProperty):
    24449         * platform/Length.h:
    24450         (WebCore::Length::Length):
    24451         (WebCore::Length::operator*=):
    24452         (WebCore::Length::value):
    24453         (WebCore::Length::percent):
    24454         (WebCore::Length::setValue):
    24455         (WebCore::Length::calcValue):
    24456         (WebCore::Length::calcMinValue):
    24457         (WebCore::Length::isUndefined):
    24458         (WebCore::Length::isZero):
    24459         (WebCore::Length::isPositive):
    24460         (WebCore::Length::isNegative):
    24461         * rendering/AutoTableLayout.cpp:
    24462         (WebCore::AutoTableLayout::recalcColumn):
    24463         (WebCore::AutoTableLayout::computePreferredLogicalWidths):
    24464         (WebCore::AutoTableLayout::calcEffectiveLogicalWidth):
    24465         (WebCore::AutoTableLayout::layout):
    24466         * rendering/FixedTableLayout.cpp:
    24467         (WebCore::FixedTableLayout::calcWidthArray):
    24468         (WebCore::FixedTableLayout::layout):
    24469         * rendering/RenderTableSection.cpp:
    24470         (WebCore::RenderTableSection::addCell):
    24471         (WebCore::RenderTableSection::layoutRows):
    24472         * rendering/style/BorderData.h:
    24473         (WebCore::BorderData::hasBorderRadius):
    24474 
    24475 2011-03-21  Adam Barth  <abarth@webkit.org>
    24476 
    24477         Reviewed by Eric Seidel.
    24478 
    24479         Add WebCoreExportFileGenerator to WebCore GYP build
    24480         https://bugs.webkit.org/show_bug.cgi?id=56778
    24481 
    24482         This target mirrors the eponymous target from WebCore.xcodeproj.
    24483 
    24484         * WebCore.gypi:
    24485         * gyp/WebCore.gyp:
    24486         * generate-webcore-export-file-generator.sh: Added.
    24487 
    24488 2011-03-21  Adam Barth  <abarth@webkit.org>
    24489 
    24490         Reviewed by Dimitri Glazkov.
    24491 
    24492         WebCore GYP build shouldn&apos;t crash on startup
    24493         https://bugs.webkit.org/show_bug.cgi?id=56776
    24494 
    24495         Debug builds shouldn't define NDEBUG.  This same logic exists in the
    24496         project.pbxproj file.
    24497 
    24498         * gyp/WebCore.gyp:
    24499 
    24500 2011-03-21  Daniel Cheng  <dcheng@chromium.org>
    24501 
    24502         Reviewed by Tony Chang.
    24503 
    24504         [chromium] Implement glue between DataTransferItems and the pasteboard.
    24505         https://bugs.webkit.org/show_bug.cgi?id=56330
    24506 
    24507         Support retrieving clipboard data in a paste through DataTransferItems.
    24508 
    24509         Test: editing/pasteboard/data-transfer-items.html
    24510 
    24511         * platform/chromium/ClipboardChromium.cpp:
    24512         (WebCore::ClipboardChromium::items):
    24513         * platform/chromium/DataTransferItemChromium.cpp:
    24514         (WebCore::DataTransferItemChromium::createFromPasteboard):
    24515         (WebCore::DataTransferItemChromium::create):
    24516         (WebCore::DataTransferItemChromium::DataTransferItemChromium):
    24517         (WebCore::DataTransferItemChromium::getAsString):
    24518         * platform/chromium/DataTransferItemChromium.h:
    24519         * platform/chromium/DataTransferItemsChromium.cpp:
    24520         (WebCore::DataTransferItemsChromium::addPasteboardItem):
    24521         * platform/chromium/DataTransferItemsChromium.h:
    24522 
    24523 2011-03-21  Chris Fleizach  <cfleizach@apple.com>
    24524 
    24525         Reviewed by Darin Adler.
    24526 
    24527         AX: showContextMenu not working in WK2
    24528         https://bugs.webkit.org/show_bug.cgi?id=56734
    24529 
    24530         WebKit2 is not able to directly open a context menu because the UI is in the other process.
    24531         Instead the chrome client should be used. This also means implementing showContextMenu() in WebKit1
    24532         code.
    24533        
    24534         * accessibility/mac/AccessibilityObjectWrapper.mm:
    24535         (-[AccessibilityObjectWrapper accessibilityShowContextMenu]):
    24536 
    24537 2011-03-21  Robert Kroeger  <rjkroege@chromium.org>
    24538 
    24539         Reviewed by Antonio Gomes.
    24540 
    24541         Add Support to WebCore to optionally call a platform-specific gesture recognizer
    24542         https://bugs.webkit.org/show_bug.cgi?id=49345
    24543 
    24544         Added an ability for the EventHandler to invoke an optional platform
    24545         specific gesture recognizer.
    24546 
    24547         No tests added because the change should be functionally invisible.
    24548 
    24549         * WebCore.gypi:
    24550         * page/EventHandler.cpp:
    24551         (WebCore::EventHandler::EventHandler):
    24552         (WebCore::EventHandler::handleTouchEvent):
    24553         * page/EventHandler.h:
    24554         * platform/PlatformGestureRecognizer.cpp: Added.
    24555         (WebCore::PlatformGestureRecognizer::PlatformGestureRecognizer):
    24556         (WebCore::PlatformGestureRecognizer::~PlatformGestureRecognizer):
    24557         (WebCore::PlatformGestureRecognizer::create):
    24558         * platform/PlatformGestureRecognizer.h: Added.
    24559 
    24560 2011-03-21  Dean Jackson  <dino@apple.com>
    24561 
    24562         Reviewed by Chris Marrin and Simon Fraser.
    24563 
    24564         https://bugs.webkit.org/show_bug.cgi?id=56325
    24565         ASSERTION FAILED: paused() in AnimationBase::updateStateMachine()
    24566 
    24567         AnimationBase had a custom linked-list/self-pointer for keeping
    24568         track of animations that needed to be notified of style updates
    24569         and start progress. This caused problems when AnimationBase was
    24570         destroyed, since the pointer wasn't managed in any way. I replaced
    24571         these pointers with HashSets and moved the code that removes animations
    24572         from the sets into AnimationControllerPrivate, where it belongs.
    24573         CompositeAnimation is also more careful to tell AnimationControllerPrivate
    24574         when it no longer needs to keep track of waiting animations.
    24575 
    24576         This should stop the style updates being called on non-active animations
    24577         (which was the cause of the state machine error here) and should also
    24578         stop a few of the related flakey test failures and occasional crashes.
    24579 
    24580         Test: animations/body-removal-crash.html
    24581 
    24582         * page/animation/AnimationBase.cpp:
    24583         (WebCore::AnimationBase::AnimationBase):
    24584         (WebCore::AnimationBase::updateStateMachine):
    24585         * page/animation/AnimationBase.h:
    24586         (WebCore::AnimationBase::~AnimationBase):
    24587         - Remove the linked-list
    24588         * page/animation/AnimationController.cpp:
    24589         (WebCore::AnimationControllerPrivate::AnimationControllerPrivate):
    24590         (WebCore::AnimationControllerPrivate::addToAnimationsWaitingForStyle):
    24591         (WebCore::AnimationControllerPrivate::removeFromAnimationsWaitingForStyle):
    24592         (WebCore::AnimationControllerPrivate::styleAvailable):
    24593         (WebCore::AnimationControllerPrivate::addToAnimationsWaitingForStartTimeResponse):
    24594         (WebCore::AnimationControllerPrivate::removeFromAnimationsWaitingForStartTimeResponse):
    24595         (WebCore::AnimationControllerPrivate::startTimeResponse):
    24596         (WebCore::AnimationControllerPrivate::animationWillBeRemoved):
    24597         - New method to remove animations from the waiting lists
    24598         * page/animation/AnimationControllerPrivate.h:
    24599         - use a HashSet rather than an AnimationBase* pointer.
    24600         * page/animation/CompositeAnimation.cpp:
    24601         (WebCore::CompositeAnimation::~CompositeAnimation):
    24602         (WebCore::CompositeAnimation::clearRenderer):
    24603         (WebCore::CompositeAnimation::updateTransitions):
    24604         (WebCore::CompositeAnimation::updateKeyframeAnimations):
    24605         - remove the animations and transitions from the lists when we know
    24606           they are no longer active (rather than waiting for the AnimationBase
    24607           to do it when destructing)
    24608 
    24609 2011-03-21  Justin Schuh  <jschuh@chromium.org>
    24610 
    24611         Reviewed by James Robinson.
    24612 
    24613         Stop inserting when the parent is removed
    24614         https://bugs.webkit.org/show_bug.cgi?id=56690
    24615 
    24616         Tests: fast/dom/insertedIntoDocument-child.html
    24617                fast/dom/insertedIntoDocument-iframe.html
    24618                fast/dom/insertedIntoDocument-sibling.html
    24619 
    24620         * dom/ContainerNode.cpp:
    24621         (WebCore::ContainerNode::insertedIntoDocument):
    24622         * html/HTMLEmbedElement.cpp:
    24623         (WebCore::HTMLEmbedElement::insertedIntoDocument):
    24624         * html/HTMLObjectElement.cpp:
    24625         (WebCore::HTMLObjectElement::insertedIntoDocument):
    24626 
    24627 2011-03-07  David Levin  <levin@chromium.org>
    24628 
    24629         Reviewed by Adam Barth.
    24630 
    24631         SubresourceLoader should expose a way to set the outgoing referer/origin
    24632         https://bugs.webkit.org/show_bug.cgi?id=55903
    24633 
    24634         No new tests as no new functionality is exposed.
    24635 
    24636         * loader/SubresourceLoader.cpp:
    24637         (WebCore::SubresourceLoader::create):
    24638         * loader/SubresourceLoader.h:
    24639 
    24640 2011-03-21  Daniel Sievers  <sievers@google.com>
    24641 
    24642         Reviewed by Simon Fraser.
    24643 
    24644         [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable from the DumpRenderTree commandline
    24645         https://bugs.webkit.org/show_bug.cgi?id=56139
    24646 
    24647         * WebCore.exp.in:
    24648         * WebCore.order:
    24649         * page/Frame.cpp:
    24650         (WebCore::Frame::layerTreeAsText):
    24651         * page/Frame.h:
    24652         * rendering/RenderLayerCompositor.cpp:
    24653         (WebCore::RenderLayerCompositor::layerTreeAsText):
    24654         * rendering/RenderLayerCompositor.h:
    24655 
    24656 2011-03-21  Chang Shu  <cshu@webkit.org>
    24657 
    24658         Reviewed by Alexey Proskuryakov.
    24659 
    24660         REGRESSION (r79953): Can't type in MS Outlook 2011
    24661         https://bugs.webkit.org/show_bug.cgi?id=56665
    24662 
    24663         r79953 removed the WebView level editablity which is persistent no matter whether
    24664         underlying document itself is changed and editability gets lost. The resolution is to
    24665         set this WebView editable value to WebCore. This avoids the callback from WebCore to
    24666         WebKit which was the main goal in r79953 to improve performance.
    24667 
    24668         * WebCore.exp.in:
    24669         * accessibility/AccessibilityRenderObject.cpp:
    24670         (WebCore::AccessibilityRenderObject::isReadOnly):
    24671         * dom/Node.cpp:
    24672         (WebCore::Node::isContentEditable):
    24673         * editing/SelectionController.cpp:
    24674         (WebCore::SelectionController::setSelectionFromNone):
    24675         * page/DragController.cpp:
    24676         (WebCore::DragController::operationForLoad):
    24677         * page/Page.cpp:
    24678         (WebCore::Page::Page):
    24679         * page/Page.h:
    24680         (WebCore::Page::setEditable):
    24681         (WebCore::Page::isEditable):
    24682 
    24683 2011-03-21  Eric Uhrhane <ericu@chromium.org>
    24684 
    24685         Reviewed by David Levin.
    24686 
    24687         [fileapi/chromium] Fetch platform path using GetMetadata before creating File from FileEntry*
    24688         https://bugs.webkit.org/show_bug.cgi?id=56704
    24689 
    24690         * fileapi/DOMFileSystemSync.cpp
    24691         (DOMFileSystemSync::createFile)
    24692         (class GetPathHelper): Added, to look up path before creating File.
    24693         * fileapi/DOMFileSystem.cpp
    24694         (DOMFileSystem::createFile)
    24695         (GetPathCallback): Added, to look up path before creating File.
    24696         * platform/FileMetadata.h
    24697         (struct FileMetadata): Added new field platformPath.
    24698 
    24699 2011-03-21  Dominic Cooney  <dominicc@google.com>
    24700 
    24701         Reviewed by Jeremy Orlow.
    24702 
    24703         Establishes a V8 context before executing MediaQueryList callbacks.
    24704         https://bugs.webkit.org/show_bug.cgi?id=56166
    24705 
    24706         MediaQueryList listener callbacks didn't establish a V8 context
    24707         before running script, causing crashes on C++-only
    24708         callstacks (such as user resizing, printing, etc.) I believe this
    24709         could also be contrived to execute media query list listener
    24710         callbacks across domain.
    24711 
    24712         Test: fast/media/media-query-list-callback.html
    24713 
    24714         * css/MediaQueryListListener.cpp:
    24715         (WebCore::MediaQueryListListener::queryChanged):
    24716 
    24717 2011-03-21  Andreas Kling  <kling@webkit.org>
    24718 
    24719         Reviewed by Tor Arne Vestbø.
    24720 
    24721         [Qt] Add QNetworkReplyHandler::wasAborted()
    24722 
    24723         Instead of checking if the ResourceHandle is null everywhere,
    24724         use a wasAborted() method to make the code readable.
    24725 
    24726         * platform/network/qt/QNetworkReplyHandler.h:
    24727         (WebCore::QNetworkReplyHandler::wasAborted):
    24728         * platform/network/qt/QNetworkReplyHandler.cpp:
    24729         (WebCore::QNetworkReplyHandler::finish):
    24730         (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
    24731         (WebCore::QNetworkReplyHandler::redirect):
    24732         (WebCore::QNetworkReplyHandler::forwardData):
    24733         (WebCore::QNetworkReplyHandler::uploadProgress):
    24734 
    24735 2011-03-21  Christian Dywan  <christian@lanedo.com>
    24736 
    24737         Reviewed by Martin Robinson.
    24738 
    24739         WebKitIconDatabase may trigger crash in cairoImageSurfaceToGdkPixbuf
    24740         https://bugs.webkit.org/show_bug.cgi?id=56201
    24741 
    24742         * platform/graphics/gtk/ImageGtk.cpp: Don't attempt to make a pixbuf
    24743             if there is no image.
    24744 
    24745 2011-03-21  Mario Sanchez Prada  <msanchez@igalia.com>
    24746 
    24747         Reviewed by Martin Robinson.
    24748 
    24749         [GTK] [Stable] AtkHypertext exposes wrong offsets for links placed inside <span> nodes
    24750         https://bugs.webkit.org/show_bug.cgi?id=56737
    24751 
    24752         Only consider parent objects not ignoring accessibility.
    24753 
    24754         * accessibility/gtk/WebKitAccessibleHyperlink.cpp:
    24755         (webkitAccessibleHyperlinkGetStartIndex): Look for the parent
    24756         object not ignoring accessibility for the current hyperlink.
    24757         (webkitAccessibleHyperlinkGetEndIndex): Ditto.
    24758 
    24759 2011-03-21  Andreas Kling  <kling@webkit.org>
    24760 
    24761         Reviewed by Benjamin Poulain.
    24762 
    24763         [Qt] Remove handling of QNetworkAccessManager::UnknownOperation
    24764 
    24765         Now that Qt 4.7 is required we never have to fall back to UnknownOperation.
    24766         Custom verb requests are using CustomOperation already, so this was dead code.
    24767 
    24768         * platform/network/qt/QNetworkReplyHandler.cpp:
    24769         (WebCore::QNetworkReplyHandler::start):
    24770 
    24771 2011-03-21  Adam Roben  <aroben@apple.com>
    24772 
    24773         Fix multiple-definition linker warnings on Windows
    24774 
    24775         * WebCore.vcproj/WebCore.vcproj: Exclude RenderSVGPath.cpp from the build, since it is
    24776         already being compiled via RenderingAllInOne.cpp. Let VS have its way with the rest of the
    24777         file.
    24778 
    24779 2011-03-21  Andreas Kling  <kling@webkit.org>
    24780 
    24781         Reviewed by Benjamin Poulain.
    24782 
    24783         [Qt] Clean up QNetworkReplyHandler::release()
    24784 
    24785         Since QNetworkReplyHandler no longer uses queued connections to
    24786         the QNetworkReply, it's not necessary to mess with the event
    24787         queue when releasing a reply.
    24788 
    24789         * platform/network/qt/QNetworkReplyHandler.cpp:
    24790         (WebCore::QNetworkReplyHandler::abort):
    24791         (WebCore::QNetworkReplyHandler::release):
    24792 
    24793 2011-03-21  Vsevolod Vlasov  <vsevik@chromium.org>
    24794 
    24795         Reviewed by Pavel Feldman.
    24796 
    24797         Web Inspector: Inspector does not always show correct transfer size (for compressed/chunked data)
    24798         https://bugs.webkit.org/show_bug.cgi?id=56691
    24799 
    24800         Added transfer size support in inspector for compressed data.
    24801 
    24802         Test: http/tests/inspector/network/network-size-chunked.html
    24803 
    24804         * inspector/Inspector.idl:
    24805         * inspector/InspectorInstrumentation.cpp:
    24806         (WebCore::InspectorInstrumentation::didReceiveContentLengthImpl):
    24807         * inspector/InspectorInstrumentation.h:
    24808         (WebCore::InspectorInstrumentation::didReceiveContentLength):
    24809         * inspector/InspectorResourceAgent.cpp:
    24810         (WebCore::InspectorResourceAgent::didReceiveResponse):
    24811         (WebCore::InspectorResourceAgent::didReceiveContentLength):
    24812         * inspector/InspectorResourceAgent.h:
    24813         * inspector/front-end/NetworkManager.js:
    24814         (WebInspector.NetworkDispatcher.prototype.didReceiveContentLength):
    24815         * inspector/front-end/Resource.js:
    24816         (WebInspector.Resource.prototype.get transferSize):
    24817         (WebInspector.Resource.prototype.increaseTransferSize):
    24818         * loader/ResourceLoadNotifier.cpp:
    24819         (WebCore::ResourceLoadNotifier::didReceiveData):
    24820         (WebCore::ResourceLoadNotifier::dispatchDidReceiveContentLength):
    24821         (WebCore::ResourceLoadNotifier::sendRemainingDelegateMessages):
    24822         * loader/ResourceLoadNotifier.h:
    24823         * loader/appcache/ApplicationCacheGroup.cpp:
    24824         (WebCore::ApplicationCacheGroup::didReceiveData):
    24825         * platform/network/mac/ResourceHandleMac.mm:
    24826         (-[WebCoreResourceHandleAsDelegate connection:didReceiveData:lengthReceived:]):
    24827         * platform/network/qt/QNetworkReplyHandler.cpp:
    24828         (WebCore::QNetworkReplyHandler::forwardData):
    24829         * platform/network/soup/ResourceHandleSoup.cpp:
    24830         (WebCore::gotChunkCallback):
    24831         * platform/network/win/ResourceHandleWin.cpp:
    24832         (WebCore::ResourceHandle::onRequestComplete):
    24833         (WebCore::ResourceHandle::fileLoadTimer):
    24834 
    24835 2011-03-21  Leo Yang  <leo.yang@torchmobile.com.cn>
    24836 
    24837         Reviewed by Dirk Schulze.
    24838 
    24839         symbol display <use> at wrong scale
    24840         https://bugs.webkit.org/show_bug.cgi?id=54538
    24841 
    24842         SVG spec: http://www.w3.org/TR/SVG/struct.html#UseElement
    24843         Quotation for referenced <symbol>: "If attributes 'width'
    24844         and/or 'height' are provided on the 'use' element, then
    24845         these attributes will be transferred to the generated 'svg'."
    24846         Quotation for referenced <svg>: "If attributes 'width'
    24847         and/or 'height' are provided on the 'use' element, then
    24848         these values will override the corresponding attributes
    24849         on the 'svg' in the generated tree."
    24850         For above quotations, we should treat 'use' element as referencing
    24851         'use' element, just like Firefox 3.6 and Opera 11, instead of
    24852         corrensponding 'use' element.
    24853 
    24854         Tests: svg/custom/use-transfer-width-height-properties-to-svg.svg
    24855                svg/custom/use-transfer-width-height-properties-to-svg1.svg
    24856                svg/custom/use-transfer-width-height-properties-to-svg2.svg
    24857                svg/custom/use-transfer-width-height-properties-to-symbol.svg
    24858                svg/custom/use-transfer-width-height-properties-to-symbol1.svg
    24859                svg/custom/use-transfer-width-height-properties-to-symbol2.svg
    24860 
    24861         * svg/SVGElementInstance.cpp:
    24862         (WebCore::SVGElementInstance::SVGElementInstance):
    24863         * svg/SVGElementInstance.h:
    24864         (WebCore::SVGElementInstance::create):
    24865         (WebCore::SVGElementInstance::correspondingUseElement):
    24866         (WebCore::SVGElementInstance::directUseElement):
    24867         (WebCore::SVGElementInstance::clearUseElements):
    24868         * svg/SVGUseElement.cpp:
    24869         (WebCore::updateContainerSize):
    24870         (WebCore::SVGUseElement::updateContainerSizes):
    24871         (WebCore::dumpInstanceTree):
    24872         (WebCore::SVGUseElement::detachInstance):
    24873         (WebCore::SVGUseElement::buildInstanceTree):
    24874 
    24875 2011-03-21  Jaehun Lim  <ljaehun.lim@samsung.com>
    24876 
    24877         Reviewed by Pavel Feldman.
    24878 
    24879         Fix build break when inspector is enabled.
    24880         https://bugs.webkit.org/show_bug.cgi?id=56735
    24881 
    24882         * loader/FrameLoader.cpp:
    24883         (WebCore::FrameLoader::continueLoadAfterNavigationPolicy): Add ENABLE(INSPECTOR).
    24884 
    24885 2011-03-21  Philippe Normand  <pnormand@igalia.com>
    24886 
    24887         Unreviewed, GTK distcheck build fix.
    24888 
    24889         * GNUmakefile.am:
    24890 
    24891 2011-03-21  Julien Chaffraix  <jchaffraix@webkit.org>
    24892 
    24893         Reviewed by Eric Seidel.
    24894 
    24895         Bug 51465 - chrome.dll!WebCore::RenderLayer::currentTransform
    24896         ReadAV@NULL (8968fc97874fa23b6799ff8f09c142e4)
    24897 
    24898         Test: fast/css/webkit-empty-transform-preserve3d-crash.html
    24899 
    24900         * rendering/RenderBox.cpp:
    24901         (WebCore::RenderBox::layoutOverflowRectForPropagation): Mimicked the
    24902         rest of the code and check that the RenderBox has a layer to avoid
    24903         crashing on the layer() call.
    24904 
    24905 2011-03-21  Pavel Feldman  <pfeldman@chromium.org>
    24906 
    24907         Reviewed by Yury Semikhatsky.
    24908 
    24909         Web Inspector: move cookie processing and appcache from DOMAgent.js
    24910         https://bugs.webkit.org/show_bug.cgi?id=56713
    24911 
    24912         * inspector/front-end/ApplicationCacheItemsView.js:
    24913         (WebInspector.ApplicationCacheDispatcher):
    24914         (WebInspector.ApplicationCacheDispatcher.getApplicationCachesAsync):
    24915         (WebInspector.ApplicationCacheDispatcher.prototype.updateApplicationCacheStatus):
    24916         (WebInspector.ApplicationCacheDispatcher.prototype.updateNetworkState):
    24917         * inspector/front-end/CookieItemsView.js:
    24918         (WebInspector.Cookies.getCookiesAsync):
    24919         (WebInspector.Cookies.buildCookiesFromString):
    24920         (WebInspector.Cookies.cookieMatchesResourceURL):
    24921         (WebInspector.Cookies.cookieDomainMatchesResourceDomain):
    24922         * inspector/front-end/DOMAgent.js:
    24923         (WebInspector.DOMNode.prototype.eventListeners):
    24924         * inspector/front-end/EventListenersSidebarPane.js:
    24925         (WebInspector.EventListenersSidebarPane.prototype.update):
    24926 
    24927 2011-03-21  Pavel Feldman  <pfeldman@chromium.org>
    24928 
    24929         Reviewed by Yury Semikhatsky.
    24930 
    24931         Web Inspector: migrate Inspector.json to valid JSON types.
    24932         https://bugs.webkit.org/show_bug.cgi?id=56651
    24933 
    24934         This change migrates inspector from long to int as
    24935         dom, storage, database and other id types.
    24936 
    24937         * inspector/InjectedScriptHost.cpp:
    24938         (WebCore::InjectedScriptHost::inspectedNode):
    24939         (WebCore::InjectedScriptHost::databaseIdImpl):
    24940         (WebCore::InjectedScriptHost::storageIdImpl):
    24941         (WebCore::InjectedScriptHost::didCreateWorker):
    24942         (WebCore::InjectedScriptHost::didDestroyWorker):
    24943         * inspector/InjectedScriptHost.h:
    24944         * inspector/InjectedScriptHost.idl:
    24945         * inspector/Inspector.json:
    24946         * inspector/InspectorAgent.cpp:
    24947         (WebCore::InspectorAgent::highlightDOMNode):
    24948         * inspector/InspectorAgent.h:
    24949         * inspector/InspectorBrowserDebuggerAgent.cpp:
    24950         (WebCore::InspectorBrowserDebuggerAgent::setDOMBreakpoint):
    24951         (WebCore::InspectorBrowserDebuggerAgent::removeDOMBreakpoint):
    24952         (WebCore::InspectorBrowserDebuggerAgent::descriptionForDOMEvent):
    24953         (WebCore::InspectorBrowserDebuggerAgent::hasBreakpoint):
    24954         * inspector/InspectorBrowserDebuggerAgent.h:
    24955         * inspector/InspectorCSSAgent.cpp:
    24956         (WebCore::InspectorCSSAgent::getStylesForNode):
    24957         (WebCore::InspectorCSSAgent::getInlineStyleForNode):
    24958         (WebCore::InspectorCSSAgent::getComputedStyleForNode):
    24959         (WebCore::InspectorCSSAgent::setPropertyText):
    24960         (WebCore::InspectorCSSAgent::toggleProperty):
    24961         (WebCore::InspectorCSSAgent::addRule):
    24962         (WebCore::InspectorCSSAgent::elementForId):
    24963         * inspector/InspectorCSSAgent.h:
    24964         * inspector/InspectorConsoleAgent.cpp:
    24965         (WebCore::InspectorConsoleAgent::count):
    24966         (WebCore::InspectorConsoleAgent::addInspectedNode):
    24967         (WebCore::InspectorConsoleAgent::setConsoleMessagesEnabled):
    24968         * inspector/InspectorConsoleAgent.h:
    24969         * inspector/InspectorDOMAgent.cpp:
    24970         (WebCore::InspectorDOMAgent::bind):
    24971         (WebCore::InspectorDOMAgent::unbind):
    24972         (WebCore::InspectorDOMAgent::assertNode):
    24973         (WebCore::InspectorDOMAgent::assertElement):
    24974         (WebCore::InspectorDOMAgent::assertHTMLElement):
    24975         (WebCore::InspectorDOMAgent::nodeToSelectOn):
    24976         (WebCore::InspectorDOMAgent::pushChildNodesToFrontend):
    24977         (WebCore::InspectorDOMAgent::nodeForId):
    24978         (WebCore::InspectorDOMAgent::getChildNodes):
    24979         (WebCore::InspectorDOMAgent::querySelector):
    24980         (WebCore::InspectorDOMAgent::querySelectorAll):
    24981         (WebCore::InspectorDOMAgent::pushNodePathToFrontend):
    24982         (WebCore::InspectorDOMAgent::boundNodeId):
    24983         (WebCore::InspectorDOMAgent::setAttribute):
    24984         (WebCore::InspectorDOMAgent::removeAttribute):
    24985         (WebCore::InspectorDOMAgent::removeNode):
    24986         (WebCore::InspectorDOMAgent::setNodeName):
    24987         (WebCore::InspectorDOMAgent::getOuterHTML):
    24988         (WebCore::InspectorDOMAgent::setOuterHTML):
    24989         (WebCore::InspectorDOMAgent::setNodeValue):
    24990         (WebCore::InspectorDOMAgent::getEventListenersForNode):
    24991         (WebCore::InspectorDOMAgent::resolveNode):
    24992         (WebCore::InspectorDOMAgent::pushNodeToFrontend):
    24993         (WebCore::InspectorDOMAgent::buildObjectForNode):
    24994         (WebCore::InspectorDOMAgent::loadEventFired):
    24995         (WebCore::InspectorDOMAgent::didInsertDOMNode):
    24996         (WebCore::InspectorDOMAgent::didRemoveDOMNode):
    24997         (WebCore::InspectorDOMAgent::didModifyDOMAttr):
    24998         (WebCore::InspectorDOMAgent::characterDataModified):
    24999         (WebCore::InspectorDOMAgent::didInvalidateStyleAttr):
    25000         (WebCore::InspectorDOMAgent::reportNodesAsSearchResults):
    25001         (WebCore::InspectorDOMAgent::copyNode):
    25002         (WebCore::InspectorDOMAgent::pushNodeByPathToFrontend):
    25003         * inspector/InspectorDOMAgent.h:
    25004         * inspector/InspectorDOMStorageAgent.cpp:
    25005         (WebCore::InspectorDOMStorageAgent::getDOMStorageEntries):
    25006         (WebCore::InspectorDOMStorageAgent::setDOMStorageItem):
    25007         (WebCore::InspectorDOMStorageAgent::removeDOMStorageItem):
    25008         (WebCore::InspectorDOMStorageAgent::storageId):
    25009         (WebCore::InspectorDOMStorageAgent::getDOMStorageResourceForId):
    25010         * inspector/InspectorDOMStorageAgent.h:
    25011         * inspector/InspectorDOMStorageResource.cpp:
    25012         * inspector/InspectorDOMStorageResource.h:
    25013         (WebCore::InspectorDOMStorageResource::id):
    25014         * inspector/InspectorDatabaseAgent.cpp:
    25015         (WebCore::InspectorDatabaseAgent::getDatabaseTableNames):
    25016         (WebCore::InspectorDatabaseAgent::executeSQL):
    25017         (WebCore::InspectorDatabaseAgent::databaseId):
    25018         (WebCore::InspectorDatabaseAgent::databaseForId):
    25019         * inspector/InspectorDatabaseAgent.h:
    25020         * inspector/InspectorDatabaseResource.cpp:
    25021         * inspector/InspectorDatabaseResource.h:
    25022         (WebCore::InspectorDatabaseResource::id):
    25023         * inspector/InspectorDebuggerAgent.cpp:
    25024         (WebCore::InspectorDebuggerAgent::setPauseOnExceptionsState):
    25025         * inspector/InspectorDebuggerAgent.h:
    25026         * inspector/InspectorProfilerAgent.cpp:
    25027         (WebCore::InspectorProfilerAgent::getExactHeapSnapshotNodeRetainedSize):
    25028         * inspector/InspectorProfilerAgent.h:
    25029         * inspector/InspectorResourceAgent.cpp:
    25030         (WebCore::InspectorResourceAgent::identifierForInitialRequest):
    25031         (WebCore::InspectorResourceAgent::willSendRequest):
    25032         (WebCore::InspectorResourceAgent::markResourceAsCached):
    25033         (WebCore::InspectorResourceAgent::didReceiveResponse):
    25034         (WebCore::InspectorResourceAgent::didReceiveContentLength):
    25035         (WebCore::InspectorResourceAgent::didFinishLoading):
    25036         (WebCore::InspectorResourceAgent::didFailLoading):
    25037         (WebCore::InspectorResourceAgent::setInitialContent):
    25038         (WebCore::InspectorResourceAgent::didCreateWebSocket):
    25039         (WebCore::InspectorResourceAgent::willSendWebSocketHandshakeRequest):
    25040         (WebCore::InspectorResourceAgent::didReceiveWebSocketHandshakeResponse):
    25041         (WebCore::InspectorResourceAgent::didCloseWebSocket):
    25042         * inspector/generate-inspector-idl:
    25043 
    25044 2011-03-21  Pavel Feldman  <pfeldman@chromium.org>
    25045 
    25046         Reviewed by Yury Semikhatsky.
    25047 
    25048         Web Inspector: make frameId in network agent of type string, not unsigned long.
    25049         https://bugs.webkit.org/show_bug.cgi?id=56708
    25050 
    25051         * inspector/Inspector.json:
    25052         * inspector/InspectorAgent.cpp:
    25053         (WebCore::InspectorAgent::highlightFrame):
    25054         * inspector/InspectorAgent.h:
    25055         * inspector/InspectorResourceAgent.cpp:
    25056         (WebCore::pointerAsId):
    25057         (WebCore::buildObjectForDocumentLoader):
    25058         (WebCore::buildObjectForFrame):
    25059         (WebCore::InspectorResourceAgent::frameDetachedFromParent):
    25060         (WebCore::InspectorResourceAgent::frameForId):
    25061         (WebCore::InspectorResourceAgent::resourceContent):
    25062         * inspector/InspectorResourceAgent.h:
    25063         * inspector/front-end/ResourcesPanel.js:
    25064         (WebInspector.ResourcesPanel.prototype.addOrUpdateFrame):
    25065 
    25066 2011-03-21  Pavel Feldman  <pfeldman@chromium.org>
    25067 
    25068         Reviewed by Yury Semikhatsky.
    25069 
    25070         Web Inspector: expose object id as string, not JSON struct in the protocol.
    25071         https://bugs.webkit.org/show_bug.cgi?id=56681
    25072 
    25073         * bindings/js/JSInjectedScriptHostCustom.cpp:
    25074         (WebCore::JSInjectedScriptHost::inspect):
    25075         * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
    25076         (WebCore::V8InjectedScriptHost::inspectCallback):
    25077         * inspector/InjectedScript.cpp:
    25078         (WebCore::InjectedScript::evaluateOn):
    25079         (WebCore::InjectedScript::evaluateOnCallFrame):
    25080         (WebCore::InjectedScript::getProperties):
    25081         (WebCore::InjectedScript::nodeForObjectId):
    25082         (WebCore::InjectedScript::setPropertyValue):
    25083         (WebCore::InjectedScript::releaseObject):
    25084         * inspector/InjectedScript.h:
    25085         * inspector/InjectedScriptHost.cpp:
    25086         (WebCore::InjectedScriptHost::inspectImpl):
    25087         * inspector/InjectedScriptHost.h:
    25088         * inspector/InjectedScriptManager.cpp:
    25089         (WebCore::InjectedScriptManager::injectedScriptForObjectId):
    25090         (WebCore::InjectedScriptManager::releaseObjectGroup):
    25091         * inspector/InjectedScriptManager.h:
    25092         * inspector/InjectedScriptSource.js:
    25093         * inspector/Inspector.json:
    25094         * inspector/InspectorConsoleAgent.cpp:
    25095         (WebCore::InspectorConsoleAgent::clearConsoleMessages):
    25096         * inspector/InspectorDOMAgent.cpp:
    25097         (WebCore::InspectorDOMAgent::pushNodeToFrontend):
    25098         * inspector/InspectorDOMAgent.h:
    25099         * inspector/InspectorDebuggerAgent.cpp:
    25100         (WebCore::InspectorDebuggerAgent::evaluateOnCallFrame):
    25101         * inspector/InspectorDebuggerAgent.h:
    25102         * inspector/InspectorRuntimeAgent.cpp:
    25103         (WebCore::InspectorRuntimeAgent::evaluateOn):
    25104         (WebCore::InspectorRuntimeAgent::getProperties):
    25105         (WebCore::InspectorRuntimeAgent::setPropertyValue):
    25106         (WebCore::InspectorRuntimeAgent::releaseObject):
    25107         (WebCore::InspectorRuntimeAgent::releaseObjectGroup):
    25108         * inspector/InspectorRuntimeAgent.h:
    25109         * inspector/front-end/ConsoleView.js:
    25110         (WebInspector.ConsoleView.prototype.completions.evaluatedProperties):
    25111         (WebInspector.ConsoleView.prototype.completions):
    25112         * inspector/front-end/PropertiesSidebarPane.js:
    25113         * inspector/front-end/ScriptsPanel.js:
    25114         (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.releaseEvaluationResult):
    25115         * inspector/front-end/WatchExpressionsSidebarPane.js:
    25116         (WebInspector.WatchExpressionsSection.prototype.update):
    25117         * inspector/front-end/inspector.js:
    25118         (WebInspector.inspect):
    25119 
    25120 2011-03-20  Bill Budge  <bbudge@chromium.org>
    25121 
    25122         Reviewed by Adam Barth.
    25123 
    25124         Rename ThreadSafeShared to ThreadSafeRefCounted
    25125         https://bugs.webkit.org/show_bug.cgi?id=56714
    25126 
    25127         No new tests. Exposes no new functionality.
    25128 
    25129         * ForwardingHeaders/wtf/ThreadSafeRefCounted.h: Copied from ForwardingHeaders/wtf/ThreadSafeShared.h.
    25130         * ForwardingHeaders/wtf/ThreadSafeShared.h: Removed.
    25131         * bindings/v8/SerializedScriptValue.h:
    25132         * dom/Document.cpp:
    25133         * dom/default/PlatformMessagePortChannel.h:
    25134         * fileapi/FileThread.h:
    25135         * loader/ThreadableLoaderClientWrapper.h:
    25136         (WebCore::ThreadableLoaderClientWrapper::create):
    25137         (WebCore::ThreadableLoaderClientWrapper::clearClient):
    25138         (WebCore::ThreadableLoaderClientWrapper::done):
    25139         (WebCore::ThreadableLoaderClientWrapper::didSendData):
    25140         (WebCore::ThreadableLoaderClientWrapper::didReceiveResponse):
    25141         (WebCore::ThreadableLoaderClientWrapper::didReceiveData):
    25142         (WebCore::ThreadableLoaderClientWrapper::didReceiveCachedMetadata):
    25143         (WebCore::ThreadableLoaderClientWrapper::didFinishLoading):
    25144         (WebCore::ThreadableLoaderClientWrapper::didFail):
    25145         (WebCore::ThreadableLoaderClientWrapper::didFailRedirectCheck):
    25146         (WebCore::ThreadableLoaderClientWrapper::didReceiveAuthenticationCancellation):
    25147         (WebCore::ThreadableLoaderClientWrapper::ThreadableLoaderClientWrapper):
    25148         * page/SecurityOrigin.h:
    25149         * platform/CrossThreadCopier.h:
    25150         * platform/network/BlobData.h:
    25151         * platform/network/cf/SocketStreamHandle.h:
    25152         * storage/AbstractDatabase.h:
    25153         * storage/DatabaseAuthorizer.h:
    25154         * storage/DatabaseCallback.h:
    25155         * storage/DatabaseThread.h:
    25156         * storage/IDBCallbacks.h:
    25157         * storage/IDBCursorBackendInterface.h:
    25158         * storage/IDBDatabaseBackendInterface.h:
    25159         * storage/IDBFactoryBackendInterface.h:
    25160         * storage/IDBIndexBackendInterface.h:
    25161         * storage/IDBKey.h:
    25162         * storage/IDBKeyRange.h:
    25163         * storage/IDBObjectStoreBackendInterface.h:
    25164         * storage/IDBRequest.h:
    25165         * storage/IDBTransactionBackendInterface.h:
    25166         * storage/SQLError.h:
    25167         * storage/SQLResultSet.h:
    25168         * storage/SQLStatement.h:
    25169         * storage/SQLStatementCallback.h:
    25170         * storage/SQLStatementErrorCallback.h:
    25171         * storage/SQLTransaction.h:
    25172         * storage/SQLTransactionCallback.h:
    25173         * storage/SQLTransactionErrorCallback.h:
    25174         * websockets/ThreadableWebSocketChannelClientWrapper.h:
    25175         * workers/DefaultSharedWorkerRepository.cpp:
    25176 
    25177 2011-03-20  Andreas Kling  <kling@webkit.org>
    25178 
    25179         Reviewed by Kenneth Rohde Christiansen.
    25180 
    25181         [Qt] Clean up redirection logic in QNetworkReplyHandler
    25182         https://bugs.webkit.org/show_bug.cgi?id=56717
    25183 
    25184         * platform/network/qt/QNetworkReplyHandler.cpp:
    25185         (WebCore::QNetworkReplyHandler::QNetworkReplyHandler):
    25186         Use resetState() when constructing QNRH as well.
    25187 
    25188         (WebCore::QNetworkReplyHandler::resetState):
    25189         Delete (deferred) the m_reply if one exists (only when redirecting.)
    25190 
    25191         (WebCore::QNetworkReplyHandler::finish):
    25192         Return early when redirecting.
    25193 
    25194         (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
    25195         (WebCore::QNetworkReplyHandler::redirect):
    25196         Move the redirection logic from sendResponseIfNeeded() into a
    25197         separate redirect() method.
    25198 
    25199 2011-03-19  Andreas Kling  <kling@webkit.org>
    25200 
    25201         Reviewed by Benjamin Poulain.
    25202 
    25203         [Qt] Rename ignoreHttpError() to shouldIgnoreHttpError()
    25204 
    25205         The function doesn't ignore anything, thus it shouldn't have an imperative name.
    25206 
    25207         * platform/network/qt/QNetworkReplyHandler.cpp:
    25208         (WebCore::shouldIgnoreHttpError):
    25209         (WebCore::QNetworkReplyHandler::finish):
    25210         (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
    25211 
    25212 2011-03-19  Andreas Kling  <kling@webkit.org>
    25213 
    25214         Reviewed by Benjamin Poulain.
    25215 
    25216         [Qt] Kill layer violation FIXME in ResourceHandleQt.
    25217 
    25218         We were including qwebframe_p.h from WebKit/qt for no reason.
    25219 
    25220         * platform/network/qt/ResourceHandleQt.cpp:
    25221 
    25222 2011-03-19  Andreas Kling  <kling@webkit.org>
    25223 
    25224         Reviewed by Benjamin Poulain.
    25225 
    25226         [Qt] Refactor handling of deferred loads
    25227         https://bugs.webkit.org/show_bug.cgi?id=56715
    25228 
    25229         Split QNetworkReplyHandler's "load mode" into two parameters
    25230         instead of trying to fit the deferral mechanism into it.
    25231 
    25232         Loads are now AsynchronousLoad (default) or SynchronousLoad (for sync XHR.)
    25233 
    25234         * platform/network/qt/QNetworkReplyHandler.cpp:
    25235         (WebCore::QNetworkReplyHandler::QNetworkReplyHandler):
    25236         (WebCore::QNetworkReplyHandler::setLoadingDeferred):
    25237         (WebCore::QNetworkReplyHandler::resumeDeferredLoad):
    25238         (WebCore::QNetworkReplyHandler::finish):
    25239         (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
    25240         (WebCore::QNetworkReplyHandler::forwardData):
    25241         (WebCore::QNetworkReplyHandler::start):
    25242         (WebCore::QNetworkReplyHandler::resetState):
    25243         * platform/network/qt/QNetworkReplyHandler.h:
    25244         * platform/network/qt/ResourceHandleQt.cpp:
    25245         (WebCore::ResourceHandle::start):
    25246         (WebCore::ResourceHandle::loadResourceSynchronously):
    25247         (WebCore::ResourceHandle::platformSetDefersLoading):
    25248 
    25249 2011-03-19  Anton D'Auria  <adauria@apple.com>
    25250 
    25251         Reviewed by Alexey Proskuryakov.
    25252 
    25253         ApplicationCacheGroup is not obsolete after being deleted via ApplicationCacheStorage::deleteEntriesForOrigin
    25254         https://bugs.webkit.org/show_bug.cgi?id=56415
    25255 
    25256         To delete all Application Cache for an origin, we must obsolete all
    25257         in-memory cache groups for that origin. If a cache group isn't in memory,
    25258         then it must be deleted from disk. The previous implementation correctly
    25259         removed on-disk cache groups, but did not mark in-memory cache groups as obsolete.
    25260         This caused an assertion failure in ApplicationCacheStorage::cacheGroupDestroyed()
    25261         when the DocumentLoader was destroyed.
    25262 
    25263         Test: http/tests/appcache/origin-delete.html
    25264 
    25265         * WebCore.exp.in:
    25266         * WebCore.xcodeproj/project.pbxproj:
    25267         * loader/appcache/ApplicationCache.cpp:
    25268         (WebCore::ApplicationCache::clearStorageID):
    25269         (WebCore::ApplicationCache::deleteCacheForOrigin):
    25270         * loader/appcache/ApplicationCache.h:
    25271         * loader/appcache/ApplicationCacheStorage.cpp:
    25272         (WebCore::ApplicationCacheStorage::findInMemoryCacheGroup):
    25273         * loader/appcache/ApplicationCacheStorage.h:
    25274 
    25275 2011-03-19  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
    25276 
    25277         Reviewed by Antonio Gomes.
    25278 
    25279         [EFL] Add dummy GeolocationServiceEfl. cpp | h
    25280         https://bugs.webkit.org/show_bug.cgi?id=56710
    25281 
    25282         Add dummy GeolocationServiceEfl.cpp | h to platform/efl.
    25283 
    25284         * CMakeListsEfl.txt:
    25285         * platform/efl/GeolocationServiceEfl.cpp: Added.
    25286         (WebCore::GeolocationServiceEfl::create):
    25287         (WebCore::GeolocationServiceEfl::GeolocationServiceEfl):
    25288         (WebCore::GeolocationServiceEfl::~GeolocationServiceEfl):
    25289         (WebCore::GeolocationServiceEfl::startUpdating):
    25290         (WebCore::GeolocationServiceEfl::stopUpdating):
    25291         (WebCore::GeolocationServiceEfl::suspend):
    25292         (WebCore::GeolocationServiceEfl::resume):
    25293         (WebCore::GeolocationServiceEfl::lastPosition):
    25294         (WebCore::GeolocationServiceEfl::lastError):
    25295         * platform/efl/GeolocationServiceEfl.h: Added.
    25296 
    25297 2011-03-19  Patrick Gansterer  <paroga@webkit.org>
    25298 
    25299         Unreviewed, rolling out r81551.
    25300         http://trac.webkit.org/changeset/81551
    25301         https://bugs.webkit.org/show_bug.cgi?id=55336
    25302 
    25303         Broke some storage tests on Win32.
    25304 
    25305         * platform/win/FileSystemWin.cpp:
    25306         (WebCore::statFile):
    25307         (WebCore::getFileSize):
    25308         (WebCore::getFileModificationTime):
    25309         (WebCore::fileExists):
    25310 
    25311 2011-03-19  Andreas Kling  <kling@webkit.org>
    25312 
    25313         Reviewed by Benjamin Poulain.
    25314 
    25315         [Qt] Remove support for Qt 4.6
    25316         https://bugs.webkit.org/show_bug.cgi?id=56712
    25317 
    25318         * platform/graphics/qt/FontPlatformDataQt.cpp:
    25319         (WebCore::FontPlatformData::FontPlatformData):
    25320         * platform/graphics/qt/FontQt.cpp:
    25321         (WebCore::drawTextCommon):
    25322         (WebCore::Font::drawSimpleText):
    25323         (WebCore::Font::floatWidthForSimpleText):
    25324         (WebCore::Font::offsetForPositionForSimpleText):
    25325         (WebCore::Font::selectionRectForSimpleText):
    25326         * platform/graphics/qt/GraphicsContext3DQt.cpp:
    25327         (WebCore::GraphicsContext3DInternal::paint):
    25328         * platform/graphics/qt/ImageBufferQt.cpp:
    25329         (WebCore::getImageData):
    25330         * platform/graphics/qt/ImageDecoderQt.cpp:
    25331         (WebCore::ImageDecoderQt::internalHandleCurrentImage):
    25332         * platform/graphics/qt/PathQt.cpp:
    25333         (WebCore::Path::transform):
    25334         * platform/network/qt/DnsPrefetchHelper.h:
    25335         (WebCore::DnsPrefetchHelper::DnsPrefetchHelper):
    25336         (WebCore::DnsPrefetchHelper::lookup):
    25337         * platform/network/qt/NetworkStateNotifierPrivate.h:
    25338         * platform/network/qt/NetworkStateNotifierQt.cpp:
    25339         * platform/network/qt/QNetworkReplyHandler.cpp:
    25340         (WebCore::QNetworkReplyHandler::httpMethod):
    25341         (WebCore::QNetworkReplyHandler::QNetworkReplyHandler):
    25342         (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
    25343         (WebCore::QNetworkReplyHandler::start):
    25344         * platform/network/qt/ResourceRequestQt.cpp:
    25345         (WebCore::ResourceRequest::toNetworkRequest):
    25346         * platform/qt/RenderThemeQt.cpp:
    25347         (WebCore::RenderThemeQt::paintMediaSliderTrack):
    25348 
    25349 2011-03-19  Patrick Gansterer  <paroga@webkit.org>
    25350 
    25351         Reviewed by Adam Roben.
    25352 
    25353         Use Win32 API to get file information
    25354         https://bugs.webkit.org/show_bug.cgi?id=55336
    25355 
    25356         Use GetFileInformationByHandle() in favour over _wstat64(), GetFileSizeEx()
    25357         and GetFileAttributesEx() so we can share the code with WinCE.
    25358 
    25359         * platform/win/FileSystemWin.cpp:
    25360         (WebCore::createFileHandle):
    25361         (WebCore::getFileInformation):
    25362         (WebCore::getFileSize):
    25363         (WebCore::getFileModificationTime):
    25364         (WebCore::fileExists):
    25365 
    25366 2011-03-19  Xan Lopez  <xlopez@igalia.com>
    25367 
    25368         Reviewed by Martin Robinson.
    25369 
    25370         [GTK] Simplify GObjectEventListener
    25371         https://bugs.webkit.org/show_bug.cgi?id=56698
    25372 
    25373         Get rid of special case for DOMWindow, since it's also an
    25374         EventTarget.
    25375 
    25376         * bindings/gobject/GObjectEventListener.cpp:
    25377         (WebCore::GObjectEventListener::GObjectEventListener): remove
    25378         DOMWindow special casing.
    25379         (WebCore::GObjectEventListener::~GObjectEventListener): ditto.
    25380         (WebCore::GObjectEventListener::gobjectDestroyed):
    25381         * bindings/gobject/GObjectEventListener.h:
    25382         (WebCore::GObjectEventListener::addEventListener): ditto.
    25383         (WebCore::GObjectEventListener::removeEventListener): ditto.
    25384 
    25385 2011-03-19  Ben Taylor  <bentaylor.solx86@gmail.com>
    25386 
    25387         Reviewed by Nikolas Zimmermann.
    25388 
    25389         https://bugs.webkit.org/show_bug.cgi?id=56195
    25390         Fix conditional which had an int for one case and a pointer for another.
    25391         Similar fix as https://bugs.webkit.org/show_bug.cgi?id=56198
    25392 
    25393         No new tests. Fix compilation on Solaris 10 with Sun Studio C++
    25394 
    25395         * svg/SVGElement.cpp:
    25396         (WebCore::SVGElement::sendSVGLoadEventIfPossible):
    25397 
    25398 2011-03-19  Patrick Gansterer  <paroga@webkit.org>
    25399 
    25400         Reviewed by Darin Adler.
    25401 
    25402         Rename WTF::StringHasher methods
    25403         https://bugs.webkit.org/show_bug.cgi?id=53532
    25404 
    25405         Rename createHash to computeHash and createBlobHash to hashMemory.
    25406         Also add a using WTF::StringHasher in the header file.
    25407 
    25408         * dom/Document.cpp:
    25409         (WebCore::FormElementKeyHash::hash):
    25410         * dom/QualifiedName.h:
    25411         (WebCore::hashComponents):
    25412         * dom/StyledElement.cpp:
    25413         (WebCore::MappedAttributeHash::hash):
    25414         * loader/appcache/ApplicationCacheStorage.cpp:
    25415         (WebCore::urlHostHash):
    25416         * page/SecurityOriginHash.h:
    25417         (WebCore::SecurityOriginHash::hash):
    25418         * platform/LinkHash.cpp:
    25419         (WebCore::visitedLinkHashInline):
    25420         * platform/cf/BinaryPropertyList.cpp:
    25421         (WebCore::IntegerArrayHash::hash):
    25422         * platform/cf/SchedulePair.h:
    25423         (WebCore::SchedulePairHash::hash):
    25424         * platform/graphics/FontCache.cpp:
    25425         (WebCore::computeHash):
    25426         * platform/graphics/chromium/FontPlatformDataChromiumWin.h:
    25427         (WebCore::FontPlatformData::RefCountedHFONT::hash):
    25428         * platform/graphics/cocoa/FontPlatformData.h:
    25429         (WebCore::FontPlatformData::hash):
    25430         * platform/graphics/pango/FontPlatformData.h:
    25431         (WebCore::FontPlatformData::hash):
    25432         * platform/graphics/wince/FontPlatformData.cpp:
    25433         (WebCore::FixedSizeFontDataKeyHash::hash):
    25434         * platform/graphics/wx/FontPlatformDataWx.cpp:
    25435         (WebCore::FontPlatformData::computeHash):
    25436         * platform/network/ProtectionSpaceHash.h:
    25437         (WebCore::ProtectionSpaceHash::hash):
    25438         * plugins/PluginPackage.cpp:
    25439         (WebCore::PluginPackage::hash):
    25440         * plugins/win/PluginPackageWin.cpp:
    25441         (WebCore::PluginPackage::hash):
    25442         * svg/properties/SVGAnimatedPropertyDescription.h:
    25443         (WebCore::SVGAnimatedPropertyDescriptionHash::hash):
    25444 
    25445 2011-03-18  David Kilzer  <ddkilzer@apple.com>
    25446 
    25447         <http://webkit.org/b/56688> Fix clang static analyzer warning in WebCoreViewFactory.m
    25448 
    25449         Reviewed by Anders Carlsson.
    25450 
    25451         Fixes the following static analyzer warning:
    25452 
    25453             Source/WebCore/page/mac/WebCoreViewFactory.m:45:5: warning: Returning 'self' while it is not set to the result of '[(super or self) init...]'
    25454                  return self;
    25455                  ^
    25456 
    25457         * page/mac/WebCoreViewFactory.m:
    25458         (-[WebCoreViewFactory init]): Assign the result of [super init]
    25459         to self.
    25460 
    25461 2011-03-18  Adam Barth  <abarth@webkit.org>
    25462 
    25463         Reviewed by Dimitri Glazkov.
    25464 
    25465         WebCore GYP build should build
    25466         https://bugs.webkit.org/show_bug.cgi?id=56696
    25467 
    25468         After this patch, the WebCore GYP build successfully compiles and
    25469         links.  I haven't trying executing it yet.
    25470 
    25471         * WebCore.gypi:
    25472             - DOMMouseEvent should be included as part of the Objective-C bindings.
    25473         * WebCore.xcodeproj/project.pbxproj:
    25474             - RenderSVGPath.cpp was mistakenly included directly in the project
    25475               instead of being built by RenderSVGAllInOne.
    25476         * gyp/WebCore.gyp:
    25477             - Exclude some more files from the build.  These files are absent
    25478               in the normal build.  I didn't see them earlier because the dead
    25479               code stripping was hiding them.  (They're probably unreferenced.)
    25480             - Switch to using RenderSVGAllInOne.  I'm not entirely sure if this
    25481               part of the patch is necessary, but it matches the normal build
    25482               more closely.
    25483         * platform/mac/WebCoreObjCExtras.mm:
    25484             - The normal build passes the -Wdeprecated-declarations flag when
    25485               compiling this file.  The GYP folks explicitly do not want to add
    25486               that feature to GYP, and there does not appear to be a way to
    25487               remove the deprecated call from this file.
    25488         * rendering/svg/RenderSVGAllInOne.cpp:
    25489             - Add RenderSVGPath.cpp, which was missing previously.
    25490 
    25491 2011-03-18  Adam Barth  <abarth@webkit.org>
    25492 
    25493         Reviewed by Dimitri Glazkov.
    25494 
    25495         WebCore GYP build should (almost!) link
    25496         https://bugs.webkit.org/show_bug.cgi?id=56689
    25497 
    25498         This patch is a grab-bag of small changes to bring the WebCore GYP
    25499         build down to two link errors or one compile error (take your pick).
    25500         We might need a GYP change to get this last file to compile, however.
    25501 
    25502         * WebCore.gypi:
    25503         * gyp/WebCore.gyp:
    25504 
    25505 2011-03-16  Ryosuke Niwa  <rniwa@webkit.org>
    25506 
    25507         Reviewed by Ojan Vafai.
    25508 
    25509         Add a test for r81266 and fix HTML Editing for fallback contents in object element
    25510         https://bugs.webkit.org/show_bug.cgi?id=56505
    25511 
    25512         The bug was caused by canHaveChildrenForEditing's always returning false even when
    25513         object element used fallback content. Fixed the bug by adding a check.
    25514 
    25515         Test: editing/editability/ignored-content.html
    25516 
    25517         * editing/htmlediting.cpp:
    25518         (WebCore::canHaveChildrenForEditing):
    25519 
    25520 2011-03-18  Andy Estes  <aestes@apple.com>
    25521 
    25522         Reviewed by Eric Seidel.
    25523 
    25524         REGRESSION (r80231): Bad cast in HTMLTreeBuilder::processStartTag
    25525         https://bugs.webkit.org/show_bug.cgi?id=56380
    25526        
    25527         Fix two issues with parsing a fragment that has a foreign content
    25528         element as its context element. The first issue is that the parser will
    25529         initially be in the InForeignContentMode insertion mode when processing
    25530         the first tag in the fragment in this case so one call site needs to
    25531         change from currentElement() to currentNode(). The second issue is that
    25532         when we changed fragments from using a fake HTML root element to a
    25533         DocumentFragment we broke checks that assumed the root element was in
    25534         the HTML namespace. Fix this by claiming that the DocumentFragment is
    25535         also in the HTML namespace.
    25536 
    25537         Test: fast/parser/fragment-foreign-content-context.html
    25538 
    25539         * html/parser/HTMLElementStack.cpp:
    25540         (WebCore::HTMLNames::isForeignContentScopeMarker):
    25541         (WebCore::HTMLElementStack::hasOnlyHTMLElementsInScope):
    25542         * html/parser/HTMLElementStack.h:
    25543         (WebCore::isInHTMLNamespace):
    25544         * html/parser/HTMLTreeBuilder.cpp:
    25545         (WebCore::HTMLTreeBuilder::constructTreeFromAtomicToken):
    25546         (WebCore::HTMLTreeBuilder::processStartTag):
    25547         (WebCore::HTMLTreeBuilder::processEndTag):
    25548 
    25549 2011-03-18  James Robinson  <jamesr@chromium.org>
    25550 
    25551         Reviewed by Dimitri Glazkov.
    25552 
    25553         REGRESSION(78846) [chromium] Justified text renders at incorrect offsets on windows
    25554         https://bugs.webkit.org/show_bug.cgi?id=56629
    25555 
    25556         Preserves offsets as absolute floating point offsets and rounds to
    25557         advances at the last possible second.  I can't prove to myself that
    25558         this is sound but it seems to work on the test cases I've constructed.
    25559 
    25560         Will probably change the pixel tests on chromium windows given that we
    25561         were horribly broken before this patch.
    25562 
    25563         * platform/graphics/chromium/FontChromiumWin.cpp:
    25564         (WebCore::Font::drawGlyphs):
    25565         (WebCore::Font::drawComplexText):
    25566 
    25567 2011-03-18  Ryosuke Niwa  <rniwa@webkit.org>
    25568 
    25569         Reviewed by Eric Seidel.
    25570 
    25571         REGRESSION(81374, 81384): editing/deleting/5206311-1.html hits assertion on non-Mac platforms
    25572         https://bugs.webkit.org/show_bug.cgi?id=56599
    25573 
    25574         Debug build fix.
    25575 
    25576         * dom/Position.cpp:
    25577         (WebCore::Position::parentAnchoredEquivalent): If the original position was a position before a node,
    25578         then we can't necessarily instantiate a position inside the node.
    25579         * editing/VisibleSelection.cpp:
    25580         (WebCore::VisibleSelection::toNormalizedRange): Even if s and e were not null, container nodes of s and e
    25581         could be null. Exit early in those cases as well.
    25582 
    25583 2011-03-18  Adam Barth  <abarth@webkit.org>
    25584 
    25585         Reviewed by Eric Seidel.
    25586 
    25587         Add ObjC bindings to the WebCore GYP build
    25588         https://bugs.webkit.org/show_bug.cgi?id=56671
    25589 
    25590         It turns out we generate a bunch of ObjC bindings files that we don't
    25591         actually build.  I've manually synced the list of ObjC derived source
    25592         files to match the existing list.  This brings us down to 19 link
    25593         errors.
    25594 
    25595         * WebCore.gypi:
    25596         * gyp/WebCore.gyp:
    25597 
    25598 2011-03-18  Ryuan Choi  <ryuan.choi@samsung.com>
    25599 
    25600         Reviewed by Eric Seidel.
    25601 
    25602         [CMAKE] Split JSC related configurations from WebCore/CMakeLists.txt
    25603         https://bugs.webkit.org/show_bug.cgi?id=56624
    25604 
    25605         No new tests, just splitting jsc related configuration.
    25606 
    25607         * CMakeLists.txt:
    25608         * UseJSC.cmake: Added.
    25609 
    25610 2011-03-16  Stephen White  <senorblanco@chromium.org>
    25611 
    25612         Reviewed by Kenneth Russell.
    25613 
    25614         Implement GPU-accelerated shadows.
    25615         https://bugs.webkit.org/show_bug.cgi?id=56476
    25616 
    25617         For hard shadows, we simply offset the CTM and draw in the shadow
    25618         color.  For soft shadows, we use a separable Gaussian convolution,
    25619         with a bilinear downsample and Mitchell-Netravali upsample in order to
    25620         preserve quality.
    25621 
    25622         * WebCore.gypi:
    25623         Add BicubicShader and ConvolutionShader to the build.
    25624         * platform/graphics/chromium/GLES2Canvas.cpp:
    25625         (WebCore::GLES2Canvas::State::State):
    25626         Add shadow-related members to the GLES2Canvas::State
    25627         (WebCore::GLES2Canvas::State::shadowActive):
    25628         Add a helper function to know if shadows are active.
    25629         (WebCore::GLES2Canvas::clearRect):
    25630         (WebCore::GLES2Canvas::scissorClear):
    25631         Refactor the scissor clearing function out of clearRect().
    25632         (WebCore::GLES2Canvas::fillPath):
    25633         Add hook for shadow rendering in paths.  Bind framebuffer at this level.
    25634         (WebCore::GLES2Canvas::fillRect):
    25635         Add hook for shadow rendering in rects.  Bind framebuffer at this level.
    25636         (WebCore::GLES2Canvas::fillRectInternal):
    25637         Rename fillRect() -> fillRectInternal(), which does bind its vertex
    25638         buffer, but does not bind the framebuffer.
    25639         (WebCore::GLES2Canvas::setShadowColor):
    25640         (WebCore::GLES2Canvas::setShadowOffset):
    25641         (WebCore::GLES2Canvas::setShadowBlur):
    25642         (WebCore::GLES2Canvas::setShadowsIgnoreTransforms):
    25643         Implement graphicsContext-style setters for shadow parameters.
    25644         (WebCore::GLES2Canvas::clipPath):
    25645         Call fillPathInternal(), not fillPath().
    25646         (WebCore::GLES2Canvas::restore):
    25647         (WebCore::GLES2Canvas::drawTexturedRect):
    25648         Bind the framebuffer at this level.  Do not bind vertices here (will
    25649         be done in drawTexturedQuad).
    25650         (WebCore::GLES2Canvas::drawTexturedRectTile):
    25651         drawQuad() -> drawTexturedQuad().
    25652         (WebCore::GLES2Canvas::convolveRect):
    25653         Implement one pass of a convolution filter (X or Y).
    25654         (WebCore::gauss):
    25655         (WebCore::buildKernel):
    25656         Some helper functions to build a Gaussian convolution kernel.
    25657         (WebCore::GLES2Canvas::drawTexturedQuad):
    25658         Rename drawQuad() -> drawTexturedQuad(), to be more clear.  Do not
    25659         bind the framebuffer at this level (it will be done higher).
    25660         (WebCore::GLES2Canvas::drawTexturedQuadMitchell):
    25661         Implement Mitchell-Netravali bicubic sampling, using BicubicShader.
    25662         (WebCore::GLES2Canvas::fillPathInternal):
    25663         Rename fillPath() -> fillPathInternal(), which does use quad vertices,
    25664         but does not bind the framebuffer or set the compositing mode.
    25665         (WebCore::GLES2Canvas::flipRect):
    25666         Implement a helper function to flip a rectangle in Y within the canvas.
    25667         (WebCore::GLES2Canvas::clearBorders):
    25668         Implement a helper function to clear an n-pixel border around a rect.
    25669         (WebCore::GLES2Canvas::beginShadowDraw):
    25670         Setup before drawing a primitive's shadow:  for hard shadows, just
    25671         offset the CTM by the shadow offset.  For soft shadows, bind to an
    25672         offscreen DrawingBuffer.
    25673         (WebCore::GLES2Canvas::endShadowDraw):
    25674         Tear-down after drawing a primitive's shadow:  for hard shadows, just
    25675         restore the CTM.  For soft shadows, downsample (if necessary), then
    25676         blur in X, blur in Y, upsample if necessary).
    25677         * platform/graphics/chromium/GLES2Canvas.h:
    25678         * platform/graphics/gpu/BicubicShader.cpp: Added.
    25679         (WebCore::BicubicShader::BicubicShader):
    25680         (WebCore::BicubicShader::create):
    25681         (WebCore::BicubicShader::use):
    25682         * platform/graphics/gpu/BicubicShader.h: Added.
    25683         Implement a bicubic image filtering shader.
    25684         * platform/graphics/gpu/ConvolutionShader.cpp: Added.
    25685         (WebCore::ConvolutionShader::ConvolutionShader):
    25686         (WebCore::ConvolutionShader::create):
    25687         (WebCore::ConvolutionShader::use):
    25688         * platform/graphics/gpu/ConvolutionShader.h: Added.
    25689         Implement a 1-dimensional convolution shader.  In order to minimize
    25690         texture samples, this shader is parameterized at compile time by the
    25691         width of the convolution kernel.
    25692         * platform/graphics/gpu/DrawingBuffer.h:
    25693         (WebCore::DrawingBuffer::colorBuffer):
    25694         Add an accessor to retrieve a DrawingBuffer's texture ID.
    25695         * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
    25696         (WebCore::SharedGraphicsContext3D::create):
    25697         (WebCore::SharedGraphicsContext3D::SharedGraphicsContext3D):
    25698         (WebCore::SharedGraphicsContext3D::useBicubicProgram):
    25699         (WebCore::SharedGraphicsContext3D::useConvolutionProgram):
    25700         Create BicubicShader and cMaxKernelWidth ConvolutionShader's (one for
    25701         each possible kernel width).
    25702         (WebCore::SharedGraphicsContext3D::getOffscreenBuffer):
    25703         Implement a simple cache of offscreen DrawingBuffers, integer-indexed.
    25704         This is done to minimize the VRAM usage:  only 2 buffers are used for
    25705         all canvases.
    25706         * platform/graphics/gpu/SharedGraphicsContext3D.h:
    25707         Add bicubic and convolution shader members, and useXXX() functions.
    25708         * platform/graphics/skia/GraphicsContextSkia.cpp:
    25709         (WebCore::GraphicsContext::setPlatformShadow):
    25710         Hook into GraphicsContextSkia's platform shadow setters to set
    25711         parameters on GLES2Canvas.
    25712         * platform/graphics/skia/PlatformContextSkia.cpp:
    25713         (WebCore::PlatformContextSkia::canAccelerate):
    25714         Remove shadows (loopers) from the list of things we can't accelerate.
    25715 
    25716 2011-03-18  Andreas Kling  <kling@webkit.org>
    25717 
    25718         Reviewed by Darin Adler.
    25719 
    25720         Remove unused method FontFallbackList::fontDataForCharacters()
    25721         https://bugs.webkit.org/show_bug.cgi?id=56657
    25722 
    25723         * platform/graphics/Font.h:
    25724         * platform/graphics/FontFallbackList.cpp:
    25725         * platform/graphics/FontFallbackList.h:
    25726 
    25727 2011-03-18  Andreas Kling  <kling@webkit.org>
    25728 
    25729         Reverting accidental changes in r81498.
    25730 
    25731 2011-03-18  Ilya Tikhonovsky  <loislo@chromium.org>
    25732 
    25733         Reviewed by Yury Semikhatsky.
    25734 
    25735         Web Inspector: rename console agent events.
    25736         https://bugs.webkit.org/show_bug.cgi?id=56646
    25737 
    25738         addConsoleMessage -> consoleMessage
    25739         updateConsoleMessageExpiredCount -> consoleMessageExpiredCountUpdate
    25740         updateConsoleMessageRepeatCount -> consoleMessageRepeatCountUpdate
    25741 
    25742         * inspector/ConsoleMessage.cpp:
    25743         (WebCore::ConsoleMessage::addToFrontend):
    25744         (WebCore::ConsoleMessage::updateRepeatCountInConsole):
    25745         * inspector/Inspector.json:
    25746         * inspector/InspectorConsoleAgent.cpp:
    25747         (WebCore::InspectorConsoleAgent::setConsoleMessagesEnabled):
    25748         * inspector/front-end/ConsoleView.js:
    25749         (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher.dispatcher.consoleMessage):
    25750         (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher.dispatcher.consoleMessageExpiredCountUpdate):
    25751         (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher.dispatcher.consoleMessageRepeatCountUpdate):
    25752 
    25753 2011-03-18  Sheriff Bot  <webkit.review.bot@gmail.com>
    25754 
    25755         Unreviewed, rolling out r81487.
    25756         http://trac.webkit.org/changeset/81487
    25757         https://bugs.webkit.org/show_bug.cgi?id=56662
    25758 
    25759         "Breaks inspector/styles/styles-add-blank-property.html"
    25760         (Requested by apavlov on #webkit).
    25761 
    25762         * inspector/Inspector.json:
    25763         * inspector/InspectorCSSAgent.cpp:
    25764         (WebCore::InspectorCSSAgent::getAllStyles):
    25765         * inspector/InspectorCSSAgent.h:
    25766         * inspector/InspectorStyleSheet.cpp:
    25767         (WebCore::InspectorStyleSheet::buildObjectForStyleSheet):
    25768         * inspector/InspectorStyleSheet.h:
    25769         * inspector/front-end/AuditRules.js:
    25770         (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.styleSheetCallback):
    25771         (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.allStylesCallback):
    25772         (WebInspector.AuditRules.UnusedCssRule.prototype.doRun):
    25773         * inspector/front-end/CSSStyleModel.js:
    25774         (WebInspector.CSSStyleModel.prototype._styleSheetChanged.callback):
    25775         (WebInspector.CSSStyleModel.prototype._styleSheetChanged):
    25776         (WebInspector.CSSStyleModel.prototype._onRevert):
    25777         (WebInspector.CSSStyleSheet):
    25778         (WebInspector.CSSStyleSheet.prototype.setText):
    25779 
    25780 2011-03-18  Justin Novosad  <junov@chromium.org>
    25781 
    25782         Reviewed by Kenneth Russell.
    25783 
    25784         [Chromium] Canvas shadow is not working with drawImage
    25785         https://bugs.webkit.org/show_bug.cgi?id=55506
    25786 
    25787         Patch also fixes shadow blur quality and color.
    25788         Affects Chromium win/linux. Also fixes the following bugs:
    25789         https://bugs.webkit.org/show_bug.cgi?id=50112
    25790         https://bugs.webkit.org/show_bug.cgi?id=51989
    25791         https://bugs.webkit.org/show_bug.cgi?id=55410
    25792         No tests were added, impact is already covered by multiple layout tests.
    25793 
    25794         * platform/graphics/skia/GraphicsContextSkia.cpp:
    25795         (WebCore::GraphicsContext::setPlatformShadow):
    25796         * platform/graphics/skia/ImageSkia.cpp:
    25797         (WebCore::paintSkBitmap):
    25798 
    25799 2011-03-15  Alexander Pavlov  <apavlov@chromium.org>
    25800 
    25801         Reviewed by Pavel Feldman.
    25802 
    25803         Web Inspector: Fix handling of the CSSAgent.setStyleSheetText() results in CSSStyleModel.js
    25804         https://bugs.webkit.org/show_bug.cgi?id=56310
    25805 
    25806         Instead of stylesheet ids, CSSAgent.getAllStyleSheets() now returns metainfo objects containing
    25807         "styleSheetId", "sourceURL", "disabled", and "title" fields. The latter three are not returned
    25808         by CSSAgent.getStyleSheet() anymore.
    25809 
    25810         Test: inspector/styles/get-set-stylesheet-text.html
    25811 
    25812         * inspector/Inspector.json:
    25813         * inspector/InspectorCSSAgent.cpp:
    25814         (WebCore::InspectorCSSAgent::getAllStyleSheets):
    25815         * inspector/InspectorCSSAgent.h:
    25816         * inspector/InspectorStyleSheet.cpp:
    25817         (WebCore::InspectorStyleSheet::buildObjectForStyleSheet):
    25818         (WebCore::InspectorStyleSheet::buildObjectForStyleSheetInfo):
    25819         * inspector/InspectorStyleSheet.h:
    25820         * inspector/front-end/AuditRules.js:
    25821         (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.styleSheetCallback):
    25822         (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.allStylesCallback):
    25823         (WebInspector.AuditRules.UnusedCssRule.prototype.doRun):
    25824         * inspector/front-end/CSSStyleModel.js:
    25825         (WebInspector.CSSStyleModel.prototype._styleSheetChanged.callback):
    25826         (WebInspector.CSSStyleModel.prototype._styleSheetChanged):
    25827         (WebInspector.CSSStyleModel.prototype._onRevert):
    25828         (WebInspector.CSSStyleSheet):
    25829         (WebInspector.CSSStyleSheet.prototype.setText):
    25830 
    25831 2011-03-18  David Keijser  <keijser@gmail.com> and Xan Lopez <xlopez@igalia.com>
    25832 
    25833         Reviewed by Martin Robinson.
    25834 
    25835         [GTK] On-demand event-listeners for DOM event signals
    25836         https://bugs.webkit.org/show_bug.cgi?id=49649
    25837 
    25838         Add explicit EventTarget API to add/remove event listeners instead
    25839         of using GSignal, which due to internal limitations in glib makes
    25840         us preemptively add listeners for all event types.
    25841 
    25842         * bindings/gobject/GObjectEventListener.cpp: add new
    25843         addEventListener/removeEventListener methods, and small
    25844         refactoring to store an EventTarget internally instead of a DOM
    25845         node, which is more generic and can be reused in more cases.
    25846         * bindings/gobject/GObjectEventListener.h: ditto.
    25847         * bindings/gobject/WebKitDOMEventTarget.cpp:
    25848         (webkit_dom_event_target_add_event_listener): new iface method to
    25849         add an event listener.
    25850         (webkit_dom_event_target_remove_event_listener): new iface method
    25851         to remove an event listener.
    25852         * bindings/gobject/WebKitDOMEventTarget.h: add new iface methods.
    25853         * bindings/scripts/CodeGeneratorGObject.pm: change code generation
    25854         accordingly.
    25855 
    25856 2011-03-18  Brady Eidson  <beidson@apple.com>
    25857 
    25858         Reviewed by Sam Weinig.
    25859 
    25860         https://bugs.webkit.org/show_bug.cgi?id=56425
    25861         More groundwork for WebKit2 IconDatabase
    25862 
    25863         -Update the synchronous method names to be prefixed with "synchronous."
    25864         -Call asynchronous versions of the appropriate methods if the IconDatabase supports them.
    25865 
    25866         Update icon database calls to be prefixed with "synchronous":
    25867         * loader/archive/cf/LegacyWebArchive.cpp:
    25868         (WebCore::LegacyWebArchive::create):
    25869         * loader/icon/IconDatabaseBase.h:
    25870         (WebCore::IconDatabaseBase::synchronousIconDataKnownForIconURL):
    25871         (WebCore::IconDatabaseBase::synchronousLoadDecisionForIconURL):
    25872         (WebCore::IconDatabaseBase::synchronousIconForPageURL):
    25873         * loader/icon/IconDatabase.cpp:
    25874         (WebCore::IconDatabase::synchronousIconForPageURL):
    25875         (WebCore::IconDatabase::readIconForPageURLFromDisk):
    25876         (WebCore::IconDatabase::synchronousIconURLForPageURL):
    25877         (WebCore::IconDatabase::synchronousLoadDecisionForIconURL):
    25878         (WebCore::IconDatabase::synchronousIconDataKnownForIconURL):
    25879         * loader/icon/IconDatabase.h:
    25880         * loader/icon/IconDatabaseBase.cpp:
    25881         (WebCore::IconDatabaseBase::synchronousIconURLForPageURL):
    25882 
    25883         Add nascent support for an asynchronous icon database mode:
    25884         * loader/icon/IconDatabaseBase.h:
    25885         (WebCore::EnumCallback::create):
    25886         (WebCore::EnumCallback::~EnumCallback):
    25887         (WebCore::EnumCallback::performCallback):
    25888         (WebCore::EnumCallback::invalidate):
    25889         (WebCore::EnumCallback::EnumCallback):
    25890         (WebCore::ObjectCallback::create):
    25891         (WebCore::ObjectCallback::~ObjectCallback):
    25892         (WebCore::ObjectCallback::performCallback):
    25893         (WebCore::ObjectCallback::invalidate):
    25894         (WebCore::ObjectCallback::ObjectCallback):
    25895         (WebCore::IconDatabaseBase::supportsAsynchronousMode):
    25896         (WebCore::IconDatabaseBase::loadDecisionForIconURL):
    25897         (WebCore::IconDatabaseBase::iconDataForIconURL):
    25898 
    25899         Add interfaces to use the asynchronous versions of certain IconDatabase calls:
    25900         * loader/DocumentLoader.cpp:
    25901         (WebCore::DocumentLoader::~DocumentLoader):
    25902         (WebCore::DocumentLoader::iconLoadDecisionAvailable):
    25903         (WebCore::iconLoadDecisionCallback):
    25904         (WebCore::DocumentLoader::getIconLoadDecisionForIconURL):
    25905         (WebCore::DocumentLoader::continueIconLoadWithDecision):
    25906         (WebCore::iconDataCallback):
    25907         (WebCore::DocumentLoader::getIconDataForIconURL):
    25908         * loader/DocumentLoader.h:
    25909 
    25910         Break "startIconLoader" into two pieces so it can be used from both the synchronous and asynchronous
    25911         icon database modes:
    25912         * loader/FrameLoader.cpp:
    25913         (WebCore::FrameLoader::iconLoadDecisionReceived):
    25914         (WebCore::FrameLoader::startIconLoader):
    25915         (WebCore::FrameLoader::continueIconLoadWithDecision):
    25916         * loader/FrameLoader.h:
    25917 
    25918         * WebCore.exp.in:
    25919 
    25920 2011-03-18  Pavel Feldman  <pfeldman@chromium.org>
    25921 
    25922         Not reviewed: add missing brace to the generated Inspector.idl.
    25923 
    25924         * inspector/generate-inspector-idl:
    25925 
    25926 2011-03-18  Pavel Feldman  <pfeldman@chromium.org>
    25927 
    25928         Reviewed by Yury Semikhatsky.
    25929 
    25930         Web Inspector: migrate from Inspector.idl to InspectorAPI.json for protocol schema definition meta bug.
    25931         https://bugs.webkit.org/show_bug.cgi?id=56294
    25932 
    25933         * CMakeLists.txt:
    25934         * CodeGenerators.pri:
    25935         * DerivedSources.make:
    25936         * GNUmakefile.am:
    25937         * WebCore.gyp/WebCore.gyp:
    25938         * inspector/Inspector.idl: Removed.
    25939         * inspector/Inspector.json: Added.
    25940         * inspector/generate-inspector-idl: Added.
    25941 
    25942 2011-03-18  Pavel Podivilov  <podivilov@chromium.org>
    25943 
    25944         Reviewed by Yury Semikhatsky.
    25945 
    25946         Web Inspector: implement inspector session storage.
    25947         https://bugs.webkit.org/show_bug.cgi?id=56643
    25948 
    25949         We would like to enable debugger/profiler from frontend side only.
    25950         However, when user clicks "Start Debugging JavaScript" in Safari, we
    25951         need to enable debugger when frontend is opened or re-opened for the
    25952         same page. The idea is to store debugger-enabled setting in session
    25953         storage and check it on frontend load.
    25954 
    25955         * inspector/InspectorFrontendClient.h:
    25956         (WebCore::InspectorFrontendClient::saveSessionSetting):
    25957         (WebCore::InspectorFrontendClient::loadSessionSetting):
    25958         * inspector/InspectorFrontendHost.cpp:
    25959         (WebCore::InspectorFrontendHost::saveSessionSetting):
    25960         (WebCore::InspectorFrontendHost::loadSessionSetting):
    25961         * inspector/InspectorFrontendHost.h:
    25962         * inspector/InspectorFrontendHost.idl:
    25963 
    25964 2011-03-18  Jarkko Sakkinen  <jarkko.j.sakkinen@gmail.com>
    25965 
    25966         Reviewed by Kenneth Rohde Christiansen.
    25967 
    25968         [Qt] Enable GraphicsContext3D only when the window surface support OpenGL
    25969         https://bugs.webkit.org/show_bug.cgi?id=56555
    25970 
    25971         Allow creation of WebGLRenderingContext in the HTMLCanvasElement
    25972         only if accelerated compositing is enabled. In GraphicsContext3D,
    25973         while blitting the surface check that viewport hasn't changed from
    25974         creation and painter is associated to the viewport.
    25975 
    25976         * html/HTMLCanvasElement.cpp:
    25977         (WebCore::HTMLCanvasElement::getContext):
    25978         * platform/graphics/qt/GraphicsContext3DQt.cpp:
    25979         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
    25980         (WebCore::GraphicsContext3DInternal::getViewportGLWidget):
    25981         (WebCore::GraphicsContext3DInternal::paint):
    25982 
    25983 2011-03-17  Pavel Podivilov  <podivilov@chromium.org>
    25984 
    25985         Reviewed by Pavel Feldman.
    25986 
    25987         Web Inspector: extract content loading logic from scripts panel.
    25988         https://bugs.webkit.org/show_bug.cgi?id=55237
    25989 
    25990         Encapsulate source files creation logic in debugger presentation model
    25991         to support source mappings in a pluggable way.
    25992 
    25993         * inspector/front-end/DebuggerPresentationModel.js:
    25994         (WebInspector.DebuggerPresentationModel.prototype.sourceFile):
    25995         (WebInspector.DebuggerPresentationModel.prototype.requestSourceFileContent.else.didRequestSource):
    25996         (WebInspector.DebuggerPresentationModel.prototype.requestSourceFileContent):
    25997         (WebInspector.DebuggerPresentationModel.prototype._parsedScriptSource):
    25998         (WebInspector.DebuggerPresentationModel.prototype._failedToParseScriptSource):
    25999         (WebInspector.DebuggerPresentationModel.prototype._addScript.else.resourceFinished):
    26000         (WebInspector.DebuggerPresentationModel.prototype._addScript):
    26001         (WebInspector.DebuggerPresentationModel.prototype._ensureSourceFileAdded):
    26002         (WebInspector.DebuggerPresentationModel.prototype._resourceForURL):
    26003         (WebInspector.DebuggerPresentationModel.prototype._scriptSourceChanged):
    26004         (WebInspector.DebuggerPresentationModel.prototype._sourceFileAdded):
    26005         (WebInspector.DebuggerPresentationModel.prototype.breakpointsForSourceFileId):
    26006         (WebInspector.DebuggerPresentationModel.prototype.findBreakpoint):
    26007         (WebInspector.DebuggerPresentationModel.prototype._breakpointAdded):
    26008         (WebInspector.DebuggerPresentationModel.prototype._breakpointRemoved):
    26009         (WebInspector.DebuggerPresentationModel.prototype._breakpointResolved):
    26010         (WebInspector.DebuggerPresentationModel.prototype._restoreBreakpoints):
    26011         (WebInspector.DebuggerPresentationModel.prototype.set selectedCallFrame):
    26012         (WebInspector.DebuggerPresentationModel.prototype._actualLocationToSourceLocation):
    26013         (WebInspector.DebuggerPresentationModel.prototype.reset):
    26014         * inspector/front-end/ScriptsPanel.js:
    26015         (WebInspector.ScriptsPanel):
    26016         (WebInspector.ScriptsPanel.prototype._sourceFileAdded):
    26017         (WebInspector.ScriptsPanel.prototype._showSourceFrame):
    26018         (WebInspector.ScriptsPanel.prototype._sourceFileChanged):
    26019         (WebInspector.ScriptsPanel.prototype._callFrameSelected):
    26020         (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.requestContent):
    26021 
    26022 2011-03-18  Yury Semikhatsky  <yurys@chromium.org>
    26023 
    26024         Reviewed by Pavel Feldman.
    26025 
    26026         Web Inspector: console doesn&apos;t scroll when multiline expression is being evaluated
    26027         https://bugs.webkit.org/show_bug.cgi?id=56639
    26028 
    26029         Always scoll in the console when command result is received.
    26030 
    26031         * inspector/front-end/ConsoleView.js:
    26032         (WebInspector.ConsoleView.prototype.addMessage):
    26033 
    26034 2011-03-18  Adam Roben  <aroben@apple.com>
    26035 
    26036         Fix a CFNumber leak seen on the leaks bot
    26037 
    26038         Reviewed by Gavin Barraclough.
    26039 
    26040         * platform/network/mac/FormDataStreamMac.mm:
    26041         (WebCore::advanceCurrentStream): Use a RetainPtr to cause the CFNumber we allocate to be
    26042         released.
    26043 
    26044 2011-03-17  Adam Barth  <abarth@webkit.org>
    26045 
    26046         Reviewed by Eric Seidel.
    26047 
    26048         Add some of the remaining platform/mac files to WebCore GYP build
    26049         https://bugs.webkit.org/show_bug.cgi?id=56616
    26050 
    26051         These files used to be hard, but are now magically easy.  76 link errors.
    26052 
    26053         * gyp/WebCore.gyp:
    26054 
    26055 2011-03-17  Adam Klein  <adamk@chromium.org>
    26056 
    26057         Reviewed by Adam Barth.
    26058 
    26059         [filesystem] Rename toURI->toURL, resolveLocalFileSystemURI->resolveLocalFileSystemURL
    26060         https://bugs.webkit.org/show_bug.cgi?id=56502
    26061 
    26062         * fileapi/Entry.idl:
    26063         * fileapi/EntryBase.cpp:
    26064         (WebCore::EntryBase::toURL):
    26065         * fileapi/EntryBase.h:
    26066         * fileapi/EntrySync.idl:
    26067         * page/DOMWindow.cpp:
    26068         (WebCore::DOMWindow::resolveLocalFileSystemURL):
    26069         * page/DOMWindow.h:
    26070         * page/DOMWindow.idl:
    26071 
    26072 2011-03-17  Adam Barth  <abarth@webkit.org>
    26073 
    26074         Reviewed by Eric Seidel.
    26075 
    26076         Update CSP directive parser to match spec
    26077         https://bugs.webkit.org/show_bug.cgi?id=56582
    26078 
    26079         Brandon updated the CSP spec.  I've updated our implementation to
    26080         match.  In the process, I found a couple bugs in the spec, which I've
    26081         sent to the working group.  This patch assumes that the bugs will be
    26082         fixed in the way I suggested.  If they get fixed a different way, we
    26083         might need to update the parser again.
    26084 
    26085         Test: http/tests/security/contentSecurityPolicy/directive-parsing.html
    26086 
    26087         * page/ContentSecurityPolicy.cpp:
    26088         (WebCore::isDirectiveNameCharacter):
    26089         (WebCore::isDirectiveValueCharacter):
    26090         (WebCore::advanceUntil):
    26091         (WebCore::ContentSecurityPolicy::parse):
    26092         (WebCore::ContentSecurityPolicy::parseDirective):
    26093         * page/ContentSecurityPolicy.h:
    26094 
    26095 2011-03-17  Adam Barth  <abarth@webkit.org>
    26096 
    26097         Reviewed by Eric Seidel.
    26098 
    26099         WebCore GYP build should have PrivateHeaders
    26100         https://bugs.webkit.org/show_bug.cgi?id=56604
    26101 
    26102         I've manually verified that this produces the correct set of
    26103         PrivateHeaders (modulo the ForwardingHeaders and icu issue).
    26104         Unforunately, this patch breakes compile slightly, but I'll fix that
    26105         in a followup patch.
    26106 
    26107         * WebCore.gyp/WebCore.gyp:
    26108         * WebCore.gypi:
    26109         * gyp/WebCore.gyp:
    26110 
    26111 2011-03-17  Victoria Kirst  <vrk@google.com>
    26112 
    26113         Reviewed by Kenneth Russell.
    26114 
    26115         [chromium] Video colors have wrong brightness/contrast
    26116         https://bugs.webkit.org/show_bug.cgi?id=56598
    26117 
    26118         This patch changes the YUV to RGB color conversion matrix
    26119         to have brighter whites and darker blacks in accordance to
    26120         the BT.601 standard.
    26121 
    26122         * platform/graphics/chromium/ShaderChromium.cpp:
    26123         (WebCore::FragmentShaderYUVVideo::FragmentShaderYUVVideo):
    26124         (WebCore::FragmentShaderYUVVideo::init):
    26125         (WebCore::FragmentShaderYUVVideo::getShaderString):
    26126         * platform/graphics/chromium/ShaderChromium.h:
    26127         (WebCore::FragmentShaderYUVVideo::yuvAdjLocation):
    26128         * platform/graphics/chromium/VideoLayerChromium.cpp:
    26129         (WebCore::VideoLayerChromium::drawYUV):
    26130         * platform/graphics/chromium/VideoLayerChromium.h:
    26131 
    26132 2011-03-17  Zhenyao Mo  <zmo@google.com>
    26133 
    26134         Reviewed by Adam Barth.
    26135 
    26136         RequestAnimationFrame callbacks prevent Document from being released on detach
    26137         https://bugs.webkit.org/show_bug.cgi?id=56607
    26138 
    26139         * dom/Document.cpp:
    26140         (WebCore::Document::removedLastRef): Remove RequestAnimationFrame callbacks.
    26141         (WebCore::Document::detach): Ditto.
    26142 
    26143 2011-03-17  Beth Dakin  <bdakin@apple.com>
    26144 
    26145         Reviewed by Darin Adler.
    26146 
    26147         Fix for https://bugs.webkit.org/show_bug.cgi?id=56596 Overlay scrollbars sometimes
    26148         fail to appear
    26149         -and corresponding-
    26150         <rdar://problem/8953779>
    26151 
    26152         * platform/mac/ScrollAnimatorMac.mm:
    26153         (-[ScrollbarPainterDelegate setUpAnimation:scrollerPainter:part:WebCore::animateAlphaTo:duration:]):
    26154 
    26155 2011-03-17  Dan Bernstein  <mitz@apple.com>
    26156 
    26157         Reviewed by Beth Dakin.
    26158 
    26159         <rdar://problem/9052166> Emphasis marks appear over combined text rather than beside it
    26160         https://bugs.webkit.org/show_bug.cgi?id=56480
    26161 
    26162         Test: fast/text/emphasis-combined-text.html
    26163 
    26164         * rendering/InlineTextBox.cpp:
    26165         (WebCore::rotation): Added this helper.
    26166         (WebCore::InlineTextBox::paint): Paint a single emphasis mark beside the combined text,
    26167         centered vertically.
    26168 
    26169 2011-03-17  Jian Li  <jianli@chromium.org>
    26170 
    26171         Reviewed by Adam Barth.
    26172 
    26173         Blob URL should not be allow to get created from the code running from data URI
    26174         https://bugs.webkit.org/show_bug.cgi?id=56600
    26175 
    26176         Test: http/tests/fileapi/create-blob-url-from-data-url.html
    26177 
    26178         * dom/ScriptExecutionContext.cpp:
    26179         (WebCore::ScriptExecutionContext::createPublicBlobURL):
    26180         * fileapi/BlobURL.cpp:
    26181         (WebCore::BlobURL::createBlobURL):
    26182         * fileapi/EntryBase.cpp:
    26183         (WebCore::EntryBase::toURI):
    26184         * fileapi/FileReaderLoader.cpp:
    26185         (WebCore::FileReaderLoader::start):
    26186 
    26187 2011-03-17  Jeff Miller  <jeffm@apple.com>
    26188 
    26189         Use a consistent set of file patterns in the svn:ignore property for all .xcodeproj directories, specifically:
    26190        
    26191         *.mode*
    26192         *.pbxuser
    26193         *.perspective*
    26194         project.xcworkspace
    26195         xcuserdata
    26196 
    26197         * WebCore.xcodeproj: Modified property svn:ignore.
    26198         * manual-tests/NPN_Invoke/NPN_Invoke.xcodeproj: Modified property svn:ignore.
    26199 
    26200 2011-03-17  Sam Weinig  <sam@webkit.org>
    26201 
    26202         Fix Mac build.
    26203 
    26204         * WebCore.exp.in:
    26205         Add missing symbol.
    26206 
    26207 2011-03-17  Ryosuke Niwa  <rniwa@webkit.org>
    26208 
    26209         Reviewed by Adele Peterson and Enrica Casucci.
    26210 
    26211         Assert that editing does not ignore position's anchorNode if position is an offset in anchor
    26212         https://bugs.webkit.org/show_bug.cgi?id=56027
    26213 
    26214         Debug build fix.
    26215 
    26216         * dom/Element.cpp:
    26217         (WebCore::Element::updateFocusAppearance): "this" can be an input element so can't always instantiate
    26218         a position inside the node. Call firstPositionInOrBeforeNode instead.
    26219         * editing/ReplaceSelectionCommand.cpp:
    26220         (WebCore::positionAvoidingPrecedingNodes): Exit early when a node's content is ignored by editing instead
    26221         of just when the node is br.
    26222         * editing/htmlediting.cpp:
    26223         (WebCore::lastEditablePositionBeforePositionInRoot): The shadow ancestor node is usually an input element
    26224         so don't instantiate a position inside it. Call firstPositionInOrBeforeNode instead.
    26225 
    26226 2011-03-17  Sheriff Bot  <webkit.review.bot@gmail.com>
    26227 
    26228         Unreviewed, rolling out r81369.
    26229         http://trac.webkit.org/changeset/81369
    26230         https://bugs.webkit.org/show_bug.cgi?id=56579
    26231 
    26232         breaks debugger test (Requested by podivilov on #webkit).
    26233 
    26234         * inspector/front-end/DebuggerPresentationModel.js:
    26235         (WebInspector.DebuggerPresentationModel.prototype._parsedScriptSource):
    26236         (WebInspector.DebuggerPresentationModel.prototype._failedToParseScriptSource):
    26237         (WebInspector.DebuggerPresentationModel.prototype._scriptSourceChanged):
    26238         (WebInspector.DebuggerPresentationModel.prototype.breakpointsForSourceFileId):
    26239         (WebInspector.DebuggerPresentationModel.prototype.findBreakpoint):
    26240         (WebInspector.DebuggerPresentationModel.prototype._breakpointAdded):
    26241         (WebInspector.DebuggerPresentationModel.prototype._breakpointRemoved):
    26242         (WebInspector.DebuggerPresentationModel.prototype._breakpointResolved):
    26243         (WebInspector.DebuggerPresentationModel.prototype._encodeSourceLocation):
    26244         (WebInspector.DebuggerPresentationModel.prototype._restoreBreakpoints):
    26245         (WebInspector.DebuggerPresentationModel.prototype.set selectedCallFrame):
    26246         (WebInspector.DebuggerPresentationModel.prototype._actualLocationToSourceLocation):
    26247         (WebInspector.DebuggerPresentationModel.prototype.reset):
    26248         * inspector/front-end/ScriptsPanel.js:
    26249         (WebInspector.ScriptsPanel):
    26250         (WebInspector.ScriptsPanel.prototype._parsedScriptSource):
    26251         (WebInspector.ScriptsPanel.prototype._failedToParseScriptSource):
    26252         (WebInspector.ScriptsPanel.prototype._scriptSourceChanged):
    26253         (WebInspector.ScriptsPanel.prototype._addScript):
    26254         (WebInspector.ScriptsPanel.prototype._resourceForURL):
    26255         (WebInspector.ScriptsPanel.prototype._resourceLoadingFinished):
    26256         (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelectAndShowSourceFrameIfNeeded):
    26257         (WebInspector.ScriptsPanel.prototype._showSourceFrame):
    26258         (WebInspector.ScriptsPanel.prototype._recreateSourceFrame):
    26259         (WebInspector.ScriptsPanel.prototype._sourceFileIdForScript):
    26260         (WebInspector.ScriptsPanel.prototype._callFrameSelected):
    26261         (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.requestContent):
    26262 
    26263 2011-03-17  Ryosuke Niwa  <rniwa@webkit.org>
    26264 
    26265         Reviewed by Justin Garcia.
    26266 
    26267         Assert that editing does not ignore position's anchorNode if position is an offset in anchor
    26268         https://bugs.webkit.org/show_bug.cgi?id=56027
    26269 
    26270         Added the assertion in Position::Position and Position::moveToPosition. This assertion catches
    26271         places where we instantiate positions inside a node on which editingIgnoresContent returns true.
    26272 
    26273         Test: editing/execCommand/button.html
    26274 
    26275         * dom/Position.cpp:
    26276         (WebCore::Position::Position): Added an assertion.
    26277         (WebCore::Position::moveToPosition): Ditto.
    26278         * dom/PositionIterator.cpp:
    26279         (WebCore::PositionIterator::operator Position): Avoid creating a position immediately below
    26280         a node whose content is ignored by editing. While this does not avoid creation of positions
    26281         inside ignored contents completely, it works in most cases. Filed the bug 56027 to resolve
    26282         the underlying problem. Without this change, the assertion hits in existing layout tests.
    26283         cannot be tested directly.
    26284         * editing/ApplyStyleCommand.cpp:
    26285         (WebCore::ApplyStyleCommand::addInlineStyleIfNeeded): Call firstPositionInOrBeforeNode
    26286         instead of firstPositionInNode because startNode may as well be a br element. Without this change,
    26287         the assertion hits in existing layout tests.
    26288         * editing/htmlediting.cpp:
    26289         (WebCore::canHaveChildrenForEditing): button is editable so content is not ignored. Added a test
    26290         for this.
    26291         * editing/visible_units.cpp:
    26292         (WebCore::previousBoundary): Added a FIXME.
    26293         (WebCore::startPositionForLine): Because br can also have an inline text box, checking that
    26294         startBox is an inline text box isn't an adequate to instantiate a position inside startNode.
    26295         Call startNode->isTextNode() instead. Without this change, the assertion hits in existing layout
    26296         tests.
    26297 
    26298 2011-03-17  Pavel Podivilov  <podivilov@chromium.org>
    26299 
    26300         Reviewed by Pavel Feldman.
    26301 
    26302         Web Inspector: extract content loading logic from scripts panel.
    26303         https://bugs.webkit.org/show_bug.cgi?id=55237
    26304 
    26305         Encapsulate source files creation logic in debugger presentation model
    26306         to support source mappings in a pluggable way.
    26307 
    26308         * inspector/front-end/DebuggerPresentationModel.js:
    26309         (WebInspector.DebuggerPresentationModel.prototype.sourceFile):
    26310         (WebInspector.DebuggerPresentationModel.prototype.requestSourceFileContent.else.didRequestSource):
    26311         (WebInspector.DebuggerPresentationModel.prototype.requestSourceFileContent):
    26312         (WebInspector.DebuggerPresentationModel.prototype._parsedScriptSource):
    26313         (WebInspector.DebuggerPresentationModel.prototype._failedToParseScriptSource):
    26314         (WebInspector.DebuggerPresentationModel.prototype._addScript.else.resourceFinished):
    26315         (WebInspector.DebuggerPresentationModel.prototype._addScript):
    26316         (WebInspector.DebuggerPresentationModel.prototype._ensureSourceFileAdded):
    26317         (WebInspector.DebuggerPresentationModel.prototype._resourceForURL):
    26318         (WebInspector.DebuggerPresentationModel.prototype._scriptSourceChanged):
    26319         (WebInspector.DebuggerPresentationModel.prototype._sourceFileAdded):
    26320         (WebInspector.DebuggerPresentationModel.prototype.breakpointsForSourceFileId):
    26321         (WebInspector.DebuggerPresentationModel.prototype.findBreakpoint):
    26322         (WebInspector.DebuggerPresentationModel.prototype._breakpointAdded):
    26323         (WebInspector.DebuggerPresentationModel.prototype._breakpointRemoved):
    26324         (WebInspector.DebuggerPresentationModel.prototype._breakpointResolved):
    26325         (WebInspector.DebuggerPresentationModel.prototype._restoreBreakpoints):
    26326         (WebInspector.DebuggerPresentationModel.prototype.set selectedCallFrame):
    26327         (WebInspector.DebuggerPresentationModel.prototype._actualLocationToSourceLocation):
    26328         (WebInspector.DebuggerPresentationModel.prototype.reset):
    26329         * inspector/front-end/ScriptsPanel.js:
    26330         (WebInspector.ScriptsPanel):
    26331         (WebInspector.ScriptsPanel.prototype._sourceFileAdded):
    26332         (WebInspector.ScriptsPanel.prototype._showSourceFrame):
    26333         (WebInspector.ScriptsPanel.prototype._sourceFileChanged):
    26334         (WebInspector.ScriptsPanel.prototype._callFrameSelected):
    26335         (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.requestContent):
    26336 
    26337 2011-03-17  Pavel Feldman  <pfeldman@chromium.org>
    26338 
    26339         Reviewed by Yury Semikhatsky.
    26340 
    26341         Web Inspector: add types markup to the IDL, remove Value types from the protocol.
    26342         https://bugs.webkit.org/show_bug.cgi?id=56562
    26343 
    26344         * inspector/ConsoleMessage.cpp:
    26345         (WebCore::ConsoleMessage::addToFrontend):
    26346         * inspector/InjectedScript.cpp:
    26347         (WebCore::InjectedScript::evaluate):
    26348         (WebCore::InjectedScript::evaluateOn):
    26349         (WebCore::InjectedScript::evaluateOnCallFrame):
    26350         (WebCore::InjectedScript::getProperties):
    26351         (WebCore::InjectedScript::setPropertyValue):
    26352         (WebCore::InjectedScript::callFrames):
    26353         (WebCore::InjectedScript::makeCall):
    26354         (WebCore::InjectedScript::makeObjectCall):
    26355         * inspector/InjectedScript.h:
    26356         * inspector/InjectedScriptSource.js:
    26357         (.):
    26358         * inspector/Inspector.idl:
    26359         * inspector/InspectorApplicationCacheAgent.cpp:
    26360         (WebCore::InspectorApplicationCacheAgent::getApplicationCaches):
    26361         * inspector/InspectorApplicationCacheAgent.h:
    26362         * inspector/InspectorCSSAgent.cpp:
    26363         (WebCore::InspectorCSSAgent::getStylesForNode):
    26364         (WebCore::InspectorCSSAgent::getInlineStyleForNode):
    26365         (WebCore::InspectorCSSAgent::getComputedStyleForNode):
    26366         (WebCore::InspectorCSSAgent::getStyleSheet):
    26367         (WebCore::InspectorCSSAgent::setPropertyText):
    26368         (WebCore::InspectorCSSAgent::toggleProperty):
    26369         (WebCore::InspectorCSSAgent::setRuleSelector):
    26370         (WebCore::InspectorCSSAgent::addRule):
    26371         * inspector/InspectorCSSAgent.h:
    26372         * inspector/InspectorDOMAgent.cpp:
    26373         (WebCore::InspectorDOMAgent::resolveNode):
    26374         * inspector/InspectorDOMAgent.h:
    26375         * inspector/InspectorDebuggerAgent.cpp:
    26376         (WebCore::InspectorDebuggerAgent::editScriptSource):
    26377         (WebCore::InspectorDebuggerAgent::evaluateOnCallFrame):
    26378         (WebCore::InspectorDebuggerAgent::currentCallFrames):
    26379         * inspector/InspectorDebuggerAgent.h:
    26380         * inspector/InspectorResourceAgent.cpp:
    26381         (WebCore::InspectorResourceAgent::identifierForInitialRequest):
    26382         * inspector/InspectorRuntimeAgent.cpp:
    26383         (WebCore::InspectorRuntimeAgent::evaluate):
    26384         (WebCore::InspectorRuntimeAgent::evaluateOn):
    26385         (WebCore::InspectorRuntimeAgent::getProperties):
    26386         (WebCore::InspectorRuntimeAgent::setPropertyValue):
    26387         * inspector/InspectorRuntimeAgent.h:
    26388         * inspector/ScriptCallStack.cpp:
    26389         (WebCore::ScriptCallStack::buildInspectorArray):
    26390         * inspector/ScriptCallStack.h:
    26391         * inspector/TimelineRecordFactory.cpp:
    26392         (WebCore::TimelineRecordFactory::createGenericRecord):
    26393         * inspector/front-end/NetworkManager.js:
    26394         (WebInspector.NetworkDispatcher.prototype._createResource):
    26395 
    26396 2011-03-17  Sheriff Bot  <webkit.review.bot@gmail.com>
    26397 
    26398         Unreviewed, rolling out r81350.
    26399         http://trac.webkit.org/changeset/81350
    26400         https://bugs.webkit.org/show_bug.cgi?id=56560
    26401 
    26402         "Breaks twenty Chromium Webkit Win builder webkit_gpu_tests"
    26403         (Requested by apavlov on #webkit).
    26404 
    26405         * WebCore.gypi:
    26406         * platform/graphics/chromium/GLES2Canvas.cpp:
    26407         (WebCore::GLES2Canvas::State::State):
    26408         (WebCore::GLES2Canvas::clearRect):
    26409         (WebCore::GLES2Canvas::fillPath):
    26410         (WebCore::GLES2Canvas::fillRect):
    26411         (WebCore::GLES2Canvas::clipPath):
    26412         (WebCore::GLES2Canvas::restore):
    26413         (WebCore::GLES2Canvas::drawTexturedRect):
    26414         (WebCore::GLES2Canvas::drawTexturedRectTile):
    26415         (WebCore::GLES2Canvas::drawQuad):
    26416         * platform/graphics/chromium/GLES2Canvas.h:
    26417         * platform/graphics/gpu/BicubicShader.cpp: Removed.
    26418         * platform/graphics/gpu/BicubicShader.h: Removed.
    26419         * platform/graphics/gpu/ConvolutionShader.cpp: Removed.
    26420         * platform/graphics/gpu/ConvolutionShader.h: Removed.
    26421         * platform/graphics/gpu/DrawingBuffer.h:
    26422         * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
    26423         (WebCore::SharedGraphicsContext3D::create):
    26424         (WebCore::SharedGraphicsContext3D::SharedGraphicsContext3D):
    26425         * platform/graphics/gpu/SharedGraphicsContext3D.h:
    26426         * platform/graphics/skia/GraphicsContextSkia.cpp:
    26427         (WebCore::GraphicsContext::setPlatformShadow):
    26428         * platform/graphics/skia/PlatformContextSkia.cpp:
    26429         (WebCore::PlatformContextSkia::canAccelerate):
    26430 
    26431 2011-03-17  Mikhail Naganov  <mnaganov@chromium.org>
    26432 
    26433         Reviewed by Yury Semikhatsky.
    26434 
    26435         Web Inspector: Clean up Inspector strings.
    26436         https://bugs.webkit.org/show_bug.cgi?id=56557
    26437 
    26438         * English.lproj/localizedStrings.js:
    26439 
    26440 2011-03-14  Pavel Podivilov  <podivilov@chromium.org>
    26441 
    26442         Reviewed by Yury Semikhatsky.
    26443 
    26444         Web Inspector: refactor event listener breakpoints.
    26445         https://bugs.webkit.org/show_bug.cgi?id=56305
    26446 
    26447         - restore event listener breakpoints one by one instead of using setAllBrowserBreakpoints
    26448         - store event listener breakpoints in a separate separate setting
    26449         - move presentation-related code from BreakpointManager to EventListenerBreakpointsSidebarPane
    26450 
    26451         Test: inspector/debugger/event-listener-breakpoints.html
    26452 
    26453         * inspector/Inspector.idl:
    26454         * inspector/InspectorAgent.cpp:
    26455         (WebCore::InspectorAgent::setFrontend):
    26456         * inspector/InspectorBrowserDebuggerAgent.cpp:
    26457         (WebCore::InspectorBrowserDebuggerAgent::setEventListenerBreakpoint):
    26458         (WebCore::InspectorBrowserDebuggerAgent::removeEventListenerBreakpoint):
    26459         (WebCore::InspectorBrowserDebuggerAgent::pauseOnNativeEventIfNeeded):
    26460         (WebCore::InspectorBrowserDebuggerAgent::clear):
    26461         * inspector/InspectorBrowserDebuggerAgent.h:
    26462         * inspector/InspectorInstrumentation.cpp:
    26463         (WebCore::InspectorInstrumentation::didCommitLoadImpl):
    26464         * inspector/front-end/BreakpointManager.js:
    26465         (WebInspector.BreakpointManager.prototype.setEventListenerBreakpoint):
    26466         (WebInspector.BreakpointManager.prototype.removeEventListenerBreakpoint):
    26467         (WebInspector.BreakpointManager.prototype.breakpointViewForEventData):
    26468         (WebInspector.BreakpointManager.prototype._projectChanged):
    26469         (WebInspector.BreakpointManager.prototype._saveBreakpoints):
    26470         (WebInspector.BreakpointManager.prototype._validateBreakpoints):
    26471         (WebInspector.BreakpointManager.prototype._createDOMBreakpointId):
    26472         * inspector/front-end/BreakpointsSidebarPane.js:
    26473         (WebInspector.EventListenerBreakpointsSidebarPane):
    26474         (WebInspector.EventListenerBreakpointsSidebarPane.eventNameForUI):
    26475         (WebInspector.EventListenerBreakpointsSidebarPane.prototype._createCategory):
    26476         (WebInspector.EventListenerBreakpointsSidebarPane.prototype._categoryCheckboxClicked):
    26477         (WebInspector.EventListenerBreakpointsSidebarPane.prototype._breakpointCheckboxClicked):
    26478         (WebInspector.EventListenerBreakpointsSidebarPane.prototype._setBreakpoint):
    26479         (WebInspector.EventListenerBreakpointsSidebarPane.prototype._removeBreakpoint):
    26480         (WebInspector.EventListenerBreakpointsSidebarPane.prototype._updateCategoryCheckbox):
    26481         (WebInspector.EventListenerBreakpointsSidebarPane.prototype.highlightBreakpoint):
    26482         (WebInspector.EventListenerBreakpointsSidebarPane.prototype.clearBreakpointHighlight):
    26483         (WebInspector.EventListenerBreakpointsSidebarPane.prototype._saveBreakpoints):
    26484         (WebInspector.EventListenerBreakpointsSidebarPane.prototype._restoreBreakpoints):
    26485         * inspector/front-end/CallStackSidebarPane.js:
    26486         (WebInspector.CallStackSidebarPane.prototype.update):
    26487         (WebInspector.CallStackSidebarPane.prototype.setStatus):
    26488         (WebInspector.CallStackSidebarPane.prototype._domBreakpointHit):
    26489         * inspector/front-end/ScriptsPanel.js:
    26490         (WebInspector.ScriptsPanel.prototype._debuggerPaused):
    26491         (WebInspector.ScriptsPanel.prototype._clearInterface):
    26492         * inspector/front-end/Settings.js:
    26493         (WebInspector.Settings):
    26494 
    26495 2011-03-16  Stephen White  <senorblanco@chromium.org>
    26496 
    26497         Reviewed by Kenneth Russell.
    26498 
    26499         Implement GPU-accelerated shadows.
    26500         https://bugs.webkit.org/show_bug.cgi?id=56476
    26501 
    26502         For hard shadows, we simply offset the CTM and draw in the shadow
    26503         color.  For soft shadows, we use a separable Gaussian convolution,
    26504         with a bilinear downsample and Mitchell-Netravali upsample in order to
    26505         preserve quality.
    26506 
    26507         * WebCore.gypi:
    26508         Add BicubicShader and ConvolutionShader to the build.
    26509         * platform/graphics/chromium/GLES2Canvas.cpp:
    26510         (WebCore::GLES2Canvas::State::State):
    26511         Add shadow-related members to the GLES2Canvas::State
    26512         (WebCore::GLES2Canvas::State::shadowActive):
    26513         Add a helper function to know if shadows are active.
    26514         (WebCore::GLES2Canvas::clearRect):
    26515         (WebCore::GLES2Canvas::scissorClear):
    26516         Refactor the scissor clearing function out of clearRect().
    26517         (WebCore::GLES2Canvas::fillPath):
    26518         Add hook for shadow rendering in paths.  Bind framebuffer at this level.
    26519         (WebCore::GLES2Canvas::fillRect):
    26520         Add hook for shadow rendering in rects.  Bind framebuffer at this level.
    26521         (WebCore::GLES2Canvas::fillRectInternal):
    26522         Rename fillRect() -> fillRectInternal(), which does bind its vertex
    26523         buffer, but does not bind the framebuffer.
    26524         (WebCore::GLES2Canvas::setShadowColor):
    26525         (WebCore::GLES2Canvas::setShadowOffset):
    26526         (WebCore::GLES2Canvas::setShadowBlur):
    26527         (WebCore::GLES2Canvas::setShadowsIgnoreTransforms):
    26528         Implement graphicsContext-style setters for shadow parameters.
    26529         (WebCore::GLES2Canvas::clipPath):
    26530         Call fillPathInternal(), not fillPath().
    26531         (WebCore::GLES2Canvas::restore):
    26532         (WebCore::GLES2Canvas::drawTexturedRect):
    26533         Bind the framebuffer at this level.  Do not bind vertices here (will
    26534         be done in drawTexturedQuad).
    26535         (WebCore::GLES2Canvas::drawTexturedRectTile):
    26536         drawQuad() -> drawTexturedQuad().
    26537         (WebCore::GLES2Canvas::convolveRect):
    26538         Implement one pass of a convolution filter (X or Y).
    26539         (WebCore::gauss):
    26540         (WebCore::buildKernel):
    26541         Some helper functions to build a Gaussian convolution kernel.
    26542         (WebCore::GLES2Canvas::drawTexturedQuad):
    26543         Rename drawQuad() -> drawTexturedQuad(), to be more clear.  Do not
    26544         bind the framebuffer at this level (it will be done higher).
    26545         (WebCore::GLES2Canvas::drawTexturedQuadMitchell):
    26546         Implement Mitchell-Netravali bicubic sampling, using BicubicShader.
    26547         (WebCore::GLES2Canvas::fillPathInternal):
    26548         Rename fillPath() -> fillPathInternal(), which does use quad vertices,
    26549         but does not bind the framebuffer or set the compositing mode.
    26550         (WebCore::GLES2Canvas::flipRect):
    26551         Implement a helper function to flip a rectangle in Y within the canvas.
    26552         (WebCore::GLES2Canvas::clearBorders):
    26553         Implement a helper function to clear an n-pixel border around a rect.
    26554         (WebCore::GLES2Canvas::beginShadowDraw):
    26555         Setup before drawing a primitive's shadow:  for hard shadows, just
    26556         offset the CTM by the shadow offset.  For soft shadows, bind to an
    26557         offscreen DrawingBuffer.
    26558         (WebCore::GLES2Canvas::endShadowDraw):
    26559         Tear-down after drawing a primitive's shadow:  for hard shadows, just
    26560         restore the CTM.  For soft shadows, downsample (if necessary), then
    26561         blur in X, blur in Y, upsample if necessary).
    26562         * platform/graphics/chromium/GLES2Canvas.h:
    26563         * platform/graphics/gpu/BicubicShader.cpp: Added.
    26564         (WebCore::BicubicShader::BicubicShader):
    26565         (WebCore::BicubicShader::create):
    26566         (WebCore::BicubicShader::use):
    26567         * platform/graphics/gpu/BicubicShader.h: Added.
    26568         Implement a bicubic image filtering shader.
    26569         * platform/graphics/gpu/ConvolutionShader.cpp: Added.
    26570         (WebCore::ConvolutionShader::ConvolutionShader):
    26571         (WebCore::ConvolutionShader::create):
    26572         (WebCore::ConvolutionShader::use):
    26573         * platform/graphics/gpu/ConvolutionShader.h: Added.
    26574         Implement a 1-dimensional convolution shader.  In order to minimize
    26575         texture samples, this shader is parameterized at compile time by the
    26576         width of the convolution kernel.
    26577         * platform/graphics/gpu/DrawingBuffer.h:
    26578         (WebCore::DrawingBuffer::colorBuffer):
    26579         Add an accessor to retrieve a DrawingBuffer's texture ID.
    26580         * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
    26581         (WebCore::SharedGraphicsContext3D::create):
    26582         (WebCore::SharedGraphicsContext3D::SharedGraphicsContext3D):
    26583         (WebCore::SharedGraphicsContext3D::useBicubicProgram):
    26584         (WebCore::SharedGraphicsContext3D::useConvolutionProgram):
    26585         Create BicubicShader and cMaxKernelWidth ConvolutionShader's (one for
    26586         each possible kernel width).
    26587         (WebCore::SharedGraphicsContext3D::getOffscreenBuffer):
    26588         Implement a simple cache of offscreen DrawingBuffers, integer-indexed.
    26589         This is done to minimize the VRAM usage:  only 2 buffers are used for
    26590         all canvases.
    26591         * platform/graphics/gpu/SharedGraphicsContext3D.h:
    26592         Add bicubic and convolution shader members, and useXXX() functions.
    26593         * platform/graphics/skia/GraphicsContextSkia.cpp:
    26594         (WebCore::GraphicsContext::setPlatformShadow):
    26595         Hook into GraphicsContextSkia's platform shadow setters to set
    26596         parameters on GLES2Canvas.
    26597         * platform/graphics/skia/PlatformContextSkia.cpp:
    26598         (WebCore::PlatformContextSkia::canAccelerate):
    26599         Remove shadows (loopers) from the list of things we can't accelerate.
    26600 
    26601 2011-03-17  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
    26602 
    26603         Reviewed by Andreas Kling.
    26604 
    26605         Tiled backing store should only request repaint for updated areas
    26606         https://bugs.webkit.org/show_bug.cgi?id=56464
    26607 
    26608         Reuse updateBackBuffer's dirty rectangle calculations to only
    26609         invalidate the necessary parts of the window.
    26610 
    26611         * platform/graphics/Tile.h:
    26612         * platform/graphics/TiledBackingStore.cpp:
    26613         (WebCore::TiledBackingStore::updateTileBuffers):
    26614         * platform/graphics/qt/TileQt.cpp:
    26615         (WebCore::Tile::updateBackBuffer):
    26616 
    26617 2011-03-17  Mikhail Naganov  <mnaganov@chromium.org>
    26618 
    26619         Reviewed by Pavel Feldman.
    26620 
    26621         Web Inspector: [Chromium] Reduce memory consumption by detailed heap snapshots indexes.
    26622         https://bugs.webkit.org/show_bug.cgi?id=56395
    26623 
    26624         * inspector/front-end/DetailedHeapshotGridNodes.js:
    26625         (WebInspector.HeapSnapshotDiffNode.prototype._createNodesProvider.createProvider):
    26626         (WebInspector.HeapSnapshotDiffNode.prototype._createNodesProvider):
    26627         * inspector/front-end/HeapSnapshot.js:
    26628         (WebInspector.HeapSnapshotRetainerEdge): Added
    26629         (WebInspector.HeapSnapshotRetainerEdgeIterator): Added
    26630         (WebInspector.HeapSnapshotNode.prototype.get retainers):
    26631         (WebInspector.HeapSnapshot.prototype.dispose):
    26632         (WebInspector.HeapSnapshot.prototype.hasId):
    26633         (WebInspector.HeapSnapshot.prototype.retainers):
    26634         (WebInspector.HeapSnapshot.prototype._buildRetainers):
    26635         (WebInspector.HeapSnapshot.prototype._buildIdsList):
    26636         (WebInspector.HeapSnapshot.prototype._buildNodeIndex):
    26637         (WebInspector.HeapSnapshot.prototype._findNodePositionInIndex):
    26638         (WebInspector.HeapSnapshot.prototype._findNearestNodeIndex):
    26639         (WebInspector.HeapSnapshot.prototype._getRetainerIndex):
    26640         (WebInspector.HeapSnapshot.prototype._markInvisibleEdges):
    26641         (WebInspector.HeapSnapshot.prototype._numbersComparator):
    26642         (WebInspector.HeapSnapshotPathFinder.prototype.get _lastEdge):
    26643         (WebInspector.HeapSnapshotPathFinder.prototype._nextEdgeIter):
    26644         (WebInspector.HeapSnapshotPathFinder.prototype._buildNextPath):
    26645         (WebInspector.HeapSnapshotPathFinder.prototype._pathToString):
    26646 
    26647 2011-03-17  Sheriff Bot  <webkit.review.bot@gmail.com>
    26648 
    26649         Unreviewed, rolling out r81243.
    26650         http://trac.webkit.org/changeset/81243
    26651         https://bugs.webkit.org/show_bug.cgi?id=56471
    26652 
    26653         Breaks GTK 64-bit Debug tests (Requested by podivilov on
    26654         #webkit).
    26655 
    26656         * inspector/Inspector.idl:
    26657         * inspector/InspectorAgent.cpp:
    26658         (WebCore::InspectorAgent::setFrontend):
    26659         * inspector/InspectorBrowserDebuggerAgent.cpp:
    26660         (WebCore::InspectorBrowserDebuggerAgent::setFrontend):
    26661         (WebCore::InspectorBrowserDebuggerAgent::setAllBrowserBreakpoints):
    26662         (WebCore::InspectorBrowserDebuggerAgent::inspectedURLChanged):
    26663         (WebCore::InspectorBrowserDebuggerAgent::restoreStickyBreakpoint):
    26664         (WebCore::InspectorBrowserDebuggerAgent::discardBindings):
    26665         (WebCore::InspectorBrowserDebuggerAgent::setEventListenerBreakpoint):
    26666         (WebCore::InspectorBrowserDebuggerAgent::removeEventListenerBreakpoint):
    26667         (WebCore::InspectorBrowserDebuggerAgent::pauseOnNativeEventIfNeeded):
    26668         (WebCore::InspectorBrowserDebuggerAgent::clear):
    26669         * inspector/InspectorBrowserDebuggerAgent.h:
    26670         * inspector/InspectorInstrumentation.cpp:
    26671         (WebCore::InspectorInstrumentation::didCommitLoadImpl):
    26672         * inspector/front-end/BreakpointManager.js:
    26673         (WebInspector.BreakpointManager.prototype.createEventListenerBreakpoint):
    26674         (WebInspector.BreakpointManager.prototype._createEventListenerBreakpoint):
    26675         (WebInspector.BreakpointManager.prototype.setXHRBreakpoint):
    26676         (WebInspector.BreakpointManager.prototype.removeXHRBreakpoint):
    26677         (WebInspector.BreakpointManager.prototype.breakpointViewForEventData):
    26678         (WebInspector.BreakpointManager.prototype._projectChanged):
    26679         (WebInspector.BreakpointManager.prototype._saveBreakpoints):
    26680         (WebInspector.BreakpointManager.prototype._validateBreakpoints):
    26681         (WebInspector.BreakpointManager.prototype._createDOMBreakpointId):
    26682         (WebInspector.BreakpointManager.prototype._createEventListenerBreakpointId):
    26683         (WebInspector.EventListenerBreakpoint):
    26684         (WebInspector.EventListenerBreakpoint.prototype._enable):
    26685         (WebInspector.EventListenerBreakpoint.prototype._disable):
    26686         (WebInspector.EventListenerBreakpoint.prototype._serializeToJSON):
    26687         (WebInspector.EventListenerBreakpointView):
    26688         (WebInspector.EventListenerBreakpointView.eventNameForUI):
    26689         (WebInspector.EventListenerBreakpointView.prototype.get eventName):
    26690         (WebInspector.EventListenerBreakpointView.prototype.compareTo):
    26691         (WebInspector.EventListenerBreakpointView.prototype.populateLabelElement):
    26692         (WebInspector.EventListenerBreakpointView.prototype.populateStatusMessageElement):
    26693         (WebInspector.EventListenerBreakpointView.prototype._uiEventName):
    26694         * inspector/front-end/BreakpointsSidebarPane.js:
    26695         (WebInspector.XHRBreakpointsSidebarPane.prototype._setBreakpoint):
    26696         (WebInspector.XHRBreakpointsSidebarPane.prototype._removeBreakpoint):
    26697         (WebInspector.EventListenerBreakpointsSidebarPane):
    26698         (WebInspector.EventListenerBreakpointsSidebarPane.prototype._createCategory):
    26699         (WebInspector.EventListenerBreakpointsSidebarPane.prototype._categoryCheckboxClicked):
    26700         (WebInspector.EventListenerBreakpointsSidebarPane.prototype._breakpointCheckboxClicked):
    26701         (WebInspector.EventListenerBreakpointsSidebarPane.prototype._breakpointAdded):
    26702         (WebInspector.EventListenerBreakpointsSidebarPane.prototype._breakpointHitStateChanged):
    26703         (WebInspector.EventListenerBreakpointsSidebarPane.prototype._breakpointRemoved):
    26704         (WebInspector.EventListenerBreakpointsSidebarPane.prototype._updateCategoryCheckbox):
    26705         (WebInspector.EventListenerBreakpointsSidebarPane.prototype._projectChanged):
    26706         * inspector/front-end/CallStackSidebarPane.js:
    26707         (WebInspector.CallStackSidebarPane.prototype.update):
    26708         (WebInspector.CallStackSidebarPane.prototype._scriptBreakpointHit):
    26709         (WebInspector.CallStackSidebarPane.prototype._xhrBreakpointHit):
    26710         (WebInspector.CallStackSidebarPane.prototype._nativeBreakpointHit):
    26711         * inspector/front-end/ScriptsPanel.js:
    26712         (WebInspector.ScriptsPanel.prototype._debuggerPaused):
    26713         (WebInspector.ScriptsPanel.prototype._clearInterface):
    26714         * inspector/front-end/Settings.js:
    26715         (WebInspector.Settings):
    26716 
    26717 2011-03-17  Adam Barth  <abarth@webkit.org>
    26718 
    26719         Reviewed by Eric Seidel.
    26720 
    26721         Add more ObjC++ files to the build
    26722         https://bugs.webkit.org/show_bug.cgi?id=56548
    26723 
    26724         96 link errors.
    26725 
    26726         * WebCore.gypi:
    26727         * gyp/WebCore.gyp:
    26728 
    26729 2011-03-17  Adam Barth  <abarth@webkit.org>
    26730 
    26731         Reviewed by Eric Seidel.
    26732 
    26733         Add a few Objective-C++ files to the WebCore GYP build
    26734         https://bugs.webkit.org/show_bug.cgi?id=56547
    26735 
    26736         464 link errors.
    26737 
    26738         * gyp/WebCore.gyp:
    26739 
    26740 2011-03-17  Yuta Kitamura  <yutak@chromium.org>
    26741 
    26742         Unreviewed build fix.
    26743 
    26744         Non-ASCII characters in XMLTreeViewer.{cpp,h}
    26745         https://bugs.webkit.org/show_bug.cgi?id=56549
    26746 
    26747         * xml/XMLTreeViewer.cpp: Replace non-ASCII characters with ASCII equivalents.
    26748         * xml/XMLTreeViewer.h: Ditto.
    26749 
    26750 2011-03-17  Adam Barth  <abarth@webkit.org>
    26751 
    26752         Reviewed by Eric Seidel.
    26753 
    26754         Add plugins and bridge to the WebCore GYP build
    26755         https://bugs.webkit.org/show_bug.cgi?id=56546
    26756 
    26757         506 link errors.
    26758 
    26759         * gyp/WebCore.gyp:
    26760 
    26761 2011-03-16  Jeff Johnson  <github@lapcatsoftware.com>
    26762 
    26763         Reviewed by Alexey Proskuryakov.
    26764 
    26765         Logic error in -[WebHTMLView close]
    26766         https://bugs.webkit.org/show_bug.cgi?id=56445
    26767 
    26768         The function setDraggingImageURL() is no longer called and can be deleted.
    26769 
    26770         No new tests. Deleting dead code.
    26771 
    26772         * page/DragController.h:
    26773 
    26774 2011-03-16  Naoki Takano  <takano.naoki@gmail.com>
    26775 
    26776         Reviewed by Ryosuke Niwa.
    26777 
    26778         Textarea maxlength doesn't account for newlines
    26779         https://bugs.webkit.org/show_bug.cgi?id=54443
    26780 
    26781         When a user presses a return key, TypingCommand::insertLineBreak() is called.
    26782         So before append a new line, check if we can add the new line.
    26783 
    26784         * editing/TypingCommand.cpp:
    26785         (WebCore::canAppendNewLineFeed): Implement new helper function to check if we can add new line.
    26786         (WebCore::TypingCommand::insertLineBreak): Added check logic before adding the new line.
    26787         (WebCore::TypingCommand::insertParagraphSeparator): Added check logic before adding the new line.
    26788 
    26789 2011-03-16  Adam Barth  <abarth@webkit.org>
    26790 
    26791         Reviewed by Eric Seidel.
    26792 
    26793         WebCore GYP build should build more derived sources
    26794         https://bugs.webkit.org/show_bug.cgi?id=56529
    26795 
    26796         This patch brings us down to 597 link errors.
    26797 
    26798         * gyp/WebCore.gyp:
    26799 
    26800 2011-03-16  Adam Barth  <abarth@webkit.org>
    26801 
    26802         Reviewed by Eric Seidel.
    26803 
    26804         WebCore GYP should build (most) remaining source files
    26805         https://bugs.webkit.org/show_bug.cgi?id=56515
    26806 
    26807         We're still not building all the files and we have 1305 link errors,
    26808         but this patch is progress.
    26809 
    26810         * WebCore.gypi:
    26811         * gyp/WebCore.gyp:
    26812         * plugins/PluginStream.cpp:
    26813 
    26814 2011-03-16  Dan Bernstein  <mitz@apple.com>
    26815 
    26816         Reviewed by Alexey Proskuryakov.
    26817 
    26818         Update the default navigator.vendor value
    26819         https://bugs.webkit.org/show_bug.cgi?id=56449
    26820 
    26821         * page/NavigatorBase.cpp: Updated the default value of
    26822         WEBCORE_NAVIGATOR_VENDOR.
    26823 
    26824 2011-03-16  John Bauman  <jbauman@chromium.org>
    26825 
    26826         Reviewed by James Robinson.
    26827 
    26828         texImage2D gets old contents of canvas
    26829         https://bugs.webkit.org/show_bug.cgi?id=56414
    26830 
    26831         Always update the canvas contents in copiedImage, as there's no reason
    26832         to ask for an out-of-date image.
    26833 
    26834         * html/HTMLCanvasElement.cpp:
    26835         (WebCore::HTMLCanvasElement::copiedImage):
    26836 
    26837 2011-03-16  Adam Barth  <abarth@webkit.org>
    26838 
    26839         Reviewed by James Robinson.
    26840 
    26841         Remove USE(BUILTIN_UTF8_CODEC)
    26842         https://bugs.webkit.org/show_bug.cgi?id=56508
    26843 
    26844         * platform/text/TextCodecICU.cpp:
    26845         (WebCore::TextCodecICU::registerEncodingNames):
    26846         * platform/text/TextEncodingRegistry.cpp:
    26847         (WebCore::buildBaseTextCodecMaps):
    26848 
    26849 2011-03-16  Joseph Pecoraro  <joepeck@webkit.org>
    26850 
    26851         Reviewed by Kenneth Rohde Christiansen.
    26852 
    26853         Viewport no longer allows an auto value for "user-scalable"
    26854         https://bugs.webkit.org/show_bug.cgi?id=55416
    26855 
    26856         This restores our behavior before r67376 the default "user-scalable"
    26857         behavior can be defined by a WebKit client if a value was not
    26858         explicitly provided in web content (via the viewport <meta> tag).
    26859         Here, all WebKit ports default to "yes" after computing
    26860         viewport arguments. However, in the future they may consider
    26861         changing the default user-scalable value based on the type
    26862         of the document being viewed, a user preference, or other reasons.
    26863 
    26864         Covered by existing tests. Should be no changes.
    26865 
    26866         * dom/ViewportArguments.cpp:
    26867         (WebCore::computeViewportAttributes): be explicit about 0.
    26868         (WebCore::findUserScalableValue): convert to return a float, the instance variable type.
    26869         * dom/ViewportArguments.h:
    26870         (WebCore::ViewportArguments::ViewportArguments): convert the boolean back to a float to
    26871         allow for 3 states. Explicit no, explicit yes, and ValueAuto to be defined by the
    26872         WebKit client.
    26873 
    26874 2011-03-16  David Levin  <levin@chromium.org>
    26875 
    26876         Reviewed by Dmitry Titov.
    26877 
    26878         REGRESSION(r81289): Fix valgrind error (and crashes) when running the chromium unit test "test_shell_test".
    26879 
    26880         Conditional jump or move depends on uninitialised value(s)
    26881             WebCore::RenderLayerCompositor::RenderLayerCompositor(WebCore::RenderView*) (third_party/WebKit/Source/WebCore/rendering/RenderLayerCompositor.cpp:117)
    26882 
    26883         * page/Settings.cpp:
    26884         (WebCore::Settings::Settings):
    26885 
    26886 2011-03-16  Beth Dakin  <bdakin@apple.com>
    26887 
    26888         Reviewed by Darin Adler.
    26889 
    26890         Fix for https://bugs.webkit.org/show_bug.cgi?id=56493 Drag-scrolling overlay
    26891         scrollbars thumb in overflow regions does not work
    26892         -and corresponding-
    26893         <rdar://problem/9112688> Drag-scrolling overlay scrollbars thumb in overflow
    26894         regions does not work
    26895 
    26896         Up until now, overlay scrollbars have always been treated in the Render Tree as if
    26897         they have a thickness of 0 because they should not affect layout. However, it is
    26898         important to consider their size when hit-testing because otherwise, we have this
    26899         bug! This patch adds a boolean parameter to overflowClipRect(),
    26900         RenderLayer::verticalScrollbarWidth(), and
    26901         RenderLayer::horizontalScrollbarHeight(). This bool indicates whether to include
    26902         the actual overlay scrollbar thickness. It defaults to false and is only sent is
    26903         as true from RenderBloc::nodeAtPoint().
    26904 
    26905         * rendering/RenderBlock.cpp:
    26906         (WebCore::RenderBlock::nodeAtPoint):
    26907         * rendering/RenderBox.cpp:
    26908         (WebCore::RenderBox::overflowClipRect):
    26909         * rendering/RenderBox.h:
    26910         * rendering/RenderLayer.cpp:
    26911         (WebCore::RenderLayer::verticalScrollbarWidth):
    26912         (WebCore::RenderLayer::horizontalScrollbarHeight):
    26913         * rendering/RenderLayer.h:
    26914         * rendering/RenderTable.cpp:
    26915         (WebCore::RenderTable::overflowClipRect):
    26916         * rendering/RenderTable.h:
    26917 
    26918 2011-03-16  Keith Kyzivat  <keith.kyzivat@nokia.com>
    26919 
    26920         Reviewed by Andreas Kling.
    26921 
    26922         [Qt] Fix std::swap not found issue on mobile Qt devices.
    26923         https://bugs.webkit.org/show_bug.cgi?id=56463
    26924 
    26925         Include <algorithm> in TextBreakIteratorQt.cpp so std::swap is found
    26926         on some Qt mobile devices.
    26927 
    26928         No new tests: No tests needed - compilation verified manually.
    26929 
    26930         * platform/text/qt/TextBreakIteratorQt.cpp:
    26931         (WebCore::acquireLineBreakIterator):
    26932 
    26933 2011-03-16  Jarkko Sakkinen  <jarkko.j.sakkinen@gmail.com>
    26934 
    26935         Reviewed by Kenneth Rohde Christiansen.
    26936 
    26937         [Qt] WebGL content not shown when accelerated compositing is enabled
    26938         https://bugs.webkit.org/show_bug.cgi?id=56339
    26939 
    26940         Removed all previously implemented WebGL code from GraphicsLayerQt
    26941         because API has changed. GraphicsContext3D provides PlatformLayer
    26942         that is added as a child of GraphicsLayer and is therefore painted
    26943         through QGraphicsView pipeline.
    26944 
    26945         * platform/graphics/GraphicsContext3D.h:
    26946         * platform/graphics/qt/GraphicsContext3DQt.cpp:
    26947         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
    26948         (WebCore::GraphicsContext3DInternal::paint):
    26949         (WebCore::GraphicsContext3DInternal::boundingRect):
    26950         (WebCore::GraphicsContext3D::platformLayer):
    26951         (WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
    26952         (WebCore::GraphicsContext3D::reshape):
    26953         * platform/graphics/qt/GraphicsLayerQt.cpp:
    26954         (WebCore::GraphicsLayerQtImpl::GraphicsLayerQtImpl):
    26955         (WebCore::GraphicsLayerQtImpl::paint):
    26956         (WebCore::GraphicsLayerQtImpl::flushChanges):
    26957         (WebCore::GraphicsLayerQt::setContentsToCanvas):
    26958         * platform/graphics/qt/GraphicsLayerQt.h:
    26959 
    26960 2011-03-16  Ryosuke Niwa  <rniwa@webkit.org>
    26961 
    26962         Reviewed by Tony Chang.
    26963 
    26964         Get rid of nearestMailBlockquote
    26965         https://bugs.webkit.org/show_bug.cgi?id=56439
    26966 
    26967         Removed nearestMailBlockquote and replaced the calls to the function by calls
    26968         to enclosingNodeOfType and highestEnclosingNodeOfType.
    26969        
    26970         Also fixed a bug in BreakBlockquoteCommand and DeleteSelectionCommand not to
    26971         respect editing boundaries.  Added a test for the former command.
    26972 
    26973         Test: editing/execCommand/break-non-editable-blockquote.html
    26974 
    26975         * editing/BreakBlockquoteCommand.cpp:
    26976         (WebCore::BreakBlockquoteCommand::doApply): No longer crosses editing boundary
    26977         when looking for a Mail blockquote.
    26978         * editing/DeleteSelectionCommand.cpp:
    26979         (WebCore::DeleteSelectionCommand::saveTypingStyleState): Ditto.
    26980         (WebCore::DeleteSelectionCommand::calculateTypingStyleAfterDelete):
    26981         * editing/ReplaceSelectionCommand.cpp:
    26982         (WebCore::hasMatchingQuoteLevel):
    26983         (WebCore::handleStyleSpansBeforeInsertion):
    26984         (WebCore::ReplaceSelectionCommand::handleStyleSpans):
    26985         (WebCore::ReplaceSelectionCommand::doApply):
    26986         * editing/htmlediting.cpp:
    26987         (WebCore::enclosingNodeOfType): Check rule upfront to improve the performance.
    26988         (WebCore::highestEnclosingNodeOfType): Ditto; also add the missing check.
    26989         * editing/htmlediting.h:
    26990         (WebCore::firstPositionInOrBeforeNode): Added a null pointer check.
    26991         (WebCore::lastPositionInOrAfterNode): Ditto.
    26992         * editing/markup.cpp:
    26993         (WebCore::highestAncestorToWrapMarkup):
    26994         (WebCore::createMarkup):
    26995 
    26996 2011-03-16  Jer Noble  <jer.noble@apple.com>
    26997 
    26998         Reviewed by Beth Dakin.
    26999 
    27000         RenderFullScreen::createFullScreenStyle() leaks
    27001         https://bugs.webkit.org/show_bug.cgi?id=53384
    27002 
    27003         Two problems: a) not calling release() on the style returned in setFullScreenRenderer
    27004         causes an unnecessary ref/deref, and b) the fullscreen renderer needs to be destroyed,
    27005         not just detached, when it is no longer needed.
    27006 
    27007         * dom/Document.cpp:
    27008         (WebCore::Document::setFullScreenRenderer): Destroy the current renderer when a new one is set.
    27009         * rendering/RenderFullScreen.cpp:
    27010         (RenderFullScreen::createFullScreenStyle): release() the return value.
    27011 
    27012 2011-03-16  Mike Reed  <reed@google.com>
    27013 
    27014         Reviewed by James Robinson.
    27015 
    27016         Reestablish typeface/size/encoding when drawing stroked text
    27017         https://bugs.webkit.org/show_bug.cgi?id=56481
    27018 
    27019         No new tests. LayoutTests/svg/css/composite-shadow-text.svg
    27020 
    27021         * platform/graphics/skia/SkiaFontWin.cpp:
    27022         (WebCore::paintSkiaText):
    27023 
    27024 2011-03-16  Daniel Sievers  <sievers@google.com>
    27025 
    27026         Reviewed by James Robinson.
    27027 
    27028         Add setting to always force compositing mode
    27029         https://bugs.webkit.org/show_bug.cgi?id=56156
    27030 
    27031         No new tests needed as this defaults to disabled (and is unfeasible
    27032         to be tested through property overriding at runtime).
    27033 
    27034         * page/Settings.h:
    27035         (WebCore::Settings::setForceCompositingMode):
    27036         (WebCore::Settings::forceCompositingMode):
    27037         * rendering/RenderLayerCompositor.cpp:
    27038         (WebCore::RenderLayerCompositor::RenderLayerCompositor):
    27039         (WebCore::RenderLayerCompositor::computeCompositingRequirements):
    27040         * rendering/RenderLayerCompositor.h:
    27041 
    27042 2011-03-16  Vangelis Kokkevis  <vangelis@chromium.org>
    27043 
    27044         Reviewed by Kenneth Russell.
    27045 
    27046         [chromium] Fixing backface visibility for transformed layers.
    27047         https://bugs.webkit.org/show_bug.cgi?id=56237
    27048 
    27049         Test: platform/chromium/compositing/backface-visibility-transformed.html
    27050 
    27051         * platform/graphics/chromium/LayerRendererChromium.cpp:
    27052         (WebCore::LayerRendererChromium::drawLayer):
    27053 
    27054 2011-03-16  Dimitri Glazkov  <dglazkov@chromium.org>
    27055 
    27056         Reviewed by Darin Adler.
    27057 
    27058         REGRESSION(r76147): Dragging slider thumb is impossible or results in drawing artifacts.
    27059         https://bugs.webkit.org/show_bug.cgi?id=56469
    27060 
    27061         Technically, this is not a regression, but rather uncovering of an old
    27062         problem. When the RenderSlider::layout was written, the layout state was
    27063         pushed with a wrong offset. However, since the whole slider track was
    27064         always repainted, the problem didn't manifest itself until we actually
    27065         started being more precise in our repaints.
    27066 
    27067         Test: fast/repaint/slider-thumb-float.html
    27068 
    27069         * rendering/RenderSlider.cpp:
    27070         (WebCore::RenderSlider::layout): Changed to pass actual thumb offset
    27071         to the LayoutStateMaintainer, rather than thumb size.
    27072 
    27073 2011-03-16  Dimitri Glazkov  <dglazkov@chromium.org>
    27074 
    27075         Reviewed by Eric Carlson.
    27076 
    27077         Add play state callbacks to MediaControls, kill timeUpdate timer.
    27078         https://bugs.webkit.org/show_bug.cgi?id=56473
    27079 
    27080         No change in behavior, covered by existing tests.
    27081 
    27082         * html/HTMLMediaElement.cpp:
    27083         (WebCore::HTMLMediaElement::playbackProgressTimerFired): Added a call to
    27084             media controls.
    27085         (WebCore::HTMLMediaElement::updatePlayState): Ditto.
    27086         * html/shadow/MediaControls.cpp:
    27087         (WebCore::MediaControls::MediaControls): Removed initialization of the timer.
    27088         (WebCore::MediaControls::playbackProgressed): Added.
    27089         (WebCore::MediaControls::playbackStarted): Added, for now routing to just
    27090             call playbackProgressed.
    27091         (WebCore::MediaControls::playbackStopped): Ditto.
    27092         (WebCore::MediaControls::update): Removed the code to start/stop the
    27093             timer that's now gone.
    27094         * html/shadow/MediaControls.h: Removed timer decls.
    27095 
    27096 2011-03-16  Bill Budge  <bbudge@chromium.org>
    27097 
    27098         Reviewed by David Levin.
    27099 
    27100         DocumentThreadableLoaderClient needs a protected default Constructor
    27101         https://bugs.webkit.org/show_bug.cgi?id=56479
    27102 
    27103         No new tests. Exposes no new functionality.
    27104 
    27105         * loader/DocumentThreadableLoaderClient.h:
    27106         (WebCore::DocumentThreadableLoaderClient::DocumentThreadableLoaderClient):
    27107 
    27108 2011-03-16  David Levin  <levin@chromium.org>
    27109 
    27110         Chromium Leopard build fix attempt #2.
    27111 
    27112         Same error as before.
    27113         * bindings/v8/V8GCController.cpp:
    27114 
    27115 2011-03-16  David Levin  <levin@chromium.org>
    27116 
    27117         Chromium Leopard build fix attempt.
    27118 
    27119         The error was 'WebCore::GrouperVisitor' has a field 'WebCore::GrouperVisitor::m_grouper' whose type uses the anonymous namespace.
    27120 
    27121         * bindings/v8/V8GCController.cpp:
    27122 
    27123 2011-03-16  Ryosuke Niwa  <rniwa@webkit.org>
    27124 
    27125         Reviewed by Dimitri Glazkov and Darin Adler.
    27126 
    27127         Node::isContentEditable should always call parentNode() instead of parentOrHostNode()
    27128         https://bugs.webkit.org/show_bug.cgi?id=56472
    27129 
    27130         Replaced the call to parentOrHostNode() in Node::isContentEditable by a call to parentNode().
    27131         Node::isContentEditable now calls parentNode() on all nodes.
    27132 
    27133         No tests are added since this behavior change is not visible to scripts at the moment.
    27134 
    27135         * dom/Node.cpp:
    27136         (WebCore::Node::isContentEditable):
    27137 
    27138 2011-03-16  Chris Fleizach  <cfleizach@apple.com>
    27139 
    27140         Reviewed by Darin Adler.
    27141 
    27142         WK2: Need to propagate enhanced accessibility flag from UI -> web process
    27143         https://bugs.webkit.org/show_bug.cgi?id=56379
    27144 
    27145         Allow the enhanced accessibility flag to be toggleable.
    27146 
    27147         * accessibility/AXObjectCache.h:
    27148         (WebCore::AXObjectCache::setEnhancedUserInterfaceAccessibility):
    27149 
    27150 2011-03-16  Csaba Osztrogonác  <ossy@webkit.org>
    27151 
    27152         [Qt] Buildfix after r81230.
    27153 
    27154         * WebCore.pri: Missing include path added.
    27155 
    27156 2011-03-15  Oliver Hunt  <oliver@apple.com>
    27157 
    27158         Reviewed by Geoffrey Garen.
    27159 
    27160         Make Structure creation require a JSGlobalData
    27161         https://bugs.webkit.org/show_bug.cgi?id=56438
    27162 
    27163         Mechanical change to make all structure creation use GlobalData
    27164 
    27165         * bindings/js/JSAudioConstructor.cpp:
    27166         (WebCore::JSAudioConstructor::JSAudioConstructor):
    27167         * bindings/js/JSAudioConstructor.h:
    27168         (WebCore::JSAudioConstructor::createStructure):
    27169         * bindings/js/JSDOMBinding.h:
    27170         (WebCore::DOMObjectWithGlobalPointer::createStructure):
    27171         (WebCore::DOMConstructorObject::createStructure):
    27172         (WebCore::getDOMStructure):
    27173         * bindings/js/JSDOMGlobalObject.h:
    27174         (WebCore::JSDOMGlobalObject::createStructure):
    27175         * bindings/js/JSDOMWindowBase.h:
    27176         (WebCore::JSDOMWindowBase::createStructure):
    27177         * bindings/js/JSDOMWindowShell.cpp:
    27178         (WebCore::JSDOMWindowShell::JSDOMWindowShell):
    27179         (WebCore::JSDOMWindowShell::setWindow):
    27180         * bindings/js/JSDOMWindowShell.h:
    27181         (WebCore::JSDOMWindowShell::createStructure):
    27182         * bindings/js/JSImageConstructor.cpp:
    27183         (WebCore::JSImageConstructor::JSImageConstructor):
    27184         * bindings/js/JSImageConstructor.h:
    27185         (WebCore::JSImageConstructor::createStructure):
    27186         * bindings/js/JSImageDataCustom.cpp:
    27187         (WebCore::toJS):
    27188         * bindings/js/JSOptionConstructor.cpp:
    27189         (WebCore::JSOptionConstructor::JSOptionConstructor):
    27190         * bindings/js/JSOptionConstructor.h:
    27191         (WebCore::JSOptionConstructor::createStructure):
    27192         * bindings/js/JSWorkerContextBase.h:
    27193         (WebCore::JSWorkerContextBase::createStructure):
    27194         * bindings/js/WorkerScriptController.cpp:
    27195         (WebCore::WorkerScriptController::initScript):
    27196         * bindings/scripts/CodeGeneratorJS.pm:
    27197         * bridge/c/CRuntimeObject.h:
    27198         (JSC::Bindings::CRuntimeObject::createStructure):
    27199         * bridge/c/c_instance.cpp:
    27200         (JSC::Bindings::CRuntimeMethod::createStructure):
    27201         * bridge/jni/jsc/JavaInstanceJSC.cpp:
    27202         (JavaRuntimeMethod::createStructure):
    27203         * bridge/jni/jsc/JavaRuntimeObject.h:
    27204         (JSC::Bindings::JavaRuntimeObject::createStructure):
    27205         * bridge/objc/ObjCRuntimeObject.h:
    27206         (JSC::Bindings::ObjCRuntimeObject::createStructure):
    27207         * bridge/objc/objc_instance.mm:
    27208         (ObjCRuntimeMethod::createStructure):
    27209         * bridge/objc/objc_runtime.h:
    27210         (JSC::Bindings::ObjcFallbackObjectImp::createStructure):
    27211         * bridge/runtime_array.h:
    27212         (JSC::RuntimeArray::createStructure):
    27213         * bridge/runtime_method.h:
    27214         (JSC::RuntimeMethod::createStructure):
    27215         * bridge/runtime_object.h:
    27216         (JSC::Bindings::RuntimeObject::createStructure):
    27217 
    27218 2011-03-16  Pratik Solanki  <psolanki@apple.com>
    27219 
    27220         Reviewed by Alexey Proskuryakov.
    27221 
    27222         REGRESSION: Crash in adjustMIMETypeIfNecessary since r81001
    27223         https://bugs.webkit.org/show_bug.cgi?id=56345
    27224 
    27225         Add NULL check for Content-Type header field.
    27226 
    27227         Test: http/tests/xmlhttprequest/xmlhttprequest-no-content-type.html
    27228 
    27229         * platform/network/mac/WebCoreURLResponse.mm:
    27230         (WebCore::adjustMIMETypeIfNecessary):
    27231 
    27232 2011-03-15  Levi Weintraub  <leviw@chromium.org>
    27233 
    27234         Reviewed by Ryosuke Niwa.
    27235 
    27236         REGRESSION (r81165): Assert running editing/style/iframe-onload-crash.html with non-Mac editing behavior
    27237         https://bugs.webkit.org/show_bug.cgi?id=56407
    27238 
    27239         Fixing the creation of incorrect ranges from TextIterator due to passing node/offset pairs that
    27240         weren't parent-anchored. Also changing canHaveChildrenForEditing to properly handle nodes that
    27241         have had children appended to them that editing wouldn't normally allow.
    27242 
    27243         Tests: editing/style/iframe-onload-crash-mac.html
    27244                editing/style/iframe-onload-crash-unix.html
    27245                editing/style/iframe-onload-crash-win.html
    27246 
    27247         * editing/TextIterator.cpp:
    27248         (WebCore::TextIterator::rangeFromLocationAndLength): Passing parent-anchored values to range.
    27249         * editing/htmlediting.cpp:
    27250         (WebCore::canHaveChildrenForEditing): Adding a condition that the nodes don't already have children
    27251         for hr and datagrid, as you can append any node to another using javascript.
    27252 
    27253 2011-03-16  Mikhail Naganov  <mnaganov@chromium.org>
    27254 
    27255         Reviewed by Pavel Feldman.
    27256 
    27257         [Chromium] Report object groups and single DOM-related objects
    27258         to the new heap profiler.
    27259         https://bugs.webkit.org/show_bug.cgi?id=53659
    27260 
    27261         * Android.v8bindings.mk:
    27262         * WebCore.gypi:
    27263         * WebCore.pro:
    27264         * bindings/scripts/CodeGeneratorV8.pm:
    27265         * bindings/v8/RetainedDOMInfo.cpp: Added.
    27266         (WebCore::RetainedDOMInfo::RetainedDOMInfo):
    27267         * bindings/v8/RetainedDOMInfo.h: Added.
    27268         * bindings/v8/RetainedObjectInfo.h: Added.
    27269         * bindings/v8/ScriptProfiler.cpp:
    27270         (WebCore::retainedDOMInfo):
    27271         (WebCore::ScriptProfiler::initialize):
    27272         * bindings/v8/ScriptProfiler.h:
    27273         * bindings/v8/V8DOMWindowShell.cpp:
    27274         (WebCore::V8DOMWindowShell::initContextIfNeeded):
    27275         * bindings/v8/V8GCController.cpp:
    27276         (WebCore::GroupId::GrouperItem::GrouperItem):
    27277         (WebCore::GroupId::GrouperItem::groupId):
    27278         (WebCore::GroupId::GrouperItem::createRetainedObjectInfo):
    27279         (WebCore::calculateGroupId):
    27280         (WebCore::GrouperVisitor::visitDOMWrapper):
    27281         (WebCore::GrouperVisitor::applyGrouping):
    27282         * bindings/v8/WrapperTypeInfo.h:
    27283         * inspector/front-end/DetailedHeapshotGridNodes.js:
    27284         (WebInspector.HeapSnapshotConstructorNode):
    27285         (WebInspector.HeapSnapshotConstructorNode.prototype._createNodesProvider):
    27286         (WebInspector.HeapSnapshotDiffNode):
    27287         (WebInspector.HeapSnapshotDiffNode.prototype._createNodesProvider.createProvider):
    27288         (WebInspector.HeapSnapshotDiffNode.prototype._createNodesProvider):
    27289         * inspector/front-end/DetailedHeapshotView.js:
    27290         (WebInspector.HeapSnapshotRetainingPathsList.prototype.setDataSource):
    27291         (WebInspector.HeapSnapshotRetainingPathsList.prototype.refresh):
    27292         (WebInspector.HeapSnapshotRetainingPathsList.prototype.showNext.startSearching):
    27293         (WebInspector.HeapSnapshotRetainingPathsList.prototype.showNext):
    27294         (WebInspector.HeapSnapshotRetainingPathsList.prototype._setRootChildrenForFinder):
    27295         (WebInspector.DetailedHeapshotView.prototype._changeRetainingPathsRoot):
    27296         (WebInspector.DetailedHeapshotView.prototype.get isTracingToWindowObjects):
    27297         * inspector/front-end/HeapSnapshot.js:
    27298         (WebInspector.HeapSnapshotNode.prototype.get className):
    27299         (WebInspector.HeapSnapshot.prototype._buildAggregates):
    27300         (WebInspector.HeapSnapshotPathFinder.prototype.updateRoots):
    27301         (WebInspector.HeapSnapshotPathFinder.prototype._fillRootChildren):
    27302         * inspector/front-end/heapProfiler.css:
    27303         (.detailed-heapshot-view .retaining-paths-view .title > span):
    27304         (.detailed-heapshot-view .retaining-paths-to-windows):
    27305 
    27306 2011-03-16  Sam Weinig  <sam@webkit.org>
    27307 
    27308         Reviewed by Adam Roben.
    27309 
    27310         Add WebKit2 API to figure out if an input or textarea was edited
    27311         https://bugs.webkit.org/show_bug.cgi?id=56474
    27312 
    27313         Add HTMLInputElement::lastChangeWasUserEdit and HTMLTextAreaElement::lastChangeWasUserEdit
    27314         and use them to implement -[DOMHTMLInputElement _isEdited] and -[DOMHTMLTextAreaElement _isEdited]
    27315         as well as API in WebKit2.
    27316 
    27317         * WebCore.exp.in:
    27318         * bindings/objc/DOMHTML.mm:
    27319         (-[DOMHTMLInputElement _isEdited]):
    27320         (-[DOMHTMLTextAreaElement _isEdited]):
    27321         * html/HTMLInputElement.cpp:
    27322         (WebCore::HTMLInputElement::lastChangeWasUserEdit):
    27323         * html/HTMLInputElement.h:
    27324         * html/HTMLTextAreaElement.cpp:
    27325         (WebCore::HTMLTextAreaElement::lastChangeWasUserEdit):
    27326         * html/HTMLTextAreaElement.h:
    27327 
    27328 2011-03-15  Pavel Feldman  <pfeldman@chromium.org>
    27329 
    27330         Reviewed by Yury Semikhatsky.
    27331 
    27332         Web Inspector: ASSERTION FAILED: !HashTranslator::equal(KeyTraits::emptyValue(), key)
    27333         https://bugs.webkit.org/show_bug.cgi?id=56376
    27334 
    27335         * inspector/InspectorBrowserDebuggerAgent.cpp:
    27336         (WebCore::InspectorBrowserDebuggerAgent::willRemoveDOMNode):
    27337         * inspector/front-end/DOMAgent.js:
    27338         (WebInspector.DOMAgent.prototype._setDocument):
    27339 
    27340 2011-03-16  Dan Bernstein  <mitz@apple.com>
    27341 
    27342         Reviewed by Simon Fraser.
    27343 
    27344         text-combine text retains compressed font after adding characters to it
    27345         https://bugs.webkit.org/show_bug.cgi?id=56448
    27346 
    27347         Test: fast/dynamic/text-combine.html
    27348 
    27349         * css/CSSStyleSelector.cpp:
    27350         (WebCore::CSSStyleSelector::applyProperty): Allow styles with text-combine to be shared, since
    27351         only the clones on the RenderCombineText will be mutated.
    27352         * rendering/RenderCombineText.cpp:
    27353         (WebCore::RenderCombineText::styleDidChange): Clone the style, to avoid mutating the parent’s
    27354         style.
    27355         (WebCore::RenderCombineText::combineText): Start off with the original font; restore it if
    27356         the text cannot be combined.
    27357         * rendering/RenderCombineText.h:
    27358         (WebCore::RenderCombineText::originalFont): Added. Returns the parent’s font.
    27359 
    27360 2011-03-14  Pavel Podivilov  <podivilov@chromium.org>
    27361 
    27362         Reviewed by Yury Semikhatsky.
    27363 
    27364         Web Inspector: refactor event listener breakpoints.
    27365         https://bugs.webkit.org/show_bug.cgi?id=56305
    27366 
    27367         - restore event listener breakpoints one by one instead of using setAllBrowserBreakpoints
    27368         - store event listener breakpoints in a separate separate setting
    27369         - move presentation-related code from BreakpointManager to EventListenerBreakpointsSidebarPane
    27370 
    27371         Test: inspector/debugger/event-listener-breakpoints.html
    27372 
    27373         * inspector/Inspector.idl:
    27374         * inspector/InspectorAgent.cpp:
    27375         (WebCore::InspectorAgent::setFrontend):
    27376         * inspector/InspectorBrowserDebuggerAgent.cpp:
    27377         (WebCore::InspectorBrowserDebuggerAgent::setEventListenerBreakpoint):
    27378         (WebCore::InspectorBrowserDebuggerAgent::removeEventListenerBreakpoint):
    27379         (WebCore::InspectorBrowserDebuggerAgent::pauseOnNativeEventIfNeeded):
    27380         (WebCore::InspectorBrowserDebuggerAgent::clear):
    27381         * inspector/InspectorBrowserDebuggerAgent.h:
    27382         * inspector/InspectorInstrumentation.cpp:
    27383         (WebCore::InspectorInstrumentation::didCommitLoadImpl):
    27384         * inspector/front-end/BreakpointManager.js:
    27385         (WebInspector.BreakpointManager.prototype.setEventListenerBreakpoint):
    27386         (WebInspector.BreakpointManager.prototype.removeEventListenerBreakpoint):
    27387         (WebInspector.BreakpointManager.prototype.breakpointViewForEventData):
    27388         (WebInspector.BreakpointManager.prototype._projectChanged):
    27389         (WebInspector.BreakpointManager.prototype._saveBreakpoints):
    27390         (WebInspector.BreakpointManager.prototype._validateBreakpoints):
    27391         (WebInspector.BreakpointManager.prototype._createDOMBreakpointId):
    27392         * inspector/front-end/BreakpointsSidebarPane.js:
    27393         (WebInspector.EventListenerBreakpointsSidebarPane):
    27394         (WebInspector.EventListenerBreakpointsSidebarPane.eventNameForUI):
    27395         (WebInspector.EventListenerBreakpointsSidebarPane.prototype._createCategory):
    27396         (WebInspector.EventListenerBreakpointsSidebarPane.prototype._categoryCheckboxClicked):
    27397         (WebInspector.EventListenerBreakpointsSidebarPane.prototype._breakpointCheckboxClicked):
    27398         (WebInspector.EventListenerBreakpointsSidebarPane.prototype._setBreakpoint):
    27399         (WebInspector.EventListenerBreakpointsSidebarPane.prototype._removeBreakpoint):
    27400         (WebInspector.EventListenerBreakpointsSidebarPane.prototype._updateCategoryCheckbox):
    27401         (WebInspector.EventListenerBreakpointsSidebarPane.prototype.highlightBreakpoint):
    27402         (WebInspector.EventListenerBreakpointsSidebarPane.prototype.clearBreakpointHighlight):
    27403         (WebInspector.EventListenerBreakpointsSidebarPane.prototype._saveBreakpoints):
    27404         (WebInspector.EventListenerBreakpointsSidebarPane.prototype._restoreBreakpoints):
    27405         * inspector/front-end/CallStackSidebarPane.js:
    27406         (WebInspector.CallStackSidebarPane.prototype.update):
    27407         (WebInspector.CallStackSidebarPane.prototype.setStatus):
    27408         (WebInspector.CallStackSidebarPane.prototype._domBreakpointHit):
    27409         * inspector/front-end/ScriptsPanel.js:
    27410         (WebInspector.ScriptsPanel.prototype._debuggerPaused):
    27411         (WebInspector.ScriptsPanel.prototype._clearInterface):
    27412         * inspector/front-end/Settings.js:
    27413         (WebInspector.Settings):
    27414 
    27415 2011-03-16  David Kilzer  <ddkilzer@apple.com>
    27416 
    27417         Minor clean-up after r81156, r81172
    27418 
    27419         Follow-up for:
    27420         <http://webkit.org/b/56381> Objective-C classes should be typedef-ed as structs (not void*) in C++
    27421 
    27422         * platform/graphics/GraphicsLayer.h: Removed unused @class
    27423         WebLayer declaration.
    27424         * platform/graphics/ca/PlatformCAAnimation.h: Changed typedef
    27425         struct CAPropertyAnimation to class declaration.
    27426 
    27427 2011-03-16  Andrey Adaikin  <aandrey@google.com>
    27428 
    27429         Reviewed by Yury Semikhatsky.
    27430 
    27431         Web Inspector: Remove live-edit code
    27432         https://bugs.webkit.org/show_bug.cgi?id=56177
    27433 
    27434         * inspector/front-end/Settings.js:
    27435         * inspector/front-end/SourceFrame.js:
    27436         (WebInspector.SourceFrame):
    27437         (WebInspector.SourceFrame.prototype._doubleClick):
    27438         * inspector/front-end/TextViewer.js:
    27439         (WebInspector.TextEditorMainPanel):
    27440         (WebInspector.TextEditorMainPanel.prototype.set readOnly):
    27441 
    27442 2011-03-16  Alexis Menard  <alexis.menard@openbossa.org>
    27443 
    27444         Reviewed by Martin Robinson.
    27445 
    27446         [GStreamer] There is no need to set the state of the pipeline to playing, HTMLMediaElement will do it.
    27447         https://bugs.webkit.org/show_bug.cgi?id=56403
    27448 
    27449         In case of a seek on a live pipeline there is no need to call gst_element_set_state(m_playBin, GST_STATE_PLAYING);
    27450         As soon as HTMLMediaElement::updatePlayState() is called (like when the data comes in) the playback will be relaunched
    27451         i.e the pause() made when beginScrubbing is done is just internal.
    27452 
    27453         No new tests: Verified manually.
    27454 
    27455         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
    27456         (WebCore::MediaPlayerPrivateGStreamer::updateStates):
    27457 
    27458 2011-03-16  Adam Barth  <abarth@webkit.org>
    27459 
    27460         Reviewed by Eric Seidel.
    27461 
    27462         WebCore GYP build should build platform/
    27463         https://bugs.webkit.org/show_bug.cgi?id=56430
    27464 
    27465         Adding platform/ to the GYP build required disabling
    27466         ALWAYS_SEARCH_USER_PATHS, which in turn required fixing some latent
    27467         style issues.  I suspect we'll end up excluding some of these files
    27468         from the build in the final analysis, but we might as well fix the
    27469         style errors while we're here.
    27470 
    27471         * bindings/js/JSMainThreadExecState.h:
    27472         * bindings/js/ScheduledAction.h:
    27473         * css/CSSPrimitiveValueCache.cpp:
    27474         * gyp/WebCore.gyp:
    27475         * platform/KillRingNone.cpp:
    27476         (WebCore::KillRing::append):
    27477         (WebCore::KillRing::prepend):
    27478         * platform/graphics/ContextShadow.h:
    27479         * platform/graphics/gpu/LoopBlinnPathProcessor.cpp:
    27480         (WebCore::LoopBlinnPathProcessor::buildContours):
    27481         (WebCore::TessellationState::combineCallback):
    27482         * platform/graphics/gpu/PODRedBlackTree.h:
    27483         (WebCore::PODRedBlackTree::updateNode):
    27484         (WebCore::PODRedBlackTree::logIfVerbose):
    27485         * platform/graphics/opengl/TextureMapperGL.cpp:
    27486         * platform/graphics/opengl/TextureMapperGL.h:
    27487         * platform/graphics/texmap/TextureMapper.h:
    27488         (WebCore::BitmapTexture::save):
    27489         (WebCore::TextureMapper::paintToTarget):
    27490         * platform/graphics/texmap/TextureMapperNode.h:
    27491 
    27492 2011-03-15  Philippe Normand  <pnormand@igalia.com>
    27493 
    27494         Reviewed by Eric Carlson.
    27495 
    27496         [GStreamer] http/tests/media/video-play-stall-before-meta-data.html fails
    27497         https://bugs.webkit.org/show_bug.cgi?id=56370
    27498 
    27499         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
    27500         (WebCore::mediaPlayerPrivateMessageCallback): Let the
    27501         mediaPlayerClient handle the stream error, in this case the
    27502         HTMLMediaElement will emit a stalled event.
    27503 
    27504 2011-03-10  Philippe Normand  <pnormand@igalia.com>
    27505 
    27506         Reviewed by Martin Robinson.
    27507 
    27508         [GStreamer] Frame accurate seeking isn't always accurate
    27509         https://bugs.webkit.org/show_bug.cgi?id=55217
    27510 
    27511         Attempt to build the seek GstClockTime position by converting the
    27512         float time value to a GTimeVal value rounded at microsecond
    27513         precision. Additionally perform the seek with the ACCURATE seek
    27514         flag. These modifications at least fix this manual-test:
    27515         http://www.massive-interactive.nl/html5_video/smpte_test_universal.html
    27516 
    27517         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
    27518         (WebCore::MediaPlayerPrivateGStreamer::currentTime):
    27519         (WebCore::MediaPlayerPrivateGStreamer::seek):
    27520         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
    27521 
    27522 2011-03-15  Yury Semikhatsky  <yurys@chromium.org>
    27523 
    27524         Reviewed by Pavel Feldman.
    27525 
    27526         Web Inspector: split InspectorAgent.populateScriptObjects into more granular agent-specific requests
    27527         https://bugs.webkit.org/show_bug.cgi?id=56389
    27528 
    27529         Instead of sending one big request populateScriptObjects each agent requests
    27530         for initial data in its constructor.
    27531        
    27532         * inspector/Inspector.idl:
    27533         * inspector/InspectorAgent.cpp:
    27534         (WebCore::InspectorAgent::InspectorAgent):
    27535         (WebCore::InspectorAgent::restoreInspectorStateFromCookie):
    27536         (WebCore::InspectorAgent::setFrontend):
    27537         (WebCore::InspectorAgent::pushDataCollectedOffline):
    27538         (WebCore::InspectorAgent::getPreferredPanel):
    27539         * inspector/InspectorAgent.h:
    27540         * inspector/InspectorDOMAgent.cpp:
    27541         (WebCore::InspectorDOMAgent::InspectorDOMAgent):
    27542         (WebCore::InspectorDOMAgent::setFrontend):
    27543         (WebCore::InspectorDOMAgent::restore):
    27544         * inspector/InspectorDOMAgent.h:
    27545         (WebCore::InspectorDOMAgent::create):
    27546         * inspector/InspectorDebuggerAgent.cpp:
    27547         (WebCore::InspectorDebuggerAgent::setFrontend):
    27548         * inspector/InspectorDebuggerAgent.h:
    27549         * inspector/InspectorProfilerAgent.h:
    27550         (WebCore::InspectorProfilerAgent::isEnabled):
    27551         * inspector/front-end/ProfilesPanel.js:
    27552         (WebInspector.ProfilesPanel):
    27553         * inspector/front-end/ScriptsPanel.js:
    27554         (WebInspector.ScriptsPanel):
    27555         * inspector/front-end/inspector.js:
    27556 
    27557 2011-03-15  Ryosuke Niwa  <rniwa@webkit.org>
    27558 
    27559         Reviewed by Darin Adler.
    27560 
    27561         Devirtualize isContentEditable and isRichlyContentEditable
    27562         https://bugs.webkit.org/show_bug.cgi?id=56421
    27563 
    27564         Rewrote Node::isContentEditable as a non-recursive non-virtual function.
    27565 
    27566         * dom/Document.cpp: Removed isContentEditable and isContentRichlyEditable.
    27567         * dom/Document.h: Ditto.
    27568         * dom/Node.cpp:
    27569         (WebCore::Node::isContentEditable): Rewritten.
    27570         * dom/Node.h:
    27571         (WebCore::Node::isContentEditable): Calls isContentEditable(Editable).
    27572         (WebCore::Node::isContentRichlyEditable): Calls isContentEditable(RichlyEditable).
    27573         * html/HTMLElement.cpp: Removed isContentEditable and isContentRichlyEditable.
    27574         * html/HTMLElement.h: Ditto.
    27575 
    27576 2011-03-15  Adam Barth  <abarth@webkit.org>
    27577 
    27578         Reviewed by Eric Seidel.
    27579 
    27580         WebCore GYP build should build inspector/ loader/ mathml/ notifications/ and page/
    27581         https://bugs.webkit.org/show_bug.cgi?id=56412
    27582 
    27583         Yay for smooth sailing.
    27584 
    27585         * gyp/WebCore.gyp:
    27586 
    27587 2011-03-15  Dimitri Glazkov  <dglazkov@chromium.org>
    27588 
    27589         Reviewed by Kent Tamura.
    27590 
    27591         REGRESSION(r76147): A slider thumb that is styled cannot be programmatically moved
    27592         https://bugs.webkit.org/show_bug.cgi?id=56059
    27593 
    27594         Test: fast/dom/HTMLInputElement/input-slider-update-styled.html
    27595 
    27596         * html/RangeInputType.cpp:
    27597         (WebCore::RangeInputType::valueChanged): Changed to use setPositionFromValue.
    27598         * html/shadow/SliderThumbElement.cpp:
    27599         (WebCore::SliderThumbElement::setPositionFromValue): Added.
    27600         (WebCore::SliderThumbElement::dragFrom): Changed to use setPositionFromPoint.
    27601         (WebCore::SliderThumbElement::setPositionFromPoint): Ditto.
    27602         (WebCore::SliderThumbElement::defaultEventHandler): Ditto.
    27603         * html/shadow/SliderThumbElement.h: Added decls.
    27604 
    27605 2011-03-15  David Levin  <levin@chromium.org>
    27606 
    27607         Attempted build fix following r81213. Same song second verse.
    27608 
    27609         * platform/image-encoders/skia/PNGImageEncoder.cpp:
    27610         (WebCore::encodePixels):
    27611 
    27612 2011-03-15  David Levin  <levin@chromium.org>
    27613 
    27614         Attempted build fix for Chromium OSX release build following r81213.
    27615 
    27616         * platform/image-encoders/skia/JPEGImageEncoder.cpp:
    27617         (WebCore::encodePixels): Change scoping of |pixels| to be after setjmp call.
    27618 
    27619 2011-03-15  John Bauman  <jbauman@chromium.org>
    27620 
    27621         Reviewed by Kenneth Russell.
    27622 
    27623         Non-premultiplied-alpha canvas attribute is ignore for toDataURL, drawImage, texImage2D
    27624         https://bugs.webkit.org/show_bug.cgi?id=56238
    27625 
    27626        Attempt to get an ImageData (non-premultiplied) from a WebGL canvas
    27627        instead of getting an ImageBuffer, so there's a chance the data can be
    27628        passed straight through to the consumer with no premultiplication
    27629        necessary. Fixes Chromium and Safari.
    27630 
    27631         Test: fast/canvas/webgl/premultiplyalpha-test.html
    27632 
    27633         * html/HTMLCanvasElement.cpp:
    27634         (WebCore::HTMLCanvasElement::toDataURL):
    27635         (WebCore::HTMLCanvasElement::getImageData):
    27636         * html/HTMLCanvasElement.h:
    27637         * html/canvas/WebGLRenderingContext.cpp:
    27638         (WebCore::WebGLRenderingContext::paintRenderingResultsToImageData):
    27639         (WebCore::WebGLRenderingContext::texImage2D):
    27640         (WebCore::WebGLRenderingContext::texSubImage2D):
    27641         * html/canvas/WebGLRenderingContext.h:
    27642         * platform/graphics/GraphicsContext3D.h:
    27643         * platform/graphics/ImageBuffer.h:
    27644         * platform/graphics/cg/ImageBufferCG.cpp:
    27645         (WebCore::CGImageToDataURL):
    27646         (WebCore::ImageBuffer::toDataURL):
    27647         (WebCore::ImageDataToDataURL):
    27648         * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
    27649         (WebCore::GraphicsContext3D::validateAttributes):
    27650         (WebCore::GraphicsContext3D::readRenderingResults):
    27651         (WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
    27652         (WebCore::GraphicsContext3D::paintRenderingResultsToImageData):
    27653         * platform/graphics/qt/GraphicsContext3DQt.cpp:
    27654         (WebCore::GraphicsContext3D::paintRenderingResultsToImageData):
    27655         * platform/graphics/skia/ImageBufferSkia.cpp:
    27656         (WebCore::ImageToDataURL):
    27657         (WebCore::ImageBuffer::toDataURL):
    27658         (WebCore::ImageDataToDataURL):
    27659         * platform/image-encoders/skia/JPEGImageEncoder.cpp:
    27660         (WebCore::preMultipliedBGRAtoRGB):
    27661         (WebCore::RGBAtoRGB):
    27662         (WebCore::encodePixels):
    27663         (WebCore::JPEGImageEncoder::encode):
    27664         * platform/image-encoders/skia/JPEGImageEncoder.h:
    27665         * platform/image-encoders/skia/PNGImageEncoder.cpp:
    27666         (WebCore::preMultipliedBGRAtoRGBA):
    27667         (WebCore::encodePixels):
    27668         (WebCore::PNGImageEncoder::encode):
    27669         * platform/image-encoders/skia/PNGImageEncoder.h:
    27670 
    27671 2011-03-15  Kevin Ollivier  <kevino@theolliviers.com>
    27672 
    27673         [wx] Build fix, only compile the methods when the INDEXED_DATABASE feature is enabled.
    27674        
    27675         * storage/IDBDatabaseCallbacksImpl.cpp:
    27676 
    27677 2011-03-15  Brady Eidson  <beidson@apple.com>
    27678 
    27679         Build fix after r81208 for https://bugs.webkit.org/show_bug.cgi?id=56425
    27680 
    27681         * loader/icon/IconDatabaseBase.h: #include instead of forward declare.
    27682 
    27683 2011-03-15  Beth Dakin  <bdakin@apple.com>
    27684 
    27685         Reviewed by Darin Adler.
    27686 
    27687         Fix for <rdar://problem/8944558> Overlay scrollers in overflow areas need to
    27688         send notifications appropriate times (showing up, resizing)
    27689         -and corresponding-
    27690         https://bugs.webkit.org/show_bug.cgi?id=56067
    27691 
    27692         The general strategy here is to add a HashSet of ScrollableAreas to the page that
    27693         can be accessed when necessary to send notifications to all ScrollableAreas. In
    27694         turn, all of the ScrollableArea classes that add themselves to the HashSet must
    27695         keep a weak pointer to Page so that they can remove themselves without relying on
    27696         Frames or Renderers to still have references.
    27697 
    27698         Find layers for relevant node and if the layers are in the Page's ScrollableArea
    27699         set, then send the relevant notification.
    27700         * page/EventHandler.cpp:
    27701         (WebCore::layerForNode):
    27702         (WebCore::EventHandler::mouseMoved):
    27703         (WebCore::EventHandler::updateMouseEventTargetNode):
    27704 
    27705         When the page is set active or not active, iterate through the Page's
    27706         ScrollableAreas to send hide/show notifications.
    27707         * page/FocusController.cpp:
    27708         (WebCore::FocusController::setActive):
    27709 
    27710         When a FrameView is created, add it to the ScrollableArea set. When it's
    27711         destroyed, remove it.
    27712         * page/FrameView.cpp:
    27713         (WebCore::FrameView::FrameView):
    27714         (WebCore::FrameView::~FrameView):
    27715 
    27716         Iterate through the Page's ScrollableAreas to send the paint notification.
    27717         (WebCore::FrameView::notifyPageThatContentAreaWillPaint):
    27718         * page/FrameView.h:
    27719         (WebCore::FrameView::disconnectFromPage):
    27720 
    27721         Add the new ScrollableArea set.
    27722         * page/Page.cpp:
    27723         (WebCore::Page::~Page):
    27724         (WebCore::Page::addScrollableArea):
    27725 (WebCore::Page::removeScrollableArea):
    27726         (WebCore::Page::containsScrollableArea):
    27727         * page/Page.h:
    27728         (WebCore::Page::scrollableAreaSet):
    27729 
    27730         notifyPageThatContentAreaWillPaint() is a dummy function implemented in FrameView.
    27731         * platform/ScrollView.cpp:
    27732         (WebCore::ScrollView::notifyPageThatContentAreaWillPaint):
    27733        
    27734         Call notifyPageThatContentAreaWillPaint() instead of calling
    27735         contentAreaWillPaint() just for the ScrollView.
    27736         (WebCore::ScrollView::paint):
    27737         * platform/ScrollView.h:
    27738 
    27739         Add/remove ScrollableAreas to the set. Add new disconnectFromPage().
    27740         * platform/ScrollableArea.h:
    27741         (WebCore::ScrollableArea::disconnectFromPage):
    27742         * rendering/RenderDataGrid.cpp:
    27743         (WebCore::RenderDataGrid::RenderDataGrid):
    27744         (WebCore::RenderDataGrid::~RenderDataGrid):
    27745         * rendering/RenderDataGrid.h:
    27746         (WebCore::RenderDataGrid::disconnectFromPage):
    27747         * rendering/RenderLayer.cpp:
    27748         (WebCore::RenderLayer::RenderLayer):
    27749         (WebCore::RenderLayer::~RenderLayer):
    27750         * rendering/RenderLayer.h:
    27751         (WebCore::RenderLayer::disconnectFromPage):
    27752         * rendering/RenderListBox.cpp:
    27753         (WebCore::RenderListBox::RenderListBox):
    27754         (WebCore::RenderListBox::~RenderListBox):
    27755         * rendering/RenderListBox.h:
    27756         (WebCore::RenderListBox::disconnectFromPage):
    27757 
    27758         Should have implemented this ScrollableArea-interface function a while ago.
    27759         (WebCore::RenderLayer::currentMousePosition):
    27760 
    27761 2011-03-15  Brady Eidson  <beidson@apple.com>
    27762 
    27763         Reviewed by Sam Weinig.
    27764 
    27765         https://bugs.webkit.org/show_bug.cgi?id=56425
    27766         WebKit2 icon database.
    27767 
    27768         * WebCore.exp.in:
    27769 
    27770 2011-03-15  Adam Barth  <abarth@webkit.org>
    27771 
    27772         Reviewed by Dimitri Glazkov.
    27773 
    27774         WebCore GYP build should build editing, fileapi, history, and html
    27775         https://bugs.webkit.org/show_bug.cgi?id=56411
    27776 
    27777         These all went smoothly.
    27778 
    27779         * gyp/WebCore.gyp:
    27780 
    27781 2011-03-15  Adam Barth  <abarth@webkit.org>
    27782 
    27783         Reviewed by Eric Seidel.
    27784 
    27785         WebCore GYP build should build dom/
    27786         https://bugs.webkit.org/show_bug.cgi?id=56409
    27787 
    27788         * gyp/WebCore.gyp:
    27789 
    27790 2011-03-15  Adam Barth  <abarth@webkit.org>
    27791 
    27792         Reviewed by Eric Seidel.
    27793 
    27794         WebCore GYP build should build css/
    27795         https://bugs.webkit.org/show_bug.cgi?id=56408
    27796 
    27797         CSSParser.cpp #includes tokenizer.cpp, which we haven't included in the
    27798         build yet.  I've punted on that problem for now, but we'll come back to
    27799         it.
    27800 
    27801         * gyp/WebCore.gyp:
    27802 
    27803 2011-03-15  Adam Barth  <abarth@webkit.org>
    27804 
    27805         Reviewed by Dimitri Glazkov.
    27806 
    27807         WebCore GYP build should build bindings/
    27808         https://bugs.webkit.org/show_bug.cgi?id=56406
    27809 
    27810         I wanted to include bindings/objc in this patch, but they were somewhat
    27811         complicated.  It looks like they include headers from the output
    27812         directory (via PrivateHeaders), but we haven't wired up the
    27813         PrivateHeaders yet.
    27814 
    27815         * gyp/WebCore.gyp:
    27816 
    27817 2011-03-15  James Simonsen  <simonjam@chromium.org>
    27818 
    27819         Reviewed by Tony Gentilcore.
    27820 
    27821         Need different behavior for ensuring execution order of dynamically loaded scripts
    27822         https://bugs.webkit.org/show_bug.cgi?id=50115
    27823 
    27824         Dynamically added scripts with async=false will load in parallel, but execute in order.
    27825         See: http://www.whatwg.org/specs/web-apps/current-work/multipage/scripting-1.html#force-async
    27826 
    27827         Tests: fast/dom/HTMLScriptElement/script-async-attr.html
    27828                http/tests/misc/script-async-load-execute-in-order.html
    27829 
    27830         * Android.mk: Rename AsyncScriptRunner -> ScriptRunner.
    27831         * CMakeLists.txt: Ditto.
    27832         * GNUmakefile.am: Ditto.
    27833         * WebCore.gypi: Ditto.
    27834         * WebCore.pro: Ditto.
    27835         * WebCore.vcproj/WebCore.vcproj: Ditto.
    27836         * WebCore.xcodeproj/project.pbxproj: Ditto.
    27837         * dom/DOMAllInOne.cpp: Ditto.
    27838         * dom/Document.cpp:
    27839         (WebCore::Document::Document): Ditto.
    27840         (WebCore::Document::~Document): Ditto.
    27841         * dom/Document.h:
    27842         (WebCore::Document::scriptRunner): Ditto.
    27843         * dom/ScriptElement.cpp:
    27844         (WebCore::ScriptElement::ScriptElement): Added forceAsync and willExecuteInOrder.
    27845         (WebCore::ScriptElement::handleAsyncAttribute): Called by HTMLScriptElement when async attribute changes.
    27846         (WebCore::ScriptElement::prepareScript): Added support for forceAsync.
    27847         (WebCore::ScriptElement::notifyFinished): Tell ScriptRunner to execute in order if needed.
    27848         * dom/ScriptElement.h:
    27849         (WebCore::ScriptElement::forceAsync): Added.
    27850         * dom/ScriptRunner.cpp: Renamed from Source/WebCore/dom/AsyncScriptRunner.cpp.
    27851         (WebCore::ScriptRunner::ScriptRunner): Added in-order script queue.
    27852         (WebCore::ScriptRunner::~ScriptRunner): Ditto.
    27853         (WebCore::ScriptRunner::executeScriptSoon):
    27854         (WebCore::ScriptRunner::queueScriptForInOrderExecution): Added.
    27855         (WebCore::ScriptRunner::suspend):
    27856         (WebCore::ScriptRunner::resume):
    27857         (WebCore::ScriptRunner::timerFired): Execute in-order scripts if ready.
    27858         * dom/ScriptRunner.h: Renamed from Source/WebCore/dom/AsyncScriptRunner.h.
    27859         (WebCore::ScriptRunner::create):
    27860         (WebCore::ScriptRunner::hasPendingScripts): Check for in-order scripts too.
    27861         * html/HTMLScriptElement.cpp:
    27862         (WebCore::HTMLScriptElement::attributeChanged): Notify ScriptElement when async changes.
    27863         (WebCore::HTMLScriptElement::setAsync): Ditto.
    27864         (WebCore::HTMLScriptElement::async): Include forceAsync in calculation.
    27865         * html/HTMLScriptElement.h:
    27866         * html/HTMLScriptElement.idl: Removed Reflect from async for custom behavior.
    27867         * page/PageGroupLoadDeferrer.cpp:
    27868         (WebCore::PageGroupLoadDeferrer::PageGroupLoadDeferrer): Rename AsyncScriptRunner -> ScriptRunner.
    27869         (WebCore::PageGroupLoadDeferrer::~PageGroupLoadDeferrer): Ditto.
    27870 
    27871 2011-03-15  Tony Chang  <tony@chromium.org>
    27872 
    27873         Reviewed by Adam Barth.
    27874 
    27875         pngcrush images used by inspector
    27876         https://bugs.webkit.org/show_bug.cgi?id=56426
    27877 
    27878         This saves 120k in WebCore and 8k in WebKit/chromium.  I ran
    27879         pngcrush -brute, so none of the meta data (ancillary chunks)
    27880         are modified.
    27881 
    27882         No new tests, just compressing png files.
    27883 
    27884         * inspector/front-end/Images/applicationCache.png:
    27885         * inspector/front-end/Images/auditsIcon.png:
    27886         * inspector/front-end/Images/back.png:
    27887         * inspector/front-end/Images/breakpointBorder.png:
    27888         * inspector/front-end/Images/breakpointConditionalBorder.png:
    27889         * inspector/front-end/Images/breakpointConditionalCounterBorder.png:
    27890         * inspector/front-end/Images/breakpointCounterBorder.png:
    27891         * inspector/front-end/Images/breakpointsActivateButtonGlyph.png:
    27892         * inspector/front-end/Images/breakpointsDeactivateButtonGlyph.png:
    27893         * inspector/front-end/Images/checker.png:
    27894         * inspector/front-end/Images/clearConsoleButtonGlyph.png:
    27895         * inspector/front-end/Images/closeButtons.png:
    27896         * inspector/front-end/Images/consoleButtonGlyph.png:
    27897         * inspector/front-end/Images/consoleIcon.png:
    27898         * inspector/front-end/Images/cookie.png:
    27899         * inspector/front-end/Images/database.png:
    27900         * inspector/front-end/Images/databaseTable.png:
    27901         * inspector/front-end/Images/debuggerContinue.png:
    27902         * inspector/front-end/Images/debuggerPause.png:
    27903         * inspector/front-end/Images/debuggerStepInto.png:
    27904         * inspector/front-end/Images/debuggerStepOut.png:
    27905         * inspector/front-end/Images/debuggerStepOver.png:
    27906         * inspector/front-end/Images/disclosureTriangleSmallDown.png:
    27907         * inspector/front-end/Images/disclosureTriangleSmallDownBlack.png:
    27908         * inspector/front-end/Images/disclosureTriangleSmallDownWhite.png:
    27909         * inspector/front-end/Images/disclosureTriangleSmallRight.png:
    27910         * inspector/front-end/Images/disclosureTriangleSmallRightBlack.png:
    27911         * inspector/front-end/Images/disclosureTriangleSmallRightDown.png:
    27912         * inspector/front-end/Images/disclosureTriangleSmallRightDownBlack.png:
    27913         * inspector/front-end/Images/disclosureTriangleSmallRightDownWhite.png:
    27914         * inspector/front-end/Images/disclosureTriangleSmallRightWhite.png:
    27915         * inspector/front-end/Images/dockButtonGlyph.png:
    27916         * inspector/front-end/Images/elementsIcon.png:
    27917         * inspector/front-end/Images/enableOutlineButtonGlyph.png:
    27918         * inspector/front-end/Images/enableSolidButtonGlyph.png:
    27919         * inspector/front-end/Images/errorIcon.png:
    27920         * inspector/front-end/Images/errorMediumIcon.png:
    27921         * inspector/front-end/Images/errorRedDot.png:
    27922         * inspector/front-end/Images/excludeButtonGlyph.png:
    27923         * inspector/front-end/Images/focusButtonGlyph.png:
    27924         * inspector/front-end/Images/forward.png:
    27925         * inspector/front-end/Images/frame.png:
    27926         * inspector/front-end/Images/garbageCollectButtonGlyph.png:
    27927         * inspector/front-end/Images/gearButtonGlyph.png:
    27928         * inspector/front-end/Images/glossyHeader.png:
    27929         * inspector/front-end/Images/glossyHeaderPressed.png:
    27930         * inspector/front-end/Images/glossyHeaderSelected.png:
    27931         * inspector/front-end/Images/glossyHeaderSelectedPressed.png:
    27932         * inspector/front-end/Images/goArrow.png:
    27933         * inspector/front-end/Images/graphLabelCalloutLeft.png:
    27934         * inspector/front-end/Images/graphLabelCalloutRight.png:
    27935         * inspector/front-end/Images/helpButtonGlyph.png:
    27936         * inspector/front-end/Images/largerResourcesButtonGlyph.png:
    27937         * inspector/front-end/Images/localStorage.png:
    27938         * inspector/front-end/Images/networkIcon.png:
    27939         * inspector/front-end/Images/nodeSearchButtonGlyph.png:
    27940         * inspector/front-end/Images/paneAddButtons.png:
    27941         * inspector/front-end/Images/paneBottomGrow.png:
    27942         * inspector/front-end/Images/paneBottomGrowActive.png:
    27943         * inspector/front-end/Images/paneGrowHandleLine.png:
    27944         * inspector/front-end/Images/paneSettingsButtons.png:
    27945         * inspector/front-end/Images/pauseOnExceptionButtonGlyph.png:
    27946         * inspector/front-end/Images/percentButtonGlyph.png:
    27947         * inspector/front-end/Images/popoverArrows.png:
    27948         * inspector/front-end/Images/popoverBackground.png:
    27949         * inspector/front-end/Images/profileGroupIcon.png:
    27950         * inspector/front-end/Images/profileIcon.png:
    27951         * inspector/front-end/Images/profileSmallIcon.png:
    27952         * inspector/front-end/Images/profilesIcon.png:
    27953         * inspector/front-end/Images/profilesSilhouette.png:
    27954         * inspector/front-end/Images/programCounterBorder.png:
    27955         * inspector/front-end/Images/radioDot.png:
    27956         * inspector/front-end/Images/recordButtonGlyph.png:
    27957         * inspector/front-end/Images/recordToggledButtonGlyph.png:
    27958         * inspector/front-end/Images/reloadButtonGlyph.png:
    27959         * inspector/front-end/Images/resourceCSSIcon.png:
    27960         * inspector/front-end/Images/resourceDocumentIcon.png:
    27961         * inspector/front-end/Images/resourceDocumentIconSmall.png:
    27962         * inspector/front-end/Images/resourceJSIcon.png:
    27963         * inspector/front-end/Images/resourcePlainIcon.png:
    27964         * inspector/front-end/Images/resourcePlainIconSmall.png:
    27965         * inspector/front-end/Images/resourcesIcon.png:
    27966         * inspector/front-end/Images/resourcesSizeGraphIcon.png:
    27967         * inspector/front-end/Images/resourcesTimeGraphIcon.png:
    27968         * inspector/front-end/Images/scriptsIcon.png:
    27969         * inspector/front-end/Images/scriptsSilhouette.png:
    27970         * inspector/front-end/Images/searchSmallBlue.png:
    27971         * inspector/front-end/Images/searchSmallBrightBlue.png:
    27972         * inspector/front-end/Images/searchSmallGray.png:
    27973         * inspector/front-end/Images/searchSmallWhite.png:
    27974         * inspector/front-end/Images/segment.png:
    27975         * inspector/front-end/Images/segmentEnd.png:
    27976         * inspector/front-end/Images/segmentHover.png:
    27977         * inspector/front-end/Images/segmentHoverEnd.png:
    27978         * inspector/front-end/Images/segmentSelected.png:
    27979         * inspector/front-end/Images/segmentSelectedEnd.png:
    27980         * inspector/front-end/Images/sessionStorage.png:
    27981         * inspector/front-end/Images/splitviewDimple.png:
    27982         * inspector/front-end/Images/splitviewDividerBackground.png:
    27983         * inspector/front-end/Images/statusbarButtons.png:
    27984         * inspector/front-end/Images/statusbarMenuButton.png:
    27985         * inspector/front-end/Images/statusbarMenuButtonSelected.png:
    27986         * inspector/front-end/Images/statusbarResizerHorizontal.png:
    27987         * inspector/front-end/Images/statusbarResizerVertical.png:
    27988         * inspector/front-end/Images/successGreenDot.png:
    27989         * inspector/front-end/Images/thumbActiveHoriz.png:
    27990         * inspector/front-end/Images/thumbActiveVert.png:
    27991         * inspector/front-end/Images/thumbHoriz.png:
    27992         * inspector/front-end/Images/thumbHoverHoriz.png:
    27993         * inspector/front-end/Images/thumbHoverVert.png:
    27994         * inspector/front-end/Images/thumbVert.png:
    27995         * inspector/front-end/Images/timelineBarBlue.png:
    27996         * inspector/front-end/Images/timelineBarGray.png:
    27997         * inspector/front-end/Images/timelineBarGreen.png:
    27998         * inspector/front-end/Images/timelineBarOrange.png:
    27999         * inspector/front-end/Images/timelineBarPurple.png:
    28000         * inspector/front-end/Images/timelineBarRed.png:
    28001         * inspector/front-end/Images/timelineBarYellow.png:
    28002         * inspector/front-end/Images/timelineCheckmarks.png:
    28003         * inspector/front-end/Images/timelineDots.png:
    28004         * inspector/front-end/Images/timelineHollowPillBlue.png:
    28005         * inspector/front-end/Images/timelineHollowPillGray.png:
    28006         * inspector/front-end/Images/timelineHollowPillGreen.png:
    28007         * inspector/front-end/Images/timelineHollowPillOrange.png:
    28008         * inspector/front-end/Images/timelineHollowPillPurple.png:
    28009         * inspector/front-end/Images/timelineHollowPillRed.png:
    28010         * inspector/front-end/Images/timelineHollowPillYellow.png:
    28011         * inspector/front-end/Images/timelineIcon.png:
    28012         * inspector/front-end/Images/timelinePillBlue.png:
    28013         * inspector/front-end/Images/timelinePillGray.png:
    28014         * inspector/front-end/Images/timelinePillGreen.png:
    28015         * inspector/front-end/Images/timelinePillOrange.png:
    28016         * inspector/front-end/Images/timelinePillPurple.png:
    28017         * inspector/front-end/Images/timelinePillRed.png:
    28018         * inspector/front-end/Images/timelinePillYellow.png:
    28019         * inspector/front-end/Images/toolbarItemSelected.png:
    28020         * inspector/front-end/Images/trackHoriz.png:
    28021         * inspector/front-end/Images/trackVert.png:
    28022         * inspector/front-end/Images/treeDownTriangleBlack.png:
    28023         * inspector/front-end/Images/treeDownTriangleWhite.png:
    28024         * inspector/front-end/Images/treeRightTriangleBlack.png:
    28025         * inspector/front-end/Images/treeRightTriangleWhite.png:
    28026         * inspector/front-end/Images/treeUpTriangleBlack.png:
    28027         * inspector/front-end/Images/treeUpTriangleWhite.png:
    28028         * inspector/front-end/Images/undockButtonGlyph.png:
    28029         * inspector/front-end/Images/userInputIcon.png:
    28030         * inspector/front-end/Images/userInputPreviousIcon.png:
    28031         * inspector/front-end/Images/userInputResultIcon.png:
    28032         * inspector/front-end/Images/warningIcon.png:
    28033         * inspector/front-end/Images/warningMediumIcon.png:
    28034         * inspector/front-end/Images/warningOrangeDot.png:
    28035         * inspector/front-end/Images/warningsErrors.png:
    28036 
    28037 2011-03-15  Ryosuke Niwa  <rniwa@webkit.org>
    28038 
    28039         Reviewed by Tony Chang.
    28040 
    28041         Crash in ReplaceSelectionCommand::doApply when inserting a node under a document node
    28042         https://bugs.webkit.org/show_bug.cgi?id=56372
    28043 
    28044         The bug was caused by insertNodeAfter's calling parentElement on document's child.
    28045         Fixed this by changing the node that AppendNodeCommand takes.
    28046 
    28047         There was also a bug that document node always returned false for isContentEditable
    28048         and isContentRichlyEditable because they never overrode Node's default implementation.
    28049         Fixed this by overriding them in Document.
    28050 
    28051         Test: editing/execCommand/append-node-under-document.html
    28052 
    28053         * dom/Document.cpp:
    28054         (WebCore::Document::isContentEditable): Added.
    28055         (WebCore::Document::isContentRichlyEditable): Added.
    28056         * dom/Document.h:
    28057         * editing/AppendNodeCommand.cpp:
    28058         (WebCore::AppendNodeCommand::AppendNodeCommand): Takes ContainerNode instead of Element.
    28059         * editing/AppendNodeCommand.h:
    28060         (WebCore::AppendNodeCommand::create): Ditto.
    28061         * editing/CompositeEditCommand.cpp:
    28062         (WebCore::CompositeEditCommand::appendNode): Ditto.
    28063         (WebCore::CompositeEditCommand::insertNodeAfter): Calls parentNode instead of parentElement.
    28064         * editing/CompositeEditCommand.h:
    28065 
    28066 2011-03-15  David Grogan  <dgrogan@chromium.org>
    28067 
    28068         Reviewed by Jeremy Orlow.
    28069 
    28070         Fix crash caused by Invalid call to destroyActiveDOMObject during stopActiveDOMObjects
    28071         https://bugs.webkit.org/show_bug.cgi?id=56350
    28072 
    28073         When a frame is unloaded, ScriptExecutionContext::stopActiveDOMObjects
    28074         calls stop() on each ActiveDOMObject.
    28075 
    28076         Calling IDBDatabase::stop() can cause IDBDatabase to be destroyed:
    28077         * IDBDatabase::stop() causes the chrome message dispatcher to remove
    28078         its reference to IDBDatabase, which it has as type
    28079         IDBDatabaseCallbacks.
    28080         * If that reference is the last one, the IDBDatabase is destroyed.
    28081         * Destroying an ActiveDOMObject while they are being iterated over causes
    28082         a defensive crash.
    28083        
    28084         This change creates a separate IDBDatabaseCallbacks object that is not
    28085         an ActiveDOMObject, so it can be destroyed by
    28086         ScriptExecutionContext::stopActiveDOMObjects.
    28087        
    28088         Because the chrome message dispatcher is only used in multi-process
    28089         chromium, that's the only platform affected.  Chromium browser tests
    28090         forthcoming.
    28091 
    28092         * WebCore.gypi:
    28093         * storage/IDBDatabase.cpp:
    28094         (WebCore::IDBDatabase::IDBDatabase):
    28095         (WebCore::IDBDatabase::~IDBDatabase):
    28096         (WebCore::IDBDatabase::setVersion):
    28097         (WebCore::IDBDatabase::close):
    28098         (WebCore::IDBDatabase::open):
    28099         * storage/IDBDatabase.h:
    28100         * storage/IDBDatabaseCallbacks.h:
    28101         (WebCore::IDBDatabaseCallbacks::unRegisterDatabase):
    28102         * storage/IDBDatabaseCallbacksImpl.cpp: Copied from Source/WebCore/storage/IDBDatabaseCallbacks.h.
    28103         (WebCore::IDBDatabaseCallbacksImpl::create):
    28104         (WebCore::IDBDatabaseCallbacksImpl::IDBDatabaseCallbacksImpl):
    28105         (WebCore::IDBDatabaseCallbacksImpl::onVersionChange):
    28106         (WebCore::IDBDatabaseCallbacksImpl::unRegisterDatabase):
    28107         * storage/IDBDatabaseCallbacksImpl.h: Copied from Source/WebCore/storage/IDBDatabaseCallbacks.h.
    28108         (WebCore::IDBDatabaseCallbacksImpl::~IDBDatabaseCallbacksImpl):
    28109 
    28110 2011-03-15  Adam Barth  <abarth@webkit.org>
    28111 
    28112         Reviewed by Dimitri Glazkov.
    28113 
    28114         accessibility should build in WebCore GYP build
    28115         https://bugs.webkit.org/show_bug.cgi?id=56405
    28116 
    28117         This patch changes our include/exclude strategy to more closely match
    28118         the strategy used by the Chromium GYP build system.  Ideally, we'd find
    28119         a way to share more of these patterns.  In the meantime, I'm going to
    28120         slowly increase the number of translation units in the project and
    28121         adjust the include/exclude filters appropriately.
    28122 
    28123         * gyp/WebCore.gyp:
    28124 
    28125 2011-03-15  Alexey Proskuryakov  <ap@apple.com>
    28126 
    28127         Reviewed by Darin Adler.
    28128 
    28129         REGRESSION (WebKit2): keygen element doesn't work
    28130         https://bugs.webkit.org/show_bug.cgi?id=56402
    28131         <rdar://problem/9006545>
    28132 
    28133         Covered by existing regresison tests.
    28134 
    28135         * English.lproj/Localizable.strings:
    28136 
    28137         * WebCore.exp.in: Removed WebCoreKeyGenerator, which no longer exists. Added
    28138         _wkSignedPublicKeyAndChallengeString, so that this WKSI function could be used in WebCore.
    28139 
    28140         * platform/mac/SSLKeyGeneratorMac.mm: Removed.
    28141         * platform/mac/WebCoreKeyGenerator.h: Removed.
    28142         * platform/mac/WebCoreKeyGenerator.m: Removed.
    28143         * platform/mac/WebCoreSystemInterface.h:
    28144         * platform/mac/WebCoreSystemInterface.mm:
    28145         * WebCore.xcodeproj/project.pbxproj:
    28146         Renamed SSLKeyGeneratorMac.mm to .cpp, as it doesn't use any Objective C any more.
    28147         Removed WebCoreKeyGenerator, as we no longer need an interface to WebKit.
    28148 
    28149         * platform/LocalizationStrategy.h:
    28150         * platform/LocalizedStrings.cpp:
    28151         (WebCore::keygenMenuItem512):
    28152         (WebCore::keygenMenuItem1024):
    28153         (WebCore::keygenMenuItem2048):
    28154         (WebCore::keygenKeychainItemName):
    28155         * platform/LocalizedStrings.h:
    28156         Added strings used by keygen element, now that the code using them is in WebCore.
    28157 
    28158         * platform/mac/SSLKeyGeneratorMac.cpp: Copied from Source/WebCore/platform/mac/SSLKeyGeneratorMac.mm.
    28159         (WebCore::getSupportedKeySizes):
    28160         (WebCore::signedPublicKeyAndChallengeString):
    28161         Moved the code from WebKit. There is never any need to provide implementation at runtime,
    28162         like old code was doing.
    28163 
    28164         * platform/win/SSLKeyGeneratorWin.cpp: (WebCore::WebCore::getSupportedKeySizes):
    28165         Added a FIXME about localization. Note that Safari for Windows doesn't support keygen.
    28166 
    28167 2011-03-15  Anders Carlsson  <andersca@apple.com>
    28168 
    28169         Fix clang build.
    28170 
    28171         * platform/graphics/GraphicsContext3D.h:
    28172         * platform/graphics/GraphicsLayer.h:
    28173 
    28174 2011-03-15  Simon Fraser  <simon.fraser@apple.com>
    28175 
    28176         Fix Lion build after r81161.
    28177        
    28178         Pass the PlatformCALayer down into drawLayerContents()
    28179         so we can use its acceleratesDrawing() method.
    28180 
    28181         * platform/graphics/mac/WebLayer.h:
    28182         * platform/graphics/mac/WebLayer.mm:
    28183         (drawLayerContents):
    28184         (-[WebLayer drawInContext:]):
    28185         * platform/graphics/mac/WebTiledLayer.mm:
    28186         (-[WebTiledLayer drawInContext:]):
    28187 
    28188 2011-03-15  Alok priyadarshi  <alokp@chromium.org>
    28189 
    28190         Reviewed by James Robinson.
    28191 
    28192         Valgrind error due to uninitialized PluginLayerChromium::m_textureId
    28193         https://bugs.webkit.org/show_bug.cgi?id=56390
    28194 
    28195         * platform/graphics/chromium/PluginLayerChromium.cpp:
    28196         (WebCore::PluginLayerChromium::PluginLayerChromium):
    28197         * platform/graphics/chromium/PluginLayerChromium.h:
    28198         (WebCore::PluginLayerChromium::textureId):
    28199 
    28200 2011-03-14  Nikolas Zimmermann  <nzimmermann@rim.com>
    28201 
    28202         Reviewed by Dirk Schulze.
    28203 
    28204         REGRESSION (r68976): Incorrect bidi rendering in SVG text
    28205         https://bugs.webkit.org/show_bug.cgi?id=53980
    28206 
    28207         rework the test engine or SVG "text-intro" tests so we can turn them back on
    28208         https://bugs.webkit.org/show_bug.cgi?id=6524
    28209 
    28210         svg/W3C-SVG-1.1/text-intro-0*.svg fail when MS Office fonts are present
    28211         https://bugs.webkit.org/show_bug.cgi?id=11662
    28212 
    28213         svg/batik/text/textBiDi.svg failing
    28214         https://bugs.webkit.org/show_bug.cgi?id=17392
    28215 
    28216         SVG bidi examples at w3C I18N WG tutorials are not rendered correctly.
    28217         https://bugs.webkit.org/show_bug.cgi?id=24374
    28218 
    28219         Implement proper bidirectionality support for SVG text.
    28220 
    28221         BiDi didn't work properly until now, because the x/y/dx/dy/rotate value lists are stored in logical order (aka. in
    28222         the order the characters appear in the markup), and when laying out bidi text, we associated the current character
    28223         in visual order with the current x/y/dx/dy/rotate value in logical order, messing up RTL text layout.
    28224         The BiDi algorithm itself, inherited by RenderBlockLineLayout, works just fine, the inline box tree is correct.
    28225 
    28226         Long story:
    28227         Before the inline box tree is created, SVGTextLayoutAttributesBuilder builds a list of x/y/dx/dy/rotate/<text metrics>
    28228         for each RenderSVGInlineText* object, called SVGTextLayoutAttributes. This happens in logical order, as specified in
    28229         the markup. <text x="10 20" y="10">abcdef</text> creates a SVGTextLayoutAttributes object in the renderer associated with
    28230         "abcdef" that contains (10, 20) for x, (10) for y, the dx/dy/rotate lists are empty, and the SVGTextMetrics list holds 6
    28231         width/height values for each of the glyphs (and some other infromation, see SVGTextMetrics class).
    28232         The SVGTextLayoutAttributes object is _used by_ RenderBlockLineLayout when applying the BiDi algorithm as SVG demands
    28233         that BiDi reordering does not happen across text chunks (a text chunk is defined by an absolute position, eg. x="10").
    28234 
    28235         To summarize: SVGTextLayoutAttributes are stored in all RenderSVGInlineText renderers, caching the metrics of all
    28236         characters, their position based on the DOM attributes x/y/dx/dy/rotate. Using that information it's possible to
    28237         determine whether a position starts a new text chunk, and that's used by RenderBlockLineLayout to create the
    28238         inline box tree, in _visual order_, as it will appear on screen.
    28239 
    28240         After the inline box tree is created, the SVGRootInlineBox traverses its children in visual order and feeds the
    28241         found text boxes to SVGTextLayoutEngine, which lays out the text on a line or a path, according to SVG text layout
    28242         rules. For each character of the passed in InlineTextBox, it determines the x/y/dx/dy/rotate value, and the position
    28243         in the <text metrics> list of the renderer. The problem here is that the passed in text boxes are in visual order,
    28244         the x/y/.. lists are all in logical order.
    28245 
    28246         Example: <text direction="rtl" unicde-bidi="bidi-override" x="10 20">abcdef</text>, reverse the text direction:
    28247                  the visual order now is: "fedcba", where 'f' should be associated with x="10" and 'e' with x="20".
    28248 
    28249         Fix that problem, by computing a list of text boxes in _logical_ order in advance and pass it to SVGTextLayoutEngine,
    28250         before it starts processing the boxes in visual order, fed by SVGRootInlineBox. When laying oout text, we can now
    28251         process text in visual order, but grab the x/y/.. coordinates from the renderer in logical order.
    28252 
    28253         Some more work was needed to truly fix Arabic. The SVGTextLayoutAttributesBuilder measured all characters isolated,
    28254         which is not a problem with latin text, but results in wrong advances for Arabic text, as isolated forms, instead of
    28255         shaped forms are measured. This broke text-anchor support, text queries on Arabic text etc. Fixed now, covered by
    28256         dozens of new tests.
    28257 
    28258         Tests: svg/W3C-I18N/g-dirLTR-ubNone.svg
    28259                svg/W3C-I18N/g-dirLTR-ubOverride.svg
    28260                svg/W3C-I18N/g-dirRTL-ubNone.svg
    28261                svg/W3C-I18N/g-dirRTL-ubOverride.svg
    28262                svg/W3C-I18N/text-anchor-dirLTR-anchorEnd.svg
    28263                svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle.svg
    28264                svg/W3C-I18N/text-anchor-dirLTR-anchorStart.svg
    28265                svg/W3C-I18N/text-anchor-dirNone-anchorEnd.svg
    28266                svg/W3C-I18N/text-anchor-dirNone-anchorMiddle.svg
    28267                svg/W3C-I18N/text-anchor-dirNone-anchorStart.svg
    28268                svg/W3C-I18N/text-anchor-dirRTL-anchorEnd.svg
    28269                svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle.svg
    28270                svg/W3C-I18N/text-anchor-dirRTL-anchorStart.svg
    28271                svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd.svg
    28272                svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle.svg
    28273                svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart.svg
    28274                svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd.svg
    28275                svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle.svg
    28276                svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart.svg
    28277                svg/W3C-I18N/text-anchor-no-markup.svg
    28278                svg/W3C-I18N/text-dirLTR-ubNone.svg
    28279                svg/W3C-I18N/text-dirLTR-ubOverride.svg
    28280                svg/W3C-I18N/text-dirRTL-ubNone.svg
    28281                svg/W3C-I18N/text-dirRTL-ubOverride.svg
    28282                svg/W3C-I18N/tspan-dirLTR-ubEmbed-in-rtl-context.svg
    28283                svg/W3C-I18N/tspan-dirLTR-ubNone-in-rtl-context.svg
    28284                svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context.svg
    28285                svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context.svg
    28286                svg/W3C-I18N/tspan-dirLTR-ubOverride-in-rtl-context.svg
    28287                svg/W3C-I18N/tspan-dirNone-ubOverride-in-default-context.svg
    28288                svg/W3C-I18N/tspan-dirNone-ubOverride-in-ltr-context.svg
    28289                svg/W3C-I18N/tspan-dirNone-ubOverride-in-rtl-context.svg
    28290                svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-default-context.svg
    28291                svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-ltr-context.svg
    28292                svg/W3C-I18N/tspan-dirRTL-ubNone-in-default-context.svg
    28293                svg/W3C-I18N/tspan-dirRTL-ubNone-in-ltr-context.svg
    28294                svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context.svg
    28295                svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context.svg
    28296                svg/W3C-I18N/tspan-dirRTL-ubOverride-in-rtl-context.svg
    28297                svg/W3C-I18N/tspan-direction-ltr.svg
    28298                svg/W3C-I18N/tspan-direction-rtl.svg
    28299                svg/W3C-SVG-1.1-SE/text-intro-02-b.svg
    28300                svg/W3C-SVG-1.1-SE/text-intro-05-t.svg
    28301                svg/W3C-SVG-1.1-SE/text-intro-09-b.svg
    28302                svg/W3C-SVG-1.1/text-align-08-b.svg
    28303                svg/W3C-SVG-1.1/text-fonts-03-t.svg
    28304                svg/W3C-SVG-1.1/text-intro-01-t.svg
    28305                svg/W3C-SVG-1.1/text-intro-02-b.svg
    28306                svg/W3C-SVG-1.1/text-intro-03-b.svg
    28307                svg/W3C-SVG-1.1/text-intro-04-t.svg
    28308                svg/text/bidi-reorder-value-lists.svg
    28309                svg/text/bidi-text-anchor-direction.svg
    28310                svg/text/bidi-text-query.svg
    28311                svg/text/bidi-tspans.svg
    28312 
    28313         * rendering/RenderBlockLineLayout.cpp: Remove hack that forced LTR support when unicode-bidi="normal" and handling SVG text.
    28314         (WebCore::RenderBlock::determineStartPosition):
    28315         * rendering/svg/SVGInlineTextBox.cpp: s/fragment.positionListOffset/fragment.characterOffset/
    28316         (WebCore::SVGInlineTextBox::offsetForPositionInFragment):
    28317         (WebCore::SVGInlineTextBox::constructTextRun):
    28318         (WebCore::SVGInlineTextBox::mapStartEndPositionsIntoFragmentCoordinates):
    28319         * rendering/svg/SVGRenderTreeAsText.cpp: Ditto.
    28320         (WebCore::writeSVGInlineTextBox):
    28321         * rendering/svg/SVGRootInlineBox.cpp: Add new buildTextBoxListInLogicalOrder(), collecting all text boxes recursively in logical order (aka. as specified in markup).
    28322                                               This is needed as we have to process x/y/dx/dy/rotate value lists of text/tspan/.. elements in logical order, not in visual
    28323                                               order as the characters are presented on screen.
    28324         (WebCore::SVGRootInlineBox::computePerCharacterLayoutInformation):
    28325         (WebCore::SVGRootInlineBox::buildTextBoxListInLogicalOrder):
    28326         (WebCore::SVGRootInlineBox::layoutCharactersInTextBoxes):
    28327         * rendering/svg/SVGRootInlineBox.h:
    28328         * rendering/svg/SVGTextChunk.cpp: Cleanup code, minimize SVGTextChunks memory consumption.
    28329         (WebCore::SVGTextChunk::SVGTextChunk): A text chunk now know whether its base progress direction is left-to-right or right-to-left.
    28330         (WebCore::SVGTextChunk::calculateLength):
    28331         (WebCore::SVGTextChunk::calculateTextAnchorShift): Make text-anchor direction aware. text-anchor="start/end" meaning depends on the context (ltr vs. rtl).
    28332         * rendering/svg/SVGTextChunk.h: Adapt code, merging three members into a bitfield.
    28333         (WebCore::SVGTextChunk::isVerticalText):
    28334         (WebCore::SVGTextChunk::hasDesiredTextLength):
    28335         (WebCore::SVGTextChunk::hasTextAnchor):
    28336         (WebCore::SVGTextChunk::hasLengthAdjustSpacing):
    28337         (WebCore::SVGTextChunk::hasLengthAdjustSpacingAndGlyphs):
    28338         * rendering/svg/SVGTextChunkBuilder.cpp: Adapt to SVGTextChunk code changes.
    28339         (WebCore::SVGTextChunkBuilder::addTextChunk):
    28340         (WebCore::SVGTextChunkBuilder::processTextChunk):
    28341         * rendering/svg/SVGTextFragment.h: Add metricsListOffset, needed only while laying out text.
    28342         (WebCore::SVGTextFragment::SVGTextFragment): Rename positionListOffset to characterOffset, as it describes an offset in the textRenderer->characters() array.
    28343         * rendering/svg/SVGTextLayoutAttributesBuilder.cpp
    28344         (WebCore::SVGTextLayoutAttributesBuilder::propagateLayoutAttributes): Fix measuring Arabic text in LTR/RTL modes. Assure that each SVGTextMetrics object
    28345                                                                               that we cache, refers to the _rendered_ character. For Arabic text that means, that we're
    28346                                                                               measuring the shaped width of the glyph, not the glyph in its isolated form. Without that
    28347                                                                               fix reordering boxes containing Arabic is wrong.
    28348         * rendering/svg/SVGTextLayoutEngine.cpp: SVGTextLayoutEngine is fed with text boxes to be laid out in _visual_ order, left-to-right, after the BiDi algorithm
    28349                                                  has been applied by RenderBlockLineLayout to create the inline box tree. The coordinates lists x/y/dx/dy/rotate have
    28350                                                  to be processed in _logical_ order. SVGRootInlineBox now passes a list of text boxes in logical order to SVGTextLayoutEngine,
    28351                                                  to assure it grabs the coordinates from the correct InlineTextBox. See examples at the top of the ChangeLog.
    28352         (WebCore::SVGTextLayoutEngine::SVGTextLayoutEngine):
    28353         (WebCore::SVGTextLayoutEngine::recordTextFragment): No need to measure text here anymore, SVGTextLayoutAttributesBuilder now provides exact advances for each glyph.
    28354                                                             The width of a SVGTextFragment is always equal to the sum of each glyph advance. (This was not the case for
    28355                                                             Arabic until now.)
    28356         (WebCore::SVGTextLayoutEngine::finalizeTransformMatrices):
    28357         (WebCore::SVGTextLayoutEngine::nextLogicalBoxAndOffset): Computes the next logical box and the offset to the next coordinate value in its position list.
    28358         (WebCore::SVGTextLayoutEngine::layoutTextOnLineOrPath):
    28359         * rendering/svg/SVGTextLayoutEngine.h: Add CharacterRange helper struct.
    28360         (WebCore::SVGTextLayoutEngine::CharacterRange::CharacterRange):
    28361         * rendering/svg/SVGTextMetrics.cpp: Remove unused measureAllCharactersIndividually() method.
    28362         (WebCore::constructTextRun): Pass direction and unicode-bidi="override" values to the TextRun, otherwhise LTR is always asumed.
    28363         * rendering/svg/SVGTextMetrics.h:
    28364         (WebCore::SVGTextMetrics::setWidth): Add private setter, only SVGTextLayoutAttributesBuilder is allowed to modify the metrics (to fix up glyph widths for Arabic).
    28365         * rendering/svg/SVGTextQuery.cpp: s/fragment.positionListOffset/fragment.characterOffset/
    28366         (WebCore::SVGTextQuery::subStringLengthCallback):
    28367         (WebCore::SVGTextQuery::startPositionOfCharacterCallback):
    28368         (WebCore::SVGTextQuery::endPositionOfCharacterCallback):
    28369         (WebCore::calculateGlyphBoundaries):
    28370 
    28371 2011-03-15  Sergio Villar Senin  <svillar@igalia.com>
    28372 
    28373         Reviewed by Xan Lopez.
    28374 
    28375         [GTK] Fix make distcheck for 1.3.13 release
    28376         https://bugs.webkit.org/show_bug.cgi?id=56371
    28377 
    28378         No new tests as this is a build fix.
    28379 
    28380         * GNUmakefile.am: added a couple of missing files.
    28381 
    28382 2011-03-08  Levi Weintraub  <leviw@chromium.org>
    28383 
    28384         Reviewed by Ryosuke Niwa.
    28385 
    28386         Get rid of firstDeepEditingPositionForNode and lastDeepEditingPositionForNode
    28387         https://bugs.webkit.org/show_bug.cgi?id=52642
    28388 
    28389         Replacing calls to first/lastDeepEditingPositionForNode with calls to their analogous
    28390         functions that create new positions. Also fixing various parts of editing code that
    28391         incorrectly handled the new positions now being created.
    28392 
    28393         No new tests as this is refactoring/cleanup.
    28394 
    28395         * accessibility/AccessibilityRenderObject.cpp:
    28396         (WebCore::AccessibilityRenderObject::visiblePositionRange):
    28397         * dom/Position.cpp:
    28398         (WebCore::Position::parentAnchoredEquivalent):
    28399         (WebCore::Position::previous):
    28400         (WebCore::Position::next):
    28401         (WebCore::Position::atFirstEditingPositionForNode):
    28402         (WebCore::Position::atLastEditingPositionForNode):
    28403         (WebCore::Position::upstream):
    28404         (WebCore::Position::isCandidate):
    28405         (WebCore::Position::getInlineBoxAndOffset):
    28406         * dom/Position.h:
    28407         (WebCore::operator==):
    28408         * dom/PositionIterator.cpp:
    28409         (WebCore::PositionIterator::operator Position):
    28410         * editing/ApplyBlockElementCommand.cpp:
    28411         (WebCore::ApplyBlockElementCommand::rangeForParagraphSplittingTextNodesIfNeeded):
    28412         * editing/CompositeEditCommand.cpp:
    28413         (WebCore::CompositeEditCommand::positionAvoidingSpecialElementBoundary):
    28414         * editing/DeleteSelectionCommand.cpp:
    28415         (WebCore::isTableCellEmpty):
    28416         (WebCore::DeleteSelectionCommand::removeNode):
    28417         * editing/InsertLineBreakCommand.cpp:
    28418         (WebCore::InsertLineBreakCommand::doApply):
    28419         * editing/InsertListCommand.cpp:
    28420         (WebCore::InsertListCommand::unlistifyParagraph):
    28421         * editing/ReplaceSelectionCommand.cpp:
    28422         (WebCore::ReplaceSelectionCommand::positionAtEndOfInsertedContent):
    28423         * editing/TypingCommand.cpp:
    28424         (WebCore::TypingCommand::forwardDeleteKeyPressed):
    28425         * editing/VisibleSelection.cpp:
    28426         (WebCore::VisibleSelection::selectionFromContentsOfNode):
    28427         (WebCore::VisibleSelection::adjustSelectionToAvoidCrossingEditingBoundaries):
    28428         * editing/htmlediting.cpp:
    28429         (WebCore::firstEditablePositionAfterPositionInRoot):
    28430         (WebCore::lastEditablePositionBeforePositionInRoot):
    28431         (WebCore::enclosingEmptyListItem):
    28432         * editing/htmlediting.h:
    28433         * editing/visible_units.cpp:
    28434         (WebCore::startOfParagraph):
    28435         (WebCore::endOfParagraph):
    28436         (WebCore::startOfEditableContent):
    28437         (WebCore::endOfEditableContent):
    28438         * rendering/RenderBox.cpp:
    28439         (WebCore::RenderBox::positionForPoint):
    28440 
    28441 2011-03-15  Beth Dakin  <bdakin@apple.com>
    28442 
    28443         Attempted build fix.
    28444 
    28445         * platform/mac/ScrollAnimatorMac.mm:
    28446         (WebCore::ScrollAnimatorMac::cancelAnimations):
    28447 
    28448 2011-03-15  David Hyatt  <hyatt@apple.com>
    28449 
    28450         Reviewed by Dave Levin.
    28451 
    28452         https://bugs.webkit.org/show_bug.cgi?id=56329
    28453 
    28454         Fix FontCache problems on Linux.  Make sure not to mutate the platform data passed in to SimpleFontData's
    28455         constructor.  Change this code to match Mac and to set the new m_hasVerticalGlyphs boolean instead of
    28456         mutating orientation.
    28457 
    28458         * platform/graphics/chromium/SimpleFontDataLinux.cpp:
    28459         (WebCore::SimpleFontData::platformInit):
    28460 
    28461 2011-03-15  Simon Fraser  <simon.fraser@apple.com>
    28462 
    28463         Reviewed by Dan Bernstein.
    28464 
    28465         Disable ShadowBlur shadow drawing in accelerated contexts
    28466         https://bugs.webkit.org/show_bug.cgi?id=56392
    28467 
    28468         When drawing into a graphics context that is accelerated, don't use
    28469         ShadowBlur, because it may be slower.
    28470        
    28471         * platform/graphics/GraphicsContext.h:
    28472         * platform/graphics/cg/GraphicsContextCG.cpp:
    28473         (WebCore::GraphicsContext::fillRect):
    28474         (WebCore::GraphicsContext::fillRoundedRect):
    28475         (WebCore::GraphicsContext::fillRectWithRoundedHole):
    28476         (WebCore::GraphicsContext::setIsCALayerContext):
    28477         (WebCore::GraphicsContext::isCALayerContext):
    28478         (WebCore::GraphicsContext::setIsAcceleratedContext):
    28479         (WebCore::GraphicsContext::isAcceleratedContext):
    28480         * platform/graphics/cg/GraphicsContextPlatformPrivateCG.h:
    28481         (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate):
    28482         * platform/graphics/mac/WebLayer.mm:
    28483         (drawLayerContents):
    28484 
    28485 2011-03-15  Beth Dakin  <bdakin@apple.com>
    28486 
    28487         Reviewed by Simon Fraser.
    28488 
    28489         Fix for <rdar://problem/9075624> Overlay scrollbars slow down PLT by 6%
    28490 
    28491         Tell the ScrollAnimator to cancelAnimations() since we are navigating to a new
    28492         page.
    28493         * loader/FrameLoader.cpp:
    28494         (WebCore::FrameLoader::transitionToCommitted):
    28495        
    28496         Scroll animations should be suspended if the FrameLoadState is anything but
    28497         complete.
    28498         * page/FrameView.cpp:
    28499         (WebCore::FrameView::shouldSuspendScrollAnimations):
    28500         * page/FrameView.h:
    28501         * platform/ScrollableArea.h:
    28502         (WebCore::ScrollableArea::shouldSuspendScrollAnimations):
    28503         * rendering/RenderDataGrid.cpp:
    28504         (WebCore::RenderDataGrid::shouldSuspendScrollAnimations):
    28505         * rendering/RenderDataGrid.h:
    28506         * rendering/RenderLayer.cpp:
    28507         (WebCore::RenderLayer::shouldSuspendScrollAnimations):
    28508         * rendering/RenderLayer.h:
    28509         * rendering/RenderListBox.cpp:
    28510         (WebCore::RenderListBox::shouldSuspendScrollAnimations):
    28511         * rendering/RenderListBox.h:
    28512 
    28513         New virtual function cancelAnimations() is only needed on the Mac, so the base
    28514         class is empty.
    28515         * platform/ScrollAnimator.h:
    28516         (WebCore::ScrollAnimator::cancelAnimations):
    28517 
    28518         ScrollAnimatorMac needs to keep track of whether the page has been scrolled since
    28519         it started loading. If so, we will override optimizations that wait for the
    28520         FrameLoadState to be complete before animating scrollbars.
    28521         * platform/mac/ScrollAnimatorMac.h:
    28522         (WebCore::ScrollAnimatorMac::haveScrolledSincePageLoad):
    28523 
    28524         If the scrollbar animations should be suspended, we start a timer to make sure
    28525         that we do flash the scrollbars. Animating the scrollbars is expensive, so this is
    28526         both a performance optimization and a UI enhancement since the scrollbar won't
    28527         jump around nearly as much on a page load.
    28528         * platform/mac/ScrollAnimatorMac.mm:
    28529         (-[ScrollbarPainterDelegate cancelAnimations]):
    28530         (-[ScrollbarPainterDelegate scrollerImp:animateKnobAlphaTo:duration:]):
    28531         (-[ScrollbarPainterDelegate scrollerImp:animateTrackAlphaTo:duration:]):
    28532         (-[ScrollbarPainterDelegate scrollerImp:overlayScrollerStateChangedTo:]):
    28533         (WebCore::ScrollAnimatorMac::ScrollAnimatorMac):
    28534         (WebCore::ScrollAnimatorMac::scroll):
    28535         (WebCore::ScrollAnimatorMac::handleWheelEvent):
    28536         (WebCore::ScrollAnimatorMac::cancelAnimations):
    28537         (WebCore::ScrollAnimatorMac::smoothScrollWithEvent):
    28538         (WebCore::ScrollAnimatorMac::beginScrollGesture):
    28539         (WebCore::ScrollAnimatorMac::startScrollbarPaintTimer):
    28540         (WebCore::ScrollAnimatorMac::scrollbarPaintTimerIsActive):
    28541         (WebCore::ScrollAnimatorMac::stopScrollbarPaintTimer):
    28542         (WebCore::ScrollAnimatorMac::initialScrollbarPaintTimerFired):
    28543 
    28544         New WebCoreSystemInterface function to force the scrollbars to flash
    28545         * WebCore.exp.in:
    28546         * platform/mac/WebCoreSystemInterface.h:
    28547         * platform/mac/WebCoreSystemInterface.mm:
    28548 
    28549 2011-03-15  Dimitri Glazkov  <dglazkov@chromium.org>
    28550 
    28551         Reviewed by Adam Barth.
    28552 
    28553         Remove stale comment at RenderStyle::diff.
    28554         https://bugs.webkit.org/show_bug.cgi?id=56387
    28555 
    28556         * rendering/style/RenderStyle.cpp: Removed comment.
    28557 
    28558 2011-03-15  David Kilzer  <ddkilzer@apple.com>
    28559 
    28560         <http://webkit.org/b/56381> Objective-C classes should be typedef-ed as structs (not void*) in C++
    28561 
    28562         Reviewed by Simon Fraser.
    28563 
    28564         Typedef-ing Objective-C classes as void* for pure C++ makes it
    28565         easier for bugs to creep in because compilers can't do any type
    28566         checking for void pointers.
    28567 
    28568         * platform/graphics/GraphicsContext3D.h: Changed typedef
    28569         declarations for CALayer and WebGLLayer from void* to structs.
    28570         (WebCore::GraphicsContext3D::platformLayer): Changed
    28571         static_cast<CALayer*> to reinterpret_cast<CALayer*> now that
    28572         CALayer and WebGLLayer are not void pointers.
    28573         * platform/graphics/GraphicsLayer.h: Changed typedef declaration
    28574         for PlatformLayer from void* to struct CALayer.
    28575         * platform/graphics/ca/PlatformCAAnimation.h: Changed typedef
    28576         declaration for CAPropertyAnimation from void* to a struct.
    28577         Extracted typdef for PlatformAnimationRef.
    28578 
    28579 2011-03-15  Ilya Sherman  <isherman@chromium.org>
    28580 
    28581         Reviewed by Tony Chang.
    28582 
    28583         Autofilled form elements are assigned fixed background color but not text color
    28584         https://bugs.webkit.org/show_bug.cgi?id=48382
    28585 
    28586         Test: fast/forms/input-autofilled.html
    28587 
    28588         * css/html.css:
    28589         (input:-webkit-autofill): Added foreground color: #000000
    28590         * css/wml.css:
    28591         (input:-webkit-autofill): Added foreground color: #000000
    28592 
    28593 2011-03-15  Alexis Menard  <alexis.menard@openbossa.org>
    28594 
    28595         Reviewed by Eric Carlson.
    28596 
    28597         HTMLMediaElement::mediaPlayerPlaybackStateChanged should not change the "public" state of the element
    28598         if it's an internal pause for example.
    28599         https://bugs.webkit.org/show_bug.cgi?id=56374
    28600 
    28601         In case of an internal pause, the callback from the mediaplayer should be ignored to avoid reflecting the
    28602         change into the DOM.
    28603 
    28604         No new tests: Verified manually.
    28605 
    28606         * html/HTMLMediaElement.cpp:
    28607         (WebCore::HTMLMediaElement::mediaPlayerPlaybackStateChanged):
    28608 
    28609 2011-03-12  Pavel Podivilov  <podivilov@chromium.org>
    28610 
    28611         Reviewed by Yury Semikhatsky.
    28612 
    28613         Web Inspector: re-implement xhr breakpoints.
    28614         https://bugs.webkit.org/show_bug.cgi?id=56252
    28615 
    28616         - restore xhr breakpoints one by one instead of using setAllBrowserBreakpoints
    28617         - store xhr breakpoints in a separate setting
    28618         - move presentation-related code from BreakpointManager to XHRBreakpointsSidebarPane
    28619 
    28620         Test: inspector/debugger/xhr-breakpoints.html
    28621 
    28622         * inspector/InspectorBrowserDebuggerAgent.cpp:
    28623         (WebCore::InspectorBrowserDebuggerAgent::InspectorBrowserDebuggerAgent):
    28624         (WebCore::InspectorBrowserDebuggerAgent::inspectedURLChanged):
    28625         (WebCore::InspectorBrowserDebuggerAgent::restoreStickyBreakpoint):
    28626         (WebCore::InspectorBrowserDebuggerAgent::setXHRBreakpoint):
    28627         (WebCore::InspectorBrowserDebuggerAgent::removeXHRBreakpoint):
    28628         (WebCore::InspectorBrowserDebuggerAgent::willSendXMLHttpRequest):
    28629         (WebCore::InspectorBrowserDebuggerAgent::clear):
    28630         * inspector/InspectorBrowserDebuggerAgent.h:
    28631         * inspector/front-end/BreakpointManager.js:
    28632         (WebInspector.BreakpointManager.prototype.setXHRBreakpoint):
    28633         (WebInspector.BreakpointManager.prototype.removeXHRBreakpoint):
    28634         (WebInspector.BreakpointManager.prototype.breakpointViewForEventData):
    28635         (WebInspector.BreakpointManager.prototype._projectChanged):
    28636         (WebInspector.BreakpointManager.prototype._validateBreakpoints):
    28637         (WebInspector.BreakpointManager.prototype._createEventListenerBreakpointId):
    28638         * inspector/front-end/BreakpointsSidebarPane.js:
    28639         (WebInspector.XHRBreakpointsSidebarPane):
    28640         (WebInspector.XHRBreakpointsSidebarPane.prototype._addButtonClicked.finishEditing):
    28641         (WebInspector.XHRBreakpointsSidebarPane.prototype._addButtonClicked):
    28642         (WebInspector.XHRBreakpointsSidebarPane.prototype._setBreakpoint):
    28643         (WebInspector.XHRBreakpointsSidebarPane.prototype._removeBreakpoint):
    28644         (WebInspector.XHRBreakpointsSidebarPane.prototype._contextMenu.removeBreakpoint):
    28645         (WebInspector.XHRBreakpointsSidebarPane.prototype._contextMenu):
    28646         (WebInspector.XHRBreakpointsSidebarPane.prototype._checkboxClicked):
    28647         (WebInspector.XHRBreakpointsSidebarPane.prototype._labelClicked.finishEditing):
    28648         (WebInspector.XHRBreakpointsSidebarPane.prototype._labelClicked):
    28649         (WebInspector.XHRBreakpointsSidebarPane.prototype.highlightBreakpoint):
    28650         (WebInspector.XHRBreakpointsSidebarPane.prototype.clearBreakpointHighlight):
    28651         (WebInspector.XHRBreakpointsSidebarPane.prototype._saveBreakpoints):
    28652         (WebInspector.XHRBreakpointsSidebarPane.prototype._restoreBreakpoints):
    28653         (WebInspector.XHRBreakpointsSidebarPane.prototype._projectChanged):
    28654         * inspector/front-end/CallStackSidebarPane.js:
    28655         (WebInspector.CallStackSidebarPane.prototype.update):
    28656         (WebInspector.CallStackSidebarPane.prototype._xhrBreakpointHit):
    28657         * inspector/front-end/ScriptsPanel.js:
    28658         (WebInspector.ScriptsPanel):
    28659         (WebInspector.ScriptsPanel.prototype._debuggerPaused):
    28660         (WebInspector.ScriptsPanel.prototype._clearInterface):
    28661         * inspector/front-end/Settings.js:
    28662         (WebInspector.Settings):
    28663         * inspector/front-end/inspector.js:
    28664         (WebInspector.resetFocusElement):
    28665         (WebInspector.set attached):
    28666 
    28667 2011-03-15  Kevin Ollivier  <kevino@theolliviers.com>
    28668 
    28669         Reviewed by Darin Adler.
    28670 
    28671         Introduce WTF_USE_EXPORT_MACROS, which will allow us to put shared library import/export
    28672         info into the headers rather than in export symbol definition files, but disable it on
    28673         all platforms initially so we can deal with port build issues one port at a time.
    28674        
    28675         https://bugs.webkit.org/show_bug.cgi?id=27551
    28676 
    28677         * config.h:
    28678         * platform/mac/LoggingMac.mm:
    28679 
    28680 2011-03-15  Ilya Tikhonovsky  <loislo@chromium.org>
    28681 
    28682         Unreviewed build fix.
    28683 
    28684         Chromium: shared lib linux build are failing.
    28685 
    28686         Two exclude rules for LocalizedNumberNone and TextEncodingDetectorNone were added to the wrong library.
    28687         It was webcore_remaining instead of webcore_platform.
    28688 
    28689         * WebCore.gyp/WebCore.gyp:
    28690 
    28691 2011-03-15  Yury Semikhatsky  <yurys@chromium.org>
    28692 
    28693         Reviewed by Pavel Feldman.
    28694 
    28695         Web Inspector: expanding/collapsing object shouldn&apos;t affect outer console.group expansion state
    28696         https://bugs.webkit.org/show_bug.cgi?id=56373
    28697 
    28698         * inspector/front-end/Section.js:
    28699         (WebInspector.Section):
    28700         (WebInspector.Section.prototype.toggleExpanded):
    28701         (WebInspector.Section.prototype.handleClick): stop click even propagation if it was handled by this section.
    28702 
    28703 2011-03-15  Pavel Feldman  <pfeldman@chromium.org>
    28704 
    28705         Reviewed by Yury Semikhatsky.
    28706 
    28707         Web Inspector: crash upon "//html//@id" search in elements panel.
    28708         https://bugs.webkit.org/show_bug.cgi?id=56334
    28709 
    28710         * inspector/InspectorDOMAgent.cpp:
    28711         * inspector/front-end/ElementsTreeOutline.js:
    28712 
    28713 2011-03-15  Andrey Kosyakov  <caseq@chromium.org>
    28714 
    28715         Reviewed by Yury Semikhatsky.
    28716 
    28717         Web Inspector: further extension API cleanup (removed inspectedPage, add experimental prefix)
    28718         https://bugs.webkit.org/show_bug.cgi?id=56327
    28719 
    28720         * inspector/front-end/ExtensionAPI.js:
    28721         (WebInspector.injectedExtensionAPI):
    28722         * inspector/front-end/ExtensionAPISchema.json:
    28723 
    28724 2011-03-15  Yury Semikhatsky  <yurys@chromium.org>
    28725 
    28726         Reviewed by Pavel Feldman.
    28727 
    28728         Web Inspector: when console.groupEnd calls twice
    28729         https://bugs.webkit.org/show_bug.cgi?id=56114
    28730 
    28731         Test: inspector/console/console-nested-group.html
    28732 
    28733         * inspector/ConsoleMessage.h:
    28734         (WebCore::ConsoleMessage::type):
    28735         * inspector/InspectorConsoleAgent.cpp:
    28736         (WebCore::InspectorConsoleAgent::addConsoleMessage): do not coalesce adjacent EndGroup messages.
    28737 
    28738 2011-03-15  Chris Mumford  <chris.mumford@palm.com>
    28739 
    28740         Reviewed by Adam Barth.
    28741 
    28742         Initializing several member variables that were not initialized in
    28743         their constructors. These values were all read prior to initialization
    28744         as reported by Valgrind.
    28745 
    28746         No new tests: No feature additions/removals.
    28747 
    28748         * accessibility/AccessibilityImageMapLink.cpp:
    28749         (WebCore::AccessibilityImageMapLink::AccessibilityImageMapLink):
    28750         * editing/DeleteSelectionCommand.cpp:
    28751         (WebCore::DeleteSelectionCommand::DeleteSelectionCommand):
    28752         * html/HTMLCanvasElement.cpp:
    28753         (WebCore::HTMLCanvasElement::HTMLCanvasElement):
    28754         * xml/XPathResult.cpp:
    28755         (WebCore::XPathResult::XPathResult):
    28756 
    28757 2011-03-15  Ben Taylor  <bentaylor.solx86@gmail.com>
    28758 
    28759         Reviewed by Adam Barth.
    28760 
    28761         https://bugs.webkit.org/show_bug.cgi?id=56255
    28762         Fix build on Solaris 10/Sun Studio 12 C++
    28763 
    28764         No new tests. This is to fix compilation on Solaris 10 with Sun Studio 12 C++
    28765 
    28766         * bridge/runtime_array.h:
    28767         (JSC::RuntimeArray::getConcreteArray):
    28768 
    28769 2011-03-14  Sam Weinig  <sam@webkit.org>
    28770 
    28771         Reviewed by Adam Roben
    28772 
    28773         about:blank fake responses don't get serialized when sent the UIProcess
    28774         <rdar://problem/9108119>
    28775         https://bugs.webkit.org/show_bug.cgi?id=56357
    28776 
    28777         Test: AboutBlankLoad
    28778 
    28779         * platform/network/cf/ResourceResponse.h:
    28780         * platform/network/cf/ResourceResponseCFNet.cpp:
    28781         (WebCore::ResourceResponse::cfURLResponse):
    28782         Create a CFURLResponseRef if one does not exist yet as we do for
    28783         NSURLResponses on the mac.
    28784 
    28785 2011-03-14  Alexis Menard  <alexis.menard@openbossa.org>
    28786 
    28787         Reviewed by Kenneth Rohde Christiansen.
    28788 
    28789         [Qt] Seeking videos using the timeline bar does not work properly and stop the video playback.
    28790         https://bugs.webkit.org/show_bug.cgi?id=56145
    28791 
    28792         We do not need seekTimeout and queuedSeekTimeout anymore. setPosition on QMediaPlayer is good enough.
    28793         positionChanged() will be emitted when the data is buffered. On Linux the signal was not emitted because
    28794         of a bug in QtMultimedia.
    28795 
    28796         * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
    28797         (WebCore::MediaPlayerPrivateQt::MediaPlayerPrivateQt):
    28798         (WebCore::MediaPlayerPrivateQt::seek):
    28799         (WebCore::MediaPlayerPrivateQt::stateChanged):
    28800         (WebCore::MediaPlayerPrivateQt::positionChanged):
    28801         * platform/graphics/qt/MediaPlayerPrivateQt.h:
    28802 
    28803 2011-03-14  Alexey Proskuryakov  <ap@apple.com>
    28804 
    28805         Reviewed by Adam Roben.
    28806 
    28807         https://bugs.webkit.org/show_bug.cgi?id=44138
    28808         Crash beneath SocketStreamHandle::readStreamCallback when running websocket/tests/workers/worker-handshake-challenge-randomness.html
    28809 
    28810         https://bugs.webkit.org/show_bug.cgi?id=55375
    28811         http/tests/websocket/tests/reload-crash.html sometimes crashes beneath SocketStreamHandle::readStreamCallback on Windows
    28812 
    28813         https://bugs.webkit.org/show_bug.cgi?id=56185
    28814         http/tests/websocket/tests/url-with-credential.html sometimes crashes beneath SocketStreamHandle::readStreamCallback on Windows
    28815 
    28816         * platform/network/cf/SocketStreamHandle.h: Made SocketStreamHandle ThreadSafeShared, so that
    28817         a pointer can be passed across threads when wrapped in a RefPtr.
    28818 
    28819         * platform/network/cf/SocketStreamHandleCFNet.cpp: Make sure that an object still exists
    28820         when executing a method on main thread by using RefPtr.
    28821 
    28822 2011-03-14  Sam Weinig  <sam@webkit.org>
    28823 
    28824         Mac build fix. Part 1 of N.
    28825 
    28826         * WebCore.exp.in:
    28827 
    28828 2011-03-14  Joseph Pecoraro  <joepeck@webkit.org>
    28829 
    28830         Reviewed by Eric Carlson.
    28831 
    28832         Stalled media elements don't stop delaying the load event
    28833         https://bugs.webkit.org/show_bug.cgi?id=56316
    28834 
    28835         We should stop delaying the load event when the load has
    28836         stalled naturally, or if we require a user gesture to
    28837         continue the load.
    28838 
    28839         Test: http/tests/media/video-play-stall-before-meta-data.html
    28840 
    28841         * html/HTMLMediaElement.cpp:
    28842         (WebCore::HTMLMediaElement::setNetworkState): when suspending, stop delaying.
    28843         (WebCore::HTMLMediaElement::progressEventTimerFired): when stalling, stop delaying.
    28844 
    28845 2011-03-13  MORITA Hajime  <morrita@google.com>
    28846 
    28847         Reviewed by Tony Chang.
    28848 
    28849         Crash when dragging and dropping in a document with an invalid XHTML header
    28850         https://bugs.webkit.org/show_bug.cgi?id=48799
    28851 
    28852         DragController tried to dispatch textInput event even when the
    28853         drag destination is not the editable area.
    28854         This change skips the event dispatching on that case.
    28855        
    28856         Test: editing/pasteboard/drop-file-svg.html
    28857 
    28858         * page/DragController.cpp:
    28859         (WebCore::DragController::dispatchTextInputEventFor):
    28860         (WebCore::DragController::concludeEditDrag):
    28861 
    28862 2011-03-14  Sheriff Bot  <webkit.review.bot@gmail.com>
    28863 
    28864         Unreviewed, rolling out r81094.
    28865         http://trac.webkit.org/changeset/81094
    28866         https://bugs.webkit.org/show_bug.cgi?id=56355
    28867 
    28868         Broke the chromium DRT related build. (Requested by dave_levin
    28869         on #webkit).
    28870 
    28871         * WebCore.exp.in:
    28872         * WebCore.order:
    28873         * page/Frame.cpp:
    28874         (WebCore::Frame::layerTreeAsText):
    28875         * page/Frame.h:
    28876         * rendering/RenderLayerCompositor.cpp:
    28877         (WebCore::RenderLayerCompositor::layerTreeAsText):
    28878         * rendering/RenderLayerCompositor.h:
    28879 
    28880 2011-03-14  Adam Barth  <abarth@webkit.org>
    28881 
    28882         Apparently we need to exclude DefaultSharedWorkerRepository.cpp from
    28883         the Chromium build, otherwise the objects visible in the global scope
    28884         change.
    28885 
    28886         * WebCore.gyp/WebCore.gyp:
    28887 
    28888 2011-03-14  Adam Barth  <abarth@webkit.org>
    28889 
    28890         Attempted Chromium build fix.  Exclude AllInOne harder.
    28891 
    28892         * WebCore.gyp/WebCore.gyp:
    28893 
    28894 2011-03-14  Ryosuke Niwa  <rniwa@webkit.org>
    28895 
    28896         Reviewed by Darin Adler.
    28897 
    28898         EventHandler calls shouldChangeSelection needlessly
    28899         https://bugs.webkit.org/show_bug.cgi?id=56324
    28900 
    28901         Extracted setSelectionIfNeeded and setNonDirectionalSelectionIfNeeded and
    28902         avoided calling shouldChangeSelection and setSelection when the existing
    28903         selection is identical to that of new selection.
    28904 
    28905         * page/EventHandler.cpp:
    28906         (WebCore::setSelectionIfNeeded): Extracted.
    28907         (WebCore::setNonDirectionalSelectionIfNeeded): Extracted.
    28908         (WebCore::EventHandler::selectClosestWordFromMouseEvent): Calls a helper function above.
    28909         (WebCore::EventHandler::selectClosestWordOrLinkFromMouseEvent): Ditto.
    28910         (WebCore::EventHandler::handleMousePressEventTripleClick): Ditto.
    28911         (WebCore::EventHandler::handleMousePressEventSingleClick): Ditto.
    28912         (WebCore::EventHandler::updateSelectionForMouseDrag): Ditto.
    28913         (WebCore::EventHandler::handleMouseReleaseEvent): Ditto.
    28914 
    28915 2011-03-14  Daniel Sievers  <sievers@google.com>
    28916 
    28917         Reviewed by Simon Fraser.
    28918 
    28919         [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable from the DumpRenderTree commandline
    28920         https://bugs.webkit.org/show_bug.cgi?id=56139
    28921 
    28922         * WebCore.exp.in:
    28923         * WebCore.order:
    28924         * page/Frame.cpp:
    28925         (WebCore::Frame::layerTreeAsText):
    28926         * page/Frame.h:
    28927         * rendering/RenderLayerCompositor.cpp:
    28928         (WebCore::RenderLayerCompositor::layerTreeAsText):
    28929         * rendering/RenderLayerCompositor.h:
    28930 
    28931 2011-03-14  Adam Barth  <abarth@webkit.org>
    28932 
    28933         Reviewed by Dimitri Glazkov.
    28934 
    28935         Add remaining files to WebCore.gypi
    28936         https://bugs.webkit.org/show_bug.cgi?id=56351
    28937 
    28938         Adding the remaining files to WebCore.gypi required updating the
    28939         include/exclude lists in WebCore.gyp.  These lists aren't overly
    28940         elegant, but we can try to improve them in the future.
    28941 
    28942         * WebCore.gyp/WebCore.gyp:
    28943         * WebCore.gypi:
    28944         * bindings/v8/ScriptCachedFrameData.cpp:
    28945             - Added ifdefs to this file to match the header.
    28946         * platform/graphics/WOFFFileFormat.cpp:
    28947             - Fixed build error when compiling without ENABLE(OPENTYPE_SANITIZER).
    28948 
    28949 2011-03-14  Anton Muhin  <antonm@chromium.org>
    28950 
    28951         Reviewed by Adam Barth.
    28952 
    28953         [v8] Rework object group building.
    28954         https://bugs.webkit.org/show_bug.cgi?id=55399
    28955 
    28956         Instead of going top-down (from owner to owned elements), go up---from objects
    28957         to their group ids.  That fits better to v8's object grouping model and guarantees
    28958         that each wrapper belongs to the single group.
    28959 
    28960         Alas, this cannot be implemented for one kind of objects---CSSProperties.
    28961 
    28962         Part of core GC algorithm and tested extensively by exisiting layout tests.
    28963 
    28964         * bindings/scripts/CodeGeneratorV8.pm:
    28965         * bindings/scripts/test/V8/V8TestInterface.cpp:
    28966         * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
    28967         * bindings/scripts/test/V8/V8TestObj.cpp:
    28968         * bindings/v8/V8GCController.cpp:
    28969         (WebCore::calculateGroupId):
    28970         (WebCore::calculateRootStyleSheet):
    28971         (WebCore::GrouperVisitor::visitDOMWrapper):
    28972         (WebCore::GrouperVisitor::applyGrouping):
    28973         (WebCore::V8GCController::gcPrologue):
    28974         * bindings/v8/WrapperTypeInfo.h:
    28975         (WebCore::WrapperTypeInfo::isSubclass):
    28976         * css/CSSRuleList.h:
    28977         (WebCore::CSSRuleList::styleList):
    28978         * css/StyleSheetList.h:
    28979         (WebCore::StyleSheetList::document):
    28980 
    28981 2011-03-14  Kent Tamura  <tkent@chromium.org>
    28982 
    28983         Reviewed by James Robinson.
    28984 
    28985         Assertion failure by form validation message for <select required> with float:left
    28986         https://bugs.webkit.org/show_bug.cgi?id=55995
    28987 
    28988         Test: fast/forms/interactive-validation-select-crash.html
    28989 
    28990         * rendering/RenderBlock.cpp:
    28991         (WebCore::canMergeContiguousAnonymousBlocks):
    28992           isAnonymousBlock() doesn't mean it is a RenderBlock. We need to check isRenderBlock().
    28993 
    28994 2011-03-14  Balazs Kelemen  <kbalazs@webkit.org>
    28995 
    28996         Reviewed by Adam Roben.
    28997 
    28998         [Qt][WK2]Unbreak InjectedBundle on Qt
    28999         https://bugs.webkit.org/show_bug.cgi?id=54109
    29000 
    29001         No code changes so no new tests.
    29002 
    29003         Revert the changes that were needed to use KURL
    29004         in WebKitTestRunner.
    29005 
    29006         * Configurations/WebCore.xcconfig:
    29007         * WebCore.exp.in:
    29008 
    29009 2011-03-14  Jarkko Sakkinen  <jarkko.j.sakkinen@gmail.com>
    29010 
    29011         Reviewed by Kenneth Rohde Christiansen.
    29012 
    29013         [Qt] Compilation fails with --3d-canvas
    29014         https://bugs.webkit.org/show_bug.cgi?id=55964
    29015 
    29016         * WebCore.pro:
    29017         * platform/graphics/qt/Extensions3DQt.cpp:
    29018 
    29019 2011-03-14  Brian Weinstein  <bweinstein@apple.com>
    29020 
    29021         Reviewed by Adam Roben and Gavin Barraclough.
    29022 
    29023         FileSystemWin.cpp needs listDirectory() implementation
    29024         https://bugs.webkit.org/show_bug.cgi?id=56331
    29025         <rdar://problem/9126635>
    29026        
    29027         Move PathWalker from an inline class in WebKit2 to its own class in WebCore,
    29028         so it can be used from both WebCore and WebKit2.
    29029        
    29030         Implement FileSystemWin::listDirectory using PathWalker to populate the Vector
    29031         of paths matching the passed in pattern.
    29032 
    29033         * WebCore.vcproj/WebCore.vcproj:
    29034         * platform/win/FileSystemWin.cpp:
    29035         (WebCore::listDirectory): Call through to PathWalker.
    29036         * platform/win/PathWalker.cpp: Added.
    29037         (WebCore::PathWalker::PathWalker): Moved from WebKit2. Added a second argument
    29038             for the pattern to pass to the Windows File APIs.
    29039         (WebCore::PathWalker::~PathWalker): Moved from WebKit2.
    29040         (WebCore::PathWalker::isValid): Ditto.
    29041         (WebCore::PathWalker::data): Ditto.
    29042         (WebCore::PathWalker::step): Ditto.
    29043         * platform/win/PathWalker.h: Added.
    29044 
    29045 2011-03-14  Brady Eidson  <beidson@apple.com>
    29046 
    29047         Reviewed by Anders Carlsson.
    29048 
    29049         https://bugs.webkit.org/show_bug.cgi?id=56320
    29050         Remove HistoryItem::icon() and the WebCore dependency on "IconDatabaseBase::defaultIcon()"
    29051 
    29052         Remove HistoryItem::icon():
    29053         * history/HistoryItem.cpp:
    29054         * history/HistoryItem.h:
    29055         * WebCore.exp.in:
    29056 
    29057         * loader/icon/IconDatabaseBase.h:
    29058         (WebCore::IconDatabaseBase::defaultIcon):
    29059 
    29060 2011-03-14  Andy Estes  <aestes@apple.com>
    29061 
    29062         Reviewed by Darin Adler.
    29063 
    29064         Timer-based events should inherit the user gesture state of their
    29065         originating event in certain cases.
    29066         https://bugs.webkit.org/show_bug.cgi?id=55104
    29067 
    29068         If a timer is installed by a gesture-originated event and will fire
    29069         within one second, the timer-initiated event should behave as if it
    29070         were also initiated by a user gesture. Multi-shot timers should only
    29071         get this behavior on their first execution. Nested timers should not
    29072         get this behavior. This makes us compatible with Gecko when handling
    29073         popups and file chooser dialogs created from timer events.
    29074 
    29075         Test: fast/events/popup-blocking-timers.html
    29076 
    29077         * page/DOMTimer.cpp:
    29078         (WebCore::timeoutId): Create a helper function so that m_timeoutId can
    29079         be initialized in the data member initialization list.
    29080         (WebCore::shouldForwardUserGesture): Ditto, but for
    29081         m_shouldForwardUserGesture.
    29082         (WebCore::DOMTimer::DOMTimer): Move initialization of data members from
    29083         the ctor body to the data member initialization list. Also rename the
    29084         argument 'timeout' to 'interval'.
    29085         (WebCore::DOMTimer::fired): Create a UserGestureIndicator and set its
    29086         state based on the value of m_shouldForwardUserGesture.
    29087         (WebCore::DOMTimer::adjustMinimumTimerInterval): m_originalTimeout was
    29088         renamed to m_originalInterval.
    29089         * page/DOMTimer.h: Add m_shouldForwardUserGesture and rename
    29090         m_originalTimeout to m_originalInterval.
    29091 
    29092 2011-03-09  Levi Weintraub  <leviw@chromium.org>
    29093 
    29094         Reviewed by Ryosuke Niwa.
    29095 
    29096         Deleting content directly following a button inserts an unnecessary placeholder
    29097         https://bugs.webkit.org/show_bug.cgi?id=56053
    29098 
    29099         Fixing a use of Node's enclosingBlockFlowElement with enclosingBlock htmlediting's
    29100         enclosingBlock, as enclosingBlockFlowElement would return inline-block elements despite
    29101         DeleteSelectionCommand treating them as blockflow.
    29102 
    29103         Test: editing/deleting/delete-inserts-br-after-button.html
    29104 
    29105         * editing/DeleteSelectionCommand.cpp:
    29106         (WebCore::DeleteSelectionCommand::mergeParagraphs):
    29107 
    29108 2011-03-14  David Hyatt  <hyatt@apple.com>
    29109 
    29110         Reviewed by Dan Bernstein.
    29111 
    29112         https://bugs.webkit.org/show_bug.cgi?id=45164
    29113 
    29114         REGRESSION: <a><img align=top></a> Clickable area too large
    29115        
    29116         Make sure to clamp hit testing of quirky inline flow boxes the same way we already clamped
    29117         painting.
    29118 
    29119         * rendering/InlineFlowBox.cpp:
    29120         (WebCore::InlineFlowBox::nodeAtPoint):
    29121 
    29122 2011-03-14  Chris Marrin  <cmarrin@apple.com>
    29123 
    29124         Reviewed by Adam Roben.
    29125 
    29126         REGRESSION (r75138-r75503): Animations on Apple HTML5 Gallery demo are wrong
    29127         https://bugs.webkit.org/show_bug.cgi?id=52845
    29128 
    29129         The lastCommitTime() value in CACFLayerTreeHost was returning as the time
    29130         the render previous to this one happened. That often made it seem like
    29131         animations started more in the past than they did, breaking many animations.
    29132         The startAnimations() call actually fires from a CACF callback after all the
    29133         WebKit content has been rendered. So sending currentTime as the start time
    29134         to the animations is close enough for proper synchronization.
    29135 
    29136         * platform/graphics/ca/win/CACFLayerTreeHost.cpp:
    29137         (WebCore::CACFLayerTreeHost::notifyAnimationsStarted):
    29138 
    29139 2011-03-11  Ryosuke Niwa  <rniwa@webkit.org>
    29140 
    29141         Reviewed by Tony Chang.
    29142 
    29143         Selection uses first mousemove's localRect instead of that of mousedown
    29144         https://bugs.webkit.org/show_bug.cgi?id=56213
    29145 
    29146         Fixed the bug by adding an extra call to updateSelectionForMouseDrag in handleMouseDraggedEvent
    29147         using the mouse coordinates of the mousedown event that started the drag.
    29148 
    29149         Test: editing/selection/drag-select-rapidly.html
    29150 
    29151         * page/EventHandler.cpp:
    29152         (WebCore::EventHandler::handleMouseDraggedEvent):
    29153 
    29154 2011-03-14  Mark Rowe  <mrowe@apple.com>
    29155 
    29156         Reviewed by Timothy Hatcher.
    29157 
    29158         Apply a large, blunt object directly to the skull of the Leopard build.
    29159 
    29160         * Configurations/Base.xcconfig: Disable the generation of debugging symbols when
    29161         building the Debug configuration on Leopard. This should cut the size of the object
    29162         files that the linker needs to process by over 85%. This will hopefully allow them
    29163         to fit in to the 32-bit address space of the Leopard linker.
    29164 
    29165 2011-03-14  David Hyatt  <hyatt@apple.com>
    29166 
    29167         Reviewed by Beth Dakin.
    29168 
    29169         https://bugs.webkit.org/show_bug.cgi?id=56246
    29170        
    29171         Add support for relative positioning to table cells.   Back out the code that hacked around the lack of support
    29172         for offsetLeft, and add new tests to demonstrate that relative positioning works.
    29173 
    29174         * css/CSSStyleSelector.cpp:
    29175         (WebCore::CSSStyleSelector::adjustRenderStyle):
    29176         * rendering/RenderObject.cpp:
    29177         (WebCore::RenderObject::offsetParent):
    29178         * rendering/RenderObject.h:
    29179         (WebCore::RenderObject::isRelPositioned):
    29180         * rendering/RenderTableCell.h:
    29181         * rendering/style/RenderStyle.h:
    29182         * rendering/style/StyleRareNonInheritedData.cpp:
    29183         (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
    29184         (WebCore::StyleRareNonInheritedData::operator==):
    29185         * rendering/style/StyleRareNonInheritedData.h:
    29186 
    29187 2011-03-14  David Hyatt  <hyatt@apple.com>
    29188 
    29189         Reviewed by Beth Dakin.
    29190 
    29191         Partial backout of https://bugs.webkit.org/show_bug.cgi?id=56230.  Go back to repainting the root
    29192         layer, since first layouts and printing mess up otherwise.
    29193 
    29194         * page/FrameView.cpp:
    29195         (WebCore::FrameView::layout):
    29196 
    29197 2011-03-11  David Hyatt  <hyatt@apple.com>
    29198 
    29199         Reviewed by Simon Fraser.
    29200 
    29201         Clean up full repainting of layers during layout and at other times.  Platforms that did not do an invalidation on
    29202         size changes were incorrectly relying on the DoFullRepaint case of RenderLayer::updateLayerPositions to invalidate
    29203         for them. However this code is now wrong, since it assumed that the outermost layer was a RenderView that encompassed
    29204         all of the child layers.  This is no longer the case since the overflow changes that tightened up visual overflow
    29205         and limited that overflow only to content that the layer painted.
    29206        
    29207         Eliminate the DoFullRepaint flag and actually make no repainting of any kind happen from the layer code if FrameView's
    29208         m_doFullRepaint boolean is set.  This will flush out any ports that aren't just invalidating the world on their
    29209         own in response to view resizes or fixed layout size changes and force them to fix things to be consistent with
    29210         the other ports.
    29211        
    29212         Make the two dynamic calls to updateLayerPositions still do a full repaint by setting the repaint flag on the layer.
    29213         I'm suspicious as to the correctness of the repainting in both of these cases (both before and after this patch),
    29214         but the behavior should be the same.
    29215        
    29216         No new tests, since this is untestable on ports that invalidate on a resize.
    29217 
    29218         * page/FrameView.cpp:
    29219         (WebCore::FrameView::layout):
    29220         * rendering/RenderBoxModelObject.cpp:
    29221         (WebCore::RenderBoxModelObject::styleDidChange):
    29222         * rendering/RenderLayer.cpp:
    29223         (WebCore::RenderLayer::updateLayerPositions):
    29224         (WebCore::RenderLayer::removeOnlyThisLayer):
    29225         * rendering/RenderLayer.h:
    29226 
    29227 2011-03-11  Oliver Hunt  <oliver@apple.com>
    29228 
    29229         Reviewed by Gavin Barraclough.
    29230 
    29231         Ensure all values are correctly tagged in the registerfile
    29232         https://bugs.webkit.org/show_bug.cgi?id=56214
    29233 
    29234         Make sure everything builds still.
    29235 
    29236         * bridge/c/c_class.cpp:
    29237         * bridge/c/c_runtime.cpp:
    29238         * bridge/jni/JavaMethod.cpp:
    29239         * plugins/PluginViewNone.cpp:
    29240 
    29241 2011-03-14  Luiz Agostini  <luiz.agostini@openbossa.org>
    29242 
    29243         Unreviewed build fix for r81035.
    29244 
    29245         * html/HTMLDetailsElement.cpp:
    29246         (WebCore::HTMLDetailsElement::defaultEventHandler):
    29247         * rendering/RenderDetailsMarker.cpp:
    29248         (WebCore::createDownArrowPath):
    29249         (WebCore::createUpArrowPath):
    29250         (WebCore::createLeftArrowPath):
    29251         (WebCore::createRightArrowPath):
    29252 
    29253 2011-03-13  Jer Noble  <jer.noble@apple.com>
    29254 
    29255         FullScreen: Handle entering full screen security restrictions
    29256         https://bugs.webkit.org/show_bug.cgi?id=56264
    29257 
    29258         Tests: fullscreen/full-screen-iframe-allowed.html
    29259                fullscreen/full-screen-iframe-not-allowed.html
    29260 
    29261         Disable full screen documents in the following conditions:
    29262         1) requesting element is in an iframe which does not have a
    29263         webkitallowfullscreen attribute.
    29264         2) page is not processing a user gesture.
    29265 
    29266         * dom/Document.cpp:
    29267         (WebCore::Document::fullScreenIsAllowedForElement): Added.  Checks
    29268             to see if elements contained in IFRAMES are allowed to
    29269             enter full screen.
    29270         (WebCore::Document::webkitRequestFullScreenForElement): Checks
    29271             if page is currently processing a user gesture.
    29272         * dom/Document.h:
    29273         * html/HTMLAttributeNames.in: Added webkitallowfullscreenAttr.
    29274         * html/HTMLFrameElementBase.cpp:
    29275         (WebCore::HTMLFrameElementBase::allowFullScreen): Added.
    29276         * html/HTMLFrameElementBase.h:
    29277 
    29278 2011-03-14  Anton D'Auria  <adauria@apple.com>
    29279 
    29280         Reviewed by David Levin.
    29281 
    29282         REGRESSION(r80892): Use of uninitialized variable "m_syncCloseDatabase" in StorageAreaSync::sync
    29283         https://bugs.webkit.org/show_bug.cgi?id=56303
    29284 
    29285         Initialized m_syncCloseDatabase to false in the StorageAreaSync constructor.
    29286 
    29287         * storage/StorageAreaSync.cpp:
    29288         (WebCore::StorageAreaSync::StorageAreaSync):
    29289 
    29290 2011-03-14  Steve Block  <steveblock@google.com>
    29291 
    29292         Reviewed by Oliver Hunt.
    29293 
    29294         JavaMethod.cpp does not compile with V8
    29295         https://bugs.webkit.org/show_bug.cgi?id=56306
    29296 
    29297         Moved the ScopeChain.h include to JavaStringJSC.
    29298 
    29299         No new tests, build fix only.
    29300 
    29301         * bridge/jni/JavaMethod.cpp:
    29302         * bridge/jni/jsc/JavaStringJSC.h
    29303 
    29304 2011-02-28  Luiz Agostini  <luiz.agostini@openbossa.org>
    29305 
    29306         Reviewed by Dave Hyatt.
    29307 
    29308         HTML5 <details> and <summary>: rendering
    29309         https://bugs.webkit.org/show_bug.cgi?id=51071
    29310 
    29311         Tests: fast/html/details-add-summary-1-and-click.html
    29312                fast/html/details-add-summary-1.html
    29313                fast/html/details-add-summary-10-and-click.html
    29314                fast/html/details-add-summary-10.html
    29315                fast/html/details-add-summary-2-and-click.html
    29316                fast/html/details-add-summary-2.html
    29317                fast/html/details-add-summary-3-and-click.html
    29318                fast/html/details-add-summary-3.html
    29319                fast/html/details-add-summary-4-and-click.html
    29320                fast/html/details-add-summary-4.html
    29321                fast/html/details-add-summary-5-and-click.html
    29322                fast/html/details-add-summary-5.html
    29323                fast/html/details-add-summary-6-and-click.html
    29324                fast/html/details-add-summary-6.html
    29325                fast/html/details-add-summary-7-and-click.html
    29326                fast/html/details-add-summary-7.html
    29327                fast/html/details-add-summary-8-and-click.html
    29328                fast/html/details-add-summary-8.html
    29329                fast/html/details-add-summary-9-and-click.html
    29330                fast/html/details-add-summary-9.html
    29331                fast/html/details-mouse-click.html
    29332                fast/html/details-no-summary1.html
    29333                fast/html/details-no-summary2.html
    29334                fast/html/details-no-summary3.html
    29335                fast/html/details-no-summary4.html
    29336                fast/html/details-open-javascript.html
    29337                fast/html/details-open1.html
    29338                fast/html/details-open2.html
    29339                fast/html/details-open3.html
    29340                fast/html/details-open4.html
    29341                fast/html/details-open5.html
    29342                fast/html/details-open6.html
    29343                fast/html/details-position.html
    29344                fast/html/details-remove-summary-1-and-click.html
    29345                fast/html/details-remove-summary-1.html
    29346                fast/html/details-remove-summary-2-and-click.html
    29347                fast/html/details-remove-summary-2.html
    29348                fast/html/details-remove-summary-3-and-click.html
    29349                fast/html/details-remove-summary-3.html
    29350                fast/html/details-remove-summary-4-and-click.html
    29351                fast/html/details-remove-summary-4.html
    29352                fast/html/details-remove-summary-5-and-click.html
    29353                fast/html/details-remove-summary-5.html
    29354                fast/html/details-remove-summary-6-and-click.html
    29355                fast/html/details-remove-summary-6.html
    29356                fast/html/details-writing-mode.html
    29357 
    29358         http://www.w3.org/TR/html5/interactive-elements.html#the-details-element
    29359 
    29360         The main <summary> element is the first <summary> element of a <details> element.
    29361         All other childs of the <details> element are rendered only if the attribute 'open' is set.
    29362         Click event toggles the 'open' attribute.
    29363 
    29364         * html/HTMLDetailsElement.cpp:
    29365         (WebCore::HTMLDetailsElement::HTMLDetailsElement):
    29366         (WebCore::HTMLDetailsElement::findMainSummary):
    29367         (WebCore::HTMLDetailsElement::childrenChanged):
    29368         (WebCore::HTMLDetailsElement::finishParsingChildren):
    29369         (WebCore::HTMLDetailsElement::parseMappedAttribute):
    29370         (WebCore::HTMLDetailsElement::childShouldCreateRenderer):
    29371         (WebCore::HTMLDetailsElement::defaultEventHandler):
    29372         * html/HTMLDetailsElement.h:
    29373         (WebCore::HTMLDetailsElement::mainSummary):
    29374 
    29375         Method createRenderer added to class HTMLSummaryElement.
    29376 
    29377         * html/HTMLSummaryElement.cpp:
    29378         (WebCore::HTMLSummaryElement::createRenderer):
    29379         * html/HTMLSummaryElement.h:
    29380 
    29381         The first <summary> element is positioned at the top of its <details> parent.
    29382         The area occupied by this main <summary> element is the interactive area of the
    29383         <details> element. If the <details> tag has no <summary> child an OwnedSummaryRenderer
    29384         is created and added to the corresponding RenderDetails object.
    29385 
    29386         * rendering/RenderDetails.cpp:
    29387         (WebCore::RenderDetails::RenderDetails):
    29388         (WebCore::RenderDetails::destroy):
    29389         (WebCore::RenderDetails::summaryBlock):
    29390         (WebCore::RenderDetails::contentBlock):
    29391         (WebCore::RenderDetails::addChild):
    29392         (WebCore::RenderDetails::removeChild):
    29393         (WebCore::RenderDetails::setMarkerStyle):
    29394         (WebCore::RenderDetails::styleDidChange):
    29395         (WebCore::RenderDetails::getRenderPosition):
    29396         (WebCore::RenderDetails::markerDestroyed):
    29397         (WebCore::RenderDetails::summaryDestroyed):
    29398         (WebCore::RenderDetails::moveSummaryToContents):
    29399         (WebCore::RenderDetails::createSummaryStyle):
    29400         (WebCore::RenderDetails::replaceMainSummary):
    29401         (WebCore::RenderDetails::createDefaultSummary):
    29402         (WebCore::RenderDetails::checkMainSummary):
    29403         (WebCore::RenderDetails::layout):
    29404         (WebCore::RenderDetails::isOpen):
    29405         (WebCore::RenderDetails::getParentOfFirstLineBox):
    29406         (WebCore::RenderDetails::firstNonMarkerChild):
    29407         (WebCore::RenderDetails::updateMarkerLocation):
    29408         * rendering/RenderDetails.h:
    29409         (WebCore::RenderDetails::interactiveArea):
    29410         (WebCore::RenderDetails::removeLeftoverAnonymousBlock):
    29411         (WebCore::RenderDetails::createsAnonymousWrapper):
    29412         (WebCore::RenderDetails::requiresForcedStyleRecalcPropagation):
    29413 
    29414         A marker is added to the main <summary> element to indicate the current value of the 'open'
    29415         attribute of the <details> element.
    29416 
    29417         * rendering/RenderDetailsMarker.cpp:
    29418         (WebCore::RenderDetailsMarker::RenderDetailsMarker):
    29419         (WebCore::RenderDetailsMarker::destroy):
    29420         (WebCore::RenderDetailsMarker::lineHeight):
    29421         (WebCore::RenderDetailsMarker::baselinePosition):
    29422         (WebCore::RenderDetailsMarker::computePreferredLogicalWidths):
    29423         (WebCore::RenderDetailsMarker::layout):
    29424         (WebCore::RenderDetailsMarker::getRelativeMarkerRect):
    29425         (WebCore::RenderDetailsMarker::isOpen):
    29426         (WebCore::createPath):
    29427         (WebCore::createDownArrowPath):
    29428         (WebCore::createUpArrowPath):
    29429         (WebCore::createLeftArrowPath):
    29430         (WebCore::createRightArrowPath):
    29431         (WebCore::RenderDetailsMarker::orientation):
    29432         (WebCore::RenderDetailsMarker::getCanonicalPath):
    29433         (WebCore::RenderDetailsMarker::getPath):
    29434         (WebCore::RenderDetailsMarker::paint):
    29435         * rendering/RenderDetailsMarker.h:
    29436         (WebCore::toRenderDetailsMarker):
    29437 
    29438         * rendering/RenderSummary.cpp:
    29439         (WebCore::RenderSummary::RenderSummary):
    29440         (WebCore::RenderSummary::destroy):
    29441         (WebCore::RenderSummary::parentDetails):
    29442         (WebCore::RenderSummary::styleDidChange):
    29443         * rendering/RenderSummary.h:
    29444 
    29445         * rendering/RenderTreeAsText.cpp:
    29446         (WebCore::RenderTreeAsText::writeRenderObject):
    29447 
    29448 2011-03-14  Brady Eidson  <beidson@apple.com>
    29449 
    29450         Reviewed by Sam Weinig.
    29451 
    29452         https://bugs.webkit.org/show_bug.cgi?id=56296
    29453         Clean up IconDatabaseBase header.
    29454 
    29455         -Get rid of the "PlatformString.h" include and replace it with a forward declaration.
    29456         -Group methods by which are used in WebCore directly and which are used in WebKit ports.
    29457 
    29458         This'll make it easier to use in external frameworks (like WebKit2).
    29459 
    29460         * loader/icon/IconDatabase.h:
    29461         * loader/icon/IconDatabaseBase.h:
    29462         (WebCore::IconDatabaseBase::retainIconForPageURL):
    29463         (WebCore::IconDatabaseBase::releaseIconForPageURL):
    29464         (WebCore::IconDatabaseBase::iconForPageURL):
    29465         (WebCore::IconDatabaseBase::setIconURLForPageURL):
    29466         (WebCore::IconDatabaseBase::setIconDataForIconURL):
    29467         (WebCore::IconDatabaseBase::iconDataKnownForIconURL):
    29468         (WebCore::IconDatabaseBase::loadDecisionForIconURL):
    29469         (WebCore::IconDatabaseBase::importIconURLForPageURL):
    29470         (WebCore::IconDatabaseBase::importIconDataForIconURL):
    29471         (WebCore::IconDatabaseBase::open):
    29472 
    29473 2011-03-14  Sheriff Bot  <webkit.review.bot@gmail.com>
    29474 
    29475         Unreviewed, rolling out r81026.
    29476         http://trac.webkit.org/changeset/81026
    29477         https://bugs.webkit.org/show_bug.cgi?id=56313
    29478 
    29479         Breaks gtk 64-bit tests (Requested by podivilov on #webkit).
    29480 
    29481         * inspector/InspectorBrowserDebuggerAgent.cpp:
    29482         (WebCore::InspectorBrowserDebuggerAgent::InspectorBrowserDebuggerAgent):
    29483         (WebCore::InspectorBrowserDebuggerAgent::inspectedURLChanged):
    29484         (WebCore::InspectorBrowserDebuggerAgent::restoreStickyBreakpoint):
    29485         (WebCore::InspectorBrowserDebuggerAgent::setXHRBreakpoint):
    29486         (WebCore::InspectorBrowserDebuggerAgent::removeXHRBreakpoint):
    29487         (WebCore::InspectorBrowserDebuggerAgent::willSendXMLHttpRequest):
    29488         (WebCore::InspectorBrowserDebuggerAgent::clear):
    29489         * inspector/InspectorBrowserDebuggerAgent.h:
    29490         * inspector/front-end/BreakpointManager.js:
    29491         (WebInspector.BreakpointManager.prototype.createXHRBreakpoint):
    29492         (WebInspector.BreakpointManager.prototype._createXHRBreakpoint):
    29493         (WebInspector.BreakpointManager.prototype.breakpointViewForEventData):
    29494         (WebInspector.BreakpointManager.prototype._projectChanged):
    29495         (WebInspector.BreakpointManager.prototype._validateBreakpoints):
    29496         (WebInspector.BreakpointManager.prototype._createEventListenerBreakpointId):
    29497         (WebInspector.BreakpointManager.prototype._createXHRBreakpointId):
    29498         (WebInspector.XHRBreakpoint):
    29499         (WebInspector.XHRBreakpoint.prototype._enable):
    29500         (WebInspector.XHRBreakpoint.prototype._disable):
    29501         (WebInspector.XHRBreakpoint.prototype._serializeToJSON):
    29502         (WebInspector.XHRBreakpointView):
    29503         (WebInspector.XHRBreakpointView.prototype.compareTo):
    29504         (WebInspector.XHRBreakpointView.prototype.populateEditElement):
    29505         (WebInspector.XHRBreakpointView.prototype.populateLabelElement):
    29506         (WebInspector.XHRBreakpointView.prototype.populateStatusMessageElement):
    29507         * inspector/front-end/BreakpointsSidebarPane.js:
    29508         (WebInspector.XHRBreakpointsSidebarPane.addButtonClicked):
    29509         (WebInspector.XHRBreakpointsSidebarPane):
    29510         (WebInspector.XHRBreakpointsSidebarPane.prototype.addBreakpointItem):
    29511         (WebInspector.XHRBreakpointsSidebarPane.prototype._startEditingBreakpoint):
    29512         (WebInspector.XHRBreakpointsSidebarPane.prototype._hideEditBreakpointDialog):
    29513         * inspector/front-end/CallStackSidebarPane.js:
    29514         (WebInspector.CallStackSidebarPane.prototype.update):
    29515         * inspector/front-end/ScriptsPanel.js:
    29516         (WebInspector.ScriptsPanel):
    29517         (WebInspector.ScriptsPanel.prototype._debuggerPaused):
    29518         (WebInspector.ScriptsPanel.prototype._clearInterface):
    29519         * inspector/front-end/Settings.js:
    29520         (WebInspector.Settings):
    29521         * inspector/front-end/inspector.js:
    29522         (WebInspector.resetFocusElement):
    29523         (WebInspector.createXHRBreakpointsSidebarPane.breakpointAdded):
    29524         (WebInspector.createXHRBreakpointsSidebarPane):
    29525         (WebInspector.set attached):
    29526 
    29527 2011-03-14  Mikhail Naganov  <mnaganov@chromium.org>
    29528 
    29529         Reviewed by Pavel Feldman.
    29530 
    29531         Web Inspector: Factor out binary search algo from the insertionIndexForObjectInListSortedByFunction function.
    29532         https://bugs.webkit.org/show_bug.cgi?id=56312
    29533 
    29534         Test: inspector/utilities.html
    29535 
    29536         * inspector/front-end/utilities.js:
    29537 
    29538 2011-03-12  Pavel Podivilov  <podivilov@chromium.org>
    29539 
    29540         Reviewed by Yury Semikhatsky.
    29541 
    29542         Web Inspector: re-implement xhr breakpoints.
    29543         https://bugs.webkit.org/show_bug.cgi?id=56252
    29544 
    29545         - restore xhr breakpoints one by one instead of using setAllBrowserBreakpoints
    29546         - store xhr breakpoints in a separate setting
    29547         - move presentation-related code from BreakpointManager to XHRBreakpointsSidebarPane
    29548 
    29549         Test: inspector/debugger/xhr-breakpoints.html
    29550 
    29551         * inspector/InspectorBrowserDebuggerAgent.cpp:
    29552         (WebCore::InspectorBrowserDebuggerAgent::InspectorBrowserDebuggerAgent):
    29553         (WebCore::InspectorBrowserDebuggerAgent::inspectedURLChanged):
    29554         (WebCore::InspectorBrowserDebuggerAgent::restoreStickyBreakpoint):
    29555         (WebCore::InspectorBrowserDebuggerAgent::setXHRBreakpoint):
    29556         (WebCore::InspectorBrowserDebuggerAgent::removeXHRBreakpoint):
    29557         (WebCore::InspectorBrowserDebuggerAgent::willSendXMLHttpRequest):
    29558         (WebCore::InspectorBrowserDebuggerAgent::clear):
    29559         * inspector/InspectorBrowserDebuggerAgent.h:
    29560         * inspector/front-end/BreakpointManager.js:
    29561         (WebInspector.BreakpointManager.prototype.setXHRBreakpoint):
    29562         (WebInspector.BreakpointManager.prototype.removeXHRBreakpoint):
    29563         (WebInspector.BreakpointManager.prototype.breakpointViewForEventData):
    29564         (WebInspector.BreakpointManager.prototype._projectChanged):
    29565         (WebInspector.BreakpointManager.prototype._validateBreakpoints):
    29566         (WebInspector.BreakpointManager.prototype._createEventListenerBreakpointId):
    29567         * inspector/front-end/BreakpointsSidebarPane.js:
    29568         (WebInspector.XHRBreakpointsSidebarPane):
    29569         (WebInspector.XHRBreakpointsSidebarPane.prototype._addButtonClicked.finishEditing):
    29570         (WebInspector.XHRBreakpointsSidebarPane.prototype._addButtonClicked):
    29571         (WebInspector.XHRBreakpointsSidebarPane.prototype._setBreakpoint):
    29572         (WebInspector.XHRBreakpointsSidebarPane.prototype._removeBreakpoint):
    29573         (WebInspector.XHRBreakpointsSidebarPane.prototype._contextMenu.removeBreakpoint):
    29574         (WebInspector.XHRBreakpointsSidebarPane.prototype._contextMenu):
    29575         (WebInspector.XHRBreakpointsSidebarPane.prototype._checkboxClicked):
    29576         (WebInspector.XHRBreakpointsSidebarPane.prototype._labelClicked.finishEditing):
    29577         (WebInspector.XHRBreakpointsSidebarPane.prototype._labelClicked):
    29578         (WebInspector.XHRBreakpointsSidebarPane.prototype.highlightBreakpoint):
    29579         (WebInspector.XHRBreakpointsSidebarPane.prototype.clearBreakpointHighlight):
    29580         (WebInspector.XHRBreakpointsSidebarPane.prototype._saveBreakpoints):
    29581         (WebInspector.XHRBreakpointsSidebarPane.prototype._restoreBreakpoints):
    29582         (WebInspector.XHRBreakpointsSidebarPane.prototype._projectChanged):
    29583         * inspector/front-end/CallStackSidebarPane.js:
    29584         (WebInspector.CallStackSidebarPane.prototype.update):
    29585         (WebInspector.CallStackSidebarPane.prototype._xhrBreakpointHit):
    29586         * inspector/front-end/ScriptsPanel.js:
    29587         (WebInspector.ScriptsPanel):
    29588         (WebInspector.ScriptsPanel.prototype._debuggerPaused):
    29589         (WebInspector.ScriptsPanel.prototype._clearInterface):
    29590         * inspector/front-end/Settings.js:
    29591         (WebInspector.Settings):
    29592         * inspector/front-end/inspector.js:
    29593         (WebInspector.resetFocusElement):
    29594         (WebInspector.set attached):
    29595 
    29596 2011-03-14  Pavel Podivilov  <podivilov@chromium.org>
    29597 
    29598         Reviewed by Pavel Feldman.
    29599 
    29600         Web Inspector: move breakpoints restoring to debugger presentation model.
    29601         https://bugs.webkit.org/show_bug.cgi?id=56123
    29602 
    29603         DebuggerModel's "breakpoint-added" and "breakpoint-removed" events are gone since
    29604         setBreakpoint/removeBreakpoint are now called from DPM only.
    29605 
    29606         * inspector/InspectorDebuggerAgent.cpp:
    29607         (WebCore::InspectorDebuggerAgent::disable):
    29608         (WebCore::InspectorDebuggerAgent::enableDebuggerAfterShown):
    29609         * inspector/front-end/DebuggerModel.js:
    29610         (WebInspector.DebuggerModel.prototype.enableDebugger):
    29611         (WebInspector.DebuggerModel.prototype._debuggerWasEnabled):
    29612         (WebInspector.DebuggerModel.prototype._debuggerWasDisabled):
    29613         (WebInspector.DebuggerModel.prototype.setBreakpoint.didSetBreakpoint):
    29614         (WebInspector.DebuggerModel.prototype.setBreakpoint):
    29615         (WebInspector.DebuggerModel.prototype.setBreakpointBySourceId):
    29616         (WebInspector.DebuggerModel.prototype.removeBreakpoint):
    29617         (WebInspector.DebuggerModel.prototype._breakpointResolved):
    29618         (WebInspector.DebuggerModel.prototype.reset):
    29619         (WebInspector.DebuggerDispatcher.prototype.debuggerWasEnabled):
    29620         (WebInspector.DebuggerDispatcher.prototype.debuggerWasDisabled):
    29621         * inspector/front-end/DebuggerPresentationModel.js:
    29622         (WebInspector.DebuggerPresentationModel):
    29623         (WebInspector.DebuggerPresentationModel.prototype._debuggerWasEnabled):
    29624         (WebInspector.DebuggerPresentationModel.prototype._parsedScriptSource):
    29625         (WebInspector.DebuggerPresentationModel.prototype._failedToParseScriptSource):
    29626         (WebInspector.DebuggerPresentationModel.prototype._scriptSourceChanged):
    29627         (WebInspector.DebuggerPresentationModel.prototype.breakpointsForSourceFileId):
    29628         (WebInspector.DebuggerPresentationModel.prototype.setBreakpoint):
    29629         (WebInspector.DebuggerPresentationModel.prototype.setBreakpointEnabled):
    29630         (WebInspector.DebuggerPresentationModel.prototype.updateBreakpoint):
    29631         (WebInspector.DebuggerPresentationModel.prototype.removeBreakpoint):
    29632         (WebInspector.DebuggerPresentationModel.prototype.findBreakpoint):
    29633         (WebInspector.DebuggerPresentationModel.prototype._breakpointAdded):
    29634         (WebInspector.DebuggerPresentationModel.prototype._breakpointRemoved):
    29635         (WebInspector.DebuggerPresentationModel.prototype._breakpointResolved):
    29636         (WebInspector.DebuggerPresentationModel.prototype._restoreBreakpoints):
    29637         (WebInspector.DebuggerPresentationModel.prototype._saveBreakpoints):
    29638         (WebInspector.DebuggerPresentationModel.prototype.reset):
    29639         * inspector/front-end/ScriptsPanel.js:
    29640         (WebInspector.ScriptsPanel):
    29641         (WebInspector.ScriptsPanel.prototype._debuggerWasEnabled):
    29642         (WebInspector.ScriptsPanel.prototype._debuggerWasDisabled):
    29643 
    29644 2011-03-14  Sheriff Bot  <webkit.review.bot@gmail.com>
    29645 
    29646         Unreviewed, rolling out r81015.
    29647         http://trac.webkit.org/changeset/81015
    29648         https://bugs.webkit.org/show_bug.cgi?id=56308
    29649 
    29650         A Similar patch landed in r76960 (Requested by philn-tp on
    29651         #webkit).
    29652 
    29653         * GNUmakefile.am:
    29654 
    29655 2011-03-14  Pavel Feldman  <pfeldman@chromium.org>
    29656 
    29657         Reviewed by Yury Semikhatsky.
    29658 
    29659         Web Inspector: don't use innerText, use textContent instead.
    29660         https://bugs.webkit.org/show_bug.cgi?id=56307
    29661 
    29662         * inspector/front-end/AuditFormatters.js:
    29663         (WebInspector.AuditFormatters.snippet):
    29664         * inspector/front-end/ElementsTreeOutline.js:
    29665         * inspector/front-end/GoToLineDialog.js:
    29666         * inspector/front-end/HelpScreen.js:
    29667         (WebInspector.HelpScreen):
    29668         * inspector/front-end/ShortcutsHelp.js:
    29669         (WebInspector.ShortcutsSection.prototype.renderSection):
    29670         (WebInspector.ShortcutsSection.prototype._renderHeader):
    29671 
    29672 2011-03-14  Andrey Adaikin  <aandrey@google.com>
    29673 
    29674         Reviewed by Pavel Feldman.
    29675 
    29676         Web Inspector: [Text editor] Disable live-edit in favor of the text editor
    29677         https://bugs.webkit.org/show_bug.cgi?id=56176
    29678 
    29679         * inspector/front-end/Settings.js:
    29680 
    29681 2011-03-14  Andrey Adaikin  <aandrey@google.com>
    29682 
    29683         Reviewed by Pavel Feldman.
    29684 
    29685         Web Inspector: [REGRESSION] scroll does not work in source frame when mouse is inside the gutter
    29686         https://bugs.webkit.org/show_bug.cgi?id=56095
    29687 
    29688         * inspector/front-end/TextViewer.js:
    29689         (WebInspector.TextViewer):
    29690 
    29691 2011-03-11  Pavel Podivilov  <podivilov@chromium.org>
    29692 
    29693         Reviewed by Pavel Feldman.
    29694 
    29695         Web Inspector: move breakpoints restoring after live edit to debugger presentation model.
    29696         https://bugs.webkit.org/show_bug.cgi?id=56179
    29697 
    29698         Presentation model should move breakpoints based on text diff as required by "revert to revision" action in resources panel.
    29699 
    29700         * inspector/front-end/DebuggerModel.js:
    29701         (WebInspector.DebuggerModel):
    29702         (WebInspector.DebuggerModel.prototype.setBreakpoint.didSetBreakpoint):
    29703         (WebInspector.DebuggerModel.prototype.setBreakpoint):
    29704         (WebInspector.DebuggerModel.prototype.reset):
    29705         (WebInspector.DebuggerModel.prototype.editScriptSource.didEditScriptSource):
    29706         (WebInspector.DebuggerModel.prototype.editScriptSource):
    29707         (WebInspector.DebuggerModel.prototype.get callFrames):
    29708         (WebInspector.DebuggerModel.prototype._pausedScript):
    29709         (WebInspector.DebuggerModel.prototype._resumedScript):
    29710         * inspector/front-end/DebuggerPresentationModel.js:
    29711         (WebInspector.DebuggerPresentationModel):
    29712         (WebInspector.DebuggerPresentationModel.prototype._scriptSourceChanged):
    29713         * inspector/front-end/ScriptsPanel.js:
    29714         (WebInspector.ScriptsPanel.prototype._scriptSourceChanged):
    29715 
    29716 2011-03-10  Alexander Pavlov  <apavlov@chromium.org>
    29717 
    29718         Reviewed by Pavel Feldman.
    29719 
    29720         Web Inspector: Optimize backend-frontend data transfer volume for CSS styles
    29721         https://bugs.webkit.org/show_bug.cgi?id=56111
    29722 
    29723         This change reduces the getStylesForNode() payload more than twice for BODY elements.
    29724 
    29725         * inspector/InspectorStyleSheet.cpp:
    29726         (WebCore::InspectorStyle::populateObjectWithStyleProperties):
    29727         * inspector/front-end/CSSStyleModel.js:
    29728         (WebInspector.CSSProperty.parsePayload):
    29729 
    29730 2011-03-14  John Knottenbelt  <jknotten@chromium.org>
    29731 
    29732         Reviewed by Steve Block.
    29733 
    29734         Detach Geolocation from Frame when Page destroyed.
    29735         https://bugs.webkit.org/show_bug.cgi?id=52877
    29736 
    29737         On Page destruction, any outstanding Geolocation permission
    29738         requests should be cancelled, because the Geolocation can only
    29739         access the client indirectly via m_frame->page().
    29740 
    29741         Page destruction is signalled by a call to the
    29742         Frame::pageDestroyed() method. This explictly calls
    29743         DOMWindow::resetGeolocation which ultimately calls Geolocation::reset.
    29744 
    29745         Geolocation::reset() detaches from the GeolocationController,
    29746         cancels requests, watches and single shots, and sets the
    29747         permission state back to Unknown.
    29748 
    29749         Frame::pageDestroyed() is also called by FrameLoader even though
    29750         the page is not destroyed. We should still cancel permission
    29751         requests, because the GeolocationClient will become inaccessible
    29752         to the Geolocation object after this call.
    29753 
    29754         Frame::transferChildFrameToNewDocument also indirectly calls
    29755         Geolocation::reset when the frame is reparented between
    29756         pages. Ideally we would like the Geolocation's activities to
    29757         continue after reparenting, see bug
    29758         https://bugs.webkit.org/show_bug.cgi?id=55577
    29759 
    29760         Since GeolocationController is owned by Page, and all Geolocation
    29761         objects will now unsubscribe from the GeolocationController on
    29762         pageDetached(), we no longer need to call stopUpdating() from the
    29763         GeolocationController's destructor. Instead we can simply assert
    29764         that there should be no no observers. See related bug
    29765         https://bugs.webkit.org/show_bug.cgi?id=52216 .
    29766 
    29767         Introduced new method 'numberOfPendingPermissionRequests' on
    29768         GeolocationClientMock to count the number of outstanding pending
    29769         permission requests. This provides a reusable implementation for
    29770         client-based implementations of the LayoutTestController's
    29771         numberOfPendingGeolocationPermissionRequests method.
    29772 
    29773         Test: fast/dom/Geolocation/page-reload-cancel-permission-requests.html
    29774 
    29775         * page/DOMWindow.cpp:
    29776         (WebCore::DOMWindow::resetGeolocation):
    29777         * page/DOMWindow.h:
    29778         * page/Frame.cpp:
    29779         (WebCore::Frame::pageDestroyed):
    29780         (WebCore::Frame::transferChildFrameToNewDocument):
    29781         * page/Geolocation.cpp:
    29782         (WebCore::Geolocation::~Geolocation):
    29783         (WebCore::Geolocation::page):
    29784         (WebCore::Geolocation::reset):
    29785         (WebCore::Geolocation::disconnectFrame):
    29786         (WebCore::Geolocation::lastPosition):
    29787         (WebCore::Geolocation::requestPermission):
    29788         (WebCore::Geolocation::startUpdating):
    29789         (WebCore::Geolocation::stopUpdating):
    29790         * page/Geolocation.h:
    29791         * page/GeolocationController.cpp:
    29792         (WebCore::GeolocationController::~GeolocationController):
    29793         * page/Navigator.cpp:
    29794         (WebCore::Navigator::resetGeolocation):
    29795         * page/Navigator.h:
    29796         * platform/mock/GeolocationClientMock.cpp:
    29797         (WebCore::GeolocationClientMock::numberOfPendingPermissionRequests):
    29798         * platform/mock/GeolocationClientMock.h:
    29799 
    29800 2011-03-14  Andrey Adaikin  <aandrey@google.com>
    29801 
    29802         Reviewed by Pavel Feldman.
    29803 
    29804         Web Inspector: REGRESSION: Messed up with the tabIndex for text editor
    29805         https://bugs.webkit.org/show_bug.cgi?id=56183
    29806 
    29807         * inspector/front-end/SourceFrame.js:
    29808         (WebInspector.SourceFrame.prototype._handleKeyDown):
    29809         (WebInspector.SourceFrame.prototype._handleSave):
    29810         (WebInspector.SourceFrame.prototype._handleRevertEditing):
    29811         * inspector/front-end/TextViewer.js:
    29812         (WebInspector.TextEditorMainPanel):
    29813         (WebInspector.TextEditorMainPanel.prototype.set readOnly):
    29814 
    29815 2011-03-14  Chris Rogers  <crogers@google.com>
    29816 
    29817         Reviewed by Xan Lopez.
    29818 
    29819         Add all web audio auto-generated files to GTK make system
    29820         https://bugs.webkit.org/show_bug.cgi?id=50497
    29821 
    29822         No new tests since these are build-system tweaks.
    29823 
    29824         * GNUmakefile.am:
    29825 
    29826 2011-03-14  Pavel Feldman  <pfeldman@chromium.org>
    29827 
    29828         Reviewed by Yury Semikhatsky.
    29829 
    29830         Web Inspector: make DOMAgent event target, remove dependency from ElementsPanel.
    29831         https://bugs.webkit.org/show_bug.cgi?id=56268
    29832 
    29833         * inspector/Inspector.idl:
    29834         * inspector/InspectorDOMAgent.cpp:
    29835         (WebCore::InspectorDOMAgent::reset):
    29836         (WebCore::InspectorDOMAgent::performSearch):
    29837         (WebCore::InspectorDOMAgent::cancelSearch):
    29838         (WebCore::InspectorDOMAgent::onMatchJobsTimer):
    29839         (WebCore::InspectorDOMAgent::reportNodesAsSearchResults):
    29840         * inspector/InspectorDOMAgent.h:
    29841         * inspector/front-end/DOMAgent.js:
    29842         (WebInspector.DOMAgent.prototype.requestDocument.mycallback):
    29843         (WebInspector.DOMAgent.prototype.requestDocument):
    29844         (WebInspector.DOMAgent.prototype._attributesUpdated):
    29845         (WebInspector.DOMAgent.prototype._characterDataModified):
    29846         (WebInspector.DOMAgent.prototype._documentUpdated):
    29847         (WebInspector.DOMAgent.prototype._setDocument):
    29848         (WebInspector.DOMAgent.prototype._childNodeCountUpdated):
    29849         (WebInspector.DOMAgent.prototype._childNodeInserted):
    29850         (WebInspector.DOMAgent.prototype._childNodeRemoved):
    29851         (WebInspector.DOMAgent.prototype._removeBreakpoints):
    29852         (WebInspector.DOMAgent.prototype.performSearch):
    29853         (WebInspector.DOMAgent.prototype.cancelSearch):
    29854801        (WebInspector.DOMDispatcher.prototype.searchResults):
    29855802        * inspector/front-end/ElementsPanel.js:
    29856803        (WebInspector.ElementsPanel):
    29857         (WebInspector.ElementsPanel.prototype._reset):
    29858         (WebInspector.ElementsPanel.prototype._documentUpdated):
    29859         (WebInspector.ElementsPanel.prototype.searchCanceled):
    29860         (WebInspector.ElementsPanel.prototype.performSearch):
    29861         (WebInspector.ElementsPanel.prototype._addNodesToSearchResult):
    29862804        (WebInspector.ElementsPanel.prototype._attributesUpdated):
    29863805        (WebInspector.ElementsPanel.prototype._characterDataModified):
    29864806        (WebInspector.ElementsPanel.prototype._nodeInserted):
    29865807        (WebInspector.ElementsPanel.prototype._nodeRemoved):
    29866         (WebInspector.ElementsPanel.prototype._childNodeCountUpdated):
    29867808        (WebInspector.ElementsPanel.prototype.updateModifiedNodes):
    29868 
    29869 2011-03-14  Pavel Feldman  <pfeldman@chromium.org>
    29870 
    29871         Reviewed by Yury Semikhatsky.
    29872 
    29873         Web Inspector: add tests for edit dom operations.
    29874         https://bugs.webkit.org/show_bug.cgi?id=56248
    29875 
    29876         Test: inspector/elements/edit-dom-actions.html
    29877 
    29878         * inspector/Inspector.idl:
    29879         * inspector/InspectorDOMAgent.cpp:
    29880         (WebCore::InspectorDOMAgent::assertNode):
    29881         (WebCore::InspectorDOMAgent::assertElement):
    29882         (WebCore::InspectorDOMAgent::assertHTMLElement):
    29883         (WebCore::InspectorDOMAgent::nodeToSelectOn):
    29884         (WebCore::InspectorDOMAgent::querySelector):
    29885         (WebCore::InspectorDOMAgent::querySelectorAll):
    29886         (WebCore::InspectorDOMAgent::setAttribute):
    29887         (WebCore::InspectorDOMAgent::removeAttribute):
    29888         (WebCore::InspectorDOMAgent::getOuterHTML):
    29889         (WebCore::InspectorDOMAgent::setOuterHTML):
    29890         * inspector/InspectorDOMAgent.h:
    29891         * inspector/front-end/DOMAgent.js:
    29892         (WebInspector.DOMNode.prototype.setAttribute):
    29893         (WebInspector.DOMNode.prototype.removeAttribute):
    29894         * inspector/front-end/inspector.js:
    29895         (WebInspector.startEditing.defaultFinishHandler):
    29896 
    29897 2011-03-14  Brady Eidson  <beidson@apple.com>
     809        (WebInspector.ElementsPanel.prototype.updateBreadcrumb):
     810        * inspector/front-end/ElementsTreeOutline.js:
     811        (WebInspector.ElementsTreeElement):
     812        (WebInspector.ElementsTreeElement.prototype._updateChildren.updateChildrenOfNode):
     813        (WebInspector.ElementsTreeElement.prototype._updateChildren):
     814        ():
     815        * inspector/front-end/inspector.css:
     816        * inspector/front-end/utilities.js:
     817        (Element.prototype.query):
     818
     8192011-06-08  Mark Rowe  <mrowe@apple.com>
     820
     821        Fix the build.
     822
     823        * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
     824        (WebCore::MediaPlayerPrivateAVFoundation::timeChanged):
     825        (WebCore::MediaPlayerPrivateAVFoundation::seekCompleted):
     826
     8272011-06-07  Keishi Hattori  <keishi@webkit.org>
     828
     829        Reviewed by Kent Tamura.
     830
     831        Rename HTMLInputElement::m_value to m_valueIfDirty
     832        https://bugs.webkit.org/show_bug.cgi?id=61990
     833
     834        No new tests because no behavior change.
     835
     836        * html/HTMLInputElement.cpp: Replaced m_value with m_valueIfDirty.
     837        (WebCore::HTMLInputElement::tooLong):
     838        (WebCore::HTMLInputElement::updateType):
     839        (WebCore::HTMLInputElement::parseMappedAttribute):
     840        (WebCore::HTMLInputElement::copyNonAttributeProperties):
     841        (WebCore::HTMLInputElement::value):
     842        (WebCore::HTMLInputElement::setValue):
     843        (WebCore::HTMLInputElement::setValueFromRenderer):
     844        (WebCore::HTMLInputElement::updateValueIfNeeded):
     845        * html/HTMLInputElement.h: Renamed m_value to m_valueIfDirty.
     846        (WebCore::HTMLInputElement::hasDirtyValue): Added. Returns the dirty value flag.
     847
     8482011-06-07  Ian Henderson  <ianh@apple.com>
    29898849
    29899850        Reviewed by Dan Bernstein.
    29900851
    29901         <rdar://problem/8762095> and https://bugs.webkit.org/show_bug.cgi?id=55172
    29902         Need WK2 API to view/manage origins with LocalStorage
    29903 
    29904         * storage/StorageTracker.cpp:
    29905         (WebCore::StorageTracker::initializeTracker): Make sure the TextEncoding map is initialized on the main thread
    29906           before the StorageTracker thread can do it on the background thread.
    29907 
    29908 2011-03-13  Anton D'Auria  <adauria@apple.com>
    29909 
    29910         Reviewed by Brady Eidson and David Levin, landed by Brady Eidson.
    29911 
    29912         Fixed lock-taking order to prevent deadlock, added lock for m_client,
    29913         removed premature return in syncImportOriginIdentifiers when tracker
    29914         db does not exist because that prevented syncFileSystemAndTrackerDatabase()
    29915         from running until next LocalStorage db creation, cleaned up
    29916         StorageTracker::scheduleTask() code for readability.
     852        (CG) Sub-image drawing clips unnecessarily
     853        https://bugs.webkit.org/show_bug.cgi?id=62258
     854
     855        If destRect completely encompasses the adjustedDestRect into which we
     856        draw, clipping to destRect will do nothing.  Skip the call to
     857        CGContextClipToRect in this case.
     858
     859        * platform/graphics/cg/ImageCG.cpp:
     860        (WebCore::BitmapImage::draw):
     861
     8622011-06-07  Emil A Eklund  <eae@chromium.org>
     863
     864        Reviewed by Eric Seidel.
     865
     866        Convert nodeAtPoint to IntPoint
     867        https://bugs.webkit.org/show_bug.cgi?id=62145
     868
     869        Convert nodeAtPoint to take an IntPoint instead of a pair of ints for the
     870        accumulated offset.
     871
     872        Covered by existing tests.
     873
     874        * platform/graphics/FloatPoint.h:
     875        (WebCore::FloatPoint::moveBy):
     876        Add moveBy(IntPoint) method
    29917877       
    29918         https://bugs.webkit.org/show_bug.cgi?id=56285
     878        * rendering/EllipsisBox.cpp:
     879        (WebCore::EllipsisBox::nodeAtPoint):
     880        * rendering/EllipsisBox.h:
     881        * rendering/InlineBox.cpp:
     882        (WebCore::InlineBox::nodeAtPoint):
     883        * rendering/InlineBox.h:
     884        * rendering/InlineFlowBox.cpp:
     885        (WebCore::InlineFlowBox::nodeAtPoint):
     886        * rendering/InlineFlowBox.h:
     887        * rendering/InlineTextBox.cpp:
     888        (WebCore::InlineTextBox::nodeAtPoint):
     889        * rendering/InlineTextBox.h:
     890        * rendering/RenderBlock.cpp:
     891        (WebCore::RenderBlock::nodeAtPoint):
     892        (WebCore::RenderBlock::hitTestContents):
     893        * rendering/RenderBlock.h:
     894        * rendering/RenderBox.cpp:
     895        (WebCore::RenderBox::nodeAtPoint):
     896        * rendering/RenderBox.h:
     897        * rendering/RenderFrameSet.cpp:
     898        (WebCore::RenderFrameSet::nodeAtPoint):
     899        * rendering/RenderFrameSet.h:
     900        * rendering/RenderImage.cpp:
     901        (WebCore::RenderImage::nodeAtPoint):
     902        * rendering/RenderImage.h:
     903        * rendering/RenderInline.cpp:
     904        (WebCore::RenderInline::nodeAtPoint):
     905        * rendering/RenderInline.h:
     906        * rendering/RenderLineBoxList.cpp:
     907        (WebCore::RenderLineBoxList::hitTest):
     908        * rendering/RenderListBox.cpp:
     909        (WebCore::RenderListBox::nodeAtPoint):
     910        * rendering/RenderListBox.h:
     911        * rendering/RenderObject.cpp:
     912        (WebCore::RenderObject::hitTest):
     913        * rendering/RenderObject.h:
     914        * rendering/RenderTable.cpp:
     915        (WebCore::RenderTable::nodeAtPoint):
     916        * rendering/RenderTable.h:
     917        * rendering/RenderTableRow.cpp:
     918        (WebCore::RenderTableRow::nodeAtPoint):
     919        * rendering/RenderTableRow.h:
     920        * rendering/RenderTableSection.cpp:
     921        (WebCore::RenderTableSection::nodeAtPoint):
     922        * rendering/RenderTableSection.h:
     923        * rendering/RenderText.h:
     924        (WebCore::RenderText::nodeAtPoint):
     925        * rendering/RenderTextControlMultiLine.cpp:
     926        (WebCore::RenderTextControlMultiLine::nodeAtPoint):
     927        * rendering/RenderTextControlMultiLine.h:
     928        * rendering/RenderTextControlSingleLine.cpp:
     929        (WebCore::RenderTextControlSingleLine::nodeAtPoint):
     930        * rendering/RenderTextControlSingleLine.h:
     931        * rendering/RenderWidget.cpp:
     932        (WebCore::RenderWidget::nodeAtPoint):
     933        * rendering/RenderWidget.h:
     934        * rendering/RootInlineBox.cpp:
     935        (WebCore::RootInlineBox::nodeAtPoint):
     936        * rendering/RootInlineBox.h:
     937        * rendering/svg/RenderSVGForeignObject.cpp:
     938        (WebCore::RenderSVGForeignObject::nodeAtFloatPoint):
     939        (WebCore::RenderSVGForeignObject::nodeAtPoint):
     940        * rendering/svg/RenderSVGForeignObject.h:
     941        * rendering/svg/RenderSVGModelObject.cpp:
     942        (WebCore::RenderSVGModelObject::nodeAtPoint):
     943        * rendering/svg/RenderSVGModelObject.h:
     944        * rendering/svg/RenderSVGRoot.cpp:
     945        (WebCore::RenderSVGRoot::nodeAtPoint):
     946        * rendering/svg/RenderSVGRoot.h:
     947        * rendering/svg/RenderSVGText.cpp:
     948        (WebCore::RenderSVGText::nodeAtFloatPoint):
     949        (WebCore::RenderSVGText::nodeAtPoint):
     950        * rendering/svg/RenderSVGText.h:
     951
     9522011-06-07  Yi Shen  <yi.4.shen@nokia.com>
     953
     954        Reviewed by Simon Hausmann.
     955
     956        [Qt] Fix the error code for media resource failures when using QtMobility
     957        https://bugs.webkit.org/show_bug.cgi?id=55901
     958
     959        To indicate the media resource failures, set the network state to
     960        MediaPlayer::FormatError when receives QMediaPlayer::InvalidMedia or
     961        QMediaPlayer::ResourceError.
     962
     963        * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
     964        (WebCore::MediaPlayerPrivateQt::updateStates):
     965
     9662011-06-07  Emil A Eklund  <eae@chromium.org>
     967
     968        Reviewed by Eric Seidel.
     969
     970        Change RenderBlock::hitTestFloats to IntPoint
     971        https://bugs.webkit.org/show_bug.cgi?id=62176
     972
     973        Covered by existing tests.
     974
     975        * rendering/RenderBlock.cpp:
     976        (WebCore::RenderBlock::nodeAtPoint):
     977        (WebCore::RenderBlock::hitTestFloats):
     978        (WebCore::RenderBlock::hitTestColumns):
     979        * rendering/RenderBlock.h:
     980
     9812011-06-07  Tim Horton  <timothy_horton@apple.com>
     982
     983        Reviewed by Alexey Proskuryakov.
     984
     985        Use correct CFURLStorageSessionRef definition on Snow Leopard
     986        https://bugs.webkit.org/show_bug.cgi?id=62223
     987
     988        * platform/mac/WebCoreSystemInterface.h:
     989        * platform/network/ResourceHandle.h:
     990        * platform/network/cf/ResourceRequest.h:
     991
     9922011-06-07  Emil A Eklund  <eae@chromium.org>
     993
     994        Reviewed by Eric Seidel.
     995
     996        Change RenderBlock::hitTestColumns to IntPoint
     997        https://bugs.webkit.org/show_bug.cgi?id=62172
     998
     999        Covered by existing tests.
     1000
     1001        * rendering/RenderBlock.cpp:
     1002        (WebCore::RenderBlock::nodeAtPoint):
     1003        (WebCore::RenderBlock::hitTestColumns):
     1004        * rendering/RenderBlock.h:
     1005
     10062011-06-07  Simon Fraser  <simon.fraser@apple.com>
     1007
     1008        Reviewed by Darin Adler.
     1009
     1010        Opacity transition doesn't work while content property is set.
     1011        https://bugs.webkit.org/show_bug.cgi?id=59301
    299191012       
    29920         * storage/StorageTracker.cpp:
    29921         (WebCore::StorageTracker::trackerDatabasePath):
    29922         (WebCore::StorageTracker::syncImportOriginIdentifiers): If tracker db isn't
    29923         optionally opened (as in the case when it doesn't exist on disk), don't
    29924         exit early and call syncFileSystemAndTrackerDatabase(), which will create
    29925         a tracker db if localstorage db files are found on disk by calling setOriginDetails.
    29926         (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase):
    29927         (WebCore::StorageTracker::setOriginDetails):
    29928         (WebCore::StorageTracker::scheduleTask): readability changes.
    29929         (WebCore::StorageTracker::syncSetOriginDetails):
    29930         (WebCore::StorageTracker::syncDeleteAllOrigins):
    29931         (WebCore::StorageTracker::syncDeleteOrigin):
    29932         (WebCore::StorageTracker::cancelDeletingOrigin): order lock-taking consistently to avoid deadlock.
    29933         (WebCore::StorageTracker::setClient):
    29934         * storage/StorageTracker.h:
    29935 
    29936 2011-03-13  Anton D'Auria  <adauria@apple.com>
    29937 
    29938         Reviewed and landed by Brady Eidson.
    29939 
    29940         Invalid assertion in StorageTracker - PageGroup::numberOfPageGroups() == 1
    29941         https://bugs.webkit.org/show_bug.cgi?id=56240
    29942 
    29943         This assertion is invalid until LocalStorage is either global or is isolated by PageGroup.
    29944 
    29945         * storage/StorageTracker.cpp:
    29946         (WebCore::StorageTracker::origins):
    29947         (WebCore::StorageTracker::deleteAllOrigins):
    29948         (WebCore::StorageTracker::deleteOrigin):
    29949 
    29950 2011-03-13  Pratik Solanki  <psolanki@apple.com>
     1013        StyleRareNonInheritedData's copy constructor omitted to copy
     1014        the m_content data, which caused us to detach and re-attach the renderer
     1015        at the start of the transition, thereby killing the transition.
     1016       
     1017        Fix by making StyleRareNonInheritedData's copy ctor do the right thing.
     1018
     1019        Test: transitions/transition-on-element-with-content.html
     1020
     1021        * rendering/style/ContentData.h:
     1022        * rendering/style/ContentData.cpp:
     1023        (WebCore::ContentData::clone): New method to do a deep clone. (Can't use a copy
     1024        ctor because of the subclasses.)
     1025        * rendering/style/CounterDirectives.h: Pack the data members to save space.
     1026        Add a clone() function for the HashMap.
     1027        * rendering/style/CounterDirectives.cpp:
     1028        (WebCore::clone): Make a new HashMap and copy the contents over.
     1029        * rendering/style/StyleRareNonInheritedData.cpp:
     1030        (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData): Copy
     1031        the content and counter directives over.
     1032        (WebCore::StyleRareNonInheritedData::operator==): Rather than just comparing
     1033        for pointer equality, do a correct check for m_counterDirectives equality.
     1034        (WebCore::StyleRareNonInheritedData::counterDataEquivalent):
     1035        * rendering/style/StyleRareNonInheritedData.h:
     1036
     10372011-06-07  Robert Kroeger  <rjkroege@chromium.org>
     1038
     1039        Reviewed by Adam Barth.
     1040
     1041        [chromium] Add a basic gesture recognizer to the Chromium platform
     1042        https://bugs.webkit.org/show_bug.cgi?id=54417
     1043
     1044        Adds a basic gesture recognizer to the Chromium platform. Adds an entry
     1045        point to the GestureRecognizer to reset any internal state on a page reset.
     1046        Resetting the gesture recognizer on page load is necesary for reliable
     1047        layout test execution and improves gesture recognizer operational
     1048        robustness.
     1049
     1050        Added an additional constructor to permit building a synthetic
     1051        PlatformWheelEvent.
     1052
     1053        Small modifications to the PlatformGestureRecognizer as required to
     1054        implement the simple Chromium platform gesture recognizer.
     1055
     1056        Tests: fast/events/touch/touch-gesture-click.html
     1057
     1058        * WebCore.gypi:
     1059        * page/EventHandler.cpp:
     1060        (WebCore::EventHandler::resetGestureRecognizer):
     1061        * page/EventHandler.h:
     1062        * page/FrameView.cpp:
     1063        (WebCore::FrameView::reset):
     1064        * platform/PlatformGestureRecognizer.h:
     1065        * platform/PlatformWheelEvent.h:
     1066        (WebCore::PlatformWheelEvent::PlatformWheelEvent):
     1067        * platform/chromium/GestureRecognizerChromium.cpp: Added.
     1068        (WebCore::InnerGestureRecognizer::InnerGestureRecognizer):
     1069        (WebCore::InnerGestureRecognizer::reset):
     1070        (WebCore::InnerGestureRecognizer::~InnerGestureRecognizer):
     1071        (WebCore::InnerGestureRecognizer::addEdgeFunction):
     1072        (WebCore::InnerGestureRecognizer::isInClickTimeWindow):
     1073        (WebCore::InnerGestureRecognizer::isInsideManhattanSquare):
     1074        (WebCore::InnerGestureRecognizer::dispatchSyntheticClick):
     1075        (WebCore::InnerGestureRecognizer::processTouchEventForGesture):
     1076        (WebCore::InnerGestureRecognizer::scrollViaTouchMotion):
     1077        (WebCore::InnerGestureRecognizer::updateValues):
     1078        (WebCore::InnerGestureRecognizer::signature):
     1079        (WebCore::touchDown):
     1080        (WebCore::noGesture):
     1081        (WebCore::click):
     1082        (WebCore::isClickOrScroll):
     1083        (WebCore::inScroll):
     1084        (WebCore::PlatformGestureRecognizer::create):
     1085        (WebCore::PlatformGestureRecognizer::PlatformGestureRecognizer):
     1086        (WebCore::PlatformGestureRecognizer::~PlatformGestureRecognizer):
     1087        (WebCore::GestureRecognizerChromium::GestureRecognizerChromium):
     1088        (WebCore::GestureRecognizerChromium::~GestureRecognizerChromium):
     1089        * platform/chromium/GestureRecognizerChromium.h: Added.
     1090        (WebCore::InnerGestureRecognizer::setState):
     1091        (WebCore::InnerGestureRecognizer::state):
     1092        (WebCore::GestureRecognizerChromium::reset):
     1093        (WebCore::GestureRecognizerChromium::processTouchEventForGesture):
     1094
     10952011-06-07  No'am Rosenthal  <noam.rosenthal@nokia.com>
     1096
     1097        Reviewed by Andreas Kling.
     1098
     1099        [Texmap][Qt] Enable TextureMapper by default
     1100        https://bugs.webkit.org/show_bug.cgi?id=61740
     1101
     1102        Enable TextureMapper on Windows+Symbian, disabling the direct OpenGL path. This would mean that
     1103        for now QtWebKit on Windows/Symbian would use the Qt backend for TextureMapper.
     1104
     1105        No new functionality so no new tests.
     1106
     1107        * WebCore.pri:
     1108        * WebCore.pro:
     1109        * platform/graphics/qt/GraphicsContext3DQt.cpp:
     1110        * platform/graphics/qt/TextureMapperQt.cpp:
     1111        (WebCore::TextureMapper::create):
     1112
     11132011-06-07  Emil A Eklund  <eae@chromium.org>
     1114
     1115        Reviewed by Eric Seidel.
     1116
     1117        Convert RenderBox::absoluteRects to IntPoint
     1118        https://bugs.webkit.org/show_bug.cgi?id=62130
     1119
     1120        Covered by existing tests.
     1121
     1122        * dom/Node.cpp:
     1123        (WebCore::Node::hasNonEmptyBoundingBox):
     1124        * rendering/InlineBox.h:
     1125        (WebCore::InlineBox::size):
     1126        * rendering/RenderBlock.cpp:
     1127        (WebCore::RenderBlock::absoluteRects):
     1128        * rendering/RenderBlock.h:
     1129        * rendering/RenderBox.cpp:
     1130        (WebCore::RenderBox::absoluteRects):
     1131        * rendering/RenderBox.h:
     1132        * rendering/RenderInline.cpp:
     1133        (WebCore::RenderInline::absoluteRects):
     1134        * rendering/RenderInline.h:
     1135        * rendering/RenderObject.cpp:
     1136        (WebCore::RenderObject::absoluteBoundingBoxRect):
     1137        * rendering/RenderObject.h:
     1138        (WebCore::RenderObject::absoluteRects):
     1139        * rendering/RenderText.cpp:
     1140        (WebCore::RenderText::absoluteRects):
     1141        * rendering/RenderText.h:
     1142        * rendering/RenderView.cpp:
     1143        (WebCore::RenderView::absoluteRects):
     1144        * rendering/RenderView.h:
     1145        * rendering/svg/RenderSVGBlock.cpp:
     1146        (WebCore::RenderSVGBlock::absoluteRects):
     1147        * rendering/svg/RenderSVGBlock.h:
     1148        * rendering/svg/RenderSVGModelObject.cpp:
     1149        (WebCore::RenderSVGModelObject::absoluteRects):
     1150        * rendering/svg/RenderSVGModelObject.h:
     1151
     11522011-06-07  Kent Tamura  <tkent@chromium.org>
     1153
     1154        Reviewed by Andreas Kling.
     1155
     1156        [Qt] RenderThemeQt::adjustSliderThumbSize() should not refer to the parent style.
     1157        https://bugs.webkit.org/show_bug.cgi?id=62207
     1158
     1159        * css/mediaControlsQt.css: Add comments.
     1160        (audio::-webkit-media-controls-timeline):
     1161        (video::-webkit-media-controls-timeline):
     1162        (audio::-webkit-media-controls-volume-slider):
     1163        (video::-webkit-media-controls-volume-slider):
     1164        * platform/qt/RenderThemeQt.cpp: Use fixed values to avoid referring to o->parent().
     1165        (WebCore::RenderThemeQt::adjustSliderThumbSize):
     1166
     11672011-06-07  Sailesh Agrawal  <sail@chromium.org>
     1168
     1169        Reviewed by Mihai Parparita.
     1170
     1171        Chromium Mac: Fork ScrollAnimatorMac to ScrollAnimatorChromiumMac for overlay scrollbar support
     1172        https://bugs.webkit.org/show_bug.cgi?id=59753
     1173
     1174        No new tests. Just forking ScrollAnimatorMac to ScrollAnimatorChromiumMac.
     1175
     1176        * WebCore.gyp/WebCore.gyp: Added IntPointMac.mm. This is used by some functions in ScrollAnimatorChromiumMac. Also added filters for conflicting class names in ScrollAnimatorChromiumMac.
     1177        * WebCore.gypi: Added ScrollAnimatorChromiumMac.h/mm.
     1178        * platform/ScrollAnimator.cpp: Extended the #ifdef around ScrollAnimator::create() so that the chromium version will be created.
     1179        * platform/chromium/ScrollAnimatorChromiumMac.h: Added.
     1180        (WebCore::ScrollAnimatorChromiumMac::setIsDrawingIntoLayer):
     1181        (WebCore::ScrollAnimatorChromiumMac::isDrawingIntoLayer):
     1182        (WebCore::ScrollAnimatorChromiumMac::haveScrolledSincePageLoad):
     1183        * platform/chromium/ScrollAnimatorChromiumMac.mm: Added. Forked from ScrollAnimatorMac and replaced all instances of ScrollAnimatorMac with ScrollAnimatorChromiumMac and ScrollbarThemeMac with ScrollbarThemeChromiumMac. Removed the ENABLE(SMOOTH_SCROLLING) around the file. Stubbed out ScrollAnimatorChromiumMac::scroll() if smooth scrolling is disabled.
     1184        (abs):
     1185        (-[ScrollAnimationHelperDelegate initWithScrollAnimator:WebCore::]):
     1186        (-[ScrollAnimationHelperDelegate scrollAnimatorDestroyed]):
     1187        (-[ScrollAnimationHelperDelegate bounds]):
     1188        (-[ScrollAnimationHelperDelegate _immediateScrollToPoint:]):
     1189        (-[ScrollAnimationHelperDelegate _pixelAlignProposedScrollPosition:]):
     1190        (-[ScrollAnimationHelperDelegate convertSizeToBase:]):
     1191        (-[ScrollAnimationHelperDelegate convertSizeFromBase:]):
     1192        (-[ScrollAnimationHelperDelegate convertSizeToBacking:]):
     1193        (-[ScrollAnimationHelperDelegate convertSizeFromBacking:]):
     1194        (-[ScrollAnimationHelperDelegate superview]):
     1195        (-[ScrollAnimationHelperDelegate documentView]):
     1196        (-[ScrollAnimationHelperDelegate window]):
     1197        (-[ScrollAnimationHelperDelegate _recursiveRecomputeToolTips]):
     1198        (-[ScrollbarPainterControllerDelegate initWithScrollAnimator:WebCore::]):
     1199        (-[ScrollbarPainterControllerDelegate scrollAnimatorDestroyed]):
     1200        (-[ScrollbarPainterControllerDelegate contentAreaRectForScrollerImpPair:]):
     1201        (-[ScrollbarPainterControllerDelegate inLiveResizeForScrollerImpPair:]):
     1202        (-[ScrollbarPainterControllerDelegate mouseLocationInContentAreaForScrollerImpPair:]):
     1203        (-[ScrollbarPainterControllerDelegate scrollerImpPair:convertContentPoint:toScrollerImp:]):
     1204        (-[ScrollbarPainterControllerDelegate scrollerImpPair:setContentAreaNeedsDisplayInRect:]):
     1205        (-[ScrollbarPainterControllerDelegate scrollerImpPair:updateScrollerStyleForNewRecommendedScrollerStyle:]):
     1206        (-[ScrollbarPartAnimation initWithScrollbarPainter:part:WebCore::scrollAnimator:WebCore::animateAlphaTo:duration:]):
     1207        (-[ScrollbarPartAnimation setCurrentProgress:]):
     1208        (-[ScrollbarPartAnimation scrollAnimatorDestroyed]):
     1209        (-[ScrollbarPainterDelegate initWithScrollAnimator:WebCore::]):
     1210        (-[ScrollbarPainterDelegate cancelAnimations]):
     1211        (-[ScrollbarPainterDelegate convertRectToBacking:]):
     1212        (-[ScrollbarPainterDelegate convertRectFromBacking:]):
     1213        (-[ScrollbarPainterDelegate layer]):
     1214        (-[ScrollbarPainterDelegate setUpAnimation:scrollerPainter:part:WebCore::animateAlphaTo:duration:]):
     1215        (-[ScrollbarPainterDelegate scrollerImp:animateKnobAlphaTo:duration:]):
     1216        (-[ScrollbarPainterDelegate scrollerImp:animateTrackAlphaTo:duration:]):
     1217        (-[ScrollbarPainterDelegate scrollerImp:overlayScrollerStateChangedTo:]):
     1218        (-[ScrollbarPainterDelegate scrollAnimatorDestroyed]):
     1219        (WebCore::ScrollAnimator::create):
     1220        (WebCore::ScrollAnimatorChromiumMac::ScrollAnimatorChromiumMac):
     1221        (WebCore::ScrollAnimatorChromiumMac::~ScrollAnimatorChromiumMac):
     1222        (WebCore::ScrollAnimatorChromiumMac::scroll):
     1223        (WebCore::ScrollAnimatorChromiumMac::scrollToOffsetWithoutAnimation):
     1224        (WebCore::ScrollAnimatorChromiumMac::adjustScrollXPositionIfNecessary):
     1225        (WebCore::ScrollAnimatorChromiumMac::adjustScrollYPositionIfNecessary):
     1226        (WebCore::ScrollAnimatorChromiumMac::adjustScrollPositionIfNecessary):
     1227        (WebCore::ScrollAnimatorChromiumMac::immediateScrollToPoint):
     1228        (WebCore::ScrollAnimatorChromiumMac::immediateScrollByDeltaX):
     1229        (WebCore::ScrollAnimatorChromiumMac::immediateScrollByDeltaY):
     1230        (WebCore::ScrollAnimatorChromiumMac::notityPositionChanged):
     1231        (WebCore::ScrollAnimatorChromiumMac::contentAreaWillPaint):
     1232        (WebCore::ScrollAnimatorChromiumMac::mouseEnteredContentArea):
     1233        (WebCore::ScrollAnimatorChromiumMac::mouseExitedContentArea):
     1234        (WebCore::ScrollAnimatorChromiumMac::mouseMovedInContentArea):
     1235        (WebCore::ScrollAnimatorChromiumMac::willStartLiveResize):
     1236        (WebCore::ScrollAnimatorChromiumMac::contentsResized):
     1237        (WebCore::ScrollAnimatorChromiumMac::willEndLiveResize):
     1238        (WebCore::ScrollAnimatorChromiumMac::contentAreaDidShow):
     1239        (WebCore::ScrollAnimatorChromiumMac::contentAreaDidHide):
     1240        (WebCore::ScrollAnimatorChromiumMac::didBeginScrollGesture):
     1241        (WebCore::ScrollAnimatorChromiumMac::didEndScrollGesture):
     1242        (WebCore::ScrollAnimatorChromiumMac::didAddVerticalScrollbar):
     1243        (WebCore::ScrollAnimatorChromiumMac::willRemoveVerticalScrollbar):
     1244        (WebCore::ScrollAnimatorChromiumMac::didAddHorizontalScrollbar):
     1245        (WebCore::ScrollAnimatorChromiumMac::willRemoveHorizontalScrollbar):
     1246        (WebCore::ScrollAnimatorChromiumMac::cancelAnimations):
     1247        (WebCore::elasticDeltaForTimeDelta):
     1248        (WebCore::elasticDeltaForReboundDelta):
     1249        (WebCore::reboundDeltaForElasticDelta):
     1250        (WebCore::scrollWheelMultiplier):
     1251        (WebCore::ScrollAnimatorChromiumMac::handleWheelEvent):
     1252        (WebCore::ScrollAnimatorChromiumMac::handleGestureEvent):
     1253        (WebCore::ScrollAnimatorChromiumMac::pinnedInDirection):
     1254        (WebCore::ScrollAnimatorChromiumMac::allowsVerticalStretching):
     1255        (WebCore::ScrollAnimatorChromiumMac::allowsHorizontalStretching):
     1256        (WebCore::ScrollAnimatorChromiumMac::smoothScrollWithEvent):
     1257        (WebCore::ScrollAnimatorChromiumMac::beginScrollGesture):
     1258        (WebCore::ScrollAnimatorChromiumMac::endScrollGesture):
     1259        (WebCore::ScrollAnimatorChromiumMac::snapRubberBand):
     1260        (WebCore::roundTowardZero):
     1261        (WebCore::roundToDevicePixelTowardZero):
     1262        (WebCore::ScrollAnimatorChromiumMac::snapRubberBandTimerFired):
     1263        (WebCore::ScrollAnimatorChromiumMac::startScrollbarPaintTimer):
     1264        (WebCore::ScrollAnimatorChromiumMac::scrollbarPaintTimerIsActive):
     1265        (WebCore::ScrollAnimatorChromiumMac::stopScrollbarPaintTimer):
     1266        (WebCore::ScrollAnimatorChromiumMac::initialScrollbarPaintTimerFired):
     1267        (WebCore::ScrollAnimatorChromiumMac::setVisibleScrollerThumbRect):
     1268        * platform/graphics/IntPoint.h: Exposed NSPoint conversion routines to chromium mac.
     1269
     12702011-06-07  Sam Weinig  <sam@webkit.org>
     1271
     1272        Reviewed by Anders Carlsson.
     1273
     1274        Remove repeated IPC traffic from SetRenderTreeSize message
     1275        https://bugs.webkit.org/show_bug.cgi?id=62244
     1276
     1277        * WebCore.xcodeproj/project.pbxproj:
     1278        Make RenderArena.h private so it can be called from WebKit2.
     1279
     1280        * loader/FrameLoaderClient.h:
     1281        (WebCore::FrameLoaderClient::dispatchDidLayout):
     1282        Added.
     1283
     1284        * page/ChromeClient.h:
     1285        Remove setRenderTreeSize.
     1286
     1287        * page/FrameView.cpp:
     1288        (WebCore::FrameView::performPostLayoutTasks):
     1289        Call dispatchDidLayout for all frames instead of calling setRenderTreeSize
     1290        for the main frame.
     1291
     12922011-06-07  Emil A Eklund  <eae@chromium.org>
     1293
     1294        Reviewed by Eric Seidel.
     1295
     1296        Change RenderBlock::hitTestContents to IntPoint
     1297        https://bugs.webkit.org/show_bug.cgi?id=62170
     1298
     1299        Covered by existing tests.
     1300
     1301        * rendering/RenderBlock.cpp:
     1302        (WebCore::RenderBlock::nodeAtPoint):
     1303        (WebCore::RenderBlock::hitTestColumns):
     1304        (WebCore::RenderBlock::hitTestContents):
     1305        * rendering/RenderBlock.h:
     1306
     13072011-06-07  Jer Noble  <jer.noble@apple.com>
     1308
     1309        Reviewed by Eric Carlson.
     1310
     1311        Video with poster attribute will not display new frames when scrubbing.
     1312        https://bugs.webkit.org/show_bug.cgi?id=62036
     1313
     1314        Remove our "detection" about the end of a scrub now that there is an explicit seek completion
     1315        handler available in AVFoundation.  Move what we used to do upon detection in timeChanged()
     1316        into seekCompleted().
     1317
     1318        * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
     1319        (WebCore::MediaPlayerPrivateAVFoundation::timeChanged):
     1320        (WebCore::MediaPlayerPrivateAVFoundation::seekCompleted):
     1321
     13222011-06-07  James Simonsen  <simonjam@chromium.org>
     1323
     1324        Unreviewed, build fix, missing files from r88274.
     1325
     1326        * bindings/v8/ChildThreadDOMData.cpp: Added.
     1327        (WebCore::ChildThreadDOMData::ChildThreadDOMData):
     1328        (WebCore::ChildThreadDOMData::getStore):
     1329        * bindings/v8/ChildThreadDOMData.h: Added.
     1330        * bindings/v8/MainThreadDOMData.cpp: Added.
     1331        (WebCore::MainThreadDOMData::MainThreadDOMData):
     1332        (WebCore::MainThreadDOMData::getCurrent):
     1333        (WebCore::MainThreadDOMData::getMainThreadStore):
     1334        (WebCore::MainThreadDOMData::getCurrentMainThreadStore):
     1335        * bindings/v8/MainThreadDOMData.h: Added.
     1336        (WebCore::MainThreadDOMData::getStore):
     1337
     13382011-06-07  Abhishek Arya  <inferno@chromium.org>
    299511339
    299521340        Reviewed by Dan Bernstein.
    299531341
    29954         Make adjustMIMETypeIfNecessary use CFNetwork directly
    29955         https://bugs.webkit.org/show_bug.cgi?id=55912
    29956 
    29957         Follow up fix for Layout Test failure. Fix typo - it should be text/plain, not test/plain.
    29958 
    29959         * platform/network/mac/WebCoreURLResponse.mm:
    29960         (WebCore::adjustMIMETypeIfNecessary):
    29961 
    29962 2011-03-13  Dan Bernstein  <mitz@apple.com>
    29963 
    29964         Reviewed by Sam Weinig.
    29965 
    29966         Include hyphenation information in text representation of render tree
    29967         https://bugs.webkit.org/show_bug.cgi?id=56287
    29968 
    29969         (WebCore::writeTextRun): If the text box is hyphenated, output the hyphenation
    29970         string.
    29971 
    29972 2011-03-13  David Levin  <levin@chromium.org>
    29973 
    29974         Improve my hasitly added build fix and added a bug https://bugs.webkit.org/show_bug.cgi?id=56288
    29975         above addressing this FIXME.
    29976 
    29977         * css/CSSStyleSelector.cpp:
    29978         (WebCore::CSSStyleSelector::applyProperty):
    29979 
    29980 2011-03-13  David Levin  <levin@chromium.org>
    29981 
    29982         Build fix adding remaining enum values to switch statement.
    29983 
    29984         * css/CSSStyleSelector.cpp:
    29985         (WebCore::CSSStyleSelector::applyProperty):
    29986 
    29987 2011-03-13  Sam Weinig  <sam@webkit.org>
    29988 
    29989         Fix windows build.
    29990 
    29991         * platform/network/cf/ResourceErrorCF.cpp:
    29992         (WebCore::ResourceError::ResourceError):
    29993         Add missing constructor.
    29994 
    29995 2011-03-13  David Sosby  <dsosby@rim.com>
    29996 
    29997         Reviewed by Dan Bernstein.
    29998 
    29999         REGRESSION: Soft hyphen is not always rendered
    30000         https://bugs.webkit.org/show_bug.cgi?id=56017
    30001        
    30002         The check to flag a text block as hyphenated was only
    30003         occurring at break points in the line. If no break points
    30004         were found after the soft hyphen then the line would not
    30005         be flagged hyphenated. Adding a check for soft hyphen at
    30006         the end of the text run resolves the issue.
    30007 
    30008         Test: fast/text/soft-hyphen-4.html
    30009 
    30010         * rendering/RenderBlockLineLayout.cpp:
    30011         (WebCore::RenderBlock::findNextLineBreak):
    30012 
    30013 2011-03-13  Dan Bernstein  <mitz@apple.com>
    30014 
    30015         Reviewed by Mark Rowe.
    30016 
    30017         REGRESSION (r80438): fast/text/hyphenate-character failing in pixel mode
    30018         https://bugs.webkit.org/show_bug.cgi?id=56280
    30019 
    30020         * rendering/RenderBlockLineLayout.cpp:
    30021         (WebCore::tryHyphenating): Avoid subtracting 1 from an unsigned 0.
    30022 
    30023 2011-03-13  Sam Weinig  <sam@webkit.org>
    30024 
    30025         Reviewed by Anders Carlsson.
    30026 
    30027         Add ability to create a WKErrorRef
    30028         <rdar://problem/9115768>
    30029         https://bugs.webkit.org/show_bug.cgi?id=56279
    30030 
    30031         * WebCore.exp.in:
    30032         Add new exports.
    30033 
    30034         * platform/network/cf/ResourceError.h:
    30035         * platform/network/cf/ResourceErrorCF.cpp:
    30036         (WebCore::ResourceError::platformCompare):
    30037         (WebCore::ResourceError::cfError):
    30038         (WebCore::ResourceError::operator CFErrorRef):
    30039         (WebCore::ResourceError::ResourceError):
    30040         (WebCore::ResourceError::cfStreamError):
    30041         (WebCore::ResourceError::operator CFStreamError):
    30042         * platform/network/mac/ResourceErrorMac.mm:
    30043         (WebCore::ResourceError::ResourceError):
    30044         (WebCore::ResourceError::platformCompare):
    30045         (WebCore::ResourceError::nsError):
    30046         (WebCore::ResourceError::operator NSError *):
    30047         (WebCore::ResourceError::cfError):
    30048         (WebCore::ResourceError::operator CFErrorRef):
    30049         Clean up ResourceError a bit and add ability to create a ResourceError from a CFErrorRef
    30050         regardless of whether CFNetwork is being used.
    30051 
    30052 2011-03-13  Pratik Solanki  <psolanki@apple.com>
    30053 
    30054         Reviewed by Brady Eidson.
    30055 
    30056         Make adjustMIMETypeIfNecessary use CFNetwork directly
    30057         https://bugs.webkit.org/show_bug.cgi?id=55912
    30058 
    30059         Convert category method [NSURLResponse adjustMIMETypeIfNecessary] to C function
    30060         WebCore::adjustMIMETypeIfNecessary() that takes a CFURLResponseRef and is functionally
    30061         identical.
    30062 
    30063         Testing is covered by existing LayoutTests.
    30064 
    30065         * WebCore.exp.in:
    30066         * platform/mac/WebCoreSystemInterface.h:
    30067         * platform/mac/WebCoreSystemInterface.mm:
    30068         * platform/network/mac/ResourceHandleMac.mm:
    30069         (-[WebCoreResourceHandleAsDelegate connection:didReceiveResponse:]):
    30070         * platform/network/mac/WebCoreURLResponse.h:
    30071         * platform/network/mac/WebCoreURLResponse.mm:
    30072         (WebCore::createBinaryExtensionsSet):
    30073         (WebCore::createExtensionToMIMETypeMap):
    30074         (WebCore::mimeTypeFromUTITree):
    30075         (WebCore::adjustMIMETypeIfNecessary):
    30076 
    30077 2011-03-13  Jeremy Moskovich  <jeremy@chromium.org>
    30078 
    30079         Reviewed by Dimitri Glazkov.
    30080 
    30081         Update comment in CSSValueKeywords.in
    30082         https://bugs.webkit.org/show_bug.cgi?id=56266
    30083 
    30084         The enums the comment refers to were moved from RenderStyle.h to RenderStyleConstants.h
    30085         in r36579 but it appears that the comment in CSSValueKeywords.in wasn't updated.
    30086 
    30087         No tests - just updating a comment.
    30088 
    30089         * css/CSSValueKeywords.in:
    30090 
    30091 2011-03-13  Anton D'Auria  <adauria@apple.com>
    30092 
    30093         Reviewed by Alice Liu.
    30094 
    30095         StorageTracker constructor shouldn't have initialization code and isMainThread() assertion
    30096         https://bugs.webkit.org/show_bug.cgi?id=56259
    30097 
    30098         Move all StorageTracker initialization to
    30099         StorageTracker::initializeTracker. This also removes the
    30100         requirement that the StorageTracker constructor isn't run
    30101         on the main thread.
    30102 
    30103         * storage/StorageTracker.cpp:
    30104         (WebCore::StorageTracker::initializeTracker):
    30105         (WebCore::StorageTracker::tracker):
    30106         (WebCore::StorageTracker::StorageTracker):
    30107 
    30108 2011-03-13  Rob Buis  <rwlbuis@gmail.com>
    30109 
    30110         Reviewed by Dave Hyatt.
    30111 
    30112         REGRESSION (r61383): Navigation menu laid out incorrectly on aboardtheworld.com
    30113         https://bugs.webkit.org/show_bug.cgi?id=53470
    30114 
    30115         Prefer !important over normal properties when dealing with duplicate properties in style rules.
    30116 
    30117         Test: fast/css/duplicate-property-in-rule-important.html
    30118 
    30119         * css/CSSMutableStyleDeclaration.cpp:
    30120         (WebCore::CSSMutableStyleDeclaration::CSSMutableStyleDeclaration):
    30121 
    30122 2011-03-12  Sheriff Bot  <webkit.review.bot@gmail.com>
    30123 
    30124         Unreviewed, rolling out r80895.
    30125         http://trac.webkit.org/changeset/80895
    30126         https://bugs.webkit.org/show_bug.cgi?id=56261
    30127 
    30128         Causing crashes in several tests including
    30129         t1202-counters-16-c.html (see
    30130         http://build.webkit.org/results/SnowLeopard%20Intel%20Leaks/r80956%20(15528)/results.html)
    30131         (Requested by dave_levin on #webkit).
    30132 
    30133         * rendering/CounterNode.cpp:
    30134         (WebCore::CounterNode::CounterNode):
    30135         (WebCore::CounterNode::create):
    30136         (WebCore::CounterNode::resetRenderer):
    30137         (WebCore::CounterNode::resetRenderers):
    30138         (WebCore::CounterNode::recount):
    30139         (WebCore::CounterNode::insertAfter):
    30140         (WebCore::CounterNode::removeChild):
    30141         (WebCore::showTreeAndMark):
    30142         * rendering/CounterNode.h:
    30143         (WebCore::CounterNode::renderer):
    30144         * rendering/RenderCounter.cpp:
    30145         (WebCore::findPlaceForCounter):
    30146         (WebCore::RenderCounter::~RenderCounter):
    30147         (WebCore::RenderCounter::originalText):
    30148         (WebCore::RenderCounter::invalidate):
    30149         (WebCore::destroyCounterNodeWithoutMapRemoval):
    30150         (WebCore::RenderCounter::destroyCounterNodes):
    30151         (WebCore::RenderCounter::destroyCounterNode):
    30152         (WebCore::updateCounters):
    30153         (showCounterRendererTree):
    30154         * rendering/RenderCounter.h:
    30155         * rendering/RenderObjectChildList.cpp:
    30156         (WebCore::invalidateCountersInContainer):
    30157         (WebCore::RenderObjectChildList::invalidateCounters):
    30158         * rendering/RenderObjectChildList.h:
    30159 
    30160 2011-03-12  Darin Adler  <darin@apple.com>
    30161 
    30162         Reviewed by Dan Bernstein.
    30163 
    30164         REGRESSION (r76474): IntegerArray hash hashes only 1/4 of the array
    30165         https://bugs.webkit.org/show_bug.cgi?id=56258
    30166 
    30167         No tests because the wrong hashing is mostly harmless. The only symptom
    30168         we have seen is an occasional assertion in debug builds about the size
    30169         not being a multiple of two. But a worse hash is worse for performance too.
    30170 
    30171         * platform/cf/BinaryPropertyList.cpp:
    30172         (WebCore::IntegerArrayHash::hash): Pass in the size in bytes rather
    30173         than the number of array entries.
    30174 
    30175 2011-03-12  Cameron Zwarich  <zwarich@apple.com>
    30176 
    30177         Not reviewed.
    30178 
    30179         Fix the build with newer GCCs and remove some extra whitespae.
    30180 
    30181         * bindings/js/SerializedScriptValue.cpp:
    30182         (WebCore::uint8_t):
    30183 
    30184 2011-03-12  Cameron Zwarich  <zwarich@apple.com>
    30185 
    30186         Rubber-stamped by Oliver Hunt.
    30187 
    30188         Removed unused ARMv5 code. The ARMv5 case now falls under the general
    30189         unaligned accessed case.
    30190 
    30191         * bindings/js/SerializedScriptValue.cpp:
    30192         (WebCore::CloneDeserializer::readLittleEndian):
    30193         (WebCore::CloneDeserializer::readString):
    30194 
    30195 2011-03-12  Cameron Zwarich  <zwarich@apple.com>
    30196 
    30197         Reviewed by Oliver Hunt.
    30198 
    30199         WebCore fails to build with Clang on ARM
    30200         https://bugs.webkit.org/show_bug.cgi?id=56257
    30201 
    30202         Add an explicit instantiation of writeLittleEndian for uint8_t and move it to
    30203         namespace scope, since explicit specializations are not allowed at class scope.
    30204 
    30205         * bindings/js/SerializedScriptValue.cpp:
    30206         (WebCore::writeLittleEndian):
    30207 
    30208 2011-03-11  Darin Adler  <darin@apple.com>
    30209 
    30210         Reviewed by Sam Weinig.
    30211 
    30212         Dragging image to desktop gives webloc instead of image file in WebKit2
    30213         https://bugs.webkit.org/show_bug.cgi?id=56193
    30214 
    30215         * WebCore.exp.in: Added some additional exports. Re-sorted.
    30216 
    30217 2011-03-12  Sheriff Bot  <webkit.review.bot@gmail.com>
    30218 
    30219         Unreviewed, rolling out r80919.
    30220         http://trac.webkit.org/changeset/80919
    30221         https://bugs.webkit.org/show_bug.cgi?id=56251
    30222 
    30223         all windows bots failed to compile this change (Requested by
    30224         loislo on #webkit).
    30225 
    30226         * bridge/c/c_class.cpp:
    30227         * bridge/c/c_runtime.cpp:
    30228         * bridge/jni/JavaMethod.cpp:
    30229         * plugins/PluginViewNone.cpp:
    30230 
    30231 2011-03-12  Patrick Gansterer  <paroga@webkit.org>
    30232 
    30233         Unreviewed WinCE build fix for r80900.
    30234 
    30235         * CMakeListsWinCE.txt: Removed IconDatabaseNone.cpp.
    30236 
    30237 2011-03-12  Andras Becsi  <abecsi@webkit.org>
    30238 
    30239         Unreviewed typo fix.
    30240 
    30241         No new tests needed.
    30242 
    30243         * WebCore.pro: Fix typo in header name.
    30244 
    30245 2011-03-12  Pavel Feldman  <pfeldman@chromium.org>
    30246 
    30247         Not reviewed: Inspect Element action regression fix.
    30248 
    30249         * inspector/front-end/inspector.js:
    30250         (WebInspector.inspect):
    30251 
    30252 2011-03-12  Ilya Tikhonovsky  <loislo@chromium.org>
    30253 
    30254         Unreviewed. One line fix for inspector/dom-breakpoints.html
    30255 
    30256         * inspector/front-end/BreakpointManager.js:
    30257         (WebInspector.DOMBreakpointView.prototype.populateStatusMessageElement.decorateNode):
    30258 
    30259 2011-03-12  Ilya Tikhonovsky  <loislo@chromium.org>
    30260 
    30261         Unreviewed build fix.
    30262 
    30263         Almost all inspector tests are crashing after r80928.
    30264 
    30265         * inspector/front-end/inspector.js:
    30266 
    30267 2011-03-11  Pavel Feldman  <pfeldman@chromium.org>
    30268 
    30269         Reviewed by Yury Semikhatsky.
    30270 
    30271         Web Inspector: follow up to error reporting, fixing multiple regressions.
    30272         https://bugs.webkit.org/show_bug.cgi?id=56243
    30273 
    30274         * inspector/InjectedScript.cpp:
    30275         (WebCore::InjectedScript::setPropertyValue):
    30276         * inspector/InjectedScript.h:
    30277         * inspector/Inspector.idl:
    30278         * inspector/InspectorDOMAgent.cpp:
    30279         (WebCore::InspectorDOMAgent::getChildNodes):
    30280         (WebCore::InspectorDOMAgent::getOuterHTML):
    30281         (WebCore::InspectorDOMAgent::getEventListenersForNode):
    30282         * inspector/InspectorDOMAgent.h:
    30283         * inspector/InspectorRuntimeAgent.cpp:
    30284         (WebCore::InspectorRuntimeAgent::setPropertyValue):
    30285         * inspector/InspectorRuntimeAgent.h:
    30286         * inspector/front-end/DOMAgent.js:
    30287         (WebInspector.DOMNode.prototype.setNodeName):
    30288         (WebInspector.DOMNode.prototype.setNodeValue):
    30289         (WebInspector.DOMNode.prototype.getChildNodes):
    30290         (WebInspector.DOMNode.prototype.getOuterHTML):
    30291         (WebInspector.DOMNode.prototype.setOuterHTML):
    30292         (WebInspector.DOMNode.prototype.removeNode):
    30293         (WebInspector.DOMNode.prototype.copyNode):
    30294         (WebInspector.DOMAgent.prototype.pushNodeToFrontend):
    30295         (WebInspector.DOMAgent.prototype.pushNodeByPathToFrontend):
    30296         (WebInspector.EventListeners.getEventListenersForNode):
    30297         * inspector/front-end/DOMStorage.js:
    30298         (WebInspector.DOMStorage.prototype.getEntries):
    30299         (WebInspector.DOMStorage.prototype.setItem):
    30300         (WebInspector.DOMStorage.prototype.removeItem):
    30301         * inspector/front-end/DOMStorageItemsView.js:
    30302         (WebInspector.DOMStorageItemsView.prototype.update):
    30303         (WebInspector.DOMStorageItemsView.prototype._showDOMStorageEntries):
    30304         * inspector/front-end/ElementsTreeOutline.js:
    30305         (WebInspector.ElementsTreeElement.prototype._createTooltipForNode.setTooltip):
    30306         (WebInspector.ElementsTreeElement.prototype.updateChildren):
    30307         ():
    30308         * inspector/front-end/EventListenersSidebarPane.js:
    30309         (WebInspector.EventListenersSidebarPane.prototype.update.callback):
    30310         (WebInspector.EventListenersSidebarPane.prototype.update):
    30311         * inspector/front-end/ObjectPropertiesSection.js:
    30312         (WebInspector.ObjectPropertyTreeElement.prototype.applyExpression.callback):
    30313         (WebInspector.ObjectPropertyTreeElement.prototype.applyExpression):
    30314         * inspector/front-end/PropertiesSidebarPane.js:
    30315         (WebInspector.PropertiesSidebarPane.prototype.update.nodeResolved):
    30316         * inspector/front-end/RemoteObject.js:
    30317         (WebInspector.RemoteObject.prototype.setPropertyValue):
    30318         (WebInspector.RemoteObject.prototype.evaluate):
    30319         * inspector/front-end/inspector.js:
    30320 
    30321 2011-03-12  Jer Noble  <jer.noble@apple.com>
    30322 
    30323         Unreviewed build fix.
    30324 
    30325         Fix GTK+ builds by wrapping sections of full screen code in USE(ACCELERATED_COMPOSITING)
    30326         checks.
    30327 
    30328         * dom/Document.cpp:
    30329         (WebCore::Document::webkitWillEnterFullScreenForElement):
    30330         (WebCore::Document::webkitDidEnterFullScreenForElement):
    30331         (WebCore::Document::webkitWillExitFullScreenForElement):
    30332         (WebCore::Document::webkitDidExitFullScreenForElement):
    30333 
    30334 2011-03-12  Ryuan Choi  <ryuan.choi@samsung.com>
    30335 
    30336         Unreviewed build fix.
    30337 
    30338         [EFL] Fix build break because of several reason.
    30339         https://bugs.webkit.org/show_bug.cgi?id=56244
    30340 
    30341         * CMakeLists.txt: Add missing files.
    30342         * platform/posix/FileSystemPOSIX.cpp: Add PLATFORM(EFL).
    30343 
    30344 2011-03-11  Yury Semikhatsky  <yurys@chromium.org>
    30345 
    30346         Reviewed by Pavel Feldman.
    30347 
    30348         Web Inspector: move profiler related methods from inspector agent to profiler agent
    30349         https://bugs.webkit.org/show_bug.cgi?id=56204
    30350 
    30351         * inspector/Inspector.idl:
    30352         * inspector/InspectorAgent.cpp:
    30353         (WebCore::InspectorAgent::InspectorAgent):
    30354         (WebCore::InspectorAgent::restoreInspectorStateFromCookie):
    30355         (WebCore::InspectorAgent::setFrontend):
    30356         (WebCore::InspectorAgent::disconnectFrontend):
    30357         (WebCore::InspectorAgent::populateScriptObjects):
    30358         (WebCore::InspectorAgent::showProfilesPanel):
    30359         * inspector/InspectorAgent.h:
    30360         * inspector/InspectorController.cpp:
    30361         (WebCore::InspectorController::enableProfiler):
    30362         (WebCore::InspectorController::disableProfiler):
    30363         (WebCore::InspectorController::profilerEnabled):
    30364         (WebCore::InspectorController::startUserInitiatedProfiling):
    30365         (WebCore::InspectorController::stopUserInitiatedProfiling):
    30366         (WebCore::InspectorController::isRecordingUserInitiatedProfile):
    30367         * inspector/InspectorInstrumentation.cpp:
    30368         (WebCore::InspectorInstrumentation::profilerEnabledImpl):
    30369         * inspector/InspectorProfilerAgent.cpp:
    30370         (WebCore::InspectorProfilerAgent::create):
    30371         (WebCore::InspectorProfilerAgent::InspectorProfilerAgent):
    30372         (WebCore::InspectorProfilerAgent::enable):
    30373         (WebCore::InspectorProfilerAgent::disable):
    30374         (WebCore::InspectorProfilerAgent::setFrontend):
    30375         (WebCore::InspectorProfilerAgent::clearFrontend):
    30376         (WebCore::InspectorProfilerAgent::restore):
    30377         (WebCore::InspectorProfilerAgent::restoreEnablement):
    30378         (WebCore::InspectorProfilerAgent::startUserInitiatedProfiling):
    30379         (WebCore::InspectorProfilerAgent::stopUserInitiatedProfiling):
    30380         * inspector/InspectorProfilerAgent.h:
    30381         (WebCore::InspectorProfilerAgent::start):
    30382         (WebCore::InspectorProfilerAgent::stop):
    30383         * inspector/front-end/ProfileView.js:
    30384         (WebInspector.CPUProfileType.prototype.buttonClicked):
    30385         * inspector/front-end/ProfilesPanel.js:
    30386         (WebInspector.ProfilesPanel):
    30387         (WebInspector.ProfilesPanel.prototype._registerProfileType):
    30388         (WebInspector.ProfilesPanel.prototype._toggleProfiling):
    30389         * inspector/front-end/inspector.js:
    30390         (WebInspector._createPanels):
    30391 
    30392 2011-03-11  Jer Noble  <jer.noble@apple.com>
    30393 
    30394         Reviewed by Anders Carlsson.
    30395 
    30396         WebCore::Document should notify ChromeClient when the full screen renderer's backing changes.
    30397         https://bugs.webkit.org/show_bug.cgi?id=56226
    30398 
    30399         * dom/Document.cpp:
    30400         (WebCore::Document::webkitWillEnterFullScreenForElement): Call setRootFullScreenLayer().
    30401         (WebCore::Document::webkitDidEnterFullScreenForElement): Ditto.
    30402         (WebCore::Document::webkitWillExitFullScreenForElement): Ditto.
    30403         (WebCore::Document::webkitDidExitFullScreenForElement): Ditto.
    30404         (WebCore::Document::setFullScreenRendererSize): Layout after setting the renderer's size.
    30405 
    30406 2011-03-11  Jer Noble  <jer.noble@apple.com>
    30407 
    30408         Reviewed by Anders Carlsson.
    30409 
    30410         Create new interface stubs to support full screen mode in WebKit2.
    30411 
    30412         WebKit2: Plumb new full screen animation APIs through WebKit2.
    30413         https://bugs.webkit.org/show_bug.cgi?id=55993
    30414 
    30415         * page/ChromeClient.h:
    30416         (WebCore::ChromeClient::setRootFullScreenLayer): Added.
    30417 
    30418 2011-03-11  Oliver Hunt  <oliver@apple.com>
    30419 
    30420         Reviewed by Gavin Barraclough.
    30421 
    30422         Ensure all values are correctly tagged in the registerfile
    30423         https://bugs.webkit.org/show_bug.cgi?id=56214
    30424 
    30425         Make sure everything builds still.
    30426 
    30427         * bridge/c/c_class.cpp:
    30428         * bridge/c/c_runtime.cpp:
    30429         * bridge/jni/JavaMethod.cpp:
    30430         * plugins/PluginViewNone.cpp:
    30431 
    30432 2011-03-11  Mark Rowe  <mrowe@apple.com>
    30433 
    30434         Fix the 32-bit build.
    30435 
    30436         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
    30437         (WebCore::MediaPlayerPrivateAVFoundation::MediaPlayerPrivateAVFoundation):
    30438 
    30439 2011-03-11  Mark Rowe  <mrowe@apple.com>
    30440 
    30441         Rubber-stamped by Eric Carlsson.
    30442 
    30443         <rdar://problem/9124537> Crashes during layout tests due to overrelease of AVFoundation objects.
    30444 
    30445         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm:
    30446         (WebCore::MediaPlayerPrivateAVFoundationObjC::createContextVideoRenderer):
    30447         (WebCore::MediaPlayerPrivateAVFoundationObjC::setAsset):
    30448 
    30449 2011-03-11  Chris Marrin  <cmarrin@apple.com>
    30450 
    30451         Unreviewed.
    30452 
    30453         Fixes an error with the checkin for https://bugs.webkit.org/show_bug.cgi?id=52468
    30454 
    30455         * platform/graphics/ca/GraphicsLayerCA.cpp:
    30456         (WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes):
    30457 
    30458 2011-03-11  Brady Eidson  <beidson@apple.com>
    30459 
    30460         Attempted Qt build fix for https://bugs.webkit.org/show_bug.cgi?id=56216
    30461 
    30462         * loader/icon/IconDatabase.h: Make this guy public.
    30463 
    30464 2011-03-11  Brady Eidson  <beidson@apple.com>
    30465 
    30466         Attempted Qt build fix for https://bugs.webkit.org/show_bug.cgi?id=56216
    30467 
    30468         * loader/icon/IconDatabase.h:
    30469         (WebCore::IconDatabase::delayDatabaseCleanup): Maybe Qt has Icon Database disabled, so we need to define this here?
    30470 
    30471 2011-03-11  Brady Eidson  <beidson@apple.com>
    30472 
    30473         https://bugs.webkit.org/show_bug.cgi?id=56216
    30474         Fix the Qt build following the same pattern of the patch.
    30475 
    30476         * loader/icon/IconDatabase.h:
    30477         * loader/icon/IconDatabaseBase.cpp:
    30478         (WebCore::IconDatabaseBase::databasePath): Added to the virtual base.
    30479         * loader/icon/IconDatabaseBase.h:
    30480         (WebCore::IconDatabaseBase::isOpen): Ditto.
    30481 
    30482 2011-03-11  Ben Taylor  <bentaylor.solx86@gmail.com>
    30483 
    30484         Reviewed by Alexey Proskuryakov.
    30485 
    30486         https://bugs.webkit.org/show_bug.cgi?id=56198
    30487         Fix conditional which had an int for one case and a pointer for another.
    30488 
    30489         No new tests. Fix compilation on Solaris 10 with SunStudio 12 C++
    30490 
    30491         * loader/appcache/ApplicationCacheGroup.cpp:
    30492         (WebCore::ApplicationCacheGroup::checkIfLoadIsComplete):
    30493 
    30494 2011-03-11  Brady Eidson  <beidson@apple.com>
    30495 
    30496         Windows build fix.
    30497 
    30498         * history/HistoryItem.cpp:
    30499         * loader/icon/IconDatabaseBase.cpp:
    30500 
    30501 2011-03-11  Brady Eidson  <beidson@apple.com>
    30502 
    30503         Reviewed by Sam Weinig.
    30504 
    30505         <rdar://problem/8648311> and https://bugs.webkit.org/show_bug.cgi?id=56216
    30506         Rework disabled IconDatabase builds while allowing for a pluggable icon database implementation.
    30507 
    30508         Project file stuff:
    30509         * Android.mk:
    30510         * CMakeLists.txt:
    30511         * GNUmakefile.am:
    30512         * WebCore.gyp/WebCore.gyp:
     1342        Replicate WidthIterator.cpp fix from r88139.
     1343        https://bugs.webkit.org/show_bug.cgi?id=62238
     1344
     1345        No new tests. Covered by existing layout tests on XP debug bots.
     1346
     1347        * platform/graphics/win/UniscribeController.cpp:
     1348        (WebCore::UniscribeController::advance):
     1349
     13502011-06-07  Sheriff Bot  <webkit.review.bot@gmail.com>
     1351
     1352        Unreviewed, rolling out r88221, r88224, and r88231.
     1353        http://trac.webkit.org/changeset/88221
     1354        http://trac.webkit.org/changeset/88224
     1355        http://trac.webkit.org/changeset/88231
     1356        https://bugs.webkit.org/show_bug.cgi?id=62233
     1357
     1358        assert failure on chromium linux debug (Requested by simonjam
     1359        on #webkit).
     1360
    305131361        * WebCore.gypi:
    305141362        * WebCore.pro:
    30515         * WebCore.xcodeproj/project.pbxproj:
    30516         * WebCore.vcproj/WebCore.vcproj:
    30517 
    30518         * loader/icon/IconDatabase.cpp:
    30519         * loader/icon/IconDatabase.h: Inherit from IconDatabaseBase.
    30520 
    30521         * loader/icon/IconDatabaseBase.cpp: Added.
    30522         (WebCore::IconDatabaseBase::iconURLForPageURL):
    30523         (WebCore::iconDatabase):
    30524         (WebCore::setGlobalIconDatabase):
    30525         * loader/icon/IconDatabaseBase.h: Added.
    30526         (WebCore::IconDatabaseBase::IconDatabaseBase):
    30527         (WebCore::IconDatabaseBase::~IconDatabaseBase):
    30528         (WebCore::IconDatabaseBase::setEnabled):
    30529         (WebCore::IconDatabaseBase::isEnabled):
    30530         (WebCore::IconDatabaseBase::defaultIcon):
    30531         (WebCore::IconDatabaseBase::retainIconForPageURL):
    30532         (WebCore::IconDatabaseBase::releaseIconForPageURL):
    30533         (WebCore::IconDatabaseBase::iconForPageURL):
    30534         (WebCore::IconDatabaseBase::setIconURLForPageURL):
    30535         (WebCore::IconDatabaseBase::setIconDataForIconURL):
    30536         (WebCore::IconDatabaseBase::iconDataKnownForIconURL):
    30537         (WebCore::IconDatabaseBase::loadDecisionForIconURL):
    30538         (WebCore::IconDatabaseBase::pageURLMappingCount):
    30539         (WebCore::IconDatabaseBase::retainedPageURLCount):
    30540         (WebCore::IconDatabaseBase::iconRecordCount):
    30541         (WebCore::IconDatabaseBase::iconRecordCountWithData):
    30542         (WebCore::IconDatabaseBase::importIconURLForPageURL):
    30543         (WebCore::IconDatabaseBase::importIconDataForIconURL):
    30544         (WebCore::IconDatabaseBase::shouldStopThreadActivity):
    30545         (WebCore::IconDatabaseBase::open):
    30546         (WebCore::IconDatabaseBase::close):
    30547         (WebCore::IconDatabaseBase::removeAllIcons):
    30548         (WebCore::IconDatabaseBase::setPrivateBrowsingEnabled):
    30549         (WebCore::IconDatabaseBase::setClient):
    30550 
    30551         * loader/icon/IconDatabaseNone.cpp: Removed.
    30552 
    30553 2011-03-11  Brady Eidson  <beidson@apple.com>
    30554 
    30555         Attempt at a build-fix for https://bugs.webkit.org/show_bug.cgi?id=51878
    30556 
    30557         * page/PageGroup.h: Declare this method, even if the definition will end up being empty.
    30558 
    30559 2011-03-11  Michael Nordman  <michaeln@google.com>
    30560 
    30561         Reviewed by Dmitry Titov.
    30562 
    30563         Adding the '~' to the dtor (duh).
    30564 
    30565         No new tests.
    30566 
    30567         * storage/SQLCallbackWrapper.h:
    30568         (WebCore::SQLCallbackWrapper::~SQLCallbackWrapper):
    30569 
    30570 2011-03-11  Carol Szabo  <carol.szabo@nokia.com>
    30571 
    30572         Reviewed by David Hyatt.
    30573 
    30574         Introduced double linkage between a CounterNode and its display renderer.
    30575 
    30576         use of freed pointer in WebCore::RenderCounter::originalText()
    30577         https://bugs.webkit.org/show_bug.cgi?id=56065
    30578 
    30579         No new tests. This bug could only be reproduced manually by
    30580         refreshing the page during load at a critical point.
    30581         See bug attachment for testing.
    30582 
    30583         * rendering/CounterNode.cpp:
    30584         Introduced new member "m_owner" to store the renderer that has the
    30585         style directives that produce the CounterNode.
    30586         Repurposed m_renderer to reffer to the RenderCounter that shows the
    30587         CounterNode.
    30588         (WebCore::CounterNode::CounterNode):
    30589         Updated member initialization.
    30590         (WebCore::CounterNode::create):
    30591         (WebCore::CounterNode::resetRenderer):
    30592         (WebCore::CounterNode::resetRenderers):
    30593         (WebCore::CounterNode::recount):
    30594         (WebCore::CounterNode::removeChild):
    30595         (WebCore::CounterNode::insertAfter):
    30596         No functional changes.
    30597         (WebCore::showTreeAndMark):
    30598         Added flushing to ensure that the output is complete.
    30599         * rendering/CounterNode.h:
    30600         (WebCore::CounterNode::owner):
    30601         Renamed from renderer()
    30602         (WebCore::CounterNode::renderer):
    30603         (WebCore::CounterNode::setRenderer):
    30604         Added new accessors for the display renderer.
    30605         * rendering/RenderCounter.cpp:
    30606         (WebCore::findPlaceForCounter):
    30607         Fixed comments. No functional changes.
    30608         (WebCore::RenderCounter::~RenderCounter):
    30609         Made sure that the CounterNode that this renderers displays is
    30610         detached from this.
    30611         (WebCore::RenderCounter::originalText):
    30612         (WebCore::RenderCounter::invalidate):
    30613         Added code to update m_renderer on the displayed CounterNode.
    30614         (WebCore::destroyCounterNodeWithoutMapRemoval):
    30615         (WebCore::RenderCounter::destroyCounterNodes):
    30616         (WebCore::RenderCounter::destroyCounterNode):
    30617         (WebCore::updateCounters):
    30618         No change, just kept code in line with the changes above.
    30619         (showCounterRendererTree):
    30620         Added fflush to ensure complete display.
    30621         * rendering/RenderCounter.h:
     1363        * bindings/v8/ChildThreadDOMData.cpp: Copied from Source/WebCore/bindings/v8/DOMData.cpp.
     1364        (WebCore::ChildThreadDOMData::ChildThreadDOMData):
     1365        (WebCore::ChildThreadDOMData::getStore):
     1366        * bindings/v8/ChildThreadDOMData.h: Copied from Source/WebCore/bindings/v8/DOMData.cpp.
     1367        * bindings/v8/DOMData.cpp:
     1368        (WebCore::DOMData::DOMData):
     1369        (WebCore::DOMData::getCurrent):
     1370        * bindings/v8/DOMData.h:
     1371        (WebCore::DOMData::owningThread):
     1372        (WebCore::DOMData::handleWeakObject):
     1373        * bindings/v8/DOMDataStore.cpp:
     1374        (WebCore::DOMDataStore::DOMDataStore):
     1375        (WebCore::DOMDataStore::~DOMDataStore):
     1376        (WebCore::DOMDataStore::allStoresMutex):
     1377        (WebCore::DOMDataStore::weakNodeCallback):
     1378        * bindings/v8/DOMDataStore.h:
     1379        * bindings/v8/MainThreadDOMData.cpp: Copied from Source/WebCore/bindings/v8/DOMData.cpp.
     1380        (WebCore::MainThreadDOMData::MainThreadDOMData):
     1381        (WebCore::MainThreadDOMData::getCurrent):
     1382        (WebCore::MainThreadDOMData::getMainThreadStore):
     1383        (WebCore::MainThreadDOMData::getCurrentMainThreadStore):
     1384        * bindings/v8/MainThreadDOMData.h: Copied from Source/WebCore/bindings/v8/DOMData.cpp.
     1385        (WebCore::MainThreadDOMData::getStore):
     1386        * bindings/v8/V8DOMMap.cpp:
     1387        (WebCore::getDOMDataStore):
     1388        (WebCore::removeAllDOMObjectsInCurrentThread):
     1389        (WebCore::visitDOMNodesInCurrentThread):
     1390        (WebCore::visitDOMObjectsInCurrentThread):
     1391        (WebCore::visitActiveDOMObjectsInCurrentThread):
     1392        (WebCore::visitDOMSVGElementInstancesInCurrentThread):
     1393        * bindings/v8/V8DOMMap.h:
     1394        * bindings/v8/V8GCController.cpp:
     1395        (WebCore::V8GCController::gcPrologue):
     1396        (WebCore::V8GCController::gcEpilogue):
     1397        * bindings/v8/WorkerScriptController.cpp:
     1398        (WebCore::WorkerScriptController::~WorkerScriptController):
     1399
     14002011-06-07  Simon Fraser  <simon.fraser@apple.com>
     1401
     1402        Reviewed by Dave Hyatt.
     1403
     1404        Clean up ContentData
     1405        https://bugs.webkit.org/show_bug.cgi?id=62185
     1406
     1407        ContentData did manual ref()/deref() and had a lot of awkward
     1408        code from using a union to store data.
     1409       
     1410        Clean this up by adding ContentData subclasses for different
     1411        content types, which are then able to use RefPtr and OwnPtr
     1412        as appropriate.
     1413
     1414        * css/CSSComputedStyleDeclaration.cpp:
     1415        (WebCore::contentToCSSValue): Cast to different ContentData types as
     1416        appropriate.
     1417
     1418        * css/CSSStyleSelector.cpp:
     1419        (WebCore::CSSStyleSelector::loadPendingImages): Cast to ImageContentData, and do some
     1420        const gyrations.
     1421
     1422        * html/HTMLBRElement.cpp:
     1423        (WebCore::HTMLBRElement::createRenderer): Use hasContent().
     1424        * html/HTMLFrameSetElement.cpp:
     1425        (WebCore::HTMLFrameSetElement::createRenderer): Ditto
     1426        * html/HTMLImageElement.cpp:
     1427        (WebCore::HTMLImageElement::createRenderer): Ditto
     1428        * rendering/RenderObject.cpp:
     1429        (WebCore::RenderObject::createObject): Cast to ImageContentData.
    306221430        * rendering/RenderObjectChildList.cpp:
    30623         * rendering/RenderObjectChildList.h:
    30624         Removed unneeded invalidateCounters related functions.
    30625 
    30626 2011-03-11  Luke Macpherson   <macpherson@chromium.org>
     1431        (WebCore::RenderObjectChildList::updateBeforeAfterContent): Cast to different ContentData types as
     1432        appropriate.
     1433
     1434        * rendering/style/ContentData.h:
     1435        (WebCore::ContentData::~ContentData):
     1436        (WebCore::ContentData::isCounter):
     1437        (WebCore::ContentData::isImage):
     1438        (WebCore::ContentData::isQuote):
     1439        (WebCore::ContentData::isText):
     1440        (WebCore::ContentData::next):
     1441        (WebCore::ContentData::setNext):
     1442        (WebCore::ImageContentData::image):
     1443        (WebCore::ImageContentData::setImage):
     1444        (WebCore::ImageContentData::ImageContentData):
     1445        (WebCore::ImageContentData::type):
     1446        (WebCore::ImageContentData::isImage):
     1447        (WebCore::TextContentData::text):
     1448        (WebCore::TextContentData::setText):
     1449        (WebCore::TextContentData::TextContentData):
     1450        (WebCore::TextContentData::type):
     1451        (WebCore::TextContentData::isText):
     1452        (WebCore::CounterContentData::counter):
     1453        (WebCore::CounterContentData::setCounter):
     1454        (WebCore::CounterContentData::CounterContentData):
     1455        (WebCore::CounterContentData::type):
     1456        (WebCore::CounterContentData::isCounter):
     1457        (WebCore::QuoteContentData::quote):
     1458        (WebCore::QuoteContentData::setQuote):
     1459        (WebCore::QuoteContentData::QuoteContentData):
     1460        (WebCore::QuoteContentData::type):
     1461        (WebCore::QuoteContentData::isQuote):
     1462        Add subclasses for different content types, which are created
     1463        via overloaded create() methods on the base class.
     1464
     1465        * rendering/style/ContentData.cpp:
     1466        (WebCore::ContentData::create):
     1467        (WebCore::operator==): Test for type equality, followed by comparing data.
     1468        (WebCore::operator!=):
     1469
     1470        * rendering/style/RenderStyle.cpp:
     1471        (WebCore::RenderStyle::clearContent):
     1472        (WebCore::RenderStyle::appendContent):
     1473        (WebCore::RenderStyle::setContent): Replace the overly complex prepareToSetContent()
     1474        code with code that either appends, or replaces the content.
     1475        This loses an optimization where the existing ContentData object could get reused,
     1476        but this seems to be rarely hit in practice.
     1477        * rendering/style/RenderStyle.h:
     1478        (WebCore::InheritedFlags::hasContent): Convenience method.
     1479        * rendering/style/StyleRareNonInheritedData.cpp:
     1480        (WebCore::StyleRareNonInheritedData::contentDataEquivalent): Test
     1481        that the pointers are non-null, then use the != operator.
     1482        * rendering/style/StyleRareNonInheritedData.h: ContentData is a class now.
     1483
     14842011-06-07  Brian Weinstein  <bweinstein@apple.com>
     1485
     1486        Build fix after r88260.
     1487
     1488        * platform/graphics/win/FontCacheWin.cpp:
     1489        (WebCore::FontCache::getFontDataForCharacters): Update to use enum instead of bool.
     1490        * platform/graphics/wince/FontCacheWinCE.cpp:
     1491
     14922011-06-07  Rob Buis  <rbuis@rim.com>
     1493
     1494        Reviewed by Dirk Schulze.
     1495
     1496        stroke-dasharray does not handle "none"
     1497        https://bugs.webkit.org/show_bug.cgi?id=62203
     1498
     1499        Use the initial strokeDashArray style for stroke-dasharray="none" to apply to SVGRenderStyle rather than bailing out.
     1500
     1501        Tests: svg/W3C-SVG-1.1-SE/styling-css-04-f.svg
     1502               svg/custom/invalid-dasharray.svg
     1503
     1504        * css/SVGCSSStyleSelector.cpp:
     1505        (WebCore::CSSStyleSelector::applySVGProperty):
     1506
     15072011-06-07  Sheriff Bot  <webkit.review.bot@gmail.com>
     1508
     1509        Unreviewed, rolling out r88259 and r88263.
     1510        http://trac.webkit.org/changeset/88259
     1511        http://trac.webkit.org/changeset/88263
     1512        https://bugs.webkit.org/show_bug.cgi?id=62228
     1513
     1514        broke builds (Requested by rniwa on #webkit).
     1515
     1516        * platform/mac/WebCoreSystemInterface.h:
     1517        * platform/network/ResourceHandle.h:
     1518        * platform/network/cf/ResourceRequest.h:
     1519
     15202011-06-07  Emil A Eklund  <eae@chromium.org>
    306271521
    306281522        Reviewed by Eric Seidel.
    306291523
    30630         Introduce lookup-table based approach for applying CSS properties.
    30631         The aim is to be a starting point for refactoring
    30632         CSSStyleSelector::applyProperty() into more readable, maintainable code.
    30633         https://bugs.webkit.org/show_bug.cgi?id=54707
    30634 
    30635         No new behavior / covered by existing tests.
    30636 
    30637         * css/CSSStyleApplyProperty.cpp: Added.
    30638         (WebCore::ApplyPropertyNull):
    30639         Class that provides empty implementations of inherit, initial, value.
    30640         (WebCore::ApplyPropertyDefault::ApplyPropertyDefault):
    30641         Class that calls the appropriate RenderStyle setters directly.
    30642         (WebCore::ApplyPropertyColorBase::ApplyPropertyColorBase):
    30643         Class for handling CSSProperty*Color.
    30644         (WebCore::ApplyPropertyColor::ApplyPropertyColor):
    30645         Class for handling CSSPropertyColor.
    30646         (WebCore::CSSStyleApplyProperty::sharedCSSStyleApplyProperty):
    30647         Singleton initializer.
    30648         (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
    30649         Constructor that bulds up the map from property id to apply-er objects.
    30650         * css/CSSStyleApplyProperty.h: Added.
    30651         (WebCore::CSSStyleApplyProperty::inherit):
    30652         Handle the inherit case for a given property.
    30653         (WebCore::CSSStyleApplyProperty::initial):
    30654         Handle the initial case for a given property.
    30655         (WebCore::CSSStyleApplyProperty::value):
    30656         Apply a value to a given property.
    30657         (WebCore::CSSStyleApplyProperty::implements):
    30658         Returns true if the provided property id is implemented.
    30659         (WebCore::CSSStyleApplyProperty::index):
    30660         Private function to determine the index of a property the property map.
    30661         (WebCore::CSSStyleApplyProperty::valid):
    30662         Function to determine that a given property id is valid.
    30663         (WebCore::CSSStyleApplyProperty::setPropertyValue):
    30664         (WebCore::CSSStyleApplyProperty::propertyValue):
    30665         * css/CSSStyleSelector.cpp:
    30666         (WebCore::CSSStyleSelector::CSSStyleSelector):
    30667         Get reference to the CSSStyleApplyProperty singleton.
    30668         (WebCore::CSSStyleSelector::applyProperty):
    30669         Now calls into CSSStyleApplyProperty for implemented property ids.
    30670         Deleted color-related methods from the property id switch.
    30671         * css/CSSStyleSelector.h:
    30672         (WebCore::CSSStyleSelector::style):
    30673         Made public to allow access from CSSStyleApplyProperty.
    30674         (WebCore::CSSStyleSelector::parentStyle):
    30675         Made public to allow access from CSSStyleApplyProperty.
    30676         * rendering/style/RenderStyle.h:
    30677         Made CSSStyleApplyProperty a friend class. Necessary because it needs
    30678         to access the private getters and setters on this clsass.
    30679 
    30680 2011-03-11  Anton D'Auria  <adauria@apple.com>
    30681 
    30682         Reviewed and landed by Brady Eidson.
    30683 
    30684         Add WebKit1 API to view and delete local storage
    30685         https://bugs.webkit.org/show_bug.cgi?id=51878
    30686 
    30687         Created StorageTracker as a central point for tracking and deleting LocalStorage per origin.
    30688         StorageTracker maintains its own database of origin identifiers and backing db paths,
    30689         and this allows it to contain more relational data in the future, like variable quotas per origin.
    30690 
    30691         On initialization, StorageTracker syncs its database with LocalStorage files on disk. It adds
    30692         an origin entry when StorageAreaSync performs a first sync for an origin.
    30693 
    30694         All StorageTracker file operations are performed on one background thread with a task queue.
    30695 
    30696         Tests: storage/domstorage/localstorage/storagetracker/storage-tracker-1-prepare.html
    30697                storage/domstorage/localstorage/storagetracker/storage-tracker-2-create.html
    30698                storage/domstorage/localstorage/storagetracker/storage-tracker-3-delete-all.html
    30699                storage/domstorage/localstorage/storagetracker/storage-tracker-4-create.html
    30700                storage/domstorage/localstorage/storagetracker/storage-tracker-5-delete-one.html
    30701 
    30702         * GNUmakefile.am:
    30703         * WebCore.exp.in:
    30704         * WebCore.gypi:
    30705         * WebCore.pro:
    30706         * WebCore.vcproj/WebCore.vcproj:
    30707         * WebCore.xcodeproj/project.pbxproj:
    30708         * page/PageGroup.cpp:
    30709         (WebCore::PageGroup::clearLocalStorageForAllOrigins):
    30710         (WebCore::PageGroup::clearLocalStorageForOrigin):
    30711         (WebCore::PageGroup::syncLocalStorage):
    30712         (WebCore::PageGroup::numberOfPageGroups):
    30713         * page/PageGroup.h:
    30714         * platform/chromium/FileSystemChromium.cpp:
    30715         (WebCore::listDirectory):
    30716         * platform/posix/FileSystemPOSIX.cpp:
    30717         (WebCore::listDirectory):
    30718         * storage/LocalStorageTask.cpp:
    30719         (WebCore::LocalStorageTask::LocalStorageTask):
    30720         (WebCore::LocalStorageTask::performTask):
    30721         * storage/LocalStorageTask.h:
    30722         (WebCore::LocalStorageTask::createOriginIdentifiersImport):
    30723         (WebCore::LocalStorageTask::createSetOriginDetails):
    30724         (WebCore::LocalStorageTask::createDeleteOrigin):
    30725         (WebCore::LocalStorageTask::createDeleteAllOrigins):
    30726         * storage/StorageAreaImpl.cpp:
    30727         (WebCore::StorageAreaImpl::clearForOriginDeletion):
    30728         (WebCore::StorageAreaImpl::sync):
    30729         * storage/StorageAreaImpl.h:
    30730         * storage/StorageAreaSync.cpp:
    30731         (WebCore::StorageAreaSync::scheduleCloseDatabase):
    30732         (WebCore::StorageAreaSync::openDatabase):
    30733         (WebCore::StorageAreaSync::sync):
    30734         (WebCore::StorageAreaSync::deleteEmptyDatabase):
    30735         (WebCore::StorageAreaSync::scheduleSync):
    30736         * storage/StorageAreaSync.h:
    30737         * storage/StorageNamespace.h:
    30738         * storage/StorageNamespaceImpl.cpp:
    30739         (WebCore::StorageNamespaceImpl::clearOriginForDeletion):
    30740         (WebCore::StorageNamespaceImpl::clearAllOriginsForDeletion):
    30741         (WebCore::StorageNamespaceImpl::sync):
    30742         * storage/StorageNamespaceImpl.h:
    30743         * storage/StorageTracker.cpp: Added.
    30744         (WebCore::StorageTracker::initializeTracker):
    30745         (WebCore::StorageTracker::tracker):
    30746         (WebCore::StorageTracker::StorageTracker):
    30747         (WebCore::StorageTracker::setStorageDirectoryPath):
    30748         (WebCore::StorageTracker::trackerDatabasePath):
    30749         (WebCore::StorageTracker::openTrackerDatabase):
    30750         (WebCore::StorageTracker::importOriginIdentifiers):
    30751         (WebCore::StorageTracker::syncImportOriginIdentifiers):
    30752         (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase):
    30753         (WebCore::StorageTracker::setOriginDetails):
    30754         (WebCore::StorageTracker::scheduleTask):
    30755         (WebCore::StorageTracker::syncSetOriginDetails):
    30756         (WebCore::StorageTracker::origins):
    30757         (WebCore::StorageTracker::deleteAllOrigins):
    30758         (WebCore::StorageTracker::syncDeleteAllOrigins):
    30759         (WebCore::StorageTracker::deleteOrigin):
    30760         (WebCore::StorageTracker::syncDeleteOrigin):
    30761         (WebCore::StorageTracker::willDeleteAllOrigins):
    30762         (WebCore::StorageTracker::willDeleteOrigin):
    30763         (WebCore::StorageTracker::canDeleteOrigin):
    30764         (WebCore::StorageTracker::cancelDeletingOrigin):
    30765         (WebCore::StorageTracker::setClient):
    30766         (WebCore::StorageTracker::syncLocalStorage):
    30767         * storage/StorageTracker.h: Added.
    30768         * storage/StorageTrackerClient.h: Added.
    30769         (WebCore::StorageTrackerClient::~StorageTrackerClient):
    30770 
    30771 2011-03-11  Steve Block  <steveblock@google.com>
    30772 
    30773         Reviewed by Jeremy Orlow.
    30774 
    30775         JavaMethod does not correctly check for a null jstring for the method name
    30776         https://bugs.webkit.org/show_bug.cgi?id=56187
    30777 
    30778         No new tests, simple typo fix.
    30779 
    30780         * bridge/jni/JavaMethod.cpp:
    30781         (JavaMethod::JavaMethod):
    30782 
    30783 2011-03-11  Adrienne Walker  <enne@google.com>
    30784 
    30785         Reviewed by James Robinson.
    30786 
    30787         [chromium] Compositor uses too much texture memory for scrollbars
    30788         https://bugs.webkit.org/show_bug.cgi?id=56212
    30789 
    30790         Compositor invalidations can be off the page (and very large), but
    30791         scrollbars only need to care about the invalidation that's visible.
    30792         The large invalidation was causing the tiler layer size to grow
    30793         needlessly larger than the scrollbar.
    30794 
    30795         * platform/graphics/chromium/LayerRendererChromium.cpp:
    30796         (WebCore::LayerRendererChromium::invalidateRootLayerRect):
    30797 
    30798 2011-03-11  David Hyatt  <hyatt@apple.com>
    30799 
    30800         Reviewed by Simon Fraser.
    30801 
    30802         https://bugs.webkit.org/show_bug.cgi?id=52987
     1524        Switch ContainerNode to use IntPoint
     1525        https://bugs.webkit.org/show_bug.cgi?id=61893
     1526
     1527        Covered by existing tests.
     1528
     1529        * dom/ContainerNode.cpp:
     1530        (WebCore::ContainerNode::getUpperLeftCorner):
     1531        (WebCore::ContainerNode::getLowerRightCorner):
     1532        (WebCore::ContainerNode::getRect):
     1533        Change to use maxX/maxY instead of x+width/y+height
    308031534       
    30804         REGRESSION: Overflowing columns not repainted correctly
    30805        
    30806         Make sure to add in column overflow as visual overflow as well.  It was only propagating layout overflow, which is obviously not
    30807         sufficient, since blocks paint their own columns.
    30808 
    30809         Added fast/multicol/scrolling-overflow.html
    30810 
    30811         * rendering/RenderBlock.cpp:
    30812         (WebCore::RenderBlock::addOverflowFromChildren):
    30813 
    30814 2011-03-11  Matthew Delaney  <mdelaney@apple.com>
    30815 
    30816         Reviewed by Simon Fraser.
    30817 
    30818         Set canvasUsesAcceleratedDrawing setting to be off(false) by default
    30819         https://bugs.webkit.org/show_bug.cgi?id=56215
    30820 
    30821         No new tests. Does not affect behavior. Just keeping the setting off by default.
    30822 
    30823         * page/Settings.cpp:
    30824         (WebCore::Settings::Settings):
    30825 
    30826 2011-03-11  Andy Estes  <aestes@apple.com>
    30827 
    30828         Reviewed by David Hyatt.
    30829 
    30830         Table cells with dynamically added percentage height descendants do not
    30831         grow in size if the table has already been laid out.
    30832         https://bugs.webkit.org/show_bug.cgi?id=56174
    30833        
    30834         Table cells ignore their specified size and collapse to fit their
    30835         children. When a descendent with percentage height is present before
    30836         the table is first laid out, the descendent is sized based on the
    30837         specified size of the table cell. However, when the child isn't present
    30838         when the table is first laid out, the table cell ignores its specified
    30839         size and collapses down to 0. Then, when the child div is added in a
    30840         separate run loop iteration, it is sized to be 100% of the collapsed
    30841         cell height instead of 100% of the cell's specified height. We should
    30842         not get different layouts depending on the timing of tree construction.
    30843        
    30844         Fix this by clearing intrinsic padding before calculating the table
    30845         cell's override height when we detect a child that should flex the
    30846         table cell.
    30847 
    30848         Test: fast/table/dynamic-descendant-percentage-height.html
    30849 
    30850         * rendering/RenderTableCell.cpp:
    30851         (WebCore::RenderTableCell::setOverrideSizeFromRowHeight): clear
    30852         intrinsic padding before setting the override size.
    30853         * rendering/RenderTableCell.h:
    30854         * rendering/RenderTableSection.cpp:
    30855         (WebCore::RenderTableSection::layoutRows): Call
    30856         setOverrideSizeFromRowHeight() instead of setOverrideSize().
    30857 
    30858 2011-03-11  Michael Nordman  <michaeln@google.com>
    30859 
    30860         Reviewed by David Levin.
    30861 
    30862         Add SQLCallbackWrapper
    30863         Instead of directly holding RefPtrs to the Callback objects in SQLStatement and SQLTransaction, hold a wrapper objects
    30864         which holds those references whose dtors will schedule the release of those references on the ScriptExecution thread.
    30865         https://bugs.webkit.org/show_bug.cgi?id=55919
    30866 
    30867         No new tests, existing tests apply.
    30868 
    30869         * GNUmakefile.am:
    30870         * WebCore.gypi:
    30871         * WebCore.pro:
    30872         * WebCore.vcproj/WebCore.vcproj:
    30873         * WebCore.xcodeproj/project.pbxproj:
    30874         * storage/SQLCallbackWrapper.h: Added.
    30875         (WebCore::SQLCallbackWrapper::SQLCallbackWrapper):
    30876         (WebCore::SQLCallbackWrapper::clear):
    30877         (WebCore::SQLCallbackWrapper::unwrap):
    30878         (WebCore::SQLCallbackWrapper::hasCallback):
    30879         (WebCore::SQLCallbackWrapper::safeRelease):
    30880         * storage/SQLStatement.cpp:
    30881         (WebCore::SQLStatement::create):
    30882         (WebCore::SQLStatement::SQLStatement):
    30883         (WebCore::SQLStatement::performCallback):
    30884         * storage/SQLStatement.h:
    30885         (WebCore::SQLStatement::hasStatementCallback):
    30886         (WebCore::SQLStatement::hasStatementErrorCallback):
    30887         * storage/SQLTransaction.cpp:
    30888         (WebCore::SQLTransaction::SQLTransaction):
    30889         (WebCore::SQLTransaction::executeSQL):
    30890         (WebCore::SQLTransaction::checkAndHandleClosedOrInterruptedDatabase):
    30891         (WebCore::SQLTransaction::deliverTransactionCallback):
    30892         (WebCore::SQLTransaction::deliverStatementCallback):
    30893         (WebCore::SQLTransaction::postflightAndCommit):
    30894         (WebCore::SQLTransaction::deliverSuccessCallback):
    30895         (WebCore::SQLTransaction::handleTransactionError):
    30896         (WebCore::SQLTransaction::deliverTransactionErrorCallback):
    30897         * storage/SQLTransaction.h:
    30898 
    30899 2011-03-11  Eric Carlson  <eric.carlson@apple.com>
    30900 
    30901         Reviewed by Sam Weinig.
    30902 
    30903         <rdar://problem/8955589> Adopt AVFoundation media back end on Lion.
    30904 
    30905         No new tests, existing media tests cover this.
    30906 
    30907         * WebCore.xcodeproj/project.pbxproj:
    30908         * platform/graphics/MediaPlayer.cpp:
    30909         (WebCore::installedMediaEngines): Register MediaPlayerPrivateAVFoundationObjC.
    30910         (WebCore::bestMediaEngineForTypeAndCodecs): Kill some whitespace.
    30911         (WebCore::MediaPlayer::loadWithNextMediaEngine): Ditto.
    30912         (WebCore::MediaPlayer::inMediaDocument): Ditto.
    30913         * platform/graphics/MediaPlayer.h:
    30914 
    30915         * platform/graphics/avfoundation: Added.
    30916         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp: Added.
    30917         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h: Added.
    30918 
    30919         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.h: Added.
    30920         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm: Added.
    30921 
    30922 2011-03-11  Dean Jackson  <dino@apple.com>
    30923 
    30924         Reviewed by Simon Fraser.
    30925 
    30926         https://bugs.webkit.org/show_bug.cgi?id=56205
    30927         m_restrictions needs to allow multiple values (a bitfield)
    30928 
    30929         HTMLMediaElement::m_restrictions needs to hold multiple values, so
    30930         change BehaviorRestrictions to an unsigned typedef and rename the
    30931         existing enum BehaviorRestrictionFlags.
    30932 
    30933         * html/HTMLMediaElement.h:
    30934         (WebCore::HTMLMediaElement::setBehaviorRestrictions):
    30935 
    30936 2011-03-11  David Hyatt  <hyatt@apple.com>
    30937 
    30938         Reviewed by Dan Bernstein.
    30939 
    30940         https://bugs.webkit.org/show_bug.cgi?id=47206
    30941        
    30942         Table rows don't support ::before/::after.  Add support to RenderTableRow::styleDidChange so that ::before/::after content gets
    30943         properly constructed.
    30944 
    30945         Added fast/css-generated-content/table-row-before-after.html
    30946 
    30947         * rendering/RenderTableRow.cpp:
    30948         (WebCore::RenderTableRow::styleDidChange):
    30949         * rendering/RenderTableRow.h:
    30950 
    30951 2011-03-11  James Robinson  <jamesr@chromium.org>
    30952 
    30953         Reviewed by Kenneth Russell.
    30954 
    30955         [chromium] Avoid updating a composited layer&apos;s contents if the layer has nonpositive dimensions
    30956         https://bugs.webkit.org/show_bug.cgi?id=56209
    30957 
    30958         This matches the behavior prior to r80482.  No test since the only changes in
    30959         behavior are avoiding work on invisible layers, which is unobservable,
    30960         and fixing a crash due to bug 56153.
    30961 
    30962         * platform/graphics/chromium/LayerRendererChromium.cpp:
    30963         (WebCore::LayerRendererChromium::updateContentsRecursive):
    30964 
    30965 2011-03-11  David Hyatt  <hyatt@apple.com>
    30966 
    30967         Reviewed by Simon Fraser.
    30968 
    30969         https://bugs.webkit.org/show_bug.cgi?id=47159
    30970        
    30971         CSS2.1 failures in background position parsing.
    30972        
    30973         Rewrite background position component parsing to match the spec.  Our old parsing would allow "100% left" to be valid
    30974         when it should not have.  Rename parseFillPositionXY to parseFillPositionComponent and pass in enough information for
    30975         it to understand what the first component was.
    30976        
    30977         For individual property parsing using background-position-x/y, I added new functions that just handle that without
    30978         worrying about the other component.
    30979        
    30980         In order to pass the CSS2.1 test, I also had to fix multiple background parsing.  The number of layers in multiple
    30981         backgrounds is determined solely by the background-image property and not by any of the other properties.  cullEmptyLayers
    30982         has been changed to always consider a layer empty if it has no image set, even if other properties are set.
    30983        
    30984         A number of layout tests had to be patched as they were invalid.  A couple of them relied on incorrect background-position
    30985         parsing (e.g., "50 left") and another relied on incorrect multiple background parsing.  It's not clear if the computed style
    30986         should actually include the additional values when no image is set though, so that should perhaps be the subject of a
    30987         follow-up bug.
    30988 
    30989         Added fast/backgrounds/background-position-parsing.html
    30990 
    30991         * css/CSSParser.cpp:
    30992         (WebCore::CSSParser::parseFillPositionX):
    30993         (WebCore::CSSParser::parseFillPositionY):
    30994         (WebCore::CSSParser::parseFillPositionComponent):
    30995         (WebCore::CSSParser::parseFillPosition):
    30996         (WebCore::CSSParser::parseFillProperty):
    30997         (WebCore::CSSParser::parseTransformOrigin):
    30998         (WebCore::CSSParser::parsePerspectiveOrigin):
    30999         * css/CSSParser.h:
    31000         * rendering/style/FillLayer.cpp:
    31001         (WebCore::FillLayer::fillUnsetProperties):
    31002         (WebCore::FillLayer::cullEmptyLayers):
    31003 
    31004 2011-03-11  Vangelis Kokkevis  <vangelis@chromium.org>
    31005 
    31006         Reviewed by James Robinson.
    31007 
    31008         [chromium] Allow large layers with non-identity transforms to be drawn
    31009         as long as their visible portion is smaller than the largest supported
    31010         texture size. This code will soon be replaced by tiled layers.
    31011         https://bugs.webkit.org/show_bug.cgi?id=55984
    31012 
    31013         Test: platform/chromium/compositing/huge-layer-rotated.html
    31014 
    31015         * platform/graphics/chromium/ContentLayerChromium.cpp:
    31016         (WebCore::ContentLayerChromium::updateContentsIfDirty):
    31017         (WebCore::ContentLayerChromium::draw):
    31018         * platform/graphics/chromium/ContentLayerChromium.h:
    31019 
    31020 2011-03-09  Chris Marrin  <cmarrin@apple.com>
    31021 
    31022         Reviewed by Adam Roben.
    31023 
    31024         REGRESSION (5.0.3-ToT): Scrolling text doesn&apos;t scroll in Star Wars intro animation
    31025         https://bugs.webkit.org/show_bug.cgi?id=52468
    31026 
    31027         Added WIN32 to the ifdef controlling whether animations are applied in normal or
    31028         reverse order. On Mac, animations used to be applied in reverse, but
    31029         <rdar://problem/7095638> fixed this in the release after Snow Leopard.
    31030         But that patch has not be applied to the Safari Windows SDK yet. For now
    31031         I've made Windows use the reverse order logig. <rdar://problem/9112233> is
    31032         tracking the inclusion of the patch on Windows.
    31033 
    31034         * platform/graphics/ca/GraphicsLayerCA.cpp:
    31035         (WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes):
    31036 
    31037 2011-03-11  Tony Gentilcore  <tonyg@chromium.org>
    31038 
    31039         Reviewed by Eric Seidel.
    31040 
    31041         Let the parser yield for layout before running scripts
    31042         https://bugs.webkit.org/show_bug.cgi?id=54355
    31043 
    31044         Prior to this patch, the parser would yield to perform a layout/paint before running a
    31045         script only if the script or a stylesheet blocking the script is not loaded yet. Since we
    31046         don't preload scan into the body while parsing the head, typically we'll block on a script
    31047         early in the body that causes us to yield to do the first paint within a reasonable time.
    31048 
    31049         However, I'm planning to change the PreloadScanner to scan into the body from the head.
    31050         That significantly improves overall load time, but would hurt first paint time because
    31051         fewer scripts would be blocked during parsing and thus wouldn't yield.
    31052 
    31053         This change causes us to yield before running scripts if we haven't painted yet (regardless
    31054         of whether or not the script is loaded). In addition to allowing the above mentioned
    31055         PreloadScanner change to be implemented without regressing first paint time, this also
    31056         improves first paint time by itself.
    31057 
    31058         I tested Alexa's top 45 websites using Web Page Replay to control the content and simulate
    31059         bandwidth. This patch improved average first paint time by 1% over an unlimited connection,
    31060         6% over a 1Mbps connection and 11% over a 5Mbps connection. There was no statistically
    31061         signifcant change in page load time.
    31062 
    31063         Within the pages tested, 33 had no statistically significant change in time to first paint,
    31064         12 improved, and none regressed. Of the improved, some of the standouts from the 1Mbps set
    31065         are: 20% on youtube, 37% on wiki, 27% on ebay, 13% on cnn, 16% on espn, 74% on sohu.
    31066 
    31067         * html/parser/HTMLDocumentParser.cpp:
    31068         (WebCore::HTMLDocumentParser::canTakeNextToken): This is the new yield point.
    31069         (WebCore::HTMLDocumentParser::pumpTokenizer): Remove ASSERT that we are not paused. isPaused
    31070         means that we are waiting for a script. Bug 54574 changed pumpTokenizer() so that it does
    31071         the right thing whether we are just before a token or waiting for a script. Now that we may
    31072         yield before a token or before a script, this may be called while paused.
    31073         * html/parser/HTMLParserScheduler.cpp:
    31074         (WebCore::HTMLParserScheduler::checkForYieldBeforeScript): Added.
    31075         * page/FrameView.h:
    31076         (WebCore::FrameView::hasEverPainted): Added.
    31077 
    31078 2011-03-11  Dimitri Glazkov  <dglazkov@chromium.org>
    31079 
    31080         Fix crashes in dom/html/level2/html/HTMLInputElement*.
    31081 
    31082         * css/CSSStyleSelector.cpp:
    31083         (WebCore::CSSStyleSelector::adjustRenderStyle): Added a null-check for e,
    31084             because e can certainly be a null.
    31085 
    31086 2011-03-09  Dimitri Glazkov  <dglazkov@chromium.org>
    31087 
    31088         Reviewed by David Hyatt.
    31089 
    31090         Choke text-decoration when entering shadow DOM subtree.
    31091         https://bugs.webkit.org/show_bug.cgi?id=56044
    31092 
    31093         No new tests, because the functionality can't be tested yet.
    31094 
    31095         * css/CSSStyleSelector.cpp:
    31096         (WebCore::CSSStyleSelector::adjustRenderStyle): Added a check for shadow DOM root.
    31097 
    31098 2011-03-08  Dimitri Glazkov  <dglazkov@chromium.org>
    31099 
    31100         Reviewed by Eric Carlson.
    31101 
    31102         Convert MediaControlTimeDisplayElement to use standard layout with a custom renderer.
    31103         https://bugs.webkit.org/show_bug.cgi?id=55972
    31104 
    31105         Instead of poking at the time display elements all the way from RenderMedia,
    31106         let the standard layout cycle take care of things. Move the logic of calculating
    31107         when to collapse the time display elements into a custom renderer, since
    31108         this is not something that can be accomplished with CSS.
    31109 
    31110         Also, the logic of keeping the timeline slider at least 100px needed refreshing,
    31111         since it didn't actually keep it at 100px.
    31112 
    31113         * html/shadow/MediaControls.cpp: Moved the logic of determining visibility
    31114             of time display elements to RenderMediaControlTimeDisplay, eliminating
    31115             updateTimeDisplayVisibility method.
    31116         * html/shadow/MediaControls.h: Removed decl.
    31117         * rendering/MediaControlElements.cpp:
    31118         (WebCore::RenderMediaControlTimeDisplay::RenderMediaControlTimeDisplay):
    31119             Added new renderer class.
    31120         (WebCore::RenderMediaControlTimeDisplay::layout): Simplified (and corrected)
    31121             size-sensing logic, still using hard-coded values.
    31122         (WebCore::MediaControlTimeDisplayElement::MediaControlTimeDisplayElement):
    31123             Removed m_isVisible member, which is no longer necessary.
    31124         (WebCore::MediaControlTimeDisplayElement::createRenderer): Added to
    31125             return the new renderer.
    31126         * rendering/MediaControlElements.h: Adjusted decls.
    31127         * rendering/RenderMedia.cpp:
    31128         (WebCore::RenderMedia::layout): Remove the now-unnecessary poking at
    31129             media controls in layout.
    31130 
    31131 2011-03-09  Dimitri Glazkov  <dglazkov@chromium.org>
    31132 
    31133         Reviewed by Eric Carlson.
    31134 
    31135         Start focusing updates to media controls, away from always updating everything.
    31136         https://bugs.webkit.org/show_bug.cgi?id=56038
    31137 
    31138         For now, the new methods just call generic MediaControls::update.
    31139 
    31140         Covered by existing tests.
    31141 
    31142         * html/HTMLMediaElement.cpp:
    31143         (WebCore::HTMLMediaElement::attributeChanged): Changed to use MediaControls::reset.
    31144         (WebCore::HTMLMediaElement::setMuted): Changed to use MediaControls::changedMute.
    31145         (WebCore::HTMLMediaElement::updateVolume): Changed to use MediaControls::changedVolume.
    31146         (WebCore::HTMLMediaElement::defaultEventHandler): Changed to use the new mediaControls
    31147             accessor.
    31148         (WebCore::HTMLMediaElement::setClosedCaptionsVisible): Changed to use
    31149             MediaControls::changedClosedCaptionsVisibility.
    31150         (WebCore::HTMLMediaElement::mediaControls): Added.
    31151         (WebCore::HTMLMediaElement::hasMediaControls): Added.
    31152         * html/HTMLMediaElement.h: Added decls.
    31153         * html/shadow/MediaControls.cpp:
    31154         (WebCore::MediaControls::reset): Added.
    31155         (WebCore::MediaControls::changedMute): Added.
    31156         (WebCore::MediaControls::changedVolume): Added.
    31157         (WebCore::MediaControls::changedClosedCaptionsVisibility): Added.
    31158         * html/shadow/MediaControls.h: Added decls.
    31159 
    31160 2011-03-11  Alexis Menard  <alexis.menard@openbossa.org>
    31161 
    31162         Reviewed by Martin Robinson.
    31163 
    31164         [GStreamer] When seeking webKitWebSrcStop release the frame but should not.
    31165         https://bugs.webkit.org/show_bug.cgi?id=55703
    31166 
    31167         When calling webKitWebSrcStop in case of a seeking, the frame should not
    31168         be reset (the source hasn't change). The frame may be used to get the network
    31169         context. Some network stack (like Qt) are relaying on the network context
    31170         to work.
    31171 
    31172         * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
    31173         (webKitWebSrcStop):
    31174 
    31175 2011-03-11  Dean Jackson  <dino@apple.com>
    31176 
    31177         Unreviewed.
    31178 
    31179         Build fixes for GTK and Leopard.
    31180 
    31181         * bindings/gobject/GNUmakefile.am:
    31182         - add missing WebKitAnimation* generated bindings
    31183         * page/WebKitAnimation.idl:
    31184         - use double in place of float (the core values are double anyway)
    31185 
    31186 2011-03-11  Dean Jackson  <dino@apple.com>
    31187 
    31188         Unreviewed build fix for QT.
    31189 
    31190         * WebCore.pro:
    31191 
    31192 2011-03-11  Dean Jackson  <dino@apple.com>
    31193 
    31194         Reviewed by Simon Fraser and Chris Marrin.
    31195 
    31196         https://bugs.webkit.org/show_bug.cgi?id=54151
    31197         Implement an API to play/pause/scrub animations
    31198 
    31199         This is Part 1. Adds the new WebKitAnimation and WebKitAnimationList
    31200         APIs, exposed via Element.getWebKitAnimations(). This first pass
    31201         is a read-only API - a subsequent commit will add the ability
    31202         to scrub animations.
    31203 
    31204         Test: animations/animation-api-1.html
    31205 
    31206         * Android.derived.jscbindings.mk:
    31207         * Android.derived.v8bindings.mk:
    31208         * Android.mk:
    31209         * Android.v8bindings.mk:
    31210         * CMakeLists.txt:
    31211         * CodeGenerators.pri:
    31212         * DerivedSources.cpp:
    31213         * DerivedSources.make:
    31214         * GNUmakefile.am:
    31215         * WebCore.gypi:
    31216         * WebCore.pro:
    31217         * WebCore.vcproj/WebCore.vcproj:
    31218         * WebCore.xcodeproj/project.pbxproj:
    31219         - All build settings updated for new files
    31220         * bindings/js/JSBindingsAllInOne.cpp:
    31221         - Include new custom files
    31222         * bindings/js/JSWebKitAnimationCustom.cpp: Added.
    31223         (WebCore::JSWebKitAnimation::iterationCount):
    31224         - Custom property getter so that we can return INFINITY
    31225         * bindings/js/JSWebKitAnimationListCustom.cpp: Added.
    31226         (WebCore::JSWebKitAnimationList::markChildren):
    31227         - Make sure WebKitAnimations are marked
    31228         * bindings/v8/custom/V8WebKitAnimationCustom.cpp: Added.
    31229         (WebCore::V8WebkitAnimation::iterationCountAccessorGetter):
    31230         - Custom property getter so that we can return INFINITY
    31231         * dom/Element.cpp:
    31232         (WebCore::Element::webkitGetAnimations):
    31233         * dom/Element.h:
    31234         * dom/Element.idl:
    31235         - New API entry point
    31236         * page/DOMWindow.idl:
    31237         - Constructor definitions for WebKitAnimation and WebKitAnimationList
    31238         * page/animation/AnimationBase.cpp:
    31239         (WebCore::AnimationBase::~AnimationBase):
    31240         - Since AnimationBase can now live longer (if a WebKitAnimation is
    31241         held in Javascript) we need to guard for the renderer having disappeared.
    31242         (WebCore::AnimationBase::setElapsedTime):
    31243         (WebCore::AnimationBase::play):
    31244         (WebCore::AnimationBase::pause):
    31245         - Stub implementations at present
    31246         * page/animation/AnimationBase.h:
    31247         (WebCore::AnimationBase::animation):
    31248         - Expose the Animation properties
    31249         * page/animation/AnimationController.cpp:
    31250         (WebCore::AnimationControllerPrivate::animationsForRenderer):
    31251         (WebCore::AnimationController::animationsForRenderer):
    31252         - Builds the list of WebKitAnimations
    31253         * page/animation/AnimationController.h:
    31254         * page/animation/AnimationControllerPrivate.h:
    31255         * page/animation/CompositeAnimation.cpp:
    31256         (WebCore::CompositeAnimation::updateKeyframeAnimations):
    31257         - Make sure we clear the renderer if we are removing the animation
    31258         (WebCore::CompositeAnimation::animations):
    31259         * page/animation/CompositeAnimation.h:
    31260         * page/WebKitAnimation.cpp: Added.
    31261         (WebCore::WebKitAnimation::WebKitAnimation):
    31262         (WebCore::WebKitAnimation::name):
    31263         (WebCore::WebKitAnimation::duration):
    31264         (WebCore::WebKitAnimation::elapsedTime):
    31265         (WebCore::WebKitAnimation::setElapsedTime):
    31266         (WebCore::WebKitAnimation::delay):
    31267         (WebCore::WebKitAnimation::iterationCount):
    31268         (WebCore::WebKitAnimation::paused):
    31269         (WebCore::WebKitAnimation::ended):
    31270         (WebCore::WebKitAnimation::direction):
    31271         (WebCore::WebKitAnimation::fillMode):
    31272         (WebCore::WebKitAnimation::pause):
    31273         (WebCore::WebKitAnimation::play):
    31274         - The implementation of the new API. All the read-only parts are
    31275         done, but elapsedTime, play() and pause() are stubs.
    31276         * page/WebKitAnimation.h: Added.
    31277         (WebCore::WebKitAnimation::create):
    31278         (WebCore::WebKitAnimation::~WebKitAnimation):
    31279         * page/WebKitAnimation.idl: Added.
    31280         * page/WebKitAnimationList.cpp: Added.
    31281         * page/WebKitAnimationList.h: Added.
    31282         * page/WebKitAnimationList.idl: Added.
    31283         - Copies NodeList implementation
    31284 
    31285 2011-03-11  Ilya Tikhonovsky  <loislo@chromium.org>
    31286 
    31287         Reviewed by Yury Semikhatsky.
    31288 
    31289         Web Inspector: introduce error argument for all the callbacks on frontend.
    31290         https://bugs.webkit.org/show_bug.cgi?id=56100
    31291 
    31292         * inspector/CodeGeneratorInspector.pm:
    31293         * inspector/front-end/AuditRules.js:
    31294         (WebInspector.AuditRules.evaluateInTargetWindow):
    31295         (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.allStylesCallback):
    31296         (WebInspector.AuditRules.UnusedCssRule.prototype.doRun):
    31297         (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun.getStyles):
    31298         (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun):
    31299         * inspector/front-end/CSSStyleModel.js:
    31300         (WebInspector.CSSStyleModel.prototype.getStylesAsync):
    31301         (WebInspector.CSSStyleModel.prototype.getComputedStyleAsync):
    31302         (WebInspector.CSSStyleModel.prototype.getInlineStyleAsync):
    31303         (WebInspector.CSSStyleModel.prototype.setRuleSelector):
    31304         (WebInspector.CSSStyleModel.prototype.setRuleSelector.callback):
    31305         (WebInspector.CSSStyleModel.prototype.addRule):
    31306         (WebInspector.CSSStyleModel.prototype.addRule.callback):
    31307         (WebInspector.CSSStyleModel.prototype._styleSheetChanged.callback):
    31308         (WebInspector.CSSStyleModel.prototype._styleSheetChanged):
    31309         (WebInspector.CSSStyleModel.prototype._onRevert):
    31310         (WebInspector.CSSStyleDeclaration.prototype.insertPropertyAt):
    31311         (WebInspector.CSSProperty.prototype.setText.callback):
    31312         (WebInspector.CSSProperty.prototype.setText):
    31313         (WebInspector.CSSProperty.prototype.setDisabled.callback):
    31314         (WebInspector.CSSProperty.prototype.setDisabled):
    31315         (WebInspector.CSSStyleSheet.createForId):
    31316         (WebInspector.CSSStyleSheet.prototype.setText):
    31317         * inspector/front-end/ConsoleView.js:
    31318         (WebInspector.ConsoleView.prototype.evalInInspectedWindow):
    31319         * inspector/front-end/DOMAgent.js:
    31320         (WebInspector.DOMNode.prototype.setNodeName):
    31321         (WebInspector.DOMNode.prototype.setNodeValue):
    31322         (WebInspector.DOMNode.prototype.setAttribute):
    31323         (WebInspector.DOMNode.prototype.removeAttribute):
    31324         (WebInspector.DOMNode.prototype.childNodes.mycallback):
    31325         (WebInspector.DOMNode.prototype.childNodes):
    31326         (WebInspector.DOMNode.prototype.outerHTML):
    31327         (WebInspector.DOMNode.prototype.setOuterHTML):
    31328         (WebInspector.DOMNode.prototype.removeNode):
    31329         (WebInspector.DOMNode.prototype.copyNode):
    31330         (WebInspector.DOMAgent.prototype.pushNodeToFrontend):
    31331         (WebInspector.DOMAgent.prototype.pushNodeByPathToFrontend):
    31332         (WebInspector.DOMAgent.prototype._documentUpdated):
    31333         (WebInspector.ApplicationCacheDispatcher.getApplicationCachesAsync):
    31334         (WebInspector.Cookies.getCookiesAsync):
    31335         (WebInspector.EventListeners.getEventListenersForNodeAsync):
    31336         * inspector/front-end/DOMStorage.js:
    31337         (WebInspector.DOMStorage.prototype.getEntries):
    31338         (WebInspector.DOMStorage.prototype.setItem):
    31339         (WebInspector.DOMStorage.prototype.removeItem):
    31340         * inspector/front-end/Database.js:
    31341         (WebInspector.Database.prototype.getTableNames):
    31342         (WebInspector.Database.prototype.executeSql):
    31343         * inspector/front-end/DebuggerModel.js:
    31344         (WebInspector.DebuggerModel.prototype.setBreakpoint.didSetBreakpoint):
    31345         (WebInspector.DebuggerModel.prototype.setBreakpoint):
    31346         (WebInspector.DebuggerModel.prototype.setBreakpointBySourceId):
    31347         (WebInspector.DebuggerModel.prototype.editScriptSource):
    31348         * inspector/front-end/ElementsPanel.js:
    31349         (WebInspector.ElementsPanel.prototype._setSearchingForNode):
    31350         * inspector/front-end/ElementsTreeOutline.js:
    31351         (WebInspector.ElementsTreeElement.prototype._createTooltipForNode.resolvedNode):
    31352         (WebInspector.ElementsTreeElement.prototype._createTooltipForNode):
    31353         (WebInspector.ElementsTreeElement.prototype._tagNameEditingCommitted.changeTagNameCallback):
    31354         (WebInspector.ElementsTreeElement.prototype._tagNameEditingCommitted):
    31355         ():
    31356         * inspector/front-end/ExtensionPanel.js:
    31357         (WebInspector.ExtensionWatchSidebarPane.prototype._onEvaluate):
    31358         * inspector/front-end/ExtensionServer.js:
    31359         (WebInspector.ExtensionServer.prototype._onEvaluateOnInspectedPage):
    31360         * inspector/front-end/NetworkManager.js:
    31361         (WebInspector.NetworkManager.prototype.requestContent):
    31362         (WebInspector.NetworkManager.prototype._processCachedResources):
    31363         * inspector/front-end/ProfileView.js:
    31364         (WebInspector.CPUProfileView.profileCallback):
    31365         (WebInspector.CPUProfileView):
    31366         * inspector/front-end/ProfilesPanel.js:
    31367         * inspector/front-end/RemoteObject.js:
    31368         (WebInspector.RemoteObject.resolveNode):
    31369         (WebInspector.RemoteObject.prototype.getProperties.remoteObjectBinder):
    31370         (WebInspector.RemoteObject.prototype.getProperties):
    31371         (WebInspector.RemoteObject.prototype.setPropertyValue):
    31372         (WebInspector.RemoteObject.prototype.evaluate):
    31373         * inspector/front-end/Script.js:
    31374         (WebInspector.Script.prototype.requestSource.didGetScriptSource):
    31375         (WebInspector.Script.prototype.requestSource):
    31376         * inspector/front-end/ScriptsPanel.js:
    31377         (WebInspector.ScriptsPanel.prototype.evaluateInSelectedCallFrame.updatingCallbackWrapper):
    31378         (WebInspector.ScriptsPanel.prototype.evaluateInSelectedCallFrame):
    31379         (WebInspector.ScriptsPanel.prototype._setPauseOnExceptions):
    31380         * inspector/front-end/inspector.js:
    31381         ():
    31382         (WebInspector.doLoadedDone.onPopulateScriptObjects):
    31383         (WebInspector.doLoadedDone.propertyNamesCallback):
    31384         (WebInspector.doLoadedDone):
    31385 
    31386 2011-03-11  Yury Semikhatsky  <yurys@chromium.org>
    31387 
    31388         Reviewed by Pavel Feldman.
    31389 
    31390         Web Inspector: split InjectedScriptHost into InjectedScriptManager and InjectedScriptHost
    31391         https://bugs.webkit.org/show_bug.cgi?id=56173
    31392 
    31393         Moved all injected script managing logic into InjectedScriptManager which is owned by InspectorController.
    31394 
    31395         * CMakeLists.txt:
    31396         * GNUmakefile.am:
    31397         * WebCore.gypi:
    31398         * WebCore.pro:
    31399         * WebCore.vcproj/WebCore.vcproj:
    31400         * WebCore.xcodeproj/project.pbxproj:
    31401         * bindings/js/JSInjectedScriptHostCustom.cpp:
    31402         * bindings/js/JSInjectedScriptManager.cpp: Added.
    31403         (WebCore::InjectedScriptManager::createInjectedScript):
    31404         (WebCore::InjectedScriptManager::discardInjectedScript):
    31405         (WebCore::InjectedScriptManager::injectedScriptFor):
    31406         (WebCore::InjectedScriptManager::canAccessInspectedWindow):
    31407         * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
    31408         * bindings/v8/custom/V8InjectedScriptManager.cpp: Copied from Source/WebCore/bindings/v8/custom/V8InjectedScriptHostCustom.cpp.
    31409         (WebCore::WeakReferenceCallback):
    31410         (WebCore::createInjectedScriptHostV8Wrapper):
    31411         (WebCore::InjectedScriptManager::createInjectedScript):
    31412         (WebCore::InjectedScriptManager::discardInjectedScript):
    31413         (WebCore::InjectedScriptManager::injectedScriptFor):
    31414         (WebCore::InjectedScriptManager::canAccessInspectedWindow):
    31415         * inspector/ConsoleMessage.cpp:
    31416         (WebCore::ConsoleMessage::addToFrontend):
    31417         * inspector/ConsoleMessage.h:
    31418         * inspector/InjectedScript.cpp:
    31419         (WebCore::InjectedScript::canAccessInspectedWindow):
    31420         * inspector/InjectedScript.h:
    31421         * inspector/InjectedScriptHost.cpp:
    31422         (WebCore::InjectedScriptHost::create):
    31423         (WebCore::InjectedScriptHost::InjectedScriptHost):
    31424         (WebCore::InjectedScriptHost::~InjectedScriptHost):
    31425         (WebCore::InjectedScriptHost::disconnect):
    31426         (WebCore::InjectedScriptHost::inspectImpl):
    31427         (WebCore::InjectedScriptHost::clearConsoleMessages):
    31428         (WebCore::InjectedScriptHost::databaseIdImpl):
    31429         (WebCore::InjectedScriptHost::storageIdImpl):
    31430         * inspector/InjectedScriptHost.h:
    31431         (WebCore::InjectedScriptHost::init):
    31432         (WebCore::InjectedScriptHost::setFrontend):
    31433         (WebCore::InjectedScriptHost::clearFrontend):
    31434         * inspector/InjectedScriptManager.cpp: Added.
    31435         (WebCore::InjectedScriptManager::create):
    31436         (WebCore::InjectedScriptManager::InjectedScriptManager):
    31437         (WebCore::InjectedScriptManager::~InjectedScriptManager):
    31438         (WebCore::InjectedScriptManager::disconnect):
    31439         (WebCore::InjectedScriptManager::injectedScriptHost):
    31440         (WebCore::InjectedScriptManager::injectedScriptForId):
    31441         (WebCore::InjectedScriptManager::injectedScriptForObjectId):
    31442         (WebCore::InjectedScriptManager::discardInjectedScripts):
    31443         (WebCore::InjectedScriptManager::releaseObjectGroup):
    31444         (WebCore::InjectedScriptManager::injectedScriptSource):
    31445         (WebCore::InjectedScriptManager::injectScript):
    31446         * inspector/InjectedScriptManager.h: Copied from Source/WebCore/inspector/InjectedScriptHost.h.
    31447         * inspector/Inspector.idl:
    31448         * inspector/InspectorAgent.cpp:
    31449         (WebCore::InspectorAgent::InspectorAgent):
    31450         (WebCore::InspectorAgent::inspectedPageDestroyed):
    31451         (WebCore::InspectorAgent::focusNode):
    31452         (WebCore::InspectorAgent::didClearWindowObjectInWorld):
    31453         (WebCore::InspectorAgent::createFrontendLifetimeAgents):
    31454         (WebCore::InspectorAgent::didCommitLoad):
    31455         (WebCore::InspectorAgent::domContentLoadedEventFired):
    31456         * inspector/InspectorAgent.h:
    31457         * inspector/InspectorBrowserDebuggerAgent.cpp:
    31458         * inspector/InspectorConsoleAgent.cpp:
    31459         (WebCore::InspectorConsoleAgent::InspectorConsoleAgent):
    31460         (WebCore::InspectorConsoleAgent::~InspectorConsoleAgent):
    31461         (WebCore::InspectorConsoleAgent::clearConsoleMessages):
    31462         (WebCore::InspectorConsoleAgent::addInspectedNode):
    31463         (WebCore::InspectorConsoleAgent::setConsoleMessagesEnabled):
    31464         (WebCore::InspectorConsoleAgent::addConsoleMessage):
    31465         * inspector/InspectorConsoleAgent.h:
    31466         * inspector/InspectorController.cpp:
    31467         (WebCore::InspectorController::InspectorController):
    31468         (WebCore::InspectorController::connectFrontend):
    31469         (WebCore::InspectorController::disconnectFrontend):
    31470         * inspector/InspectorController.h:
    31471         * inspector/InspectorDOMAgent.cpp:
    31472         (WebCore::InspectorDOMAgent::InspectorDOMAgent):
    31473         (WebCore::InspectorDOMAgent::discardBindings):
    31474         (WebCore::InspectorDOMAgent::pushNodeToFrontend):
    31475         (WebCore::InspectorDOMAgent::resolveNode):
    31476         * inspector/InspectorDOMAgent.h:
    31477         (WebCore::InspectorDOMAgent::create):
    31478         * inspector/InspectorDebuggerAgent.cpp:
    31479         (WebCore::InspectorDebuggerAgent::create):
    31480         (WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent):
    31481         (WebCore::InspectorDebuggerAgent::evaluateOnCallFrame):
    31482         (WebCore::InspectorDebuggerAgent::currentCallFrames):
    31483         * inspector/InspectorDebuggerAgent.h:
    31484         * inspector/InspectorRuntimeAgent.cpp:
    31485         (WebCore::InspectorRuntimeAgent::create):
    31486         (WebCore::InspectorRuntimeAgent::InspectorRuntimeAgent):
    31487         (WebCore::InspectorRuntimeAgent::~InspectorRuntimeAgent):
    31488         (WebCore::InspectorRuntimeAgent::evaluate):
    31489         (WebCore::InspectorRuntimeAgent::evaluateOn):
    31490         (WebCore::InspectorRuntimeAgent::getProperties):
    31491         (WebCore::InspectorRuntimeAgent::setPropertyValue):
    31492         (WebCore::InspectorRuntimeAgent::releaseObject):
    31493         (WebCore::InspectorRuntimeAgent::releaseObjectGroup):
    31494         * inspector/InspectorRuntimeAgent.h:
    31495         * inspector/front-end/ElementsPanel.js:
    31496         (WebInspector.ElementsPanel.this.treeOutline.focusedNodeChanged):
    31497         (WebInspector.ElementsPanel):
    31498 
    31499 2011-03-11  Anton Muhin  <antonm@chromium.org>
    31500 
    31501         Reviewed by Adam Barth.
    31502 
    31503         [v8] Change the way group id for CSS objects is calculated
    31504         https://bugs.webkit.org/show_bug.cgi?id=56117
    31505 
    31506         Do not treat CSSStyleDeclarations under not CSSRule as belonging to the same object group
    31507         as they should not be reachable in JavaScript.
    31508 
    31509         Covered by existing layout tests.  Fact of absence of retention is not trivial to prove.
    31510 
    31511         * bindings/v8/V8GCController.cpp:
    31512         (WebCore::calculateGroupId):
    31513         (WebCore::DOMObjectGrouperVisitor::visitDOMWrapper):
    31514 
    31515 2011-03-11  Alexander Pavlov  <apavlov@chromium.org>
    31516 
    31517         Reviewed by Yury Semikhatsky.
    31518 
    31519         Web Inspector: hover over elements in Elements panel does not highlight nodes
    31520         https://bugs.webkit.org/show_bug.cgi?id=56121
    31521 
    31522         In DOM trees with a comment and/or doctype preceding the HTML tag, the tree container right boundary
    31523         is 16px apart from the OL right boundary, and we miss the relevant LI by 4px. The fix is to compensate
    31524         for these 16px when computing the test point coordinates.
    31525 
    31526         * inspector/front-end/ElementsTreeOutline.js:
    31527         (WebInspector.ElementsTreeOutline.prototype._treeElementFromEvent):
    31528 
    31529 2011-03-11  Yury Semikhatsky  <yurys@chromium.org>
    31530 
    31531         Unreviewed. Roll out r80837.
    31532 
    31533         * CMakeLists.txt:
    31534         * GNUmakefile.am:
    31535         * WebCore.gypi:
    31536         * WebCore.pro:
    31537         * WebCore.vcproj/WebCore.vcproj:
    31538         * WebCore.xcodeproj/project.pbxproj:
    31539         * bindings/js/JSInjectedScriptHostCustom.cpp:
    31540         (WebCore::InjectedScriptHost::createInjectedScript):
    31541         (WebCore::InjectedScriptHost::discardInjectedScript):
    31542         (WebCore::InjectedScriptHost::injectedScriptFor):
    31543         (WebCore::InjectedScriptHost::canAccessInspectedWindow):
    31544         * bindings/js/JSInjectedScriptManager.cpp: Removed.
    31545         * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
    31546         (WebCore::WeakReferenceCallback):
    31547         (WebCore::createInjectedScriptHostV8Wrapper):
    31548         (WebCore::InjectedScriptHost::createInjectedScript):
    31549         (WebCore::InjectedScriptHost::discardInjectedScript):
    31550         (WebCore::InjectedScriptHost::injectedScriptFor):
    31551         (WebCore::InjectedScriptHost::canAccessInspectedWindow):
    31552         * bindings/v8/custom/V8InjectedScriptManager.cpp: Removed.
    31553         * inspector/ConsoleMessage.cpp:
    31554         (WebCore::ConsoleMessage::addToFrontend):
    31555         * inspector/ConsoleMessage.h:
    31556         * inspector/InjectedScript.cpp:
    31557         (WebCore::InjectedScript::canAccessInspectedWindow):
    31558         * inspector/InjectedScript.h:
    31559         * inspector/InjectedScriptHost.cpp:
    31560         (WebCore::InjectedScriptHost::InjectedScriptHost):
    31561         (WebCore::InjectedScriptHost::~InjectedScriptHost):
    31562         (WebCore::InjectedScriptHost::inspectImpl):
    31563         (WebCore::InjectedScriptHost::clearConsoleMessages):
    31564         (WebCore::InjectedScriptHost::databaseIdImpl):
    31565         (WebCore::InjectedScriptHost::storageIdImpl):
    31566         (WebCore::InjectedScriptHost::injectedScriptForId):
    31567         (WebCore::InjectedScriptHost::injectedScriptForObjectId):
    31568         (WebCore::InjectedScriptHost::injectedScriptForMainFrame):
    31569         (WebCore::InjectedScriptHost::discardInjectedScripts):
    31570         (WebCore::InjectedScriptHost::releaseObjectGroup):
    31571         (WebCore::InjectedScriptHost::frontend):
    31572         (WebCore::InjectedScriptHost::injectedScriptSource):
    31573         (WebCore::InjectedScriptHost::injectScript):
    31574         * inspector/InjectedScriptHost.h:
    31575         (WebCore::InjectedScriptHost::create):
    31576         (WebCore::InjectedScriptHost::inspectorAgent):
    31577         (WebCore::InjectedScriptHost::disconnectController):
    31578         * inspector/InjectedScriptManager.cpp: Removed.
    31579         * inspector/InjectedScriptManager.h: Removed.
    31580         * inspector/Inspector.idl:
    31581         * inspector/InspectorAgent.cpp:
    31582         (WebCore::InspectorAgent::InspectorAgent):
    31583         (WebCore::InspectorAgent::inspectedPageDestroyed):
    31584         (WebCore::InspectorAgent::focusNode):
    31585         (WebCore::InspectorAgent::didClearWindowObjectInWorld):
    31586         (WebCore::InspectorAgent::createFrontendLifetimeAgents):
    31587         (WebCore::InspectorAgent::didCommitLoad):
    31588         (WebCore::InspectorAgent::domContentLoadedEventFired):
    31589         * inspector/InspectorAgent.h:
    31590         (WebCore::InspectorAgent::injectedScriptHost):
    31591         * inspector/InspectorBrowserDebuggerAgent.cpp:
    31592         * inspector/InspectorConsoleAgent.cpp:
    31593         (WebCore::InspectorConsoleAgent::InspectorConsoleAgent):
    31594         (WebCore::InspectorConsoleAgent::~InspectorConsoleAgent):
    31595         (WebCore::InspectorConsoleAgent::clearConsoleMessages):
    31596         (WebCore::InspectorConsoleAgent::setConsoleMessagesEnabled):
    31597         (WebCore::InspectorConsoleAgent::addConsoleMessage):
    31598         * inspector/InspectorConsoleAgent.h:
    31599         * inspector/InspectorController.cpp:
    31600         (WebCore::InspectorController::InspectorController):
    31601         (WebCore::InspectorController::connectFrontend):
    31602         (WebCore::InspectorController::disconnectFrontend):
    31603         * inspector/InspectorController.h:
    31604         * inspector/InspectorDOMAgent.cpp:
    31605         (WebCore::InspectorDOMAgent::InspectorDOMAgent):
    31606         (WebCore::InspectorDOMAgent::discardBindings):
    31607         (WebCore::InspectorDOMAgent::addInspectedNode):
    31608         (WebCore::InspectorDOMAgent::pushNodeToFrontend):
    31609         (WebCore::InspectorDOMAgent::resolveNode):
    31610         * inspector/InspectorDOMAgent.h:
    31611         (WebCore::InspectorDOMAgent::create):
    31612         * inspector/InspectorDebuggerAgent.cpp:
    31613         (WebCore::InspectorDebuggerAgent::create):
    31614         (WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent):
    31615         (WebCore::InspectorDebuggerAgent::evaluateOnCallFrame):
    31616         (WebCore::InspectorDebuggerAgent::currentCallFrames):
    31617         * inspector/InspectorDebuggerAgent.h:
    31618         * inspector/InspectorRuntimeAgent.cpp:
    31619         (WebCore::InspectorRuntimeAgent::InspectorRuntimeAgent):
    31620         (WebCore::InspectorRuntimeAgent::~InspectorRuntimeAgent):
    31621         (WebCore::InspectorRuntimeAgent::evaluate):
    31622         (WebCore::InspectorRuntimeAgent::evaluateOn):
    31623         (WebCore::InspectorRuntimeAgent::getProperties):
    31624         (WebCore::InspectorRuntimeAgent::setPropertyValue):
    31625         (WebCore::InspectorRuntimeAgent::releaseObject):
    31626         (WebCore::InspectorRuntimeAgent::releaseObjectGroup):
    31627         * inspector/InspectorRuntimeAgent.h:
    31628         (WebCore::InspectorRuntimeAgent::create):
    31629         * inspector/front-end/ElementsPanel.js:
    31630         (WebInspector.ElementsPanel.this.treeOutline.focusedNodeChanged):
    31631         (WebInspector.ElementsPanel):
    31632 
    31633 2011-03-11  Yury Semikhatsky  <yurys@chromium.org>
    31634 
    31635         Reviewed by Pavel Feldman.
    31636 
    31637         Web Inspector: split InjectedScriptHost into InjectedScriptManager and InjectedScriptHost
    31638         https://bugs.webkit.org/show_bug.cgi?id=56173
    31639 
    31640         Moved all injected script managing logic into InjectedScriptManager which is owned by InspectorController.
    31641 
    31642         * CMakeLists.txt:
    31643         * GNUmakefile.am:
    31644         * WebCore.gypi:
    31645         * WebCore.pro:
    31646         * WebCore.vcproj/WebCore.vcproj:
    31647         * WebCore.xcodeproj/project.pbxproj:
    31648         * bindings/js/JSInjectedScriptHostCustom.cpp:
    31649         * bindings/js/JSInjectedScriptManager.cpp: Added.
    31650         (WebCore::InjectedScriptManager::createInjectedScript):
    31651         (WebCore::InjectedScriptManager::discardInjectedScript):
    31652         (WebCore::InjectedScriptManager::injectedScriptFor):
    31653         (WebCore::InjectedScriptManager::canAccessInspectedWindow):
    31654         * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
    31655         * bindings/v8/custom/V8InjectedScriptManager.cpp: Copied from Source/WebCore/bindings/v8/custom/V8InjectedScriptHostCustom.cpp.
    31656         (WebCore::WeakReferenceCallback):
    31657         (WebCore::createInjectedScriptHostV8Wrapper):
    31658         (WebCore::InjectedScriptManager::createInjectedScript):
    31659         (WebCore::InjectedScriptManager::discardInjectedScript):
    31660         (WebCore::InjectedScriptManager::injectedScriptFor):
    31661         (WebCore::InjectedScriptManager::canAccessInspectedWindow):
    31662         * inspector/ConsoleMessage.cpp:
    31663         (WebCore::ConsoleMessage::addToFrontend):
    31664         * inspector/ConsoleMessage.h:
    31665         * inspector/InjectedScript.cpp:
    31666         (WebCore::InjectedScript::canAccessInspectedWindow):
    31667         * inspector/InjectedScript.h:
    31668         * inspector/InjectedScriptHost.cpp:
    31669         (WebCore::InjectedScriptHost::create):
    31670         (WebCore::InjectedScriptHost::InjectedScriptHost):
    31671         (WebCore::InjectedScriptHost::~InjectedScriptHost):
    31672         (WebCore::InjectedScriptHost::disconnect):
    31673         (WebCore::InjectedScriptHost::inspectImpl):
    31674         (WebCore::InjectedScriptHost::clearConsoleMessages):
    31675         (WebCore::InjectedScriptHost::databaseIdImpl):
    31676         (WebCore::InjectedScriptHost::storageIdImpl):
    31677         * inspector/InjectedScriptHost.h:
    31678         (WebCore::InjectedScriptHost::init):
    31679         (WebCore::InjectedScriptHost::setFrontend):
    31680         (WebCore::InjectedScriptHost::clearFrontend):
    31681         * inspector/InjectedScriptManager.cpp: Added.
    31682         (WebCore::InjectedScriptManager::create):
    31683         (WebCore::InjectedScriptManager::InjectedScriptManager):
    31684         (WebCore::InjectedScriptManager::~InjectedScriptManager):
    31685         (WebCore::InjectedScriptManager::disconnect):
    31686         (WebCore::InjectedScriptManager::injectedScriptHost):
    31687         (WebCore::InjectedScriptManager::injectedScriptForId):
    31688         (WebCore::InjectedScriptManager::injectedScriptForObjectId):
    31689         (WebCore::InjectedScriptManager::discardInjectedScripts):
    31690         (WebCore::InjectedScriptManager::releaseObjectGroup):
    31691         (WebCore::InjectedScriptManager::injectedScriptSource):
    31692         (WebCore::InjectedScriptManager::injectScript):
    31693         * inspector/InjectedScriptManager.h: Copied from Source/WebCore/inspector/InjectedScriptHost.h.
    31694         * inspector/Inspector.idl:
    31695         * inspector/InspectorAgent.cpp:
    31696         (WebCore::InspectorAgent::InspectorAgent):
    31697         (WebCore::InspectorAgent::inspectedPageDestroyed):
    31698         (WebCore::InspectorAgent::focusNode):
    31699         (WebCore::InspectorAgent::didClearWindowObjectInWorld):
    31700         (WebCore::InspectorAgent::createFrontendLifetimeAgents):
    31701         (WebCore::InspectorAgent::didCommitLoad):
    31702         (WebCore::InspectorAgent::domContentLoadedEventFired):
    31703         * inspector/InspectorAgent.h:
    31704         * inspector/InspectorBrowserDebuggerAgent.cpp:
    31705         * inspector/InspectorConsoleAgent.cpp:
    31706         (WebCore::InspectorConsoleAgent::InspectorConsoleAgent):
    31707         (WebCore::InspectorConsoleAgent::~InspectorConsoleAgent):
    31708         (WebCore::InspectorConsoleAgent::clearConsoleMessages):
    31709         (WebCore::InspectorConsoleAgent::addInspectedNode):
    31710         (WebCore::InspectorConsoleAgent::setConsoleMessagesEnabled):
    31711         (WebCore::InspectorConsoleAgent::addConsoleMessage):
    31712         * inspector/InspectorConsoleAgent.h:
    31713         * inspector/InspectorController.cpp:
    31714         (WebCore::InspectorController::InspectorController):
    31715         (WebCore::InspectorController::connectFrontend):
    31716         (WebCore::InspectorController::disconnectFrontend):
    31717         * inspector/InspectorController.h:
    31718         * inspector/InspectorDOMAgent.cpp:
    31719         (WebCore::InspectorDOMAgent::InspectorDOMAgent):
    31720         (WebCore::InspectorDOMAgent::discardBindings):
    31721         (WebCore::InspectorDOMAgent::pushNodeToFrontend):
    31722         (WebCore::InspectorDOMAgent::resolveNode):
    31723         * inspector/InspectorDOMAgent.h:
    31724         (WebCore::InspectorDOMAgent::create):
    31725         * inspector/InspectorDebuggerAgent.cpp:
    31726         (WebCore::InspectorDebuggerAgent::create):
    31727         (WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent):
    31728         (WebCore::InspectorDebuggerAgent::evaluateOnCallFrame):
    31729         (WebCore::InspectorDebuggerAgent::currentCallFrames):
    31730         * inspector/InspectorDebuggerAgent.h:
    31731         * inspector/InspectorRuntimeAgent.cpp:
    31732         (WebCore::InspectorRuntimeAgent::create):
    31733         (WebCore::InspectorRuntimeAgent::InspectorRuntimeAgent):
    31734         (WebCore::InspectorRuntimeAgent::~InspectorRuntimeAgent):
    31735         (WebCore::InspectorRuntimeAgent::evaluate):
    31736         (WebCore::InspectorRuntimeAgent::evaluateOn):
    31737         (WebCore::InspectorRuntimeAgent::getProperties):
    31738         (WebCore::InspectorRuntimeAgent::setPropertyValue):
    31739         (WebCore::InspectorRuntimeAgent::releaseObject):
    31740         (WebCore::InspectorRuntimeAgent::releaseObjectGroup):
    31741         * inspector/InspectorRuntimeAgent.h:
    31742         * inspector/front-end/ElementsPanel.js:
    31743         (WebInspector.ElementsPanel.this.treeOutline.focusedNodeChanged):
    31744         (WebInspector.ElementsPanel):
    31745 
    31746 2011-03-09  Hans Wennborg  <hans@chromium.org>
    31747 
    31748         Reviewed by Jeremy Orlow.
    31749 
    31750         IndexedDB: Make IDBBackingStore abstract
    31751         https://bugs.webkit.org/show_bug.cgi?id=56013
    31752 
    31753         Make IDBBackingStore abstract to allow for multiple implementations.
    31754         Move the SQLite implementation to IDBSQLiteBackingStore.
    31755 
    31756         No new tests: refactoring only.
    31757 
    31758         * WebCore.gypi:
    31759         * storage/IDBBackingStore.h:
    31760         (WebCore::IDBBackingStore::~IDBBackingStore):
    31761         * storage/IDBFactoryBackendImpl.cpp:
    31762         (WebCore::IDBFactoryBackendImpl::open):
    31763         * storage/IDBSQLiteBackingStore.cpp:
    31764         (WebCore::IDBSQLiteBackingStore::IDBSQLiteBackingStore):
    31765         (WebCore::IDBSQLiteBackingStore::~IDBSQLiteBackingStore):
    31766         (WebCore::runCommands):
    31767         (WebCore::createTables):
    31768         (WebCore::createMetaDataTable):
    31769         (WebCore::getDatabaseSchemaVersion):
    31770         (WebCore::migrateDatabase):
    31771         (WebCore::IDBSQLiteBackingStore::open):
    31772         (WebCore::IDBSQLiteBackingStore::extractIDBDatabaseMetaData):
    31773         (WebCore::IDBSQLiteBackingStore::setIDBDatabaseMetaData):
    31774         (WebCore::IDBSQLiteBackingStore::getObjectStores):
    31775         (WebCore::IDBSQLiteBackingStore::createObjectStore):
    31776         (WebCore::doDelete):
    31777         (WebCore::IDBSQLiteBackingStore::deleteObjectStore):
    31778         (WebCore::whereSyntaxForKey):
    31779         (WebCore::bindKeyToQuery):
    31780         (WebCore::lowerCursorWhereFragment):
    31781         (WebCore::upperCursorWhereFragment):
    31782         (WebCore::IDBSQLiteBackingStore::getObjectStoreRecord):
    31783         (WebCore::bindKeyToQueryWithNulls):
    31784         (WebCore::IDBSQLiteBackingStore::putObjectStoreRecord):
    31785         (WebCore::IDBSQLiteBackingStore::clearObjectStore):
    31786         (WebCore::IDBSQLiteBackingStore::deleteObjectStoreRecord):
    31787         (WebCore::IDBSQLiteBackingStore::nextAutoIncrementNumber):
    31788         (WebCore::IDBSQLiteBackingStore::keyExistsInObjectStore):
    31789         (WebCore::IDBSQLiteBackingStore::forEachObjectStoreRecord):
    31790         (WebCore::IDBSQLiteBackingStore::getIndexes):
    31791         (WebCore::IDBSQLiteBackingStore::createIndex):
    31792         (WebCore::IDBSQLiteBackingStore::deleteIndex):
    31793         (WebCore::IDBSQLiteBackingStore::putIndexDataForRecord):
    31794         (WebCore::IDBSQLiteBackingStore::deleteIndexDataForRecord):
    31795         (WebCore::IDBSQLiteBackingStore::getObjectViaIndex):
    31796         (WebCore::keyFromQuery):
    31797         (WebCore::IDBSQLiteBackingStore::getPrimaryKeyViaIndex):
    31798         (WebCore::IDBSQLiteBackingStore::keyExistsInIndex):
    31799         (WebCore::IDBSQLiteBackingStore::openObjectStoreCursor):
    31800         (WebCore::IDBSQLiteBackingStore::openIndexKeyCursor):
    31801         (WebCore::IDBSQLiteBackingStore::openIndexCursor):
    31802         (WebCore::IDBSQLiteBackingStore::createTransaction):
    31803         * storage/IDBSQLiteBackingStore.h: Added.
    31804 
    31805 2011-03-11  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
    31806 
    31807         Unreviewed build error fix.
    31808 
    31809         [EFL] Fix build break when SHARED_CORE is ON
    31810         https://bugs.webkit.org/show_bug.cgi?id=56155
    31811 
    31812         * platform/efl/ContextMenuEfl.cpp:
    31813         (WebCore::ContextMenu::ContextMenu):
    31814         * platform/efl/ContextMenuItemEfl.cpp:
    31815         (WebCore::ContextMenuItem::nativeMenuItem):
    31816         (WebCore::ContextMenuItem::ContextMenuItem):
    31817         (WebCore::ContextMenuItem::~ContextMenuItem):
    31818 
    31819 2011-03-11  Andrey Kosyakov  <caseq@chromium.org>
    31820 
    31821         Reviewed by Pavel Feldman.
    31822 
    31823         Web Inspector: resource load cancellation is reported to console as an error
    31824         https://bugs.webkit.org/show_bug.cgi?id=55764
    31825 
    31826         - mark interruptionForPolicyChangeError as cancellation
    31827         - do not log resource cancelation as an error
    31828         - always push resource to front-end before console message, so front-end can use resource info while formatting message.
    31829 
    31830         * inspector/InspectorConsoleAgent.cpp:
    31831         (WebCore::InspectorConsoleAgent::didFailLoading):
    31832         * inspector/InspectorInstrumentation.cpp:
    31833         (WebCore::InspectorInstrumentation::didReceiveResourceResponseImpl):
    31834         (WebCore::InspectorInstrumentation::didFailLoadingImpl):
    31835         * loader/MainResourceLoader.cpp:
    31836         (WebCore::MainResourceLoader::stopLoadingForPolicyChange):
    31837 
    31838 2011-03-10  Alexander Pavlov  <apavlov@chromium.org>
    31839 
    31840         Reviewed by Yury Semikhatsky.
    31841 
    31842         Web Inspector: Get rid of has/add/removeStyleClass() methods on Element.prototype - Step 1
    31843         https://bugs.webkit.org/show_bug.cgi?id=56096
    31844 
    31845         No new tests, as this is a refactoring.
    31846 
    31847         * inspector/front-end/BreakpointsSidebarPane.js:
    31848         (WebInspector.EventListenerBreakpointsSidebarPane):
    31849         * inspector/front-end/DetailedHeapshotView.js:
    31850         * inspector/front-end/ResourcesPanel.js:
    31851         (WebInspector.ResourcesPanel):
    31852         (WebInspector.BaseStorageTreeElement):
    31853         (WebInspector.BaseStorageTreeElement.prototype.onattach):
    31854         (WebInspector.StorageCategoryTreeElement):
    31855         (WebInspector.FrameTreeElement):
    31856         (WebInspector.FrameResourceTreeElement):
    31857         (WebInspector.DatabaseTreeElement):
    31858         (WebInspector.DatabaseTableTreeElement):
    31859         (WebInspector.DOMStorageTreeElement):
    31860         (WebInspector.CookieTreeElement):
    31861         (WebInspector.ApplicationCacheTreeElement):
    31862         (WebInspector.ResourceRevisionTreeElement):
    31863         * inspector/front-end/utilities.js:
    31864         (Element.prototype.removeStyleClass):
    31865         (Element.prototype.addStyleClass):
    31866         (Element.prototype.hasStyleClass):
    31867 
    31868 2011-03-11  Brian Salomon  <bsalomon@google.com>
    31869 
    31870         Reviewed by Kenneth Russell.
    31871 
    31872         Adds GrContext flush call to PlatformContextSkia destructor.
    31873 Calls GrContext flush with int parameter instead of bool due to skia
    31874 revision.       
    31875 
    31876         No new tests needed.
    31877 
    31878         * platform/graphics/chromium/DrawingBufferChromium.cpp:
    31879         (WebCore::DrawingBuffer::publishToPlatformLayer):
    31880         * platform/graphics/skia/PlatformContextSkia.cpp:
    31881         (WebCore::PlatformContextSkia::~PlatformContextSkia):
    31882         (WebCore::PlatformContextSkia::setSharedGraphicsContext3D):
    31883 
    31884 2011-03-10  Chris Guillory  <chris.guillory@google.com>
    31885 
    31886         Reviewed by James Robinson.
    31887 
    31888         Fix for Coverity discovered NO_EFFECT (self-assign) defect.
    31889         https://bugs.webkit.org/show_bug.cgi?id=54143
    31890 
    31891         * platform/graphics/gpu/TilingData.cpp:
    31892         (WebCore::TilingData::setMaxTextureSize):
    31893 
    31894 2011-03-10  Emil A Eklund  <eae@chromium.org>
    31895 
    31896         Reviewed by Alexey Proskuryakov.
    31897 
    31898         The web colours palevioletred and mediumpurple are incorrect
    31899         https://bugs.webkit.org/show_bug.cgi?id=46658
    31900 
    31901         Changed value for the palevioletred and mediumpurple colors to match
    31902         the css3 specification.
    31903 
    31904         Test: fast/css/named-colors.html
    31905 
    31906         * inspector/front-end/Color.js:
    31907         * platform/ColorData.gperf:
    31908 
    31909 2011-03-10  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
    31910 
    31911         Unreviewed build fix.
    31912 
    31913         [WML] Fix build error
    31914         https://bugs.webkit.org/show_bug.cgi?id=56078
    31915 
    31916         * wml/WMLInputElement.cpp:
    31917         (WebCore::WMLInputElement::defaultEventHandler):
    31918 
    31919 2011-03-10  Jeremy Moskovich  <jeremy@chromium.org>
    31920 
    31921         Reviewed by Darin Adler.
    31922 
    31923         Fix navigation menus on a bunch of sites in WebKit.
    31924         https://bugs.webkit.org/show_bug.cgi?id=52535
    31925 
    31926         WebKit doesn't support position:relative for several table elements and
    31927         overwrites the style internally when position:relative is encountered.
    31928         Unfortunately position:relative affects the choice of nodes returned by
    31929         offsetParent.
    31930 
    31931         This CL adds a bit to RenderStyle to track whether position:relative was
    31932         overwritten.  The value is then consulted in offsetParent which makes us
    31933         match FF/IE.
    31934 
    31935         Tests: fast/block/positioning/offsetLeft-relative-iframe.html
    31936                fast/block/positioning/offsetLeft-relative-td.html
    31937 
    31938         * css/CSSStyleSelector.cpp:
    31939         (WebCore::CSSStyleSelector::adjustRenderStyle):
    31940         * rendering/RenderObject.cpp:
    31941         (WebCore::RenderObject::isOriginallyRelPositioned):
    31942         (WebCore::RenderObject::offsetParent):
    31943         * rendering/RenderObject.h:
    31944         * rendering/style/RenderStyle.h: Add a bit to track the original value of position:relative.
    31945         (WebCore::InheritedFlags::positionWasRelative):
    31946         (WebCore::InheritedFlags::setPositionWasRelative):
    31947         * rendering/style/StyleRareNonInheritedData.cpp:
    31948         (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
    31949         (WebCore::StyleRareNonInheritedData::operator==):
    31950         * rendering/style/StyleRareNonInheritedData.h:
    31951 
    31952 2011-03-10  Adam Barth  <abarth@webkit.org>
    31953 
    31954         Reviewed by Darin Adler.
    31955 
    31956         REGRESSION (r66428/r71892): Crash after assertion failure (!m_reachedTerminalState) in ResourceLoader::didCancel()
    31957         https://bugs.webkit.org/show_bug.cgi?id=51357
    31958 
    31959         Previously, we would try to print from a callstack that didn't want a
    31960         nested event loop, leading to re-entrancy problems.  In this patch, we
    31961         complete the print call asynchronously, giving us a clean stack on
    31962         which to run the nested event loop.
    31963 
    31964         Test: printing/print-close-crash.html
    31965 
    31966         * page/DOMWindow.cpp:
    31967         (WebCore::DOMWindow::DOMWindow):
    31968         (WebCore::DOMWindow::print):
    31969         (WebCore::DOMWindow::printTimerFired):
    31970         * page/DOMWindow.h:
    31971 
    31972 2011-03-11  Roland Steiner  <rolandsteiner@chromium.org>
    31973 
    31974         Reviewed by Ryosuke Niwa.
    31975 
    31976         Bug 55570 - Remove dependency of dom/InputElement.cpp on html/ and wml/
    31977         https://bugs.webkit.org/show_bug.cgi?id=55570
    31978 
    31979         Add a virtual function toInputElement() to Node that has a default
    31980         implementation of returning 0.
    31981         For HTMLInputElement and WMLInputElement (which derive from InputElement)
    31982         override this to return the object.
    31983         Change all calling sites of the old toInputElement to use the new member
    31984         function. This also allows us to save some casts.
    31985 
    31986         No new tests. (refactoring)
    31987 
    31988         * WebCore.exp.in:
    31989         * accessibility/AXObjectCache.cpp:
    31990         (WebCore::AXObjectCache::textMarkerDataForVisiblePosition):
    31991         * accessibility/AccessibilityRenderObject.cpp:
    31992         (WebCore::AccessibilityRenderObject::isPasswordField):
    31993         (WebCore::AccessibilityRenderObject::isIndeterminate):
    31994         (WebCore::AccessibilityRenderObject::isNativeCheckboxOrRadio):
    31995         (WebCore::AccessibilityRenderObject::isChecked):
    31996         * css/CSSStyleSelector.cpp:
    31997         (WebCore::CSSStyleSelector::canShareStyleWithElement):
    31998         (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
    31999         * dom/CheckedRadioButtons.cpp:
    32000         (WebCore::CheckedRadioButtons::removeButton):
    32001         * dom/InputElement.cpp:
    32002         * dom/InputElement.h:
    32003         * dom/Node.cpp:
    32004         (WebCore::Node::toInputElement):
    32005         * dom/Node.h:
    32006         * html/HTMLInputElement.h:
    32007         (WebCore::HTMLInputElement::toInputElement):
    32008         * rendering/RenderTextControlSingleLine.cpp:
    32009         (WebCore::RenderTextControlSingleLine::inputElement):
    32010         * rendering/RenderTheme.cpp:
    32011         (WebCore::RenderTheme::isChecked):
    32012         (WebCore::RenderTheme::isIndeterminate):
    32013         * wml/WMLInputElement.h:
    32014         (WebCore::WMLInputElement::toInputElement):
    32015 
    32016 2011-03-10  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
    32017 
    32018         Reviewed by Kenneth Rohde Christiansen.
    32019 
    32020         [EFL] New mediaControl css file for EFL
    32021         https://bugs.webkit.org/show_bug.cgi?id=55460
    32022 
    32023         Add new mediaControl css file for html5 video UI.
    32024 
    32025         * CMakeLists.txt:
    32026         * CMakeListsEfl.txt:
    32027         * css/mediaControlsEfl.css: Added.
    32028         (audio):
    32029         (audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel):
    32030         (video:-webkit-full-page-media::-webkit-media-controls-panel):
    32031         (audio::-webkit-media-controls-mute-button, video::-webkit-media-controls-mute-button):
    32032         (audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-button):
    32033         (audio::-webkit-media-controls-timeline-container, video::-webkit-media-controls-timeline-container):
    32034         (audio::-webkit-media-controls-current-time-display, video::-webkit-media-controls-current-time-display):
    32035         (audio::-webkit-media-controls-time-remaining-display, video::-webkit-media-controls-time-remaining-display):
    32036         (audio::-webkit-media-controls-timeline, video::-webkit-media-controls-timeline):
    32037         (audio::-webkit-media-controls-volume-slider-container, video::-webkit-media-controls-volume-slider-container):
    32038         (audio::-webkit-media-controls-volume-slider, video::-webkit-media-controls-volume-slider):
    32039         (audio::-webkit-media-controls-seek-back-button, video::-webkit-media-controls-seek-back-button):
    32040         (audio::-webkit-media-controls-seek-forward-button, video::-webkit-media-controls-seek-forward-button):
    32041         (audio::-webkit-media-controls-fullscreen-button, video::-webkit-media-controls-fullscreen-button):
    32042         (audio::-webkit-media-controls-rewind-button, video::-webkit-media-controls-rewind-button):
    32043         (audio::-webkit-media-controls-return-to-realtime-button, video::-webkit-media-controls-return-to-realtime-button):
    32044         (audio::-webkit-media-controls-toggle-closed-captions-button, video::-webkit-media-controls-toggle-closed-captions-button):
    32045         (audio::-webkit-media-controls-volume-slider-mute-button, video::-webkit-media-controls-volume-slider-mute-button):
    32046         * platform/efl/RenderThemeEfl.cpp:
    32047         (WebCore::RenderThemeEfl::extraMediaControlsStyleSheet):
    32048 
    32049 2011-03-10  Emil A Eklund  <eae@chromium.org>
    32050 
    32051         Reviewed by Dimitri Glazkov.
    32052 
    32053         style.display affecting the initial selectedIndex value of a <select> when its multiple attribute is set programatically
    32054         https://bugs.webkit.org/show_bug.cgi?id=53860
    32055 
    32056         Preserve selection when changing between multi-select and single-select
    32057         for <select> boxes even if it has not yet been rendered.
    32058 
    32059         Test: fast/dom/HTMLSelectElement/change-multiple-preserve-selection.html
    32060 
    32061         * html/HTMLSelectElement.cpp:
    32062         (WebCore::HTMLSelectElement::setMultiple):
    32063 
    32064 2011-03-10  Ojan Vafai  <ojan@chromium.org>
    32065 
    32066         Reviewed by Tony Chang.
    32067 
    32068         update comment to reference new DOM Core spec
    32069         https://bugs.webkit.org/show_bug.cgi?id=56079
    32070 
    32071         I'm excising all instances of WRONG_DOCUMENT_ERR from WebKit.
    32072         This is the only one that's actually specified to fire
    32073         in the latest DOM Core spec.
    32074 
    32075         * dom/DOMImplementation.cpp:
    32076         (WebCore::DOMImplementation::createDocument):
    32077 
    32078 2011-03-10  Rik Cabanier  <cabanier@gmail.com>
    32079 
    32080         Reviewed by Tony Gentilcore.
    32081 
    32082         Fix that allows fixed length values to be floating point
    32083         https://bugs.webkit.org/show_bug.cgi?id=52699
    32084 
    32085         * WebCore.xcodeproj/project.pbxproj:
    32086         * css/CSSStyleSelector.cpp:
    32087         (WebCore::convertToLength):
    32088         (WebCore::convertToIntLength):
    32089         (WebCore::convertToFloatLength):
    32090         (WebCore::CSSStyleSelector::applyProperty):
    32091         (WebCore::CSSStyleSelector::createTransformOperations):
    32092         * platform/Length.h:
    32093         (WebCore::Length::Length):
    32094         (WebCore::Length::operator==):
    32095         (WebCore::Length::operator!=):
    32096         (WebCore::Length::rawValue):
    32097         (WebCore::Length::type):
    32098         (WebCore::Length::quirk):
    32099         (WebCore::Length::setValue):
    32100         (WebCore::Length::calcFloatValue):
    32101         (WebCore::Length::isZero):
    32102         (WebCore::Length::blend):
    32103         (WebCore::Length::getIntValue):
    32104         (WebCore::Length::getFloatValue):
    32105         * rendering/AutoTableLayout.cpp:
    32106         (WebCore::AutoTableLayout::recalcColumn):
    32107         (WebCore::AutoTableLayout::calcEffectiveLogicalWidth):
    32108         * rendering/FixedTableLayout.cpp:
    32109         (WebCore::FixedTableLayout::calcWidthArray):
    32110 
    32111 2011-03-10  Sheriff Bot  <webkit.review.bot@gmail.com>
    32112 
    32113         Unreviewed, rolling out r80800.
    32114         http://trac.webkit.org/changeset/80800
    32115         https://bugs.webkit.org/show_bug.cgi?id=56163
    32116 
    32117         Caused hundreds of tests to crash on Windows 7 (Requested by
    32118         rniwa on #webkit).
    32119 
    32120         * page/EventHandler.cpp:
    32121         (WebCore::EventHandler::mouseMoved):
    32122         (WebCore::EventHandler::updateMouseEventTargetNode):
    32123         * page/FocusController.cpp:
    32124         (WebCore::FocusController::setActive):
     1535        * platform/graphics/FloatPoint.h:
     1536        (WebCore::FloatPoint::move):
     1537        (WebCore::FloatPoint::moveBy):
     1538        (WebCore::FloatPoint::expandedTo):
     1539        Add move, moveBy and expandedTo mirroring the IntPoint implementation of the same.
     1540
     15412011-06-07  Ryosuke Niwa  <rniwa@webkit.org>
     1542
     1543        Speculative build fix after r88259.
     1544
     1545        * platform/network/cf/ResourceRequest.h:
     1546
     15472011-06-07  Michael Saboff  <msaboff@apple.com>
     1548
     1549        Reviewed by Geoffrey Garen.
     1550
     1551        Need to enable font cache purging in MemoryPressureHandler
     1552        https://bugs.webkit.org/show_bug.cgi?id=62060
     1553
     1554        Improve memory usage under pressure.
     1555        Added call to fontCache()->purgeInactiveFontData() in
     1556        MemoryPressureHandler::respondToMemoryPressure().  Added protection to
     1557        MemoryPressureHandler::install() being called multiple times.
     1558
     1559        No new tests as funtionality wasn't changed.
     1560
     1561        * platform/MemoryPressureHandler.cpp:
     1562        (WebCore::MemoryPressureHandler::MemoryPressureHandler):
     1563        * platform/MemoryPressureHandler.h:
     1564        * platform/mac/MemoryPressureHandlerMac.mm:
     1565        (WebCore::MemoryPressureHandler::install):
     1566        (WebCore::MemoryPressureHandler::respondToMemoryPressure):
     1567
     15682011-06-07  Michael Saboff  <msaboff@apple.com>
     1569
     1570        Reviewed by Geoffrey Garen.
     1571
     1572        Fonts returned by FontCache::getFontDataForCharacters() are never released
     1573        https://bugs.webkit.org/show_bug.cgi?id=61875
     1574
     1575        This change allows fonts allocated as system fallback fonts to be
     1576        released.  Previously, the reference counts for these fonts grew
     1577        without bound.  This is implemented as an auto release class that wraps
     1578        accesses to the cache for system fallback fonts. All such accesses are
     1579        via the method FontCache::getFontDataForCharacters. The new class is
     1580        called FontCachePurgePreventer. When such an object exists, it protects
     1581        these fonts from deletion.
     1582
     1583        Most accesses to the font cache still use the reference counting
     1584        implemented by FontCache::getCacheFontData() and
     1585        FontCache::releaseFontData() and that operation is not affected by
     1586        this change.
     1587
     1588        Added local scoped instance of FontCachePurgePreventer to wrap code
     1589        that directly or indirectly accesses fonts via getFontDataForCharacters.
     1590        Did a few other miscellaneous bug fixes and changes to allow system
     1591        fallback fonts to be pruned from the GlyphPageTree. Changed the
     1592        calls to getFontData in the platform specific versions of
     1593        Fontcache::getFontDataForCharacters to not increment the reference
     1594        count.  Moved the purge font check
     1595        outside of FontCache::getCachedFontData() into a separate method,
     1596        purgeInactiveFontDataIfNeeded() since almost all calls to
     1597        getCachedFontData() now happen when purging is not allowed.
     1598        purgeInactiveFontDataIfNeeded is invoked in enablePurging() when
     1599        m_purgePreventCount is 0.
     1600
     1601        No new test as the functionality has not changed. Improved font life
     1602        cycle management.
     1603
     1604        * WebCore.exp.in: Added FontCache::purgeInactiveFontDataIfNeeded().
     1605        * html/canvas/CanvasRenderingContext2D.cpp:
     1606        (WebCore::CanvasRenderingContext2D::measureText):
     1607        (WebCore::CanvasRenderingContext2D::drawTextInternal):
     1608        Wrapped code accessing fallback fonts with local
     1609        FontCachePurgePreventer in these methods.
     1610
    321251611        * page/FrameView.cpp:
    32126         (WebCore::FrameView::FrameView):
    32127         (WebCore::FrameView::~FrameView):
    32128         * page/FrameView.h:
    32129         * page/Page.cpp:
    32130         * page/Page.h:
    32131         * platform/ScrollView.cpp:
    32132         (WebCore::ScrollView::wheelEvent):
    32133         * platform/ScrollView.h:
    32134         * rendering/RenderDataGrid.cpp:
    32135         (WebCore::RenderDataGrid::RenderDataGrid):
    32136         (WebCore::RenderDataGrid::~RenderDataGrid):
    32137         * rendering/RenderLayer.cpp:
    32138         (WebCore::RenderLayer::RenderLayer):
    32139         (WebCore::RenderLayer::~RenderLayer):
    32140         * rendering/RenderLayer.h:
    32141         * rendering/RenderListBox.cpp:
    32142         (WebCore::RenderListBox::RenderListBox):
    32143         (WebCore::RenderListBox::~RenderListBox):
    32144 
    32145 2011-03-10  Alice Boxhall  <aboxhall@chromium.org>
    32146 
    32147         Reviewed by Dimitri Glazkov.
    32148 
    32149         NULL pointer crash when using :empty and :first-line pseudoclass selectors together
    32150         https://bugs.webkit.org/show_bug.cgi?id=53316
    32151 
    32152         :empty is calculated for each element during parsing, but then not
    32153         recalculated after any child elements are attached. Force style
    32154         re-calculation on elements which have :empty in their style when
    32155         their children are changed.
    32156 
    32157         Test: fast/css/empty-first-line-crash.html
    32158 
    32159         * dom/Element.cpp:
    32160         (WebCore::checkForEmptyStyleChange): Pull out empty style checking
    32161         logic from checkForSiblingStyleChanges().
    32162         (WebCore::checkForSiblingStyleChanges): Use new checkForEmptyStyleChanges()
    32163         method.
    32164         (WebCore::Element::childrenChanged):  Call checkForEmptyStyleChanges() when
    32165         called with changedByParser = true.
    32166 
    32167 2011-03-10  Emil A Eklund  <eae@chromium.org>
    32168 
    32169         Unreviewed build fix.
    32170 
    32171         Fix Leopard Release build broken by r80797.
    32172 
    32173         * html/CollectionCache.h:
    32174 
    32175 2011-03-10  Beth Dakin  <bdakin@apple.com>
    32176 
    32177         Reviewed by Darin Adler.
    32178 
    32179         Fix for <rdar://problem/8944558> Overlay scrollers in overflow areas need to
    32180         send notifications appropriate times (showing up, resizing)
    32181         -and corresponding-
    32182         https://bugs.webkit.org/show_bug.cgi?id=56067
    32183 
    32184         The general strategy here is to add a HashSet of ScrollableAreas to the page that
    32185         can be accessed when necessary to send notifications to all ScrollableAreas.
    32186 
    32187         Find layers for relevant node and if the layers are in the Page's ScrollableArea
    32188         set, then send the relevant notification.
    32189         * page/EventHandler.cpp:
    32190         (WebCore::EventHandler::mouseMoved):
    32191         (WebCore::EventHandler::updateMouseEventTargetNode):
    32192 
    32193         When the page is set active or not active, iterate through the Page's
    32194         ScrollableAreas to send hide/show notifications.
    32195         * page/FocusController.cpp:
    32196         (WebCore::FocusController::setActive):
    32197 
    32198         When a FrameView is created, add it to the ScrollableArea set. When it's
    32199         destroyed, remove it.
    32200         * page/FrameView.cpp:
    32201         (WebCore::FrameView::FrameView):
    32202         (WebCore::FrameView::~FrameView):
    32203 
    32204         Iterate through the Page's ScrollableAreas to send the paint notification.
    32205         (WebCore::FrameView::notifyPageThatContentAreaWillPaint):
    32206         * page/FrameView.h:
    32207 
    32208         Add the new ScrollableArea set.
    32209         * page/Page.cpp:
    32210         (WebCore::Page::addScrollableArea):
    32211         (WebCore::Page::removeScrollableArea):
    32212         (WebCore::Page::pageContainsScrollableArea):
    32213         * page/Page.h:
    32214         (WebCore::Page::scrollableAreaSet):
    32215 
    32216         notifyPageThatContentAreaWillPaint() is a dummy function implemented in FrameView.
    32217         * platform/ScrollView.cpp:
    32218         (WebCore::ScrollView::notifyPageThatContentAreaWillPaint):
    32219 
    32220         Call notifyPageThatContentAreaWillPaint() instead of calling
    32221         contentAreaWillPaint() just for the ScrollView.
    32222         (WebCore::ScrollView::paint):
    32223         * platform/ScrollView.h:
    32224 
    32225         Add/remove ScrollableAreas to the set.
    32226         * rendering/RenderDataGrid.cpp:
    32227         (WebCore::RenderDataGrid::RenderDataGrid):
    32228         (WebCore::RenderDataGrid::~RenderDataGrid):
    32229         * rendering/RenderListBox.cpp:
    32230         (WebCore::RenderListBox::RenderListBox):
    32231         (WebCore::RenderListBox::~RenderListBox):
    32232         * rendering/RenderLayer.cpp:
    32233         (WebCore::RenderLayer::RenderLayer):
    32234         (WebCore::RenderLayer::~RenderLayer):
    32235 
    32236         Should have implemented this ScrollableArea-interface function a while ago.
    32237         (WebCore::RenderLayer::currentMousePosition):
    32238         * rendering/RenderLayer.h:
    32239 
    32240 2011-03-10  takano takumi  <takano@apple.com>
    32241 
    32242         Reviewed by David Hyatt.
    32243 
    32244         Crash in RenderCombineText::combineText when running fast/text/international/text-combine-parser-test.html on Windows with full page heap enabled
    32245         https://bugs.webkit.org/show_bug.cgi?id=55069
    32246 
    32247         No new tests. If the test above runs without crash, the fix should be okay.
    32248 
    32249         * dom/Node.cpp:
    32250         (WebCore::Node::diff):
    32251         - Changed to return Detach when textCombine style was changed.
    32252         * rendering/RenderCombineText.cpp:
    32253         (WebCore::RenderCombineText::styleDidChange):
    32254         (WebCore::RenderCombineText::setTextInternal):
    32255         (WebCore::RenderCombineText::width):
    32256         (WebCore::RenderCombineText::adjustTextOrigin):
    32257         (WebCore::RenderCombineText::charactersToRender):
    32258         (WebCore::RenderCombineText::combineText):
    32259         - Added assertions to ensure the passed object is RenderCombineText.
    32260         * rendering/RenderCombineText.h:
    32261         (WebCore::RenderCombineText::isCombineText):
    32262         - Added to distinguish plain RenderText and RenderCombineText.
    32263         (WebCore::toRenderCombineText):
    32264         - Added assertions to ensure the passed object is RenderCombineText.
    32265         * rendering/RenderObject.h:
    32266         (WebCore::RenderObject::isCombineText):
    32267         - Added to distinguish plain RenderText and RenderCombineText.
    32268 
    32269 2011-03-10  Emil A Eklund  <eae@chromium.org>
    32270 
    32271         Reviewed by Darin Adler.
    32272 
    32273         Collection cache not reset when moving base node between documents
    32274         https://bugs.webkit.org/show_bug.cgi?id=55446
    32275 
    32276         Fix bug where HTMLCollection::resetCollectionInfo does not reset the
    32277         cache when the base node is moved to a different document by making sure
    32278         that the DOMVersion is updated and that it's unique across documents.
    32279 
    32280         Tests: fast/dom/HTMLFormElement/invalid-form-field.html
    32281                fast/dom/HTMLFormElement/move-option-between-documents.html
    32282                fast/dom/collection-nameditem-move-between-documents.html
    32283 
    32284         * dom/Document.cpp:
    32285         (WebCore::Document::Document):
    32286         * dom/Document.h:
    32287         (WebCore::Document::incDOMTreeVersion):
    32288         (WebCore::Document::domTreeVersion):
    32289         * dom/Node.cpp:
    32290         (WebCore::Node::setDocumentRecursively):
    32291         * html/FormAssociatedElement.cpp:
    32292         (WebCore::FormAssociatedElement::resetFormOwner):
    32293         * html/HTMLCollection.cpp:
    32294         (WebCore::HTMLCollection::resetCollectionInfo):
    32295         * xml/XPathResult.h:
    32296 
    32297 2011-03-10  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
    32298 
    32299         Unreviewed build fix.
    32300 
    32301         [EFL] Fix build break when CROSS_PLATFORM_CONTEXT_MENUS is disabled.
    32302         https://bugs.webkit.org/show_bug.cgi?id=56005
    32303 
    32304         There are build breaks when CROSS_PLATFORM_CONTEXT_MENUS is disabled.
    32305 
    32306         * platform/efl/ContextMenuEfl.cpp:
    32307         (WebCore::ContextMenu::ContextMenu):
    32308         * platform/efl/ContextMenuItemEfl.cpp:
    32309 
    32310 2011-03-10  Ryosuke Niwa  <rniwa@webkit.org>
    32311 
    32312         Reviewed by Tony Chang.
    32313 
    32314         startOfBlock and endOfBlock may return a position inside hr
    32315         https://bugs.webkit.org/show_bug.cgi?id=56025
    32316 
    32317         Replaced calls to enclosingBlockFlowElement in startOfBlock and endOfBlock by
    32318         calls to enclosingBlock. Added EditingBoundaryCrossingRule to the argument lists
    32319         of startOfBlock, endOfBlock, and enclosingBlock. Also replaced the last boolean
    32320         argument variable of enclosingNodeOfType by EditingBoundaryCrossingRule.
    32321 
    32322         Also replaced calls to enclosingBlockFlowElement in inSameBlock by calls to
    32323         enclosingBlock to be consitent with startOfBlock and endOfBlock.
    32324 
    32325         This patch also replaced calls to deprecatedNode in startOfBlock, endOfBlock,
    32326         and inSameBlock by calls to containerNode because the enclosing block of a position
    32327         should never be before or after the position.
    32328 
    32329         No tests are added because this change only affects WebCore internally.
    32330 
    32331         * editing/DeleteSelectionCommand.cpp:
    32332         (WebCore::DeleteSelectionCommand::initializePositionData): Calls enclosingNodeOfType.
    32333         Pass CanCrossEditingBoundary instead of false.
    32334         * editing/htmlediting.cpp:
    32335         (WebCore::unsplittableElementForPosition): Ditto.
    32336         (WebCore::enclosingBlock): Takes EditingBoundaryCrossingRule and passes it to
    32337         enclosingNodeOfType.
    32338         (WebCore::enclosingNodeOfType): Takes EditingBoundaryCrossingRule instead of boolean.
    32339         Fixed a bug that it stops walking the tree when it reached the root editable node
    32340         even when the editing boundary crossing rule is CanCrossEditingBoundary.
    32341         * editing/htmlediting.h: Prototype changes.
    32342         * editing/visible_units.cpp:
    32343         (WebCore::startOfBlock): Calls enclosingBlock instead of enclosingBlockFlowElement.
    32344         Also added an early exit when there's no enclosing block.
    32345         (WebCore::endOfBlock): Ditto. The early exist in this case prevents crash in
    32346         lastPositionInNode.
    32347         (WebCore::inSameBlock): Calls enclosingBlock instead of enclosingBlockFlowElement.
    32348         (WebCore::isStartOfBlock): Calls startOfBlock with CanCrossEditingBoundary because
    32349         we don't care where the start of block is when we're comparing against the given position.
    32350         (WebCore::isEndOfBlock): Ditto.
    32351         * editing/visible_units.h:
    32352 
    32353 2011-03-10  Alexey Proskuryakov  <ap@apple.com>
    32354 
    32355         Reviewed by Dan Bernstein.
    32356 
    32357         Backspace deletes all non-BMP symbols at once, and then some
    32358         https://bugs.webkit.org/show_bug.cgi?id=55971
    32359         <rdar://problem/8725312>
    32360 
    32361         Test: platform/mac/editing/input/insert-delete-smp-symbol.html
    32362 
    32363         * rendering/RenderText.cpp:
    32364         (WebCore::isMark): This matches what Core Foundation does for all characters that I tested.
    32365         (WebCore::RenderText::previousOffsetForBackwardDeletion): Changed to use isMark().
    32366 
    32367 2011-03-10  Chris Evans  <cevans@chromium.org>
    32368 
    32369         Reviewed by Adam Barth.
    32370 
    32371         Error in StyleElement::process with large nodesets
    32372         https://bugs.webkit.org/show_bug.cgi?id=56150
    32373 
    32374         Test: none due to excessive runtime and CRASH() vs. real crash.
    32375 
    32376         * dom/StyleElement.cpp:
    32377         (WebCore::StyleElement::process): Handle large node sets better.
    32378 
    32379 2011-03-10  David Hyatt  <hyatt@apple.com>
    32380 
    32381         Reviewed by Simon Fraser.
    32382 
    32383         https://bugs.webkit.org/show_bug.cgi?id=47151
    32384        
    32385         Percentage heights should skip anonymous containing blocks when computing the used value.
    32386 
    32387         Added fast/block/basic/percentage-height-inside-anonymous-block.html
    32388 
    32389         * rendering/RenderBox.cpp:
    32390         (WebCore::RenderBox::computePercentageLogicalHeight):
    32391 
    32392 2011-03-10  Nat Duca  <nduca@chromium.org>
    32393 
    32394         Reviewed by James Robinson.
    32395 
    32396         [chromium] Make updateAndDrawLayers argumentless.
    32397         https://bugs.webkit.org/show_bug.cgi?id=55985
    32398 
    32399         Made the TilePainters and viewport parameters for
    32400         LayerRendererChromium member variables instead of arguments on
    32401         updateAndDrawLayers. In a future change, this will allows us to
    32402         draw the layer tree without the WebView's assistance.
    32403 
    32404         * platform/graphics/chromium/LayerRendererChromium.cpp:
    32405         (WebCore::LayerRendererChromium::create):
    32406         (WebCore::LayerRendererChromium::LayerRendererChromium):
    32407         (WebCore::LayerRendererChromium::verticalScrollbarRect):
    32408         (WebCore::LayerRendererChromium::horizontalScrollbarRect):
    32409         (WebCore::LayerRendererChromium::invalidateRootLayerRect):
    32410         (WebCore::LayerRendererChromium::updateRootLayerContents):
    32411         (WebCore::LayerRendererChromium::updateRootLayerScrollbars):
    32412         (WebCore::LayerRendererChromium::drawRootLayer):
    32413         (WebCore::LayerRendererChromium::setViewport):
    32414         (WebCore::LayerRendererChromium::updateAndDrawLayers):
    32415         (WebCore::LayerRendererChromium::updateLayers):
    32416         (WebCore::LayerRendererChromium::drawLayers):
    32417         (WebCore::LayerRendererChromium::setRootLayer):
    32418         (WebCore::LayerRendererChromium::getFramebufferPixels):
    32419         (WebCore::LayerRendererChromium::cleanupSharedObjects):
    32420         * platform/graphics/chromium/LayerRendererChromium.h:
    32421         (WebCore::LayerRendererChromium::viewportSize):
    32422         * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
    32423         (WebCore::CCHeadsUpDisplay::draw):
    32424 
    32425 2011-01-25  Martin Robinson  <mrobinson@igalia.com>
    32426 
    32427         Reviewed by Xan Lopez.
    32428 
    32429         [GTK] Implement spin buttons for GTK+ 2.x
    32430         https://bugs.webkit.org/show_bug.cgi?id=53098
    32431 
    32432         Implement spin buttons for GTK+ 2.x. This allows proper render and functioning
    32433         for input type=number. The implementation is based on the one in gtkspinbutton.c
    32434         from the GTK+ sources.
    32435 
    32436         * platform/gtk/RenderThemeGtk.h: Added new members and getters.
    32437         * platform/gtk/RenderThemeGtk2.cpp:
    32438         (WebCore::RenderThemeGtk::platformInit): Initialize spin button widget.
    32439         (WebCore::RenderThemeGtk::adjustRepaintRect): We need to draw outside the
    32440         spin button area to have proper rendering. There doesn't seem to be any other
    32441         clean way of having spin buttons that are the size of the text input frame.
    32442         (WebCore::RenderThemeGtk::adjustInnerSpinButtonStyle): Added implementation.
    32443         (WebCore::RenderThemeGtk::paintInnerSpinButton): Ditto.
    32444         (WebCore::RenderThemeGtk::gtkSpinButton): Added.
    32445 
    32446 2011-03-10  Levi Weintraub  <leviw@chromium.org>
    32447 
    32448         Reviewed by Ryosuke Niwa.
    32449 
    32450         InsertUnorderedList over a non-editable region and multiple lines enters an infinite loop
    32451         https://bugs.webkit.org/show_bug.cgi?id=53409
    32452 
    32453         Fixing broken handling of mixed-editability content for InsertListCommand. Previously, if the selection
    32454         spanned non-contenteditable regions, it would get stuck endlessly iterating the same region as the algorithm
    32455         didn't skip the editable boundary.
    32456 
    32457         Test: editing/execCommand/insert-list-with-noneditable-content.html
    32458 
    32459         * editing/CompositeEditCommand.cpp:
    32460         (WebCore::CompositeEditCommand::cleanupAfterDeletion): Changed signature to take the destination
    32461         position for the active editing command. Without this, there are cases when the destination happens
    32462         to be a placeholder, and we remove it.
    32463         (WebCore::CompositeEditCommand::moveParagraphs):
    32464         * editing/CompositeEditCommand.h:
    32465         * editing/InsertListCommand.cpp:
    32466         (WebCore::InsertListCommand::doApply): Added logic to the paragraph iteration loop to handle pockets of
    32467         non-editable content in an editable context. Previously, this could cause an infinite loop.
    32468         * editing/visible_units.cpp:
    32469         (WebCore::startOfParagraph): Added a mode of operation where we'll jump across non-editable
    32470         content in the same paragraph to reach the actual editable paragraph start.
    32471         (WebCore::endOfParagraph): Ditto.
    32472         (WebCore::startOfNextParagraph): Now uses the aforementioned non-editable content skipping mode of
    32473         endOfParagraph.
    32474 
    32475 2011-03-10  Berend-Jan Wever  <skylined@chromium.org>
    32476 
    32477         Reviewed by Darin Adler.
    32478 
    32479         Calling focus() on an area element not in a document should not cause a NULL ptr crash
    32480         https://bugs.webkit.org/show_bug.cgi?id=54877
    32481 
    32482         Test: fast/dom/HTMLAreaElement/area-islink-focus-null-ptr-crash.html
    32483 
    32484         * dom/Element.cpp:
    32485         (WebCore::Element::focus): Check element is in the document before allowing focus
    32486         * html/HTMLAreaElement.cpp:
    32487         (WebCore::HTMLAreaElement::imageElement): Check element has a parent before checking if its parent is a map
    32488 
    32489 2011-03-10  Xiyuan Xia  <xiyuan@chromium.org>
    32490 
    32491         Reviewed by Tony Chang.
    32492 
    32493         [Chromium] Fix default single selection select's popup background on chromium/linux
    32494         https://bugs.webkit.org/show_bug.cgi?id=56023
    32495 
    32496         Test: fast/html/select-dropdown-consistent-background-color.html
    32497 
    32498         * css/themeChromiumLinux.css:
    32499 
    32500 2011-03-10  Kris Jordan  <krisjordan@gmail.com>
    32501 
    32502         Reviewed by Alexey Proskuryakov.
    32503 
    32504         Improve default Accept header to give preference to HTML over XML.
    32505         https://bugs.webkit.org/show_bug.cgi?id=27267
    32506 
    32507         * loader/FrameLoader.cpp:Changed default accept header to match
    32508         FireFox' as per bug 27267.
    32509 
    32510 2011-03-10  Martin Robinson  <mrobinson@igalia.com>
    32511 
    32512         Reviewed by Xan Lopez.
    32513 
    32514         [GTK] [Webkit2] There are no scrollbars visible in the MiniBrowser
    32515         https://bugs.webkit.org/show_bug.cgi?id=56125
    32516 
    32517         No new tests. This functionality will be tested once we have TestRunner
    32518         implementation for WebKit2 with pixel dumping support.
    32519 
    32520         * GNUmakefile.am: Add a new define with tracks whether or not we are using
    32521         our specialized GTK+ ScrollView.
    32522         * platform/ScrollView.cpp: Only use the GTK+-specific ScrollView if we are compiling
    32523         WebKit1.
    32524         (WebCore::ScrollView::wheelEvent):
    32525         * platform/gtk/ScrollViewGtk.cpp: Ditto.
    32526 
    32527 2011-03-10  Kent Tamura  <tkent@chromium.org>
    32528 
    32529         Reviewed by Dimitri Glazkov.
    32530 
    32531         Assertion fails by validating a form twice very quickly
    32532         https://bugs.webkit.org/show_bug.cgi?id=56069
    32533 
    32534         If the interactive validation is invoked when a form control is in
    32535         needsLayout() state, an assertion in isFocusable() fails. To avoid it,
    32536         Add a call to updateLayoutIgnorePendingStylesheets() before isFocusable().
    32537 
    32538         Test: fast/forms/interactive-validation-assertion-by-validate-twice.html
    32539 
    32540         * html/HTMLFormElement.cpp:
    32541         (WebCore::HTMLFormElement::validateInteractively):
    32542           Calls updateLayoutIgnorePendingStylesheets().
    32543 
    32544 2011-03-10  David Hyatt  <hyatt@apple.com>
    32545 
    32546         Reviewed by Beth Dakin.
    32547 
    32548         https://bugs.webkit.org/show_bug.cgi?id=47143
    32549        
    32550         Static distance computation is wrong when an ancestor is also positioned.  We need to go up the container()
    32551         chain (after initially starting with the parent()) when doing this computation, so that we properly skip
    32552         intermediate boxes between two positioned blocks.
    32553 
    32554         Added fast/block/positioning/static-distance-with-positioned-ancestor.html.
    32555 
    32556         * rendering/RenderBox.cpp:
    32557         (WebCore::computeInlineStaticDistance):
    32558         (WebCore::computeBlockStaticDistance):
    32559 
    32560 2011-03-10  Adrienne Walker  <enne@google.com>
    32561 
    32562         Reviewed by Kenneth Russell.
    32563 
    32564         [chromium] Make tiled compositor data structure more efficient.
    32565         https://bugs.webkit.org/show_bug.cgi?id=54133
    32566 
    32567         Previously, the compositor had a sparse 2D array of tiles for the
    32568         whole page, most of which were null.  The tiles were implicitly
    32569         located based on their position in the array. This was inefficient
    32570         when the page grew (e.g. infinite scrolling) and caused some bugs
    32571         (e.g. width * height > MAX_INT).  This change modifies tiles to have
    32572         explicit positions so they can be stored in a hash map.
    32573 
    32574         Tests: LayoutTests/compositing/
    32575 
    32576         * platform/graphics/chromium/LayerTilerChromium.cpp:
    32577         (WebCore::LayerTilerChromium::reset):
    32578         (WebCore::LayerTilerChromium::createTile):
    32579         (WebCore::LayerTilerChromium::invalidateTiles):
    32580         (WebCore::LayerTilerChromium::contentRectToTileIndices):
    32581         (WebCore::LayerTilerChromium::tileAt):
    32582         (WebCore::LayerTilerChromium::tileContentRect):
    32583         (WebCore::LayerTilerChromium::tileLayerRect):
    32584         (WebCore::LayerTilerChromium::invalidateRect):
    32585         (WebCore::LayerTilerChromium::invalidateEntireLayer):
    32586         (WebCore::LayerTilerChromium::update):
    32587         (WebCore::LayerTilerChromium::updateFromPixels):
    32588         (WebCore::LayerTilerChromium::draw):
    32589         (WebCore::LayerTilerChromium::growLayerToContain):
    32590         * platform/graphics/chromium/LayerTilerChromium.h:
    32591         (WebCore::LayerTilerChromium::Tile::Tile):
    32592         (WebCore::LayerTilerChromium::Tile::i):
    32593         (WebCore::LayerTilerChromium::Tile::j):
    32594         (WebCore::LayerTilerChromium::Tile::moveTo):
    32595         (WebCore::LayerTilerChromium::TileMapKeyTraits::emptyValue):
    32596         (WebCore::LayerTilerChromium::TileMapKeyTraits::constructDeletedValue):
    32597         (WebCore::LayerTilerChromium::TileMapKeyTraits::isDeletedValue):
    32598 
    32599 2011-03-10  Ryosuke Niwa  <rniwa@webkit.org>
    32600 
    32601         Unreviewed build fix for r80752; Negated the boolean logic.
    32602 
    32603         * editing/VisiblePosition.cpp:
    32604         (WebCore::VisiblePosition::next):
    32605         (WebCore::VisiblePosition::previous):
    32606 
    32607 2011-03-10  David Hyatt  <hyatt@apple.com>
    32608 
    32609         Reviewed by Adam Roben.
    32610 
    32611         Make the same change to xheight on Windows for CG.
    32612 
    32613         * platform/graphics/win/SimpleFontDataCGWin.cpp:
    32614         (WebCore::SimpleFontData::platformInit):
    32615 
    32616 2011-03-10  David Hyatt  <hyatt@apple.com>
    32617 
    32618         Reviewed by Simon Fraser.
    32619 
    32620         https://bugs.webkit.org/show_bug.cgi?id=47147
    32621        
    32622         Fix for repaint issues when the root element is a table and needs to paint a background that
    32623         covers the entire canvas.  Remove paintRootBoxDecorations and replace with paintRootBoxFillLayers,
    32624         so that it can be called only for fill layer painting.  Make tables and normal boxes both
    32625         call this new method.  Fix the dirty check at the start of RenderTable paint to not happen if
    32626         the table is the root of the document (this same check exists in RenderBlock painting already).
    32627 
    32628         * rendering/RenderBox.cpp:
    32629         (WebCore::RenderBox::paintRootBoxFillLayers):
    32630         (WebCore::RenderBox::paintBoxDecorations):
    32631         (WebCore::RenderBox::paintBoxDecorationsWithSize):
    32632         * rendering/RenderBox.h:
    32633         * rendering/RenderLayerCompositor.cpp:
    32634         (WebCore::RenderLayerCompositor::calculateCompositedBounds):
    32635         * rendering/RenderTable.cpp:
    32636         (WebCore::RenderTable::paint):
    32637         (WebCore::RenderTable::paintBoxDecorations):
    32638 
    32639 2011-03-10  Sheriff Bot  <webkit.review.bot@gmail.com>
    32640 
    32641         Unreviewed, rolling out r80749.
    32642         http://trac.webkit.org/changeset/80749
    32643         https://bugs.webkit.org/show_bug.cgi?id=56143
    32644 
    32645         "Caused at least 3 media tests to be flaky" (Requested by
    32646         tonyg-cr on #webkit).
    32647 
    32648         * html/parser/HTMLDocumentParser.cpp:
    32649         (WebCore::HTMLDocumentParser::canTakeNextToken):
    32650         (WebCore::HTMLDocumentParser::pumpTokenizer):
    32651         * html/parser/HTMLParserScheduler.cpp:
    32652         * html/parser/HTMLParserScheduler.h:
    32653         (WebCore::HTMLParserScheduler::checkForYieldBeforeToken):
    32654         * page/FrameView.h:
    32655 
    32656 2011-03-10  Sam Weinig  <sam@webkit.org>
    32657 
    32658         Reviewed by David Hyatt.
    32659 
    32660         Regression: Content not drawn when scrolling horizontally in an RTL page
    32661         https://bugs.webkit.org/show_bug.cgi?id=55077
    32662 
    32663         * platform/ScrollView.cpp:
    32664         (WebCore::ScrollView::overhangAmount):
    32665         (WebCore::ScrollView::calculateOverhangAreasForPainting):
    32666         Take the scroll origin into account when calculating overhang.
    32667 
    32668         * platform/ScrollView.h:
    32669         * rendering/RenderLayer.h:
    32670         * platform/ScrollableArea.h:
    32671         (WebCore::ScrollableArea::scrollOrigin):
    32672         Move identical scroll origin member from ScrollView and RenderLayer
    32673         to shared base ScrollableArea. This is also needed so that the animator
    32674         can access it.
    32675 
    32676         * platform/mac/ScrollAnimatorMac.mm:
    32677         (WebCore::ScrollAnimatorMac::pinnedInDirection):
    32678         (WebCore::ScrollAnimatorMac::smoothScrollWithEvent):
    32679         (WebCore::ScrollAnimatorMac::snapRubberBandTimerFired):
    32680         Account for a scroll origin when doing calculating scroll offsets.
    32681 
    32682 2011-03-09  Matthew Delaney  <mdelaney@apple.com>
    32683 
    32684         Reviewed by Simon Fraser.
    32685 
    32686         Plumb through settings for accelerated drawing for canvas
    32687         https://bugs.webkit.org/show_bug.cgi?id=56039
    32688 
    32689         No new tests. Doesn't affect behavior, just adding a switch to toggle canvas backends.
    32690 
    32691         * WebCore.exp.in:
    32692         * html/HTMLCanvasElement.cpp:
    32693         * html/canvas/CanvasRenderingContext2D.cpp:
    32694         * page/Settings.cpp:
    32695         * page/Settings.h:
    32696 
    32697 2011-03-10  David Hyatt  <hyatt@apple.com>
    32698 
    32699         Reviewed by Simon Fraser.
    32700 
    32701         https://bugs.webkit.org/show_bug.cgi?id=47157
    32702        
    32703         CSS2.1 test suite failures because the ex unit is broken with the Ahem font.
    32704        
    32705         Remove the code that tries to also include the maxX of the glyph bounds for the
    32706         'x' glyph, since it just causes the x-height to be way too large in cases where the 'x' glyph extends
    32707         below the baseline.
    32708 
    32709         Remove the Apple Symbol hack for ex units, since the person who added that was confused by another
    32710         issue, namely that CGFontGetXHeight wasn't being properly multiplied by the pointSize.  That's why
    32711         the value was too small.  Patched the code to just multiply by pointSize and took out the hack.
    32712        
    32713         Fix causes many tests in the css2.1 directory to progress, so no new tests required.  Many other
    32714         layout tests change because the xHeight for Lucida Grande gets smaller by a little bit, and radio
    32715         buttons use ex horizontal margins by default.
    32716 
    32717         * platform/graphics/mac/SimpleFontDataMac.mm:
    32718         (WebCore::SimpleFontData::platformInit):
    32719 
    32720 2011-03-10  Ryosuke Niwa  <rniwa@webkit.org>
    32721 
    32722         Reviewed by Tony Chang.
    32723 
    32724         VisiblePosition's next and previous should take an enum instead of a boolean
    32725         https://bugs.webkit.org/show_bug.cgi?id=56135
    32726 
    32727         Changed the argument type of VisiblePosition::next and VisiblePosition::previous
    32728         from bool to EditingBoundaryCrossingRule. Also got rid of StayInEditableContent enum
    32729         in VisibleSelection and replaced it by EditingBoundaryCrossingRule because the enum
    32730         was only used in VisiblePosition::isAll and subsequently in SelectionController::isAll
    32731         to call VisiblePosition::next and VisiblePosition::previous.
    32732 
    32733         * WebCore.exp.in:
    32734         * dom/Position.cpp:
    32735         (WebCore::Position::trailingWhitespacePosition):
    32736         * editing/ApplyBlockElementCommand.cpp:
    32737         (WebCore::ApplyBlockElementCommand::doApply):
    32738         * editing/CompositeEditCommand.cpp:
    32739         (WebCore::CompositeEditCommand::breakOutOfEmptyMailBlockquotedParagraph):
    32740         * editing/InsertListCommand.cpp:
    32741         (WebCore::InsertListCommand::doApply):
    32742         (WebCore::InsertListCommand::listifyParagraph):
    32743         * editing/ReplaceSelectionCommand.cpp:
    32744         (WebCore::ReplaceSelectionCommand::shouldMergeStart):
    32745         (WebCore::ReplaceSelectionCommand::shouldMergeEnd):
    32746         (WebCore::ReplaceSelectionCommand::doApply):
    32747         * editing/SelectionController.cpp:
    32748         (WebCore::SelectionController::modifyExtendingRight):
    32749         (WebCore::SelectionController::modifyExtendingForward):
    32750         (WebCore::SelectionController::modifyMovingForward):
    32751         (WebCore::SelectionController::modifyExtendingLeft):
    32752         (WebCore::SelectionController::modifyExtendingBackward):
    32753         (WebCore::SelectionController::modifyMovingBackward):
    32754         * editing/SelectionController.h:
    32755         (WebCore::SelectionController::isAll):
    32756         * editing/TypingCommand.cpp:
    32757         (WebCore::TypingCommand::deleteKeyPressed):
    32758         (WebCore::TypingCommand::forwardDeleteKeyPressed):
    32759         * editing/VisiblePosition.cpp:
    32760         (WebCore::VisiblePosition::next):
    32761         (WebCore::VisiblePosition::previous):
    32762         * editing/VisiblePosition.h:
    32763         * editing/VisibleSelection.cpp:
    32764         (WebCore::VisibleSelection::isAll):
    32765         (WebCore::VisibleSelection::setStartAndEndFromBaseAndExtentRespectingGranularity):
    32766         * editing/VisibleSelection.h:
    32767         * editing/htmlediting.cpp:
    32768         (WebCore::selectionForParagraphIteration):
    32769         * editing/visible_units.cpp:
    32770         (WebCore::startOfNextParagraph):
    32771 
    32772 2011-03-10  Mihai Parparita  <mihaip@chromium.org>
    32773 
    32774         Reviewed by Tony Gentilcore.
    32775 
    32776         Remove CRASH() calls added to track down bug 53045
    32777         https://bugs.webkit.org/show_bug.cgi?id=56137
    32778 
    32779         Remove CRASH() calls added by r76575 and re-label ones added by r80155
    32780         and r80269 as being associated with bug 56124 (which may still be
    32781         happening).
    32782 
    32783         * css/CSSImageValue.cpp:
    32784         (WebCore::CSSImageValue::cachedImage):
    32785         * css/CSSSelector.h:
    32786         * css/CSSSelectorList.cpp:
    32787         (WebCore::CSSSelectorList::deleteSelectors):
    32788         * loader/cache/CachedResource.cpp:
    32789         (WebCore::CachedResource::CachedResource):
    32790         (WebCore::CachedResource::~CachedResource):
    32791         * loader/cache/CachedResource.h:
    32792 
    32793 2011-03-10  Tony Gentilcore  <tonyg@chromium.org>
    32794 
    32795         Reviewed by Eric Seidel.
    32796 
    32797         Let the parser yield for layout before running scripts
    32798         https://bugs.webkit.org/show_bug.cgi?id=54355
    32799 
    32800         Prior to this patch, the parser would yield to perform a layout/paint before running a
    32801         script only if the script or a stylesheet blocking the script is not loaded yet. Since we
    32802         don't preload scan into the body while parsing the head, typically we'll block on a script
    32803         early in the body that causes us to yield to do the first paint within a reasonable time.
    32804 
    32805         However, I'm planning to change the PreloadScanner to scan into the body from the head.
    32806         That significantly improves overall load time, but would hurt first paint time because
    32807         fewer scripts would be blocked during parsing and thus wouldn't yield.
    32808 
    32809         This change causes us to yield before running scripts if we haven't painted yet (regardless
    32810         of whether or not the script is loaded). In addition to allowing the above mentioned
    32811         PreloadScanner change to be implemented without regressing first paint time, this also
    32812         improves first paint time by itself.
    32813 
    32814         I tested Alexa's top 45 websites using Web Page Replay to control the content and simulate
    32815         bandwidth. This patch improved average first paint time by 1% over an unlimited connection,
    32816         6% over a 1Mbps connection and 11% over a 5Mbps connection. There was no statistically
    32817         signifcant change in page load time.
    32818 
    32819         Within the pages tested, 33 had no statistically significant change in time to first paint,
    32820         12 improved, and none regressed. Of the improved, some of the standouts from the 1Mbps set
    32821         are: 20% on youtube, 37% on wiki, 27% on ebay, 13% on cnn, 16% on espn, 74% on sohu.
    32822 
    32823         * html/parser/HTMLDocumentParser.cpp:
    32824         (WebCore::HTMLDocumentParser::canTakeNextToken): This is the new yield point.
    32825         (WebCore::HTMLDocumentParser::pumpTokenizer): Remove ASSERT that we are not paused. isPaused
    32826         means that we are waiting for a script. Bug 54574 changed pumpTokenizer() so that it does
    32827         the right thing whether we are just before a token or waiting for a script. Now that we may
    32828         yield before a token or before a script, this may be called while paused.
    32829         * html/parser/HTMLParserScheduler.cpp:
    32830         (WebCore::HTMLParserScheduler::checkForYieldBeforeScript): Added.
    32831         * page/FrameView.h:
    32832         (WebCore::FrameView::hasEverPainted): Added.
    32833 
    32834 2011-03-10  Alejandro G. Castro  <alex@igalia.com>
    32835 
    32836         Reviewed by Martin Robinson.
    32837 
    32838         Some Gtk code uses defined(USE_FREETYPE) instead of just USE(FREETYPE)
    32839         https://bugs.webkit.org/show_bug.cgi?id=55996
    32840 
    32841         Use the macre USE instead of defined fro WTF_USE_FREETYPE and
    32842         WTF_USE_PANGO.
    32843 
    32844         * GNUmakefile.am:
    32845         * platform/graphics/cairo/OwnPtrCairo.cpp:
    32846         * platform/graphics/cairo/OwnPtrCairo.h:
    32847         * platform/graphics/cairo/RefPtrCairo.cpp:
    32848         * platform/graphics/cairo/RefPtrCairo.h:
    32849         * platform/graphics/gtk/FontGtk.cpp:
    32850         (WebCore::setPangoAttributes):
    32851         (WebCore::Font::drawComplexText):
    32852         (WebCore::Font::floatWidthForComplexText):
    32853         (WebCore::Font::offsetForPositionForComplexText):
    32854         (WebCore::Font::selectionRectForComplexText):
    32855 
    32856 2011-03-10  Geoffrey Garen  <ggaren@apple.com>
    32857 
    32858         Reviewed by Oliver Hunt.
    32859 
    32860         Rolled back in 80277 and 80280 with event handler layout test failures fixed.
    32861         https://bugs.webkit.org/show_bug.cgi?id=55653
    32862 
    32863         The failures were caused by a last minute typo: assigning to currentEvent
    32864         instead of m_currentEvent.
    32865 
    32866         * WebCore.xcodeproj/project.pbxproj:
    32867         * bindings/js/JSDOMGlobalObject.cpp:
    32868         * bindings/js/JSDOMGlobalObject.h:
    32869         * bindings/js/JSDOMWindowBase.cpp:
    32870         * bindings/js/JSDOMWindowBase.h:
    32871         * bindings/js/JSDOMWindowCustom.h:
    32872         * bindings/js/JSWorkerContextBase.cpp:
    32873 
    32874 2011-03-10  David Hyatt  <hyatt@apple.com>
    32875 
    32876         Reviewed by Dan Bernstein.
    32877 
    32878         https://bugs.webkit.org/show_bug.cgi?id=56129, vertical text broken on Lion and Leopard.
    32879 
    32880         Add Snow Leopard ifdefs for the scaling by point size and then the division by unitsPerEm to the
    32881         translationsTransform applied to the results from CTFontGetVerticalTranslationsForGlyphs, since
    32882         this is done already on Lion and Leopard.
    32883 
    32884         * platform/graphics/mac/FontMac.mm:
    32885         (WebCore::showGlyphsWithAdvances):
    32886 
    32887 2011-03-10  Sheriff Bot  <webkit.review.bot@gmail.com>
    32888 
    32889         Unreviewed, rolling out r80701.
    32890         http://trac.webkit.org/changeset/80701
    32891         https://bugs.webkit.org/show_bug.cgi?id=56126
    32892 
    32893         fast/dom/Geolocation/window-close-crash.html fails on Snow
    32894         Leopard release builds (Requested by mihaip on #webkit).
    32895 
    32896         * page/DOMWindow.cpp:
    32897         * page/DOMWindow.h:
    32898         * page/Frame.cpp:
    32899         (WebCore::Frame::pageDestroyed):
    32900         (WebCore::Frame::transferChildFrameToNewDocument):
    32901         * page/Geolocation.cpp:
    32902         (WebCore::Geolocation::~Geolocation):
    32903         (WebCore::Geolocation::disconnectFrame):
    32904         (WebCore::Geolocation::lastPosition):
    32905         (WebCore::Geolocation::requestPermission):
    32906         (WebCore::Geolocation::startUpdating):
    32907         (WebCore::Geolocation::stopUpdating):
    32908         * page/Geolocation.h:
    32909         * page/GeolocationController.cpp:
    32910         (WebCore::GeolocationController::~GeolocationController):
    32911         * page/Navigator.cpp:
    32912         * page/Navigator.h:
    32913         * platform/mock/GeolocationClientMock.cpp:
    32914         * platform/mock/GeolocationClientMock.h:
    32915 
    32916 2011-03-10  Pratik Solanki  <psolanki@apple.com>
    32917 
    32918         Reviewed by Alexey Proskuryakov.
    32919 
    32920         ASSERT_NOT_REACHED triggered in WebCore::mapHTTPPipeliningPriorityToResourceLoadPriority
    32921         https://bugs.webkit.org/show_bug.cgi?id=56075
    32922 
    32923         Map priority value 3, which means no priority, to ResourceLoadPriorityUnresolved.
    32924 
    32925         * platform/network/cf/ResourceRequestCFNet.h:
    32926         (WebCore::mapHTTPPipeliningPriorityToResourceLoadPriority):
    32927         (WebCore::mapResourceLoadPriorityToHTTPPipeliningPriority):
    32928 
    32929 2011-03-10  Andrey Adaikin  <aandrey@google.com>
    32930 
    32931         Reviewed by Pavel Feldman.
    32932 
    32933         Web Inspector: [Text editor] Substitute live-edit mode activation by double-click
    32934         https://bugs.webkit.org/show_bug.cgi?id=56084
    32935 
    32936         Also fixed a regression: console was not opening/closing on ESC key press because tabIndex="0" attribute was preserved for a readOnly viewer.
    32937 
    32938         * inspector/front-end/SourceFrame.js:
    32939         (WebInspector.SourceFrame):
    32940         (WebInspector.SourceFrame.prototype._startEditing):
    32941         (WebInspector.SourceFrame.prototype._registerShortcuts):
    32942         (WebInspector.SourceFrame.prototype._handleKeyDown):
    32943         (WebInspector.SourceFrame.prototype._handleSave):
    32944         (WebInspector.SourceFrame.prototype._handleRevertEditing):
    32945         (WebInspector.SourceFrame.prototype._doubleClick):
    32946         * inspector/front-end/TextEditorModel.js:
    32947         (WebInspector.TextEditorModel.prototype.get text):
    32948         * inspector/front-end/TextViewer.js:
    32949         (WebInspector.TextViewer.prototype.get readOnly):
    32950         (WebInspector.TextEditorMainPanel):
    32951         (WebInspector.TextEditorMainPanel.prototype.set readOnly):
    32952         (WebInspector.TextEditorMainPanel.prototype.get readOnly):
    32953 
    32954 2011-03-10  Greg Simon  <gregsimon@chromium.org>
    32955 
    32956         Reviewed by Pavel Feldman.
    32957 
    32958         Web Inspector: Need new graphic icon for garbage collect button.
    32959         https://bugs.webkit.org/show_bug.cgi?id=55794
    32960 
    32961         No new tests: gc tests are flaky due to non-determinisic
    32962         behavior of collection APIs (more notes in bug)
    32963 
    32964         * English.lproj/localizedStrings.js:
    32965         * WebCore.gypi:
    32966         * bindings/js/ScriptProfiler.cpp:
    32967         (WebCore::ScriptProfiler::collectGarbage):
    32968         * bindings/js/ScriptProfiler.h:
    32969         * bindings/v8/ScriptProfiler.cpp:
    32970         (WebCore::ScriptProfiler::collectGarbage):
    32971         * bindings/v8/ScriptProfiler.h:
    32972         * inspector/Inspector.idl:
    32973         * inspector/InspectorProfilerAgent.cpp:
    32974         (WebCore::InspectorProfilerAgent::collectGarbage):
    32975         * inspector/InspectorProfilerAgent.h:
    32976         * inspector/front-end/Images/garbageCollectButtonGlyph.png: Added.
    32977         * inspector/front-end/TimelinePanel.js:
    32978         (WebInspector.TimelinePanel.prototype.get statusBarItems):
    32979         (WebInspector.TimelinePanel.prototype._createStatusbarButtons):
    32980         (WebInspector.TimelinePanel.prototype._garbageCollectButtonClicked):
    32981         * inspector/front-end/inspector.css:
    32982         (.garbage-collect-status-bar-item .glyph):
    32983 
    32984 2011-03-10  Andrey Kosyakov  <caseq@chromium.org>
    32985 
    32986         Web Inspector: better names for HAR export commands
    32987         https://bugs.webkit.org/show_bug.cgi?id=56097
    32988 
    32989         Rename Export to HAR to Copy entry/network log as HAR
    32990         Expose Copy as HAR unconditionally, remove related settings entry.
    32991 
    32992         * English.lproj/localizedStrings.js:
    32993         * inspector/front-end/NetworkPanel.js:
    32994         (WebInspector.NetworkPanel.prototype._contextMenu):
    32995         * inspector/front-end/Settings.js:
    32996 
    32997 2011-03-10  Qi Zhang  <qi.2.zhang@nokia.com>
    32998 
    32999         Reviewed by Laszlo Gombos.
    33000 
    33001         [Qt] Mobile Devices should include Model and Firmware Version in Webkit Generated User Agent String
    33002         https://bugs.webkit.org/show_bug.cgi?id=48636
    33003 
    33004         Fix a typo in features.pri that turns on this feature on mobile
    33005         devices by default.
    33006 
    33007         * features.pri:
    33008 
    33009 2011-03-10  Alexander Pavlov  <apavlov@chromium.org>
    33010 
    33011         Reviewed by Pavel Feldman.
    33012 
    33013         Web Inspector: Invalid expected parameter list in CSSAgent.setSelectorText() callback (CSSStyleModel.js)
    33014         https://bugs.webkit.org/show_bug.cgi?id=56092
    33015 
    33016         * inspector/front-end/CSSStyleModel.js:
    33017         (WebInspector.CSSStyleModel.prototype.setRuleSelector):
    33018 
    33019 2011-03-10  Pavel Feldman  <pfeldman@chromium.org>
    33020 
    33021         Not reviewed: rolling out r80478 and its follow ups for breaking
    33022         inspector and engadget.com.
    33023         https://bugs.webkit.org/show_bug.cgi?id=49401
    33024 
    33025         * dom/Document.cpp:
    33026         (WebCore::Document::Document):
    33027         (WebCore::performTask):
    33028         (WebCore::Document::postTask):
    33029         * dom/Document.h:
    33030         * loader/FrameLoader.cpp:
    33031         (WebCore::FrameLoader::setDefersLoading):
    33032         * manual-tests/database-callback-deferred.html: Removed.
    33033         * page/PageGroupLoadDeferrer.cpp:
    33034         (WebCore::PageGroupLoadDeferrer::PageGroupLoadDeferrer):
    33035         (WebCore::PageGroupLoadDeferrer::~PageGroupLoadDeferrer):
    33036 
    33037 2011-03-10  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
    33038 
    33039         Reviewed by Kenneth Rohde Christiansen.
    33040 
    33041         Tiled backing store's delegated scroll request uses incorrect convention
    33042         https://bugs.webkit.org/show_bug.cgi?id=56011
    33043 
    33044         Use a point instead of delta, when relaying the scroll request from
    33045         ScrollView::setScrollPosition.
    33046 
    33047         * loader/EmptyClients.h:
    33048         (WebCore::EmptyChromeClient::delegatedScrollRequested):
    33049         * page/Chrome.cpp:
    33050         (WebCore::Chrome::delegatedScrollRequested):
    33051         * page/Chrome.h:
    33052         * page/ChromeClient.h:
    33053         * platform/HostWindow.h:
    33054         * platform/ScrollView.cpp:
    33055         (WebCore::ScrollView::setScrollPosition):
    33056 
    33057 2011-03-10  Pavel Feldman  <pfeldman@chromium.org>
    33058 
    33059         Reviewed by Yury Semikhatsky.
    33060 
    33061         Web Inspector: brush up DOM agent API.
    33062         https://bugs.webkit.org/show_bug.cgi?id=56093
    33063 
    33064         * inspector/Inspector.idl:
    33065         * inspector/InspectorDOMAgent.cpp:
    33066         (WebCore::InspectorDOMAgent::childNodes):
    33067         (WebCore::InspectorDOMAgent::setNodeName):
    33068         (WebCore::InspectorDOMAgent::outerHTML):
    33069         (WebCore::InspectorDOMAgent::setNodeValue):
    33070         * inspector/InspectorDOMAgent.h:
    33071         * inspector/front-end/DOMAgent.js:
    33072         (WebInspector.DOMNode):
    33073         (WebInspector.DOMNode.prototype.hasAttributes):
    33074         (WebInspector.DOMNode.prototype.nodeType):
    33075         (WebInspector.DOMNode.prototype.nodeName):
    33076         (WebInspector.DOMNode.prototype.setNodeName):
    33077         (WebInspector.DOMNode.prototype.localName):
    33078         (WebInspector.DOMNode.prototype.nodeValue):
    33079         (WebInspector.DOMNode.prototype.setNodeValue):
    33080         (WebInspector.DOMNode.prototype.setAttribute):
    33081         (WebInspector.DOMNode.prototype.attributes):
    33082         (WebInspector.DOMNode.prototype.removeAttribute):
    33083         (WebInspector.DOMNode.prototype.childNodes.mycallback):
    33084         (WebInspector.DOMNode.prototype.childNodes):
    33085         (WebInspector.DOMNode.prototype.outerHTML):
    33086         (WebInspector.DOMNode.prototype.setOuterHTML):
    33087         (WebInspector.DOMNode.prototype.removeNode):
    33088         (WebInspector.DOMNode.prototype.copyNode):
    33089         (WebInspector.DOMNode.prototype.path):
    33090         (WebInspector.DOMNode.prototype._setAttributesPayload):
    33091         (WebInspector.DOMNode.prototype._addAttribute):
    33092         (WebInspector.DOMAgent.prototype._characterDataModified):
    33093         * inspector/front-end/ElementsPanel.js:
    33094         (WebInspector.ElementsPanel.prototype.updateBreadcrumb):
    33095         (WebInspector.ElementsPanel.prototype.decorateNodeLabel):
    33096         (WebInspector.ElementsPanel.prototype.handleCopyEvent):
    33097         * inspector/front-end/ElementsTreeOutline.js:
    33098         (WebInspector.ElementsTreeOutline.prototype.findTreeElement):
    33099         (WebInspector.ElementsTreeElement):
    33100         (WebInspector.ElementsTreeElement.prototype.updateChildren):
    33101         (WebInspector.ElementsTreeElement.prototype._updateChildren):
    33102         (WebInspector.ElementsTreeElement.prototype._startEditingTarget):
    33103         (WebInspector.ElementsTreeElement.prototype._startEditing):
    33104         (WebInspector.ElementsTreeElement.prototype._attributeEditingCommitted):
    33105         (WebInspector.ElementsTreeElement.prototype._tagNameEditingCommitted.moveToNextAttributeIfNeeded):
    33106         (WebInspector.ElementsTreeElement.prototype._tagNameEditingCommitted):
    33107         (WebInspector.ElementsTreeElement.prototype._textNodeEditingCommitted):
    33108         (WebInspector.ElementsTreeElement.prototype._attributeHTML):
    33109         ():
    33110         * inspector/front-end/EventListenersSidebarPane.js:
    33111         ():
    33112         * inspector/front-end/MetricsSidebarPane.js:
    33113         * inspector/front-end/StylesSidebarPane.js:
    33114         * inspector/front-end/utilities.js:
    33115 
    33116 2011-03-09  Alexander Pavlov  <apavlov@chromium.org>
    33117 
    33118         Reviewed by Pavel Feldman.
    33119 
    33120         Web Inspector: [STYLES] Editing a property value adds a word for any property value that uses a paren
    33121         https://bugs.webkit.org/show_bug.cgi?id=56002
    33122 
    33123         * inspector/front-end/StylesSidebarPane.js: Introduce an additional check.
    33124 
    33125 2011-03-09  Pavel Podivilov  <podivilov@chromium.org>
    33126 
    33127         Reviewed by Pavel Feldman.
    33128 
    33129         Web Inspector: use DebuggerPresentation instead of DebuggerModel in source frame delegate.
    33130         https://bugs.webkit.org/show_bug.cgi?id=56034
    33131 
    33132         * inspector/front-end/DebuggerPresentationModel.js:
    33133         (WebInspector.DebuggerPresentationModel.prototype.continueToLine):
    33134         (WebInspector.DebuggerPresentationModel.prototype.setBreakpoint):
    33135         (WebInspector.DebuggerPresentationModel.prototype.updateBreakpoint):
    33136         (WebInspector.DebuggerPresentationModel.prototype.findBreakpoint):
    33137         (WebInspector.DebuggerPresentationModel.prototype._sourceLocationToActualLocation):
    33138         * inspector/front-end/ScriptsPanel.js:
    33139         (WebInspector.ScriptsPanel.prototype._createSourceFrame):
    33140         (WebInspector.SourceFrameDelegateForScriptsPanel):
    33141         (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.setBreakpoint):
    33142         (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.updateBreakpoint):
    33143         (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.removeBreakpoint):
    33144         (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.findBreakpoint):
    33145         (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.continueToLine):
    33146         * inspector/front-end/SourceFrame.js:
    33147         (WebInspector.SourceFrame.prototype._contextMenu.else.editBreakpointCondition.didEditBreakpointCondition):
    33148         (WebInspector.SourceFrame.prototype._contextMenu.else.editBreakpointCondition):
    33149         (WebInspector.SourceFrame.prototype._contextMenu.else.setBreakpointEnabled):
    33150         (WebInspector.SourceFrame.prototype._contextMenu):
    33151         (WebInspector.SourceFrame.prototype._mouseDown):
    33152         (WebInspector.SourceFrameDelegate.prototype.removeBreakpoint):
    33153         (WebInspector.SourceFrameDelegate.prototype.updateBreakpoint):
    33154 
    33155 2011-03-09  Alexander Pavlov  <apavlov@chromium.org>
    33156 
    33157         Reviewed by Pavel Feldman.
    33158 
    33159         Web Inspector: elements dom tree - word wrap toggle
    33160         https://bugs.webkit.org/show_bug.cgi?id=44311
    33161 
    33162         A "Word Wrap" option is now shown in a context menu for the entire DOM tree content area
    33163         and persisted into application settings.
    33164 
    33165         * English.lproj/localizedStrings.js:
    33166         * inspector/front-end/ElementsPanel.js:
    33167         (WebInspector.ElementsPanel.prototype._contextMenuEventFired):
    33168         (WebInspector.ElementsPanel.prototype._contextMenuEventFired.toggleWordWrap):
    33169         * inspector/front-end/ElementsTreeOutline.js:
    33170         (WebInspector.ElementsTreeOutline):
    33171         (WebInspector.ElementsTreeOutline.prototype._treeElementFromEvent):
    33172         (WebInspector.ElementsTreeOutline.prototype.populateContextMenu):
    33173         (WebInspector.ElementsTreeElement.prototype.onreveal):
    33174         * inspector/front-end/Settings.js:
    33175         (WebInspector.Settings):
    33176         * inspector/front-end/inspector.css:
    33177         (#elements-content.nowrap):
    33178         (#elements-content > ol):
    33179 
    33180 2011-03-09  Pavel Podivilov  <podivilov@chromium.org>
    33181 
    33182         Reviewed by Pavel Feldman.
    33183 
    33184         Web Inspector: re-implement breakpoints sidebar pane based on debugger presentation model.
    33185         https://bugs.webkit.org/show_bug.cgi?id=55823
    33186 
    33187         * inspector/front-end/BreakpointsSidebarPane.js:
    33188         (WebInspector.JavaScriptBreakpointsSidebarPane):
    33189         (WebInspector.JavaScriptBreakpointsSidebarPane.prototype.addBreakpoint.didLoadSnippet):
    33190         (WebInspector.JavaScriptBreakpointsSidebarPane.prototype.addBreakpoint):
    33191         (WebInspector.JavaScriptBreakpointsSidebarPane.prototype.removeBreakpoint):
    33192         (WebInspector.JavaScriptBreakpointsSidebarPane.prototype.highlightBreakpoint):
    33193         (WebInspector.JavaScriptBreakpointsSidebarPane.prototype.clearBreakpointHighlight):
    33194         (WebInspector.JavaScriptBreakpointsSidebarPane.prototype._createBreakpointItemId):
    33195         (WebInspector.JavaScriptBreakpointsSidebarPane.prototype._breakpointClicked):
    33196         (WebInspector.JavaScriptBreakpointsSidebarPane.prototype._breakpointCheckboxClicked):
    33197         (WebInspector.JavaScriptBreakpointsSidebarPane.prototype._contextMenu):
    33198         (WebInspector.JavaScriptBreakpointsSidebarPane.prototype.reset):
    33199         * inspector/front-end/DebuggerPresentationModel.js:
    33200         (WebInspector.DebuggerPresentationModel):
    33201         (WebInspector.DebuggerPresentationModel.prototype._parsedScriptSource):
    33202         (WebInspector.DebuggerPresentationModel.prototype._failedToParseScriptSource):
    33203         (WebInspector.DebuggerPresentationModel.prototype._revealHiddenBreakpoints):
    33204         (WebInspector.DebuggerPresentationModel.prototype.breakpointsForSourceFileId):
    33205         (WebInspector.DebuggerPresentationModel.prototype.setBreakpointEnabled):
    33206         (WebInspector.DebuggerPresentationModel.prototype.removeBreakpoint):
    33207         (WebInspector.DebuggerPresentationModel.prototype._breakpointAdded):
    33208         (WebInspector.DebuggerPresentationModel.prototype.set selectedCallFrame):
    33209         (WebInspector.DebuggerPresentationModel.prototype._actualLocationToSourceLocation):
    33210         (WebInspector.DebuggerPresentationModel.prototype.reset):
    33211         * inspector/front-end/ScriptsPanel.js:
    33212         (WebInspector.ScriptsPanel):
    33213         (WebInspector.ScriptsPanel.prototype._breakpointAdded):
    33214         (WebInspector.ScriptsPanel.prototype._breakpointRemoved):
    33215         (WebInspector.ScriptsPanel.prototype._debuggerPaused):
    33216         (WebInspector.ScriptsPanel.prototype.reset):
    33217         (WebInspector.ScriptsPanel.prototype._clearInterface):
    33218 
    33219 2011-03-10  Andrey Adaikin  <aandrey@google.com>
    33220 
    33221         Reviewed by Pavel Feldman.
    33222 
    33223         Web Inspector: Highlighter refactoring
    33224         https://bugs.webkit.org/show_bug.cgi?id=56015
    33225 
    33226         * inspector/front-end/TextEditorHighlighter.js:
    33227         (WebInspector.TextEditorHighlighter):
    33228         (WebInspector.TextEditorHighlighter.prototype.set mimeType):
    33229         (WebInspector.TextEditorHighlighter.prototype.highlight):
    33230         (WebInspector.TextEditorHighlighter.prototype.updateHighlight):
    33231         (WebInspector.TextEditorHighlighter.prototype._highlightInChunks):
    33232         (WebInspector.TextEditorHighlighter.prototype._highlightLines):
    33233         (WebInspector.TextEditorHighlighter.prototype._selectHighlightState):
    33234         (WebInspector.TextEditorHighlighter.prototype._clearHighlightState):
    33235         * inspector/front-end/TextViewer.js:
    33236         (WebInspector.TextEditorMainPanel.prototype._buildChunks):
    33237         (WebInspector.TextEditorMainPanel.prototype._updateHighlightsForRange):
    33238 
    33239 2011-03-05  Pavel Podivilov  <podivilov@chromium.org>
    33240 
    33241         Reviewed by Pavel Feldman.
    33242 
    33243         Web Inspector: move breakpoint column adjustment to debugger model.
    33244         https://bugs.webkit.org/show_bug.cgi?id=55821
    33245 
    33246         Test: inspector/debugger/debug-inlined-scripts.html
    33247 
    33248         * inspector/front-end/DebuggerModel.js:
    33249         (WebInspector.DebuggerModel.prototype.setBreakpoint.didSetBreakpoint):
    33250         (WebInspector.DebuggerModel.prototype.setBreakpoint):
    33251         * inspector/front-end/SourceFrameContent.js:
    33252         (WebInspector.SourceFrameContent.prototype.sourceFrameLineNumberToActualLocation):
    33253 
    33254 2011-01-21  John Knottenbelt  <jknotten@chromium.org>
    33255 
    33256         Reviewed by Dmitry Titov.
    33257 
    33258         Detach Geolocation from Frame when Page destroyed.
    33259         https://bugs.webkit.org/show_bug.cgi?id=52877
    33260 
    33261         On Page destruction, any outstanding Geolocation permission
    33262         requests should be cancelled, because the Geolocation can only
    33263         access the client indirectly via m_frame->page().
    33264 
    33265         Page destruction is signalled by a call to the
    33266         Frame::pageDestroyed() method. This explictly calls
    33267         DOMWindow::resetGeolocation which ultimately calls Geolocation::reset.
    33268 
    33269         Geolocation::reset() detaches from the GeolocationController,
    33270         cancels requests, watches and single shots, and sets the
    33271         permission state back to Unknown.
    33272 
    33273         Frame::pageDestroyed() is also called by FrameLoader even though
    33274         the page is not destroyed. We should still cancel permission
    33275         requests, because the GeolocationClient will become inaccessible
    33276         to the Geolocation object after this call.
    33277 
    33278         Frame::transferChildFrameToNewDocument also indirectly calls
    33279         Geolocation::reset when the frame is reparented between
    33280         pages. Ideally we would like the Geolocation's activities to
    33281         continue after reparenting, see bug
    33282         https://bugs.webkit.org/show_bug.cgi?id=55577
    33283 
    33284         Since GeolocationController is owned by Page, and all Geolocation
    33285         objects will now unsubscribe from the GeolocationController on
    33286         pageDetached(), we no longer need to call stopUpdating() from the
    33287         GeolocationController's destructor. Instead we can simply assert
    33288         that there should be no no observers. See related bug
    33289         https://bugs.webkit.org/show_bug.cgi?id=52216 .
    33290 
    33291         Introduced new method 'numberOfPendingPermissionRequests' on
    33292         GeolocationClientMock to count the number of outstanding pending
    33293         permission requests. This provides a reusable implementation for
    33294         client-based implementations of the LayoutTestController's
    33295         numberOfPendingGeolocationPermissionRequests method.
    33296 
    33297         Test: fast/dom/Geolocation/page-reload-cancel-permission-requests.html
    33298 
    33299         * page/DOMWindow.cpp:
    33300         (WebCore::DOMWindow::resetGeolocation):
    33301         * page/DOMWindow.h:
    33302         * page/Frame.cpp:
    33303         (WebCore::Frame::pageDestroyed):
    33304         (WebCore::Frame::transferChildFrameToNewDocument):
    33305         * page/Geolocation.cpp:
    33306         (WebCore::Geolocation::~Geolocation):
    33307         (WebCore::Geolocation::page):
    33308         (WebCore::Geolocation::reset):
    33309         (WebCore::Geolocation::disconnectFrame):
    33310         (WebCore::Geolocation::lastPosition):
    33311         (WebCore::Geolocation::requestPermission):
    33312         (WebCore::Geolocation::startUpdating):
    33313         (WebCore::Geolocation::stopUpdating):
    33314         * page/Geolocation.h:
    33315         * page/GeolocationController.cpp:
    33316         (WebCore::GeolocationController::~GeolocationController):
    33317         * page/Navigator.cpp:
    33318         (WebCore::Navigator::resetGeolocation):
    33319         * page/Navigator.h:
    33320         * platform/mock/GeolocationClientMock.cpp:
    33321         (WebCore::GeolocationClientMock::numberOfPendingPermissionRequests):
    33322         * platform/mock/GeolocationClientMock.h:
    33323 
    33324 2011-03-10  Ojan Vafai  <ojan@chromium.org>
    33325 
    33326         Reviewed by Darin Adler.
    33327 
    33328         Able to move nodes across documents
    33329         https://bugs.webkit.org/show_bug.cgi?id=19524
    33330 
    33331         Makes cross-document appendChild, insertBefore, Range.insertNode and Range.surroundContents work.
    33332         This matches Gecko and the new Dom Core spec. There are a number of Range methods where we don't
    33333         match Gecko or the spec that will need to be updated in a following patch.
    33334 
    33335         Test: fast/dom/move-nodes-across-documents.html
    33336 
    33337         * dom/Element.cpp:
    33338         (WebCore::Element::removeAttributeNode):
    33339         * dom/NamedNodeMap.cpp:
    33340         (WebCore::NamedNodeMap::setNamedItem):
    33341         * dom/Node.cpp:
    33342         (WebCore::Node::setDocumentRecursively):
    33343         (WebCore::checkAcceptChild):
    33344         (WebCore::Node::checkReplaceChild):
    33345         * dom/Range.cpp:
    33346         (WebCore::Range::insertNode):
    33347         (WebCore::Range::surroundContents):
    33348 
    33349 2011-03-09  Antti Koivisto  <antti@apple.com>
    33350 
    33351         Not reviewed.
    33352 
    33353         Reverting crash catching code, the bug being hunted was fixed by
    33354         http://trac.webkit.org/changeset/80686
    33355 
    33356         * loader/cache/CachedResourceLoader.cpp:
    33357         (WebCore::CachedResourceLoader::CachedResourceLoader):
    33358         (WebCore::CachedResourceLoader::~CachedResourceLoader):
    33359         (WebCore::CachedResourceLoader::requestImage):
    33360         (WebCore::CachedResourceLoader::requestUserCSSStyleSheet):
    33361         (WebCore::CachedResourceLoader::requestResource):
    33362         (WebCore::CachedResourceLoader::setAutoLoadImages):
    33363         (WebCore::CachedResourceLoader::load):
    33364         (WebCore::CachedResourceLoader::loadDone):
    33365         (WebCore::CachedResourceLoader::preload):
    33366         (WebCore::CachedResourceLoader::requestPreload):
    33367         * loader/cache/CachedResourceLoader.h:
    33368 
    33369 2011-03-09  Peter Kasting  <pkasting@google.com>
    33370 
    33371         Unreviewed, build fix.
    33372 
    33373         * StringsNotToBeLocalized.txt: Add function names I forgot.
    33374         * platform/win/SystemInfo.cpp: #if out some uncalled functions on WinCE,
    33375           since they don't compile anyway.  Use ZeroMemory() instead of "= {0}"
    33376           since Qt is stupid and (sometimes?!) warns about it.
    33377         (WebCore::windowsVersion):
    33378         (WebCore::processorArchitecture):
    33379 
    33380 2011-03-09  Peter Kasting  <pkasting@google.com>
    33381 
    33382         Reviewed by Ryosuke Niwa.
    33383 
    33384         Add UA string tags for Windows 64.
    33385         https://bugs.webkit.org/show_bug.cgi?id=55226
    33386 
    33387         * StringsNotToBeLocalized.txt:
    33388         * platform/win/SystemInfo.cpp:
    33389         (WebCore::osVersionForUAString):
    33390         (WebCore::isWOW64):
    33391         (WebCore::processorArchitecture):
    33392         (WebCore::architectureTokenForUAString):
    33393         (WebCore::windowsVersionForUAString):
    33394 
    33395 2011-03-09  Peter Kasting  <pkasting@google.com>
    33396 
    33397         Unreviewed, attempted build fix.
    33398 
    33399         * WebCore.pri: Try to update include path for Qt Windows build.
    33400 
    33401 2011-03-09  Peter Kasting  <pkasting@google.com>
    33402 
    33403         Unreviewed, build fix.
    33404 
    33405         * platform/win/SystemInfo.cpp:
    33406         (WebCore::windowsVersionForUAString): Fix const conversion warning on Qt.
    33407 
    33408 2011-03-09  Peter Kasting  <pkasting@google.com>
    33409 
    33410         Reviewed by Mihai Parparita.
    33411 
    33412         Unify Windows version checks.
    33413         https://bugs.webkit.org/show_bug.cgi?id=55979
    33414 
    33415         * GNUmakefile.am: Fix spaces -> tabs.
    33416         * StringsNotToBeLocalized.txt:
    33417         * WebCore.pro: Add SystemInfo.* to Qt build.
    33418         * platform/chromium/ScrollbarThemeChromiumWin.cpp:
    33419         (WebCore::ScrollbarThemeChromiumWin::invalidateOnMouseEnterExit):
    33420         (WebCore::ScrollbarThemeChromiumWin::getThemeState):
    33421         (WebCore::ScrollbarThemeChromiumWin::getThemeArrowState):
    33422         * platform/graphics/chromium/GlyphPageTreeNodeChromiumWin.cpp:
    33423         (WebCore::fillBMPGlyphs):
    33424         * platform/win/CursorWin.cpp:
    33425         (WebCore::createSharedCursor):
    33426         * platform/win/ScrollbarThemeWin.cpp:
    33427         (WebCore::ScrollbarThemeWin::ScrollbarThemeWin):
    33428         * platform/win/SystemInfo.cpp: Add full-fledged version check and UA string helper function.
    33429         (WebCore::windowsVersion):
    33430         (WebCore::windowsVersionForUAString):
    33431         * platform/win/SystemInfo.h: Add full-fledged version check and UA string helper function.
    33432         * rendering/RenderThemeChromiumWin.cpp:
    33433         (WebCore::getNonClientMetrics):
    33434         * rendering/RenderThemeWin.cpp:
    33435         (WebCore::RenderThemeWin::getThemeData):
    33436         (WebCore::RenderThemeWin::paintMenuList):
    33437         (WebCore::RenderThemeWin::paintMenuListButton):
    33438 
    33439 2011-03-09  Mihai Parparita  <mihaip@chromium.org>
    33440 
    33441         Reviewed by Tony Gentilcore.
    33442 
    33443         REGRESSION (r74807): memory corruption after CachedResourceLoader refactoring
    33444         https://bugs.webkit.org/show_bug.cgi?id=53045
    33445        
    33446         Copy the URL out of the CachedResource that is being revalidated, so
    33447         that we can still use it (in m_validatedURLs) after removing the
    33448         resource from the memory cache, which may delete it.
    33449 
    33450         No new tests, since I was not able to trigger this locally (in a layout
    33451         test or otherwise).
    33452 
    33453         * loader/cache/CachedResourceLoader.cpp:
    33454         (WebCore::CachedResourceLoader::revalidateResource):
    33455 
    33456 2011-03-09  Chris Fleizach  <cfleizach@apple.com>
    33457 
    33458         Reviewed by Beth Dakin.
    33459 
    33460         VO reporting incorrect list count for http://www.macworld.com/news.html
    33461         https://bugs.webkit.org/show_bug.cgi?id=56064
    33462 
    33463         <li> tags should not be ignored, because they provide valuable information
    33464         to screen readers.
    33465 
    33466         Test: platform/mac/accessibility/list-items-ignored.html
    33467 
    33468         * accessibility/AccessibilityRenderObject.cpp:
    33469         (WebCore::AccessibilityRenderObject::accessibilityIsIgnored):
    33470 
    33471 2011-03-09  Dan Bernstein  <mitz@apple.com>
    33472 
    33473         Reviewed by Dave Hyatt.
    33474 
    33475         <rdar://problem/8733254> Float disappears after incremental layout
    33476         Fixed the original bug and a copule more issues noticed while doing so.
    33477 
    33478         Tests: fast/dynamic/dirty-float-in-clean-line.html
    33479                fast/dynamic/float-at-line-break.html
    33480                fast/dynamic/float-from-empty-line.html
    33481 
    33482         * rendering/RenderBlock.h:
    33483         * rendering/RenderBlockLineLayout.cpp:
    33484         (WebCore::RenderBlock::layoutInlineChildren): If findNextLineBreak() returned an empty line,
    33485         update the line break info of the last line with the new line break position. This is tested
    33486         by float-from-empty-line.html.
    33487         (WebCore::RenderBlock::checkFloatsInCleanLine): Factored out code from determineStartPosition()
    33488         into this new function.
    33489         (WebCore::RenderBlock::determineStartPosition): Call checkFloatsInCleanLine().
    33490         (WebCore::RenderBlock::determineEndPosition): When iterating over lines, check clean lines with
    33491         floats, as they may yet become dirty because of the floats. This is tested by
    33492         dirty-float-in-clean-line.html.
    33493         (WebCore::RenderBlock::findNextLineBreak): If a float fits on the line, and the current line
    33494         break is at the float, advance it to after the float. Otherwise, if the line gets dirty and the
    33495         next one does not, the float will not make it into any line. This is tested by
    33496         float-at-line-break.html.
    33497 
    33498 2011-03-09  Ryosuke Niwa  <rniwa@webkit.org>
    33499 
    33500         Reviewed by Kent Tamura.
    33501 
    33502         selectionStart reports wrong caret position when the last characters are newlines
    33503         https://bugs.webkit.org/show_bug.cgi?id=56061
    33504 
    33505         The bug was caused by SelectionController::setSelection's not calling
    33506         notifyRendererOfSelectionChange when old selection was equal to new selection.
    33507 
    33508         Because InsertLineBreakCommand inserts a text node with a single LF before the caret,
    33509         this condition holds after the command is executed. However, the values of
    33510         selectionStart and selectionEnd still need to be updated in this case because
    33511         the offsets counted from the beginning of textarea have been increased by 1.
    33512 
    33513         * editing/SelectionController.cpp:
    33514         (WebCore::SelectionController::setSelection): Call notifyRendererOfSelectionChange
    33515         when m_selection = s.
    33516         * manual-tests/selection-start-after-inserting-line-break-in-textarea.html: Added.
    33517 
    33518 2011-03-09  Andy Estes  <aestes@apple.com>
    33519 
    33520         Reviewed by Adam Barth.
    33521 
    33522         Bad cast in HTMLTreeBuilder::processStartTag
    33523         https://bugs.webkit.org/show_bug.cgi?id=55955
    33524 
    33525         Test: fast/parser/self-closing-foreign-content.html
    33526 
    33527         When the parser encounters an svg or mathml root element, it places the
    33528         insertion mode into InForeignContentMode. However, if the root element
    33529         is self-closing (e.g. <svg />) then the element is never placed on the
    33530         open elements stack. This leaves the parser in an inconsistent state
    33531         where it is in InForeignContentMode but no foreign content is in the
    33532         open element stack.
    33533 
    33534         * html/parser/HTMLTreeBuilder.cpp:
    33535         (WebCore::HTMLTreeBuilder::processStartTagForInBody): If a self-closing
    33536         foreign element is inserted into the tree, do not set the insertion
    33537         mode to InForeignContentMode.
    33538 
    33539 2011-03-09  Gavin Barraclough  <barraclough@apple.com>
    33540 
    33541         Qt build fix.
    33542 
    33543         * bridge/qt/qt_runtime.cpp:
    33544         (JSC::Bindings::convertQVariantToValue):
    33545 
    33546 2011-03-09  Andy Estes  <aestes@apple.com>
    33547 
    33548         Reviewed by Adam Barth.
    33549 
    33550         REGRESSION (r80320): Assertion failure when processing mis-nested foreign content.
    33551         https://bugs.webkit.org/show_bug.cgi?id=55982
    33552 
    33553         Test: fast/parser/fragment-foreign-content-misnested.html
    33554        
    33555         It is a parse error to encounter certain start tags while the parser's
    33556         insertion mode is InForeignContentMode (e.g. <br>). In these cases, we
    33557         are to pop open elements off the HTMLElementStack until a foreign
    33558         content scope marker is encountered. Before the change in r80320 to not
    33559         insert a fake HTML element during fragment parsing, said fake HTML
    33560         element counted as a foreign content scope marker.
    33561        
    33562         With r80320, no fake HTML element is inserted and the stack is popped
    33563         until empty in cases where no other element claims to be a foreign
    33564         content scope marker. Fix this by treating the DocumentFragment as a
    33565         foreign content scope marker.
    33566 
    33567         * html/parser/HTMLElementStack.cpp:
    33568         (WebCore::HTMLNames::isForeignContentScopeMarker): Take a
    33569         ContainerNode* instead of a Element*.
    33570         (WebCore::HTMLElementStack::popUntilForeignContentScopeMarker): Pass
    33571         topNode() to isForeignContentScopeMarker() instead of top().
    33572 
    33573 2011-03-09  Gavin Barraclough  <barraclough@apple.com>
    33574 
    33575         Reviewed by Darin Adler.
    33576 
    33577         Bug 56041 - RexExp constructor should only accept flags "gim"
    33578         We also should be passing the flags around as a bitfield rather than a string,
    33579         and should not have redundant, incompatible code for converting the string to a bitfield!
    33580 
    33581         * bindings/js/SerializedScriptValue.cpp:
    33582         (WebCore::CloneDeserializer::readTerminal):
    33583             - Need to parse flags string back to enum.
    33584 
    33585 2011-03-09  James Robinson  <jamesr@chromium.org>
    33586 
    33587         Reviewed by Kenneth Russell.
    33588 
    33589         [chromium]: Regression - Explicitly copy compositing properties from LayerChromium to CCLayerImpl
    33590         https://bugs.webkit.org/show_bug.cgi?id=56021
    33591 
    33592         Initializes the m_doubleSided flag of LayerChromiums to the default
    33593         value of true so the back sides of layers without
    33594         backface-visibility:hidden are rendered.
    33595 
    33596         Test: compositing/backface-visibility.html
    33597 
    33598         * platform/graphics/chromium/LayerChromium.cpp:
    33599         (WebCore::LayerChromium::LayerChromium):
    33600 
    33601 2011-03-09  David Hyatt  <hyatt@apple.com>
    33602 
    33603         Reviewed by Dan Bernstein.
    33604 
    33605         <rdar://problem/9110316> REGRESSION: 'ex' unit broken for vertical text
    33606 
    33607         Fall back to the verticalRightOrientation data when obtaining the x-height for vertically oriented
    33608         text. That way we use the same metrics as for horizontal.
    33609 
    33610         This fixes regressions in fast/lists and fast/overflow vertical text tests.
    33611 
    33612         * platform/graphics/mac/SimpleFontDataMac.mm:
    33613         (WebCore::SimpleFontData::platformInit):
    33614         (WebCore::SimpleFontData::platformBoundsForGlyph):
    33615 
    33616 2011-03-09  Ryosuke Niwa  <rniwa@webkit.org>
    33617 
    33618         Reviewed by Tony Chang.
    33619 
    33620         REGRESSION: crash in nextLinePosition when extending selection forward by line in an empty document
    33621         https://bugs.webkit.org/show_bug.cgi?id=56004
    33622 
    33623         The crash was caused by the false assumption that rootEditableElement() or documentElement()
    33624         always return non-null pointer. Fixed the bug by adding an early exit.
    33625 
    33626         Test: editing/selection/extend-by-line-in-empty-document.html
    33627 
    33628         * editing/visible_units.cpp:
    33629         (WebCore::previousLinePosition):
    33630         (WebCore::nextLinePosition):
    33631 
    33632 2011-03-09  Pavel Podivilov  <podivilov@chromium.org>
    33633 
    33634         Reviewed by Pavel Feldman.
    33635 
    33636         Web Inspector: it should be possible to copy stack trace from call stack sidebar pane.
    33637         https://bugs.webkit.org/show_bug.cgi?id=56024
    33638 
    33639         * English.lproj/localizedStrings.js:
    33640         * inspector/front-end/CallStackSidebarPane.js:
    33641         (WebInspector.CallStackSidebarPane):
    33642         (WebInspector.CallStackSidebarPane.prototype.update):
    33643         (WebInspector.CallStackSidebarPane.prototype._contextMenu):
    33644 
    33645 2011-03-09  David Hyatt  <hyatt@apple.com>
    33646 
    33647         Reviewed by Darin Adler.
    33648 
    33649         Patch FontPlatformDataLinux to properly initialize and copy orientation/text-orientation in all
    33650         places.  Make sure text-orientation is specified in the lookups/creation in FontCustomPlatformData
    33651         and FontCache.
    33652 
    33653         * platform/graphics/chromium/FontPlatformDataLinux.cpp:
    33654         (WebCore::FontPlatformData::FontPlatformData):
    33655         * platform/graphics/chromium/FontPlatformDataLinux.h:
    33656         (WebCore::FontPlatformData::FontPlatformData):
    33657 
    33658 2011-03-09  Steve Block  <steveblock@google.com>
    33659 
    33660         Reviewed by Jeremy Orlow.
    33661 
    33662         JavaNPObject should not use JNI directly
    33663         https://bugs.webkit.org/show_bug.cgi?id=56009
    33664 
    33665         We move the JNI code to access a Java object's fields into
    33666         a new JavaInstance::getField() method.
    33667 
    33668         No new tests, refactoring only.
    33669 
    33670         * bridge/jni/v8/JavaInstanceV8.cpp:
    33671         (JavaInstance::getField):
    33672         * bridge/jni/v8/JavaInstanceV8.h:
    33673         * bridge/jni/v8/JavaNPObjectV8.cpp:
    33674         (JSC::Bindings::JavaNPObjectGetProperty):
    33675 
    33676 2011-03-09  Steve Block  <steveblock@google.com>
    33677 
    33678         Reviewed by Jeremy Orlow.
    33679 
    33680         NPAPI - jvalue conversion should not be in JavaInstance
    33681         https://bugs.webkit.org/show_bug.cgi?id=55967
    33682 
    33683         No new tests, refactoring only.
    33684 
    33685         * bridge/jni/v8/JavaInstanceV8.cpp:
    33686         (JavaInstance::invokeMethod):
    33687         * bridge/jni/v8/JavaInstanceV8.h:
    33688         * bridge/jni/v8/JavaNPObjectV8.cpp:
    33689         (JSC::Bindings::JavaNPObjectInvoke):
    33690 
    33691 2011-03-09  Jessie Berlin  <jberlin@apple.com>
    33692 
    33693         Reviewed by Adam Roben.
    33694 
    33695         Use the Cookie Storage from the Private Browsing Storage Session directly
    33696         https://bugs.webkit.org/show_bug.cgi?id=55986
    33697 
    33698         * WebCore.exp.in:
    33699         * platform/mac/WebCoreSystemInterface.h:
    33700         * platform/mac/WebCoreSystemInterface.mm:
    33701 
    33702         * platform/network/mac/CookieStorageMac.mm:
    33703         (WebCore::setCookieStoragePrivateBrowsingEnabled):
    33704         Just copy the cookie storage from the private browsing storage session.
    33705         * platform/network/cf/CookieStorageCFNet.cpp:
    33706         (WebCore::setCookieStoragePrivateBrowsingEnabled):
    33707         Ditto.
    33708 
    33709 2011-03-09  Andrey Kosyakov  <caseq@chromium.org>
    33710 
    33711         Unreviewed. Fixed a crash in InspectorInstrumentation::didReceiveResponse() when loader is null (broken in r80639)
    33712 
    33713         * inspector/InspectorInstrumentation.cpp:
    33714         (WebCore::InspectorInstrumentation::didReceiveResourceResponseImpl):
    33715 
    33716 2011-03-09  Yury Semikhatsky  <yurys@chromium.org>
    33717 
    33718         Reviewed by Pavel Feldman.
    33719 
    33720         Web Inspector: pass explicit agent references to InspectorBackendDispatcher
    33721         https://bugs.webkit.org/show_bug.cgi?id=55820
    33722 
    33723         * inspector/CodeGeneratorInspector.pm:
    33724         * inspector/InspectorController.cpp:
    33725         (WebCore::InspectorController::InspectorController):
    33726         (WebCore::InspectorController::connectFrontend):
    33727         (WebCore::InspectorController::disconnectFrontend):
    33728         (WebCore::InspectorController::dispatchMessageFromFrontend):
    33729 
    33730 2011-03-09  Andrey Kosyakov  <caseq@chromium.org>
    33731 
    33732         Reviewed by Pavel Feldman.
    33733 
    33734         Web Inspector: resource errors are not reported before front-end is opened
    33735         https://bugs.webkit.org/show_bug.cgi?id=55939
    33736 
    33737         * inspector/InspectorInstrumentation.cpp:
    33738         (WebCore::InspectorInstrumentation::didReceiveResourceResponseImpl):
    33739         * inspector/InspectorInstrumentation.h:
    33740         (WebCore::InspectorInstrumentation::didReceiveResourceResponse):
    33741         (WebCore::InspectorInstrumentation::didFailLoading):
    33742 
    33743 2011-03-08  Hans Wennborg  <hans@chromium.org>
    33744 
    33745         Reviewed by Jeremy Orlow.
    33746 
    33747         IndexedDB: Add BackingStoreType parameter to IDBFactoryBackendInterface::open
    33748         https://bugs.webkit.org/show_bug.cgi?id=55948
    33749 
    33750         Add a parameter that allows for selection of alternative backing store
    33751         implementations.
    33752 
    33753         No new tests: no new functionality.
    33754 
    33755         * storage/IDBFactory.cpp:
    33756         (WebCore::IDBFactory::open):
    33757         * storage/IDBFactoryBackendImpl.cpp:
    33758         (WebCore::IDBFactoryBackendImpl::open):
    33759         * storage/IDBFactoryBackendImpl.h:
    33760         * storage/IDBFactoryBackendInterface.h:
    33761 
    33762 2011-03-08  Steve Block  <steveblock@google.com>
    33763 
    33764         Reviewed by Jeremy Orlow.
    33765 
    33766         Factor out JNI method call to be used by both JSC and V8
    33767         https://bugs.webkit.org/show_bug.cgi?id=55966
    33768 
    33769         No new tests, refactoring only.
    33770 
    33771         * bridge/jni/JNIUtility.cpp:
    33772         (JSC::Bindings::callJNIMethod):
    33773         * bridge/jni/JNIUtility.h:
    33774         * bridge/jni/jsc/JavaInstanceJSC.cpp:
    33775         (JavaInstance::invokeMethod):
    33776         * bridge/jni/v8/JavaInstanceV8.cpp:
    33777         (JavaInstance::invokeMethod):
    33778 
    33779 2011-03-09  Andrey Adaikin  <aandrey@google.com>
    33780 
    33781         Reviewed by Pavel Feldman.
    33782 
    33783         Web Inspector: [Text editor] Regression in handling DOMNodeInserted/DOMNodeRemoved events
    33784         https://bugs.webkit.org/show_bug.cgi?id=55818
    33785 
    33786         * inspector/front-end/TextViewer.js:
    33787         (WebInspector.TextEditorMainPanel.prototype._handleDOMUpdates):
    33788 
    33789 2011-03-09  Ilya Tikhonovsky  <loislo@chromium.org>
    33790 
    33791         Reviewed by Yury Semikhatsky.
    33792 
    33793         Web Inspector: Web Inspector: we don't need to transfer objectId and hasChildren for primitive values.
    33794         https://bugs.webkit.org/show_bug.cgi?id=55998
    33795 
    33796         * inspector/InjectedScriptSource.js:
    33797 
    33798 2011-03-09  Pavel Feldman  <pfeldman@chromium.org>
    33799 
    33800         Reviewed by Yury Semikhatsky.
    33801 
    33802         Web Inspector: watch expressions should show string values in quotes.
    33803         https://bugs.webkit.org/show_bug.cgi?id=55846
    33804 
    33805         * inspector/InjectedScriptSource.js:
    33806         * inspector/front-end/ObjectPropertiesSection.js:
    33807         (WebInspector.ObjectPropertyTreeElement.prototype.update):
    33808         * inspector/front-end/RemoteObject.js:
    33809         (WebInspector.LocalJSONObject.prototype.get description):
    33810         * inspector/front-end/WatchExpressionsSidebarPane.js:
    33811         (WebInspector.WatchExpressionsSection.prototype.update):
    33812         * inspector/front-end/inspector.css:
    33813         (.console-formatted-string, .console-formatted-regexp):
    33814 
    33815 2011-03-09  Pavel Feldman  <pfeldman@chromium.org>
    33816 
    33817         Reviewed by Yury Semikhatsky.
    33818 
    33819         Web Inspector: "length" getter is invoked upon console object formatting.
    33820         https://bugs.webkit.org/show_bug.cgi?id=55220
    33821 
    33822         * inspector/InjectedScriptSource.js:
    33823 
    33824 2011-03-08  Ilya Tikhonovsky  <loislo@chromium.org>
    33825 
    33826         Reviewed by Pavel Feldman.
    33827 
    33828         Web Inspector: remove groupName from objectId.
    33829         https://bugs.webkit.org/show_bug.cgi?id=55825
    33830 
    33831         * inspector/InjectedScriptSource.js:
    33832 
    33833 2011-03-08  Xiaomei Ji  <xji@chromium.org>
    33834 
    33835         Reviewed by David Hyatt.
    33836 
    33837         Fix Regression: Content not drawn when scrolling horizontally in an RTL page.
    33838         https://bugs.webkit.org/show_bug.cgi?id=55077.
    33839 
    33840         Inside ScrollView::calculateOverhangAreasForPainting(), when scroll position
    33841         is negative, should include the position value into overhang rectangle's
    33842         starting position.
    33843 
    33844         Tests: fast/dom/scroll-reveal-left-overflow.html
    33845                fast/dom/scroll-reveal-top-overflow.html
    33846 
    33847         * platform/ScrollView.cpp:
    33848         (WebCore::ScrollView::calculateOverhangAreasForPainting):
    33849 
    33850 2011-03-08  Daniel Bates  <dbates@rim.com>
    33851 
    33852         Reviewed by Darin Adler.
    33853 
    33854         Add templatized CSSMutableStyleDeclaration::get{ShorthandValue, CommonValue, LayeredShorthandValue}()
    33855         https://bugs.webkit.org/show_bug.cgi?id=55351
    33856 
    33857         By using some template magic CSSMutableStyleDeclaration::get{ShorthandValue, CommonValue, LayeredShorthandValue}()
    33858         can be called on an array A without the caller explicitly specifying the size of A.
    33859 
    33860         No functionality was changed. So no new tests.
    33861 
    33862         * css/CSSMutableStyleDeclaration.cpp:
    33863         (WebCore::CSSMutableStyleDeclaration::getPropertyValue): Modified to call templatized variants of
    33864         CSSMutableStyleDeclaration::get{ShorthandValue, CommonValue, LayeredShorthandValue}().
    33865         (WebCore::CSSMutableStyleDeclaration::getLayeredShorthandValue): Renamed second argument from "number" to "size"
    33866         to better reflect its purpose - to be the size of the passed array.
    33867         (WebCore::CSSMutableStyleDeclaration::getShorthandValue): Ditto.
    33868         (WebCore::CSSMutableStyleDeclaration::getCommonValue): Ditto.
    33869         (WebCore::CSSMutableStyleDeclaration::cssText): Modified to call templatized variant of CSSMutableStyleDeclaration::getShorthandValue().
    33870         * css/CSSMutableStyleDeclaration.h:
    33871         (WebCore::CSSMutableStyleDeclaration::getShorthandValue): Added templatized function that can determine
    33872         the size of a passed array. Changed type of second argument to size_t since it represents the size of
    33873         an array.
    33874         (WebCore::CSSMutableStyleDeclaration::getCommonValue): Ditto.
    33875         (WebCore::CSSMutableStyleDeclaration::getLayeredShorthandValue): Ditto.
    33876 
    33877 2011-03-08  Enrica Casucci  <enrica@apple.com>
    33878 
    33879         Reviewed by Darin Adler.
    33880        
    33881         REGRESSION: Copied content loses formatting on paste to external apps.
    33882         https://bugs.webkit.org/show_bug.cgi?id=47615
    33883         <rdar://problem/9001214>
    33884        
    33885         This is a resubmission of a patch that was landed a while ago then rolled
    33886         back because of a build failure on SnowLeopard and Leopard on the 32-bit builds.
    33887 
    33888         This patch adds a way for WebKit2 to create NSAttributedStrings from
    33889         a DOM range without using the AppKit api initWithDOMRange that internally
    33890         needs to access the WebView. The NSAttributedString is needed to create
    33891         RTF formats in the pasteboard.
    33892         This is to be considered a first step, since in the future we want to have
    33893         an implementation based on the TextIterator.
    33894         * WebCore.xcodeproj/project.pbxproj:
    33895         * platform/mac/HTMLConverter.h: Added.
    33896         * platform/mac/HTMLConverter.mm: Added.
    33897         * platform/mac/PasteboardMac.mm:
    33898         (WebCore::Pasteboard::writeSelection):
    33899 
    33900 2011-03-08  James Robinson  <jamesr@chromium.org>
    33901 
    33902         Reviewed by Kenneth Russell.
    33903 
    33904         [chromium] Explicitly copy compositing properties from LayerChromium to CCLayerImpl
    33905         https://bugs.webkit.org/show_bug.cgi?id=55900
    33906 
    33907         This adds an explicit step to synchronize properties from
    33908         LayerChromiums to their corresponding CCLayerImpls.
    33909 
    33910         * platform/graphics/chromium/LayerChromium.cpp:
    33911         (WebCore::LayerChromium::setBounds):
    33912         * platform/graphics/chromium/LayerChromium.h:
    33913         (WebCore::LayerChromium::bounds):
    33914         (WebCore::LayerChromium::doubleSided):
    33915         (WebCore::LayerChromium::setDoubleSided):
    33916         * platform/graphics/chromium/LayerRendererChromium.cpp:
    33917         (WebCore::LayerRendererChromium::updatePropertiesAndRenderSurfaces):
    33918         * platform/graphics/chromium/cc/CCLayerImpl.cpp:
    33919         (WebCore::CCLayerImpl::CCLayerImpl):
    33920         (WebCore::CCLayerImpl::updateFromLayer):
    33921         (WebCore::CCLayerImpl::descendantsDrawsContent):
    33922         * platform/graphics/chromium/cc/CCLayerImpl.h:
    33923         (WebCore::CCLayerImpl::anchorPoint):
    33924         (WebCore::CCLayerImpl::anchorPointZ):
    33925         (WebCore::CCLayerImpl::masksToBounds):
    33926         (WebCore::CCLayerImpl::opacity):
    33927         (WebCore::CCLayerImpl::position):
    33928         (WebCore::CCLayerImpl::preserves3D):
    33929         (WebCore::CCLayerImpl::sublayerTransform):
    33930         (WebCore::CCLayerImpl::transform):
    33931 
    33932 2011-03-08  James Robinson  <jamesr@chromium.org>
    33933 
    33934         Chromium compile fix.
    33935 
    33936         * platform/graphics/chromium/SimpleFontDataLinux.cpp:
    33937         (WebCore::SimpleFontData::platformInit):
    33938 
    33939 2011-03-08  Peter Kasting  <pkasting@google.com>
    33940 
    33941         Reviewed by James Robinson.
    33942 
    33943         Unify Windows version checks, part 1.
    33944         https://bugs.webkit.org/show_bug.cgi?id=55979
    33945 
    33946         Make everyone (I hope) pull in SystemInfo.cpp.  Eliminate the
    33947         now-unnecessary WindowsVersion.cpp from Chromium.
    33948 
    33949         * GNUmakefile.am:
    33950         * WebCore.gyp/WebCore.gyp:
    33951         * WebCore.gypi:
    33952         * platform/chromium/ScrollbarThemeChromiumWin.cpp:
    33953         (WebCore::ScrollbarThemeChromiumWin::invalidateOnMouseEnterExit):
    33954         (WebCore::ScrollbarThemeChromiumWin::getThemeState):
    33955         (WebCore::ScrollbarThemeChromiumWin::getThemeArrowState):
    33956         * platform/chromium/WindowsVersion.cpp: Removed.
    33957         * platform/chromium/WindowsVersion.h: Removed.
    33958         * platform/graphics/chromium/GlyphPageTreeNodeChromiumWin.cpp:
    33959         (WebCore::fillBMPGlyphs):
    33960         * rendering/RenderThemeChromiumWin.cpp:
    33961         (WebCore::getNonClientMetrics):
    33962 
    33963 2011-03-08  Ryosuke Niwa  <rniwa@webkit.org>
    33964 
    33965         Chromium Linux build fix attempt after r80582.
    33966 
    33967         * platform/graphics/chromium/FontLinux.cpp:
    33968         (WebCore::Font::drawGlyphs):
    33969         * platform/graphics/chromium/SimpleFontDataLinux.cpp:
    33970         (WebCore::SimpleFontData::platformInit):
    33971         * platform/graphics/skia/GlyphPageTreeNodeSkia.cpp:
    33972         (WebCore::GlyphPage::fill):
    33973 
    33974 2011-03-08  Ryosuke Niwa  <rniwa@webkit.org>
    33975 
    33976         Mac build fix attempt for r80582.
    33977 
    33978         * platform/graphics/mac/ComplexTextControllerATSUI.cpp:
    33979         (WebCore::disableLigatures):
    33980 
    33981 2011-03-08  Ryosuke Niwa  <rniwa@webkit.org>
    33982 
    33983         Reviewed by Kent Tamura.
    33984 
    33985         Remove calls to deprecatedEditingOffset in SelectionController and VisibleSelection
    33986         https://bugs.webkit.org/show_bug.cgi?id=54937
    33987 
    33988         * editing/SelectionController.cpp:
    33989         (WebCore::SelectionController::setSelection): Calls anchorNode() instead of deprecatedNode() to obtain
    33990         the document. Also restrained the lifetime of document variable.
    33991         (WebCore::removingNodeRemovesPosition): Compare the node with anchorNode() instead of deprecatedNode()
    33992         to determine whether or not position becomes null after removing a node.
    33993         (WebCore::SelectionController::directionOfEnclosingBlock): The enclosing block is always a container
    33994         so call containerNode() instead of deprecatedNode().
    33995         (WebCore::SelectionController::debugRenderer): Call containerNode() and computeOffsetInContainer()
    33996         instead of deprecatedNode() and deprecatedEditingOffset() respectively.
    33997         (WebCore::SelectionController::isInPasswordField): Look for the shadow root from containerNode()
    33998         instead of deprecatedNode to determine whether or not selection inside a password field. Also assert
    33999         that the specified position is not before or after the shadow root as it violates our assumption.
    34000         * editing/VisibleSelection.cpp:
    34001         (WebCore::makeSearchRange): Call containerNode() and offsetInContainerNode() instead of deprecatedNode()
    34002         and deprecatedEditingOffset() respectively because start is always parent anchored and therefore
    34003         guaranteed to be an offset inside an anchor node.
    34004         (WebCore::VisibleSelection::adjustSelectionToAvoidCrossingEditingBoundaries): Call containerNode()
    34005         instead of deprecatedNode() to look for the lowest editable ancestor because position before or after
    34006         an editable element isn't editable.
    34007         * page/DOMSelection.cpp: Call containerNode() and offsetInContainerNode() instead of deprecatedNode()
    34008         and deprecatedEditingOffset() respectively in the following functions because they are exposed to
    34009         DOM, which doesn't have before/after concept.
    34010         (WebCore::DOMSelection::anchorNode):
    34011         (WebCore::DOMSelection::anchorOffset):
    34012         (WebCore::DOMSelection::focusNode):
    34013         (WebCore::DOMSelection::focusOffset):
    34014         (WebCore::DOMSelection::baseNode):
    34015         (WebCore::DOMSelection::baseOffset):
    34016         (WebCore::DOMSelection::extentNode):
    34017         (WebCore::DOMSelection::extentOffset):
    34018 
    34019 2011-03-08  Brent Fulgham  <bfulgham@webkit.org>
    34020 
    34021         Reviewed by Adam Roben.
    34022 
    34023         Correct uninitialized variable in PolicyCallback found while
    34024         running WebKit in BoundsChecker.
    34025         https://bugs.webkit.org/show_bug.cgi?id=45199.
    34026 
    34027         * loader/PolicyCallback.cpp:
    34028         (WebCore::PolicyCallback::PolicyCallback): Initialize
    34029         m_argument.
    34030 
    34031 2011-03-08  Brent Fulgham  <bfulgham@webkit.org>
    34032 
    34033         More build bustage fix.
    34034 
    34035         * platform/graphics/win/cairo/FontPlatformData.h:
    34036         (WebCore::FontPlatformData::setOrientation): Duplicate accessor
    34037         in WinCairo-local header.  This is such a mess!
    34038 
    34039 2011-03-08  David Hyatt  <hyatt@apple.com>
    34040 
    34041         Fix build bustage.  Hide orientation setting behind a setter and stub it out in all
    34042         FontPlatformData classes.  (This class really needs to move to a common header with ifdefs.)
    34043 
    34044         * platform/graphics/SimpleFontData.cpp:
    34045         (WebCore::SimpleFontData::verticalRightOrientationFontData):
    34046         * platform/graphics/cg/FontPlatformData.h:
    34047         (WebCore::FontPlatformData::setOrientation):
    34048         * platform/graphics/chromium/FontPlatformDataChromiumWin.h:
    34049         (WebCore::FontPlatformData::setOrientation):
    34050         * platform/graphics/chromium/FontPlatformDataLinux.h:
    34051         (WebCore::FontPlatformData::setOrientation):
    34052         * platform/graphics/cocoa/FontPlatformData.h:
    34053         (WebCore::FontPlatformData::setOrientation):
    34054         * platform/graphics/freetype/FontPlatformData.h:
    34055         (WebCore::FontPlatformData::setOrientation):
    34056         * platform/graphics/qt/FontPlatformData.h:
    34057         (WebCore::FontPlatformData::setOrientation):
    34058         * platform/graphics/wince/FontPlatformData.h:
    34059         (WebCore::FontPlatformData::setOrientation):
    34060         * platform/graphics/wx/FontPlatformData.h:
    34061         (WebCore::FontPlatformData::setOrientation):
    34062 
    34063 2011-03-08  Joe Wild  <joseph.wild@nokia.com>
    34064 
    34065         Reviewed by Csaba Osztrogonác.
    34066 
    34067         [Qt] Missing SVG variables
    34068         https://bugs.webkit.org/show_bug.cgi?id=32941
    34069 
    34070         Basically, this patch just modifies features.pri to the Qt build to
    34071         pass on the ENABLE_SVG_* flags to the IDL binding generator.
    34072 
    34073         Also I had remove global-construtors.html from the skip list and
    34074         updated the associated expected results files.
    34075 
    34076         * features.pri:
    34077         * page/DOMWindow.idl:
    34078 
    34079 2011-03-08  Alok priyadarshi  <alokp@chromium.org>
    34080 
    34081         Reviewed by Dimitri Glazkov.
    34082 
    34083         Plugins needs a way to trigger style recalc
    34084         https://bugs.webkit.org/show_bug.cgi?id=55242
    34085 
    34086         No test needed. A simple get function is added.
    34087 
    34088         * platform/graphics/chromium/PluginLayerChromium.h:
    34089         (WebCore::PluginLayerChromium::getTextureId):
    34090 
    34091 2011-03-08  David Hyatt  <hyatt@apple.com>
    34092 
    34093         Reviewed by Dan Bernstein.
    34094 
    34095         https://bugs.webkit.org/show_bug.cgi?id=48540, support the text-orientation CSS property.
    34096        
    34097         This patch adds support for two values of the text-orientation property (the ones that actually matter): vertical-right and upright.
    34098         The TextOrientation is part of the FontDescription and used to look up fonts (similar to FontOrientation).
    34099        
    34100         Orientation of non-CJK characters is done using fallback font data of the appropriate orientation type, e.g., verticalRightOrientation and
    34101         uprightOrientation fallback font data.  Vertical right is just implemented as a normal horizontal font.  Upright is implemented as a
    34102         vertically oriented font that rotates all glyphs.
    34103        
    34104         The main complication implementing text-orientation is that fonts have "baked-in" vertical glyphs for letters that are hardcoded to
    34105         a vertical right facing.  This means that you can use those special vertical glyphs for vertical-right orientation without having to
    34106         fall back, but then for upright orientation you have to ignore them and still fall back.  As you can see from the test case, this doesn't
    34107         work very well, but hopefully it won't be all that common.  Limitations of CoreText prevent this case from rendering properly in either the
    34108         simple or complex code paths, although the simple code path at least gets close.
    34109 
    34110         Added fast/blockflow/text-orientation-basic.html
    34111 
    34112         * WebCore.exp.in:
    34113         * WebCore.xcodeproj/project.pbxproj:
    34114         * css/CSSComputedStyleDeclaration.cpp:
    34115         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
    34116         * css/CSSFontFaceSource.cpp:
    34117         (WebCore::CSSFontFaceSource::getFontData):
    34118         * css/CSSParser.cpp:
    34119         (WebCore::CSSParser::parseValue):
    34120         * css/CSSPrimitiveValueMappings.h:
    34121         (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
    34122         (WebCore::CSSPrimitiveValue::operator TextOrientation):
    34123         * css/CSSPropertyNames.in:
    34124         * css/CSSStyleSelector.cpp:
    34125         (WebCore::CSSStyleSelector::applyDeclarations):
    34126         (WebCore::CSSStyleSelector::applyProperty):
    34127         * css/CSSValueKeywords.in:
    34128         * loader/cache/CachedFont.cpp:
    34129         (WebCore::CachedFont::platformDataFromCustomData):
    34130         * loader/cache/CachedFont.h:
     1612        (WebCore::FrameView::layout):
     1613        (WebCore::FrameView::paintContents):
     1614        Wrapped code accessing fallback fonts with local
     1615        FontCachePurgePreventer in these methods.
     1616
    341311617        * platform/graphics/FontCache.cpp:
    34132         (WebCore::FontPlatformDataCacheKey::FontPlatformDataCacheKey):
    34133         (WebCore::FontPlatformDataCacheKey::operator==):
    34134         (WebCore::computeHash):
    34135         (WebCore::FontCache::getCachedFontPlatformData):
    34136         * platform/graphics/FontDescription.h:
    34137         (WebCore::FontDescription::FontDescription):
    34138         (WebCore::FontDescription::textOrientation):
    34139         (WebCore::FontDescription::setTextOrientation):
    34140         (WebCore::FontDescription::operator==):
     1618        (WebCore::FontCache::FontCache):
     1619        (WebCore::FontCache::getCachedFontData):
     1620        Moved purge check to new method since it likely can't happen here.
     1621        (WebCore::FontCache::releaseFontData):
     1622        (WebCore::FontCache::purgeInactiveFontDataIfNeeded):
     1623        (WebCore::FontCache::purgeInactiveFontData):
     1624        Made purging conditional on m_purgePreventCount.  Now some fonts
     1625        in the cache are reference counted while other can be purged
     1626        outside of code wrapped by in scope FontCachePurgePreventer objects.
     1627
     1628        * platform/graphics/FontCache.h:
     1629        (WebCore::FontCache::disablePurging):
     1630        (WebCore::FontCache::enablePurging):
     1631        (WebCore::FontCachePurgePreventer::FontCachePurgePreventer):
     1632        (WebCore::FontCachePurgePreventer::~FontCachePurgePreventer):
     1633        Added new simple purge prevention wrapper class and methods
     1634        that it calls in FontCache actually prevent purging.  The
     1635        simple methods inlined to reduce overhead.
     1636
    341411637        * platform/graphics/FontFastPath.cpp:
    34142         (WebCore::Font::glyphDataForCharacter):
    34143         (WebCore::offsetToMiddleOfGlyph):
    34144         * platform/graphics/SimpleFontData.cpp:
    34145         (WebCore::SimpleFontData::SimpleFontData):
    34146         (WebCore::SimpleFontData::verticalRightOrientationFontData):
    34147         (WebCore::SimpleFontData::uprightOrientationFontData):
    34148         (WebCore::SimpleFontData::brokenIdeographFontData):
    34149         (WebCore::SimpleFontData::DerivedFontData::~DerivedFontData):
    34150         * platform/graphics/SimpleFontData.h:
    34151         (WebCore::SimpleFontData::hasVerticalGlyphs):
    34152         (WebCore::SimpleFontData::isTextOrientationFallback):
    34153         * platform/graphics/cairo/FontCustomPlatformData.h:
    34154         * platform/graphics/cocoa/FontPlatformData.h:
    34155         (WebCore::FontPlatformData::FontPlatformData):
    34156         (WebCore::FontPlatformData::textOrientation):
    34157         (WebCore::FontPlatformData::hash):
    34158         (WebCore::FontPlatformData::operator==):
    34159         * platform/graphics/cocoa/FontPlatformDataCocoa.mm:
    34160         (WebCore::FontPlatformData::FontPlatformData):
    34161         (WebCore::FontPlatformData::operator=):
    34162         * platform/graphics/freetype/FontCustomPlatformDataFreeType.cpp:
    34163         (WebCore::FontCustomPlatformData::fontPlatformData):
    34164         * platform/graphics/haiku/FontCustomPlatformData.cpp:
    34165         (WebCore::FontCustomPlatformData::fontPlatformData):
    34166         * platform/graphics/haiku/FontCustomPlatformData.h:
    34167         * platform/graphics/mac/ComplexTextControllerCoreText.cpp:
    34168         (WebCore::ComplexTextController::collectComplexTextRunsForCharactersCoreText):
     1638        (WebCore::Font::glyphDataForCharacter): Update level in
     1639        glyph page tree for system fallback fonts so pruning works.
     1640
     1641        * platform/graphics/GlyphPage.h:
     1642        (WebCore::GlyphPage::clearForFontData): New method used for pruning
     1643        * platform/graphics/GlyphPageTreeNode.cpp:
     1644        (WebCore::GlyphPageTreeNode::pruneFontData):
     1645        Now we prune system fallback fonts.
     1646
     1647        * platform/graphics/chromium/FontCacheChromiumWin.cpp:
     1648        (WebCore::FontCache::getFontDataForCharacters):
     1649        * platform/graphics/freetype/FontCacheFreeType.cpp:
     1650        (WebCore::FontCache::getFontDataForCharacters):
     1651        * platform/graphics/haiku/FontCacheHaiku.cpp:
     1652        (WebCore::FontCache::getFontDataForCharacters):
    341691653        * platform/graphics/mac/FontCacheMac.mm:
    34170         (WebCore::FontCache::createFontPlatformData):
    34171         * platform/graphics/mac/FontCustomPlatformData.cpp:
    34172         (WebCore::FontCustomPlatformData::fontPlatformData):
    34173         * platform/graphics/mac/FontCustomPlatformData.h:
    34174         * platform/graphics/mac/FontMac.mm:
    34175         (WebCore::showGlyphsWithAdvances):
    34176         (WebCore::Font::drawGlyphs):
    34177         * platform/graphics/mac/GlyphPageTreeNodeMac.cpp:
    34178         (WebCore::shouldUseCoreText):
    34179         (WebCore::GlyphPage::fill):
    34180         * platform/graphics/mac/SimpleFontDataCoreText.cpp:
    34181         (WebCore::SimpleFontData::getCFStringAttributes):
    34182         * platform/graphics/mac/SimpleFontDataMac.mm:
    34183         (WebCore::SimpleFontData::platformInit):
    34184         (WebCore::SimpleFontData::platformBoundsForGlyph):
    34185         (WebCore::SimpleFontData::platformWidthForGlyph):
    34186         * platform/graphics/pango/FontCustomPlatformDataPango.cpp:
    34187         (WebCore::FontCustomPlatformData::fontPlatformData):
    34188         * platform/graphics/qt/FontCustomPlatformData.h:
    34189         * platform/graphics/qt/FontCustomPlatformDataQt.cpp:
    34190         (WebCore::FontCustomPlatformData::fontPlatformData):
    34191         * platform/graphics/skia/FontCustomPlatformData.cpp:
    34192         (WebCore::FontCustomPlatformData::fontPlatformData):
    34193         * platform/graphics/skia/FontCustomPlatformData.h:
    34194         * platform/graphics/win/FontCustomPlatformData.cpp:
    34195         (WebCore::FontCustomPlatformData::fontPlatformData):
    34196         * platform/graphics/win/FontCustomPlatformData.h:
    34197         * platform/graphics/win/FontCustomPlatformDataCairo.cpp:
    34198         (WebCore::FontCustomPlatformData::fontPlatformData):
    34199         * platform/graphics/win/FontCustomPlatformDataCairo.h:
    34200         * platform/graphics/wince/FontCustomPlatformData.cpp:
    34201         (WebCore::FontCustomPlatformData::fontPlatformData):
    34202         * platform/graphics/wince/FontCustomPlatformData.h:
    34203         * platform/text/TextOrientation.h: Added.
    34204         * rendering/InlineFlowBox.cpp:
    34205         (WebCore::InlineFlowBox::requiresIdeographicBaseline):
    34206         * rendering/style/RenderStyle.h:
    34207         (WebCore::InheritedFlags::initialTextOrientation):
    34208 
    34209 2011-03-08  Ryosuke Niwa  <rniwa@webkit.org>
    34210 
    34211         Reviewed by Darin Adler.
    34212 
    34213         addInlineStyleIfNeeded should take EditingStyle
    34214         https://bugs.webkit.org/show_bug.cgi?id=55950
    34215 
    34216         Deployed EditingStyle in addInlineStyleIfNeeded, StyleChange::StyleChange, and StyleChange::init.
    34217         Also extracted EditingStyle::styleIsPresentInComputedStyleOfNode from removeStyleFromRunBeforeApplyingStyle.
    34218 
    34219         * editing/ApplyStyleCommand.cpp:
    34220         (WebCore::StyleChange::StyleChange): Takes EditingStyle instead of CSSStyleDeclaration.
    34221         (WebCore::StyleChange::init): Ditto.
    34222         (WebCore::ApplyStyleCommand::applyBlockStyle): Instantiates StyleChange.
    34223         (WebCore::ApplyStyleCommand::applyInlineStyleToNodeRange): Calls addInlineStyleIfNeeded.
    34224         (WebCore::ApplyStyleCommand::removeStyleFromRunBeforeApplyingStyle): Calls styleIsPresentInComputedStyleOfNode.
    34225         (WebCore::ApplyStyleCommand::removeInlineStyleFromElement): Calls EditingStyle::mergeInlineStyleOfElement
    34226         instead of manually merging styles.
    34227         (WebCore::ApplyStyleCommand::applyInlineStyleToPushDown): Calls addInlineStyleIfNeeded.
    34228         (WebCore::ApplyStyleCommand::addInlineStyleIfNeeded): Takes EditingStyle instead of CSSMutableStyleDeclaration.
    34229         * editing/ApplyStyleCommand.h:
    34230         * editing/CompositeEditCommand.h:
    34231         * editing/EditingStyle.cpp:
    34232         (WebCore::EditingStyle::styleIsPresentInComputedStyleOfNode): Extracted from removeStyleFromRunBeforeApplyingStyle.
    34233         * editing/EditingStyle.h:
    34234 
    34235 2011-03-08  Nico Weber  <thakis@chromium.org>
    34236 
    34237         Reviewed by James Robinson.
    34238 
    34239         Crash on big blur radius with canvas
    34240         https://bugs.webkit.org/show_bug.cgi?id=55951
    34241 
    34242         Move the clamping code out of an if branch, so that it happens in the
    34243         canvas case as well.
    34244 
    34245         Test: fast/canvas/shadow-huge-blur.html
    34246 
    34247         * platform/graphics/cg/GraphicsContextCG.cpp:
    34248         (WebCore::GraphicsContext::setPlatformShadow):
    34249 
    34250 2011-03-08  Chris Fleizach  <cfleizach@apple.com>
    34251 
    34252         Reviewed by Sam Weinig.
    34253 
    34254         WK2: Cannot set focus on an element when focus is outside of WKView
    34255         https://bugs.webkit.org/show_bug.cgi?id=55281
    34256    
    34257         In WK2, focus cannot be set from the WebProcess side because there's no platformWidget().
    34258         Instead, the focus/unfocus messages need to be sent to the UIProcess side.
    34259 
    34260         * platform/mac/WidgetMac.mm:
    34261         (WebCore::Widget::setFocus):
    34262 
    34263 2011-03-08  Sam Weinig  <sam@webkit.org>
    34264 
    34265         Reviewed by Anders Carlsson.
    34266 
    34267         Overflow: scroll areas should not paint white in scroll corner if the
    34268         scrollbars are overlay.
    34269         <rdar://problem/9082871>
    34270 
    34271         * rendering/RenderLayer.cpp:
    34272         (WebCore::RenderLayer::paintScrollCorner):
    34273         Don't paint the scroll corner white if we have overlay scrollbars.
    34274 
    34275 2011-03-08  Chris Marrin  <cmarrin@apple.com>
    34276 
    34277         Reviewed by Darin Adler.
    34278 
    34279         The first time animations are committed they have a bad start time
    34280         https://bugs.webkit.org/show_bug.cgi?id=55947
    34281 
    34282         Do a check for a returned lastCommitTime of <=0 and replace it
    34283         with the mediaTime.
    34284 
    34285 
    34286         * platform/graphics/ca/win/CACFLayerTreeHost.cpp:
    34287         (WebCore::CACFLayerTreeHost::notifyAnimationsStarted):
    34288 
    34289 2011-03-08  James Kozianski  <koz@chromium.org>
    34290 
    34291         Reviewed by David Levin.
    34292 
    34293         Expose isValidProtocol() in KURL.h.
    34294         https://bugs.webkit.org/show_bug.cgi?id=54594
    34295 
    34296         This is needed to validate protocols used in calls to
    34297         navigator.registerProtocolHandler().
    34298 
    34299         * platform/KURL.cpp:
    34300         * platform/KURL.h:
    34301         * platform/KURLGoogle.cpp:
    34302         (WebCore::isValidProtocol):
    34303 
    34304 2011-03-08  Adam Roben  <aroben@apple.com>
    34305 
    34306         Set svn:mime-type to text/css for all Inspector CSS files
    34307 
    34308         This will cause them to be served with the correct MIME type from svn.webkit.org's web
    34309         interface.
    34310 
    34311         Rubber-stamped by Tim Hatcher.
    34312 
    34313         * inspector/front-end/audits.css: Added property svn:mime-type.
    34314         * inspector/front-end/goToLineDialog.css: Added property svn:mime-type.
    34315         * inspector/front-end/heapProfiler.css: Added property svn:mime-type.
    34316         * inspector/front-end/helpScreen.css: Added property svn:mime-type.
    34317         * inspector/front-end/inspector.css: Added property svn:mime-type.
    34318         * inspector/front-end/inspectorSyntaxHighlight.css: Added property svn:mime-type.
    34319         * inspector/front-end/networkPanel.css: Added property svn:mime-type.
    34320         * inspector/front-end/popover.css: Added property svn:mime-type.
    34321         * inspector/front-end/textViewer.css: Added property svn:mime-type.
    34322 
    34323 2011-03-08  Andrei Popescu  <andreip@google.com>
    34324 
    34325         Reviewed by Steve Block.
    34326 
    34327         IDBCallbacks::onsuccess(IDBIndex*) is unused and should be removed.
    34328         https://bugs.webkit.org/show_bug.cgi?id=55938
    34329 
    34330         The IndexedDatabase specification changed and IDBIndex objects are no
    34331         longer created asynchronously. We therefore no longer need this method.
    34332 
    34333         No new tests, just cleanup.
    34334 
    34335         * storage/IDBCallbacks.h:
    34336         * storage/IDBRequest.cpp:
    34337         * storage/IDBRequest.h:
    34338 
    34339 2011-03-08  Sheriff Bot  <webkit.review.bot@gmail.com>
    34340 
    34341         Unreviewed, rolling out r80551.
    34342         http://trac.webkit.org/changeset/80551
    34343         https://bugs.webkit.org/show_bug.cgi?id=55933
    34344 
    34345         It broke 285 tests on Qt bot (Requested by Ossy on #webkit).
    34346 
    34347         * WebCore.pro:
    34348         * platform/SharedBuffer.cpp:
    34349         * platform/SharedBuffer.h:
    34350         * platform/network/qt/QNetworkReplyHandler.cpp:
    34351         (WebCore::QNetworkReplyHandler::QNetworkReplyHandler):
    34352         (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
    34353         (WebCore::QNetworkReplyHandler::forwardData):
    34354         (WebCore::QNetworkReplyHandler::start):
    34355         * platform/network/qt/QNetworkReplyHandler.h:
    34356         * platform/network/qt/ResourceHandleQt.cpp:
    34357         (WebCore::ResourceHandle::supportsBufferedData):
    34358         (WebCore::ResourceHandle::bufferedData):
    34359         * platform/qt/QtByteBlock.cpp: Removed.
    34360         * platform/qt/QtByteBlock.h: Removed.
    34361         * platform/qt/SharedBufferQt.cpp:
    34362 
    34363 2011-03-08  Andreas Kling  <kling@webkit.org>
    34364 
    34365         Reviewed by Benjamin Poulain.
    34366 
    34367         RenderObject: Pass complex type arguments as const-references.
    34368 
    34369         * WebCore.exp.in:
    34370         * rendering/RenderObject.h:
    34371         * rendering/RenderObject.cpp:
    34372         (WebCore::RenderObject::drawBoxSideFromPath):
    34373         (WebCore::RenderObject::drawArcForBoxSide):
    34374         (WebCore::RenderObject::localToAbsolute):
    34375         (WebCore::RenderObject::absoluteToLocal):
    34376 
    34377 2011-03-08  Andreas Kling  <kling@webkit.org>
    34378 
    34379         Reviewed by Antonio Gomes.
    34380 
    34381         Path: Make measurement functions const
    34382         https://bugs.webkit.org/show_bug.cgi?id=55914
    34383 
    34384         * platform/graphics/Path.cpp:
    34385         (WebCore::Path::length):
    34386         (WebCore::Path::pointAtLength):
    34387         (WebCore::Path::normalAngleAtLength):
    34388         * platform/graphics/Path.h:
    34389         * platform/graphics/cairo/PathCairo.cpp:
    34390         (WebCore::Path::strokeBoundingRect):
    34391         * platform/graphics/cg/PathCG.cpp:
    34392         (WebCore::Path::strokeBoundingRect):
    34393         * platform/graphics/openvg/PathOpenVG.cpp:
    34394         (WebCore::Path::strokeBoundingRect):
    34395         (WebCore::Path::length):
    34396         (WebCore::Path::pointAtLength):
    34397         (WebCore::Path::normalAngleAtLength):
    34398         * platform/graphics/qt/PathQt.cpp:
    34399         (WebCore::Path::strokeBoundingRect):
    34400         (WebCore::Path::length):
    34401         (WebCore::Path::pointAtLength):
    34402         (WebCore::Path::normalAngleAtLength):
    34403         * platform/graphics/skia/PathSkia.cpp:
    34404         (WebCore::Path::strokeBoundingRect):
    34405         * platform/graphics/wince/PathWinCE.cpp:
    34406         (WebCore::Path::strokeBoundingRect):
    34407         * platform/graphics/wx/PathWx.cpp:
    34408         (WebCore::Path::strokeBoundingRect):
    34409 
    34410 2011-03-08  Carlos Garcia Campos  <cgarcia@igalia.com>
    34411 
    34412         Reviewed by Martin Robinson.
    34413 
    34414         [GTK] Do not set juntion sides on scrollbar stepper buttons
    34415         https://bugs.webkit.org/show_bug.cgi?id=55868
    34416 
    34417         Fixes rendering of steppers for themes using rounded stepper
    34418         buttons on scrollbars like Adwaita.
    34419 
    34420         * platform/gtk/ScrollbarThemeGtk3.cpp:
    34421         (WebCore::ScrollbarThemeGtk::paintButton):
    34422 
    34423 2011-03-08  Carlos Garcia Campos  <cgarcia@igalia.com>
    34424 
    34425         Reviewed by Martin Robinson.
    34426 
    34427         [GTK] Use doubles instead of integers for coordinates when rendering arrows
    34428         https://bugs.webkit.org/show_bug.cgi?id=55866
    34429 
    34430         To prevent off-by-one rounding errors.
    34431 
    34432         * platform/gtk/RenderThemeGtk3.cpp:
    34433         (WebCore::RenderThemeGtk::paintMenuList):
    34434         * platform/gtk/ScrollbarThemeGtk3.cpp:
    34435         (WebCore::ScrollbarThemeGtk::paintButton):
    34436 
    34437 2011-03-08  Markus Goetz  <guruz@guruz.de>
    34438 
    34439         Reviewed by Kenneth Rohde Christiansen.
    34440 
    34441         [Qt] Use the QNetworkAccessManager zerocopy feature
    34442         https://bugs.webkit.org/show_bug.cgi?id=50082
    34443 
    34444         The feature will be introduced in Qt 4.8.
    34445         This patch is backwards compatible with Qt 4.7.
    34446 
    34447         * WebCore.pro:
    34448         * platform/SharedBuffer.cpp:
    34449         * platform/SharedBuffer.h:
    34450         * platform/network/qt/QNetworkReplyHandler.cpp:
    34451         (WebCore::QNetworkReplyHandler::QNetworkReplyHandler):
    34452         (WebCore::QNetworkReplyHandler::bufferedData):
    34453         (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
    34454         (WebCore::QNetworkReplyHandler::downloadProgress):
    34455         (WebCore::QNetworkReplyHandler::forwardData):
    34456         (WebCore::QNetworkReplyHandler::start):
    34457         * platform/network/qt/QNetworkReplyHandler.h:
    34458         * platform/network/qt/ResourceHandleQt.cpp:
    34459         (WebCore::ResourceHandle::supportsBufferedData):
    34460         (WebCore::ResourceHandle::bufferedData):
    34461         * platform/qt/SharedBufferQt.cpp:
    34462         (WebCore::SharedBuffer::wrapQtByteBlock):
    34463         (WebCore::SharedBuffer::hasPlatformData):
    34464         (WebCore::SharedBuffer::platformData):
    34465         (WebCore::SharedBuffer::platformDataSize):
    34466         (WebCore::SharedBuffer::maybeTransferPlatformData):
    34467         (WebCore::SharedBuffer::clearPlatformData):
    34468 
    34469 2011-03-08  Alejandro G. Castro  <alex@igalia.com>
    34470 
    34471         Reviewed by Martin Robinson.
    34472 
    34473         [GTK] Fix compilation warnings after r80429
    34474         https://bugs.webkit.org/show_bug.cgi?id=55864
    34475 
    34476         * platform/gtk/WidgetGtk.cpp:
    34477 
    34478 2011-03-08  Philippe Normand  <pnormand@igalia.com>
    34479 
    34480         Unreviewed, GTK build fix after r80536
    34481 
    34482         * GNUmakefile.am:
    34483 
    34484 2011-03-08  Zan Dobersek  <zandobersek@gmail.com>
    34485 
    34486         Reviewed by Martin Robinson.
    34487 
    34488         [Gtk] toDataURL uses incorrect quality value when saving GdkPixbuf to buffer
    34489         https://bugs.webkit.org/show_bug.cgi?id=55878
    34490 
    34491         Multiply the quality parameter by 100 to put it in the range [0, 100] as needed
    34492         when saving GdkPixbuf to a buffer.
    34493 
    34494         * platform/graphics/gtk/ImageBufferGtk.cpp:
    34495         (WebCore::ImageBuffer::toDataURL):
    34496 
    34497 2011-03-07  Daniel Cheng  <dcheng@chromium.org>
    34498 
    34499         Unreviewed.
    34500 
    34501         Final build fix for r80536.
    34502 
    34503         * DerivedSources.make:
    34504 
    34505 2011-03-07  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
    34506 
    34507         Reviewed by Kent Tamura.
    34508 
    34509         [EFL] Adjust functions of WebCore's efl port to WebKit coding style
    34510         https://bugs.webkit.org/show_bug.cgi?id=55924
    34511 
    34512         Adjust webkit style to PlatformKeyboardEventEfl, PlatformMouseEventEfl and WidgetEfl files.
    34513 
    34514         * platform/efl/PlatformKeyboardEventEfl.cpp:
    34515         (WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent):
    34516         * platform/efl/PlatformMouseEventEfl.cpp:
    34517         (WebCore::PlatformMouseEvent::PlatformMouseEvent):
    34518         * platform/efl/WidgetEfl.cpp:
    34519         (WebCore::Widget::frameRectsChanged):
    34520         (WebCore::Widget::setEvasObject):
    34521 
    34522 2011-03-07  Daniel Cheng  <dcheng@chromium.org>
    34523 
    34524         Unreviewed.
    34525 
    34526         More build fixes for r80536.
    34527 
    34528         * CMakeLists.txt:
    34529         * platform/chromium/ClipboardChromium.cpp:
    34530         * platform/chromium/ClipboardChromium.h:
    34531 
    34532 2011-03-07  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
    34533 
    34534         Reviewed by Antonio Gomes.
    34535 
    34536         [EFL] Adjust functions of ScrollbarEfl.cpp to WebKit coding style
    34537         https://bugs.webkit.org/show_bug.cgi?id=55917
    34538 
    34539         Adjust webkit style to ScrollbarEfl files.
    34540 
    34541         * platform/efl/ScrollbarEfl.cpp:
    34542         (scrollbarEflEdjeMessage):
    34543         (ScrollbarEfl::setParent):
    34544         (ScrollbarEfl::updateThumbPositionAndProportion):
    34545         (ScrollbarEfl::frameRectsChanged):
    34546         (ScrollbarEfl::paint):
    34547         * platform/efl/ScrollbarEfl.h:
    34548 
    34549 2011-03-07  Daniel Cheng  <dcheng@chromium.org>
    34550 
    34551         Unreviewed.
    34552 
    34553         Build fix for Chromium after r80536.
    34554 
    34555         * platform/chromium/DataTransferItemChromium.cpp:
    34556         * platform/chromium/DataTransferItemsChromium.cpp:
    34557 
    34558 2011-03-07  Daniel Cheng  <dcheng@chromium.org>
    34559 
    34560         Unreviewed.
    34561 
    34562         More build fixes for r80536.
    34563 
    34564         * CMakeLists.txt:
    34565         * platform/chromium/ClipboardChromium.cpp:
    34566         * platform/chromium/ClipboardChromium.h:
    34567 
    34568 2011-03-07  Daniel Cheng  <dcheng@chromium.org>
    34569 
    34570         Reviewed by David Levin.
    34571 
    34572         Add support for DataTransferItems
    34573         https://bugs.webkit.org/show_bug.cgi?id=55115
    34574 
    34575         This patch adds stubs for DataTransferItems/DataTransferItem as well as implementing the
    34576         basic functionality on the Chromium port. With the exception of DataTransferItem::getAsFile,
    34577         all functionality on the DataTransferItems collection has been implemented.
    34578         This change does not actually hook up DataTransferItems to reflect the actual contents of a
    34579         drop/paste operation or to allow mutation of data in a copy/drag start yet. That will be
    34580         enabled via several followup patches.
    34581 
    34582         Test: editing/pasteboard/data-transfer-items.html
    34583 
    34584         * Android.mk:
    34585         * CMakeLists.txt:
    34586         * CodeGenerators.pri:
    34587         * DerivedSources.cpp:
    34588         * DerivedSources.make:
    34589         * GNUmakefile.am:
    34590         * WebCore.gypi:
    34591         * WebCore.pro:
    34592         * WebCore.vcproj/WebCore.vcproj:
    34593         * WebCore.xcodeproj/project.pbxproj:
    34594         * bindings/generic/RuntimeEnabledFeatures.cpp:
    34595         * bindings/generic/RuntimeEnabledFeatures.h:
    34596         (WebCore::RuntimeEnabledFeatures::setDataTransferItemsEnabled):
    34597         (WebCore::RuntimeEnabledFeatures::dataTransferItemsEnabled):
    34598         * bindings/scripts/CodeGeneratorV8.pm: Do not emit an #include line for DOMString, since it's built-in.
    34599         * dom/Clipboard.h:
    34600         (WebCore::Clipboard::policy):
    34601         * dom/Clipboard.idl:
    34602         * dom/DataTransferItem.cpp: Added.
    34603         * dom/DataTransferItem.h: Added.
    34604         (WebCore::DataTransferItem::~DataTransferItem):
    34605         * dom/DataTransferItem.idl: Added.
    34606         * dom/DataTransferItems.h: Added.
    34607         (WebCore::DataTransferItems::~DataTransferItems):
    34608         * dom/DataTransferItems.idl: Added.
    34609         * dom/StringCallback.cpp: Added.
    34610         (WebCore::StringCallback::scheduleCallback):
    34611         * dom/StringCallback.h: Added.
    34612         (WebCore::StringCallback::~StringCallback):
    34613         * dom/StringCallback.idl: Added.
    34614         * platform/chromium/ClipboardChromium.cpp:
    34615         (WebCore::ClipboardChromium::items):
    34616         * platform/chromium/ClipboardChromium.h:
    34617         * platform/chromium/DataTransferItemChromium.cpp: Added.
    34618         (WebCore::DataTransferItemChromium::create):
    34619         (WebCore::DataTransferItemChromium::DataTransferItemChromium):
    34620         (WebCore::DataTransferItemChromium::kind):
    34621         (WebCore::DataTransferItemChromium::type):
    34622         (WebCore::DataTransferItemChromium::getAsString):
    34623         * platform/chromium/DataTransferItemChromium.h: Added.
    34624         * platform/chromium/DataTransferItemsChromium.cpp: Added.
    34625         (WebCore::DataTransferItemsChromium::create):
    34626         (WebCore::DataTransferItemsChromium::DataTransferItemsChromium):
    34627         (WebCore::DataTransferItemsChromium::length):
    34628         (WebCore::DataTransferItemsChromium::item):
    34629         (WebCore::DataTransferItemsChromium::deleteItem):
    34630         (WebCore::DataTransferItemsChromium::clear):
    34631         (WebCore::DataTransferItemsChromium::add):
    34632         * platform/chromium/DataTransferItemsChromium.h: Added.
    34633 
    34634 2011-03-07  Ryosuke Niwa  <rniwa@webkit.org>
    34635 
    34636         Reviewed by Darin Adler.
    34637 
    34638         selectionHasStyle and selectionStartHasStyle should use EditingStyle
    34639         https://bugs.webkit.org/show_bug.cgi?id=55902
    34640 
    34641         Deployed EditingStyle in selectionHasStyle and selectionStartHasStyle.
    34642         This allowed us to move triStateOfStyle from Editor.cpp to EditingStyle.cpp.
    34643 
    34644         Also changed the argument lists of selectionHasStyle and selectionStartHasStyle
    34645         to take a property id and a value instead of a CSSMutableStyleDeclaration to cleanup
    34646         call sites of these two functions.
    34647 
    34648         * WebCore.exp.in: Updated the signature of selectionHasStyle. No longer exports
    34649         selectionStartHasStyle because it's not called anywhere outside of WebCore.
    34650         * WebCore.order: Ditto.
    34651         * editing/EditingStyle.cpp:
    34652         (WebCore::EditingStyle::EditingStyle): Added a new constructor that takes a property id
    34653         and a property value.
    34654         (WebCore::EditingStyle::triStateOfStyle): Moved from Editor.cpp.
    34655         * editing/EditingStyle.h:
    34656         (WebCore::EditingStyle::create): Added.
    34657         * editing/Editor.cpp:
    34658         (WebCore::Editor::selectionStartHasStyle): Takes a property id and a value instead of
    34659         a CSSStyleDeclaration.
    34660         (WebCore::Editor::selectionHasStyle): Ditto.
    34661         * editing/Editor.h: Updated the signatures of selectionStartHasStyle and selectionHasStyle.
    34662         * editing/EditorCommand.cpp:
    34663         (WebCore::executeToggleStyle): Calls selectionStartHasStyle and selectionHasStyle.
    34664         (WebCore::stateStyle): Ditto.
    34665         * page/ContextMenuController.cpp:
    34666         (WebCore::ContextMenuController::checkOrEnableIfNeeded): Ditto.
    34667 
    34668 2011-03-07  Alexey Proskuryakov  <ap@apple.com>
    34669 
    34670         Reviewed by Darin Adler.
    34671 
    34672         REGRESSION (HTML5 tree builder): Text selection in a large text document is extremely slow
    34673         https://bugs.webkit.org/show_bug.cgi?id=55898
    34674 
    34675         <rdar://problem/9095839> REGRESSION: Mail hangs with a certain large mail message when
    34676         linkifying e-mail addresses in in -[DOMCharacterData setData:]
    34677 
    34678         Changes render tree of fast/text/large-text-composed-char.html, but not image results.
    34679 
    34680         * dom/CharacterData.cpp: (WebCore::CharacterData::parserAppendData):
    34681         Changed parserAppendData() to accept a maximum length, and moved code from Text::createWithLengthLimit().
    34682 
    34683         * dom/CharacterData.h: Moved a constant for maximum length from Text.h.
    34684 
    34685         * dom/Text.cpp: (WebCore::Text::createWithLengthLimit):
    34686         * dom/Text.h:
    34687         This function was unused in ToT. Moved code around to share with CharacterData.
    34688 
    34689         * html/parser/HTMLConstructionSite.cpp: (WebCore::HTMLConstructionSite::insertTextNode):
    34690         Chnaged to split large text nodes while parsing again.
    34691 
    34692 2011-03-07  Alice Boxhall  <aboxhall@chromium.org>
    34693 
    34694         Reviewed by Adam Barth.
    34695 
    34696         Fix platform/image-encoders/JPEGImageEncoder.cpp empty_output_buffer() behaviour
    34697         https://bugs.webkit.org/show_bug.cgi?id=54522
    34698 
    34699         Fix jpegEmptyOutputBuffer() by ignoring free_in_buffer value as required.
    34700 
    34701         No new tests, as this code is not yet used in WebKit. Once this code is used to implement canvas.toDataUrl(), the canvas tests will exercise it.
    34702 
    34703         * platform/image-encoders/JPEGImageEncoder.cpp:
    34704         (WebCore::jpegEmptyOutputBuffer):
    34705 
    34706 2011-03-07  Sergey Glazunov  <serg.glazunov@gmail.com>
    34707 
    34708         Reviewed by Eric Seidel.
    34709 
    34710         Add the missing insertedIntoDocument() call in SVGVKernElement and SVGHKernElement
    34711         https://bugs.webkit.org/show_bug.cgi?id=55896
    34712 
    34713         Test: svg/dom/vkern-element-crash.html
    34714 
    34715         * svg/SVGHKernElement.cpp:
    34716         (WebCore::SVGHKernElement::insertedIntoDocument):
    34717         * svg/SVGVKernElement.cpp:
    34718         (WebCore::SVGVKernElement::insertedIntoDocument):
    34719 
    34720 2011-03-07  Sheriff Bot  <webkit.review.bot@gmail.com>
    34721 
    34722         Unreviewed, rolling out r80514.
    34723         http://trac.webkit.org/changeset/80514
    34724         https://bugs.webkit.org/show_bug.cgi?id=55915
    34725 
    34726         Caused assertion failures (Requested by ukai on #webkit).
    34727 
    34728         * platform/graphics/skia/GraphicsContextSkia.cpp:
    34729         (WebCore::GraphicsContext::setPlatformShadow):
    34730         * platform/graphics/skia/ImageSkia.cpp:
    34731         (WebCore::paintSkBitmap):
    34732 
    34733 2011-03-07  Cosmin Truta  <ctruta@chromium.org>
    34734 
    34735         Reviewed by Adam Barth.
    34736 
    34737         SVG <image> referenced by <use> is displayed incorrectly
    34738         https://bugs.webkit.org/show_bug.cgi?id=55750
    34739 
    34740         The result of sourceURI must use the URL of the enclosing document as base.
    34741         Otherwise, the base may sometimes be empty, and, as a consequence,
    34742         the intermediate KURL object may be invalid.
    34743 
    34744         Test: svg/custom/use-image-in-g.svg
    34745 
    34746         * svg/SVGImageLoader.cpp:
    34747         (WebCore::SVGImageLoader::sourceURI):
    34748 
    34749 2011-03-07  Helder Correia  <helder@sencha.com>
    34750 
    34751         Reviewed by Simon Fraser.
    34752 
    34753         Shadow is not shown when using strokeRect with a gradient strokeStyle
    34754         https://bugs.webkit.org/show_bug.cgi?id=52509
    34755 
    34756         This happens in CG and is related to bug 51869, this time to be fixed
    34757         in GraphicsContext::strokeRect(const FloatRect& r, float lineWidth).
    34758         We need to draw the gradient clipped to the stroke on a CGLayer first,
    34759         and then draw the layer on the GraphicsContext.
    34760 
    34761         Tests: fast/canvas/canvas-strokeRect-gradient-shadow.html
    34762                svg/css/rect-gradient-stroke-shadow.svg
    34763 
    34764         * platform/graphics/cg/GraphicsContextCG.cpp:
    34765         (WebCore::GraphicsContext::strokeRect):
    34766 
    34767 2011-03-07  Justin Novosad  <junov@chromium.org>
    34768 
    34769         Reviewed by Kenneth Russell.
    34770 
    34771         Fix for blurs behind bitmap images in Chromium, and boosting
    34772         shadow blur quality
    34773         Bug URLs:
    34774                 https://bugs.webkit.org/show_bug.cgi?id=55410
    34775                 https://bugs.webkit.org/show_bug.cgi?id=55506
    34776 
    34777         No new tests. Covered by existing layout tests.
    34778 
    34779         * platform/graphics/skia/GraphicsContextSkia.cpp:
    34780         (WebCore::GraphicsContext::setPlatformShadow): Turn on high quality shadows and fix shadow color
    34781         * platform/graphics/skia/ImageSkia.cpp:
    34782         (WebCore::paintSkBitmap): Propagate the draw looper from context to painter
    34783 
    34784 2011-03-07  Andreas Kling  <kling@webkit.org>
    34785 
    34786         Unreviewed Mac build fix after r80508.
    34787 
    34788         * WebCore.exp.in:
    34789 
    34790 2011-03-07  Enrica Casucci  <enrica@apple.com>
    34791 
    34792         Unreviewed build fix.
    34793 
    34794         Rolling back  http://trac.webkit.org/changeset/80497 due to the
    34795         32-bit build failures.
    34796 
    34797         * WebCore.xcodeproj/project.pbxproj:
    34798         * platform/mac/HTMLConverter.h: Removed.
    34799         * platform/mac/HTMLConverter.mm: Removed.
    34800         * platform/mac/PasteboardMac.mm:
    34801         (WebCore::Pasteboard::writeSelection):
    34802 
    34803 2011-03-07  Andreas Kling  <kling@webkit.org>
    34804 
    34805         Reviewed by Benjamin Poulain.
    34806 
    34807         FrameView::setBaseBackgroundColor: Pass Color argument as const-reference.
    34808 
    34809         * page/FrameView.cpp:
    34810         (WebCore::FrameView::setBaseBackgroundColor):
    34811         * page/FrameView.h:
    34812 
    34813 2011-03-07  Adam Barth  <abarth@webkit.org>
    34814 
    34815         Reviewed by Dimitri Glazkov.
    34816 
    34817         REGRESSION(r78147): Crash on http://gnarf.net/jquery/test/
    34818         https://bugs.webkit.org/show_bug.cgi?id=55894
    34819 
    34820         The m_frame can disappear out from under us, and there's no point in
    34821         checking whether the load is complete in a non-existant frame.
    34822 
    34823         Test: fast/parser/document-write-into-initial-document.html
    34824 
    34825         * dom/Document.cpp:
    34826         (WebCore::Document::explicitClose):
    34827 
    34828 2011-03-07  Sheriff Bot  <webkit.review.bot@gmail.com>
    34829 
    34830         Unreviewed, rolling out r80500.
    34831         http://trac.webkit.org/changeset/80500
    34832         https://bugs.webkit.org/show_bug.cgi?id=55908
    34833 
    34834         Caused mysterious GYP error (Requested by abarth on #webkit).
    34835 
    34836         * WebCore.gyp/WebCore.gyp:
    34837         * WebCore.gypi:
    34838 
    34839 2011-03-07  Adam Barth  <abarth@webkit.org>
    34840 
    34841         Fix Chromium Mac build.  This header should only be included when the
    34842         feature is enabled.
    34843 
    34844         * platform/cf/RunLoopTimerCF.cpp:
    34845 
    34846 2011-03-07  Adam Barth  <abarth@webkit.org>
    34847 
    34848         Reviewed by Dimitri Glazkov.
    34849 
    34850         Add WML files to WebCore.gypi
    34851         https://bugs.webkit.org/show_bug.cgi?id=55905
    34852 
    34853         * WebCore.gyp/WebCore.gyp:
    34854         * WebCore.gypi:
    34855 
    34856 2011-03-07  Adrienne Walker  <enne@google.com>
    34857 
    34858         Reviewed by James Robinson.
    34859 
    34860         [chromium] Add missing include to #define Skia parameter
    34861         https://bugs.webkit.org/show_bug.cgi?id=55885
    34862 
    34863         * platform/graphics/chromium/ShaderChromium.h:
    34864 
    34865 2011-03-07  Chris Fleizach  <cfleizach@apple.com>
    34866 
    34867         Reviewed by Beth Dakin.
    34868 
    34869         AX: WK1 needs to use ScrollView attachment for AXScrollArea, WK2 does not
    34870         https://bugs.webkit.org/show_bug.cgi?id=55706
    34871 
    34872         * WebCore.exp.in:
    34873         * accessibility/AXObjectCache.cpp:
    34874         (WebCore::AXObjectCache::rootObjectForFrame):
    34875         * accessibility/AXObjectCache.h:
    34876         * accessibility/AccessibilityScrollView.cpp:
    34877         (WebCore::AccessibilityScrollView::isAttachment):
    34878         (WebCore::AccessibilityScrollView::widgetForAttachmentView):
    34879         * accessibility/AccessibilityScrollView.h:
    34880         (WebCore::AccessibilityScrollView::firstChild):
    34881         * accessibility/mac/AccessibilityObjectWrapper.mm:
    34882         (-[AccessibilityObjectWrapper accessibilityAttributeValue:]):
    34883 
    34884 2011-03-07  Enrica Casucci  <enrica@apple.com>
    34885 
    34886         Reviewed by Darin Adler.
    34887        
    34888         REGRESSION: Copied content loses formatting on paste to external apps.
    34889         https://bugs.webkit.org/show_bug.cgi?id=47615
    34890         <rdar://problem/9001214>
    34891 
    34892         This is a resubmission of a patch that was landed a while ago then rolled
    34893         back because of a build failure on SnowLeopard and Leopard.
    34894        
    34895         This patch adds a way for WebKit2 to create NSAttributedStrings from
    34896         a DOM range without using the AppKit api initWithDOMRange that internally
    34897         needs to access the WebView. The NSAttributedString is needed to create
    34898         RTF formats in the pasteboard.
    34899         This is to be considered a first step, since in the future we want to have
    34900         an implementation based on the TextIterator.
    34901 
    34902         * WebCore.xcodeproj/project.pbxproj: Added new file.
    34903         * platform/mac/HTMLConverter.h: Added.
    34904         * platform/mac/HTMLConverter.mm: Added.
    34905         * platform/mac/PasteboardMac.mm:
    34906         (WebCore::Pasteboard::writeSelection): We now use WebHTMLConverter
    34907         class for WebKit2 to create the NSAttributedString from the DOM range.
    34908 
    34909 2011-03-07  Adam Barth  <abarth@webkit.org>
    34910 
    34911         Reviewed by Dimitri Glazkov.
    34912 
    34913         Add some missing platform files to WebCore.gypi
    34914         https://bugs.webkit.org/show_bug.cgi?id=55897
    34915 
    34916         There are a bunch more, but this is a start.
    34917 
    34918         * WebCore.gyp/WebCore.gyp:
    34919         * WebCore.gypi:
    34920 
    34921 2011-03-07  Steve Block  <steveblock@google.com>
    34922 
    34923         Reviewed by Jeremy Orlow.
    34924 
    34925         Rename JNIBridgeV8.cpp/h to JavaFieldV8.cpp/h
    34926         https://bugs.webkit.org/show_bug.cgi?id=55879
    34927 
    34928         No new tests, refactoring only.
    34929 
    34930         * Android.v8bindings.mk:
    34931         * WebCore.gypi:
    34932         * bridge/jni/v8/JavaClassV8.cpp:
    34933         * bridge/jni/v8/JavaClassV8.h:
    34934         * bridge/jni/v8/JavaFieldV8.cpp: Renamed from Source/WebCore/bridge/jni/v8/JNIBridgeV8.cpp.
    34935         (JavaField::JavaField):
    34936         * bridge/jni/v8/JavaFieldV8.h: Renamed from Source/WebCore/bridge/jni/v8/JNIBridgeV8.h.
    34937         (JSC::Bindings::JavaField::name):
    34938         (JSC::Bindings::JavaField::type):
    34939         (JSC::Bindings::JavaField::getJNIType):
    34940         * bridge/jni/v8/JavaInstanceV8.cpp:
    34941         * bridge/jni/v8/JavaNPObjectV8.cpp:
    34942 
    34943 2011-03-07  Daniel Cheng  <dcheng@chromium.org>
    34944 
    34945         Reviewed by Tony Chang.
    34946 
    34947         Add plumbing for paste support to ChromiumDataObject::types()
    34948         https://bugs.webkit.org/show_bug.cgi?id=55792
    34949 
    34950         This is a preliminary patch to support event.dataTransfer.items. This
    34951         adds plumbing to support retrieving the types in a paste event. It also
    34952         moves the check for files in a drag/paste up to ClipboardChromium, since
    34953         internal code needs to be able to differentiate between actual files in
    34954         a drag and someone that simply decided to use "Files" as a custom type
    34955         string.
    34956 
    34957         Test: editing/pasteboard/onpaste-text-html-types.html
    34958 
    34959         * platform/chromium/ChromiumDataObject.cpp:
    34960         (WebCore::ChromiumDataObject::types):
    34961         (WebCore::ChromiumDataObject::containsFilenames):
    34962         * platform/chromium/ChromiumDataObject.h:
    34963         * platform/chromium/ClipboardChromium.cpp:
    34964         (WebCore::ClipboardChromium::types):
    34965         * platform/chromium/ClipboardMimeTypes.cpp:
    34966         * platform/chromium/ClipboardMimeTypes.h:
    34967 
    34968 2011-03-07  Takayoshi Kochi  <kochi@chromium.org>
    34969 
    34970         Reviewed by Tony Chang.
    34971 
    34972         [chromium] Use preferred locale information when choosing fallback
    34973         font using fontconfig on Linux platform.
    34974         http://bugs.webkit.org/show_bug.cgi?id=55453
    34975 
    34976         No new tests, as it depends on ICU and locale setting, so it will be
    34977         covered by Chromium side.
    34978 
    34979         * platform/chromium/PlatformBridge.h:
    34980         * platform/graphics/chromium/FontCacheLinux.cpp:
    34981 
    34982 2011-03-07  Adam Barth  <abarth@webkit.org>
    34983 
    34984         Reviewed by Eric Seidel.
    34985 
    34986         Add gobject, cpp, and objc bindings to WebCore.gypi
    34987         https://bugs.webkit.org/show_bug.cgi?id=55892
    34988 
    34989         These are also excluded from the Chromium build but needed for various
    34990         other ports.
    34991 
    34992         * WebCore.gyp/WebCore.gyp:
    34993         * WebCore.gypi:
    34994 
    34995 2011-03-07  Sergey Glazunov  <serg.glazunov@gmail.com>
    34996 
    34997         Reviewed by Dimitri Glazkov.
    34998 
    34999         Node::checkAddChild and Node::checkReplaceChild shouldn't change the owner document of a node
    35000         https://bugs.webkit.org/show_bug.cgi?id=55803
    35001 
    35002         Test: fast/dom/dom-method-document-change.html
    35003 
    35004         * dom/ContainerNode.cpp:
    35005         (WebCore::ContainerNode::insertBefore):
    35006         (WebCore::ContainerNode::replaceChild):
    35007         (WebCore::ContainerNode::appendChild):
    35008         * dom/Node.cpp:
    35009         (WebCore::Node::checkReplaceChild):
    35010         (WebCore::Node::checkAddChild):
    35011         * dom/Node.h:
    35012 
    35013 2011-03-07  Sheriff Bot  <webkit.review.bot@gmail.com>
    35014 
    35015         Unreviewed, rolling out r80484.
    35016         http://trac.webkit.org/changeset/80484
    35017         https://bugs.webkit.org/show_bug.cgi?id=55891
    35018 
    35019         requires Chromium DEPS roll (Requested by dcheng on #webkit).
    35020 
    35021         * platform/chromium/ChromiumDataObject.cpp:
    35022         (WebCore::ChromiumDataObject::types):
    35023         * platform/chromium/ChromiumDataObject.h:
    35024         (WebCore::ChromiumDataObject::containsFilenames):
    35025         * platform/chromium/ClipboardChromium.cpp:
    35026         (WebCore::ClipboardChromium::types):
    35027         * platform/chromium/ClipboardMimeTypes.cpp:
    35028         * platform/chromium/ClipboardMimeTypes.h:
    35029 
    35030 2011-03-07  Adam Barth  <abarth@webkit.org>
    35031 
    35032         Reviewed by Dimitri Glazkov.
    35033 
    35034         Add missing bindings/js files to WebCore.gypi
    35035         https://bugs.webkit.org/show_bug.cgi?id=55888
    35036 
    35037         These files are excluded from the Chromium build but needed for the Mac
    35038         build.
    35039 
    35040         * WebCore.gypi:
    35041 
    35042 2011-03-07  Daniel Cheng  <dcheng@chromium.org>
    35043 
    35044         Reviewed by Tony Chang.
    35045 
    35046         Add plumbing for paste support to ChromiumDataObject::types()
    35047         https://bugs.webkit.org/show_bug.cgi?id=55792
    35048 
    35049         This is a preliminary patch to support event.dataTransfer.items. This
    35050         adds plumbing to support retrieving the types in a paste event. It also
    35051         moves the check for files in a drag/paste up to ClipboardChromium, since
    35052         internal code needs to be able to differentiate between actual files in
    35053         a drag and someone that simply decided to use "Files" as a custom type
    35054         string.
    35055 
    35056         Test: editing/pasteboard/onpaste-text-html-types.html
    35057 
    35058         * platform/chromium/ChromiumDataObject.cpp:
    35059         (WebCore::ChromiumDataObject::types):
    35060         (WebCore::ChromiumDataObject::containsFilenames):
    35061         * platform/chromium/ChromiumDataObject.h:
    35062         * platform/chromium/ClipboardChromium.cpp:
    35063         (WebCore::ClipboardChromium::types):
    35064         * platform/chromium/ClipboardMimeTypes.cpp:
    35065         * platform/chromium/ClipboardMimeTypes.h:
    35066 
    35067 2011-03-07  Joseph Pecoraro  <joepeck@webkit.org>
    35068 
    35069         Reviewed by Kenneth Rohde Christiansen.
    35070 
    35071         Viewport Warning/Error Messages Are Now Inaccurate
    35072         https://bugs.webkit.org/show_bug.cgi?id=53707
    35073 
    35074         Correct and improve the error messages for viewport parsing.
    35075 
    35076         Tests: fast/viewport/viewport-warnings-1.html
    35077                fast/viewport/viewport-warnings-2.html
    35078                fast/viewport/viewport-warnings-3.html
    35079                fast/viewport/viewport-warnings-4.html
    35080                fast/viewport/viewport-warnings-5.html
    35081                fast/viewport/viewport-warnings-6.html
    35082 
    35083         * dom/ViewportArguments.cpp:
    35084         (WebCore::numericPrefix):
    35085         (WebCore::findSizeValue): remove incorrect device-width / height tips.
    35086         (WebCore::setViewportFeature): report a warning for an unrecognized key.
    35087         (WebCore::viewportErrorMessageTemplate): added template for unrecognized key.
    35088         (WebCore::viewportErrorMessageLevel): classify an unrecognized key is an error.
    35089         * dom/ViewportArguments.h: removed no longer used warnings.
    35090 
    35091 2011-03-07  James Robinson  <jamesr@chromium.org>
    35092 
    35093         Reviewed by Kenneth Russell.
    35094 
    35095         [chromium] Separate the update and draw portions of LayerRendererChromium's drawLayers function
    35096         https://bugs.webkit.org/show_bug.cgi?id=54047
    35097 
    35098         This splits up LayerRendererChromium::drawLayers() into two phases,
    35099         one that updates layers and one that actually draws them.  Most of the
    35100         patch is moving the bodies of drawLayers() and updateLayersRecursive()
    35101         into smaller helper functions.
    35102 
    35103         The main entry point is renamed updateAndDrawLayers(), but otherwise
    35104         has the same signature as drawLayers() did.  Internally it does the
    35105         following:
    35106 
    35107         1.) Updates the root layer's contents
    35108         2.) Updates the root layer's scrollbars
    35109         3.) Updates the RenderSurface tree and the contents of all child
    35110         layers
    35111         4.) Draws the root layer and root layer scrollbars
    35112         5.) Draws all child layers using the previously updated
    35113         CCLayerImpl/RenderSurface data.
    35114 
    35115         A few things still need to be done after this patch to complete the separation
    35116         of the update and draw step, but they can happen in later patches:
    35117         *) The root layer and root layer scrollbars contents should be
    35118         uploaded to textures at draw time, not update time.
    35119         *) The RenderSurface tree should be updated at draw time, not update
    35120         time.
    35121 
    35122         Covered by the compositing/ tests.
    35123 
    35124         * platform/graphics/chromium/LayerRendererChromium.cpp:
    35125         (WebCore::LayerRendererChromium::LayerRendererChromium):
    35126         (WebCore::LayerRendererChromium::updateRootLayerContents):
    35127         (WebCore::LayerRendererChromium::updateRootLayerScrollbars):
    35128         (WebCore::LayerRendererChromium::drawRootLayer):
    35129         (WebCore::LayerRendererChromium::updateAndDrawLayers):
    35130         (WebCore::LayerRendererChromium::updateLayers):
    35131         (WebCore::LayerRendererChromium::drawLayers):
    35132         (WebCore::LayerRendererChromium::getFramebufferPixels):
    35133         (WebCore::LayerRendererChromium::updatePropertiesAndRenderSurfaces):
    35134         (WebCore::LayerRendererChromium::updateContentsRecursive):
    35135         (WebCore::LayerRendererChromium::drawLayer):
    35136         * platform/graphics/chromium/LayerRendererChromium.h:
    35137         (WebCore::LayerRendererChromium::visibleRectSize):
    35138         * platform/graphics/chromium/RenderSurfaceChromium.cpp:
    35139         (WebCore::RenderSurfaceChromium::drawSurface):
    35140         * platform/graphics/chromium/cc/CCLayerImpl.cpp:
    35141         * platform/graphics/chromium/cc/CCLayerImpl.h:
    35142 
    35143 2011-03-07  Adam Barth  <abarth@webkit.org>
    35144 
    35145         Reviewed by Eric Seidel.
    35146 
    35147         Sort WebCore.gypi
    35148         https://bugs.webkit.org/show_bug.cgi?id=55887
    35149 
    35150         These files should be in order.  This is preparation for adding in the
    35151         missing files.
    35152 
    35153         * WebCore.gypi:
    35154 
    35155 2011-03-07  Csaba Osztrogonác  <ossy@webkit.org>
    35156 
    35157         Unreviewed buildfix after r80478.
    35158 
    35159         * dom/Document.cpp: Add suggested parentheses to make GCC happy.
    35160         (WebCore::Document::didReceiveTask):
    35161 
    35162 2011-03-07  Yong Li  <yoli@rim.com>
    35163 
    35164         Reviewed by Darin Adler.
    35165 
    35166         Defer ScriptExecutionContext::Task's in Document when page loading is deferred.
    35167         Schedule them with timer when page loading is resumed. The tasks will be performed
    35168         in the original order. This fixes the problem that database callbacks could be missed
    35169         when page loading was deferred.
    35170         https://bugs.webkit.org/show_bug.cgi?id=49401
    35171 
    35172         Manual test added: manual-tests/database-callback-deferred.html.
    35173 
    35174         * dom/Document.cpp:
    35175         (WebCore::Document::Document):
    35176         (WebCore::Document::~Document):
    35177         (WebCore::Document::didReceiveTask):
    35178         (WebCore::Document::postTask):
    35179         (WebCore::Document::pendingTasksTimerFired):
    35180         (WebCore::Document::willDeferLoading):
    35181         (WebCore::Document::didResumeLoading):
    35182         * dom/Document.h:
    35183         * manual-tests/database-callback-deferred.html: Added.
    35184         * page/PageGroupLoadDeferrer.cpp:
    35185         (WebCore::PageGroupLoadDeferrer::PageGroupLoadDeferrer):
    35186         (WebCore::PageGroupLoadDeferrer::~PageGroupLoadDeferrer):
    35187 
    35188 2011-03-07  Antti Koivisto  <antti@apple.com>
    35189 
    35190         Reviewed by Sam Weinig.
    35191 
    35192         Use HashMaps for caching primitive values
    35193         https://bugs.webkit.org/show_bug.cgi?id=55873
    35194        
    35195         Most documents use only small subset of cacheable primitive values. By replacing
    35196         fixed size cache arrays with HashMaps we can reduce the constant memory usage while also
    35197         expanding the range of cacheable values.
    35198 
    35199         * css/CSSPrimitiveValueCache.cpp:
    35200         (WebCore::CSSPrimitiveValueCache::CSSPrimitiveValueCache):
    35201         (WebCore::CSSPrimitiveValueCache::createIdentifierValue):
    35202         (WebCore::CSSPrimitiveValueCache::createColorValue):
    35203         (WebCore::CSSPrimitiveValueCache::createValue):
    35204         * css/CSSPrimitiveValueCache.h:
    35205 
    35206 2011-03-07  Steve Block  <steveblock@google.com>
    35207 
    35208         Reviewed by Jeremy Orlow.
    35209 
    35210         Split JNIBridgeJSC.cpp/h into JavaArrayJSC.cpp/h and JavaFieldJSC.cpp/h
    35211         https://bugs.webkit.org/show_bug.cgi?id=55881
    35212 
    35213         No new tests, refactoring only.
    35214 
    35215         * Android.jscbindings.mk:
    35216         * GNUmakefile.am:
    35217         * WebCore.xcodeproj/project.pbxproj:
    35218         * bridge/jni/jsc/JNIBridgeJSC.cpp: Removed.
    35219         * bridge/jni/jsc/JNIBridgeJSC.h: Removed.
    35220         * bridge/jni/jsc/JNIUtilityPrivate.cpp:
    35221         * bridge/jni/jsc/JavaClassJSC.cpp:
    35222         * bridge/jni/jsc/JavaClassJSC.h:
    35223         * bridge/jni/jsc/JavaInstanceJSC.cpp:
    35224 
    35225 2011-03-07  Sam Weinig  <sam@webkit.org>
    35226 
    35227         Reviewed by Anders Carlsson.
    35228 
    35229         Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse
    35230         https://bugs.webkit.org/show_bug.cgi?id=55827
    35231 
    35232         * loader/EmptyClients.h:
    35233         (WebCore::EmptyFrameLoaderClient::dispatchDecidePolicyForResponse):
    35234         * loader/FrameLoaderClient.h:
    35235         * loader/MainResourceLoader.cpp:
    35236         (WebCore::MainResourceLoader::didReceiveResponse):
    35237         * loader/PolicyChecker.cpp:
    35238         (WebCore::PolicyChecker::checkContentPolicy):
    35239         * loader/PolicyChecker.h:
    35240         Rename FrameLoaderClient::dispatchDecidePolicyForMIMEType to dispatchDecidePolicyForResponse
    35241         and pass the entire response, instead of just the MIMEType.
    35242 
    35243 2011-03-07  Eric Carlson  <eric.carlson@apple.com>
    35244 
    35245         Reviewed by Darin Adler.
    35246 
    35247         Add API to enumerate/delete files downloaded for <audio> and <video>
    35248         https://bugs.webkit.org/show_bug.cgi?id=55267
    35249         <rdar://problem/9049280>
    35250 
    35251         No new tests, this is just more plumbing.
    35252 
    35253         * html/HTMLMediaElement.cpp:
    35254         (WebCore::HTMLMediaElement::getSitesInMediaCache): Make static, call MediaPlayer static method.
    35255         (WebCore::HTMLMediaElement::clearMediaCache): Ditto.
    35256         (WebCore::HTMLMediaElement::clearMediaCacheForSite): Ditto.
    35257         * html/HTMLMediaElement.h:
    35258 
    35259         * platform/graphics/MediaPlayer.cpp:
    35260         (WebCore::MediaPlayerFactory::MediaPlayerFactory): Add new media engine factory functions.
    35261         (WebCore::addMediaEngine): Ditto.
    35262         (WebCore::MediaPlayer::getSitesInMediaCache): Call static method on all installed media engines.
    35263         (WebCore::MediaPlayer::clearMediaCache): Ditto.
    35264         (WebCore::MediaPlayer::clearMediaCacheForSite): Ditto.
    35265         * platform/graphics/MediaPlayer.h:
    35266 
    35267         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
    35268         (WebCore::MediaPlayerPrivateGStreamer::registerMediaEngine): Update for MediaEngineRegistrar change.
    35269 
    35270         * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
    35271         (WebCore::MediaPlayerPrivateQTKit::registerMediaEngine): Ditto.
    35272 
    35273         * platform/graphics/qt/MediaPlayerPrivatePhonon.cpp:
    35274         (WebCore::MediaPlayerPrivatePhonon::registerMediaEngine): Ditto.
    35275 
    35276         * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
    35277         (WebCore::MediaPlayerPrivateQt::registerMediaEngine): Ditto.
    35278 
    35279         * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
    35280         (WebCore::MediaPlayerPrivateQuickTimeVisualContext::registerMediaEngine): Ditto.
    35281 
    35282         * platform/graphics/win/MediaPlayerPrivateQuickTimeWin.cpp:
    35283         (WebCore::MediaPlayerPrivate::registerMediaEngine): Ditto.
    35284 
    35285 2011-03-07  Steve Block  <steveblock@google.com>
    35286 
    35287         Reviewed by Jeremy Orlow.
    35288 
    35289         Split JNIBridge.cpp/h into JavaString.h and JavaMethod.cpp/h
    35290         https://bugs.webkit.org/show_bug.cgi?id=55774
    35291 
    35292         No new tests, refactoring only.
    35293 
    35294         * Android.jscbindings.mk:
    35295         * Android.v8bindings.mk:
    35296         * GNUmakefile.am:
    35297         * WebCore.gypi:
    35298         * WebCore.xcodeproj/project.pbxproj:
    35299         * bridge/jni/JavaMethod.cpp:
    35300         (JavaMethod::JavaMethod):
    35301         (JavaMethod::~JavaMethod):
    35302         (appendClassName):
    35303         (JavaMethod::signature):
    35304         (JavaMethod::JNIReturnType):
    35305         (JavaMethod::methodID):
    35306         * bridge/jni/JavaMethod.h:
    35307         (JSC::Bindings::JavaMethod::name):
    35308         (JSC::Bindings::JavaMethod::returnType):
    35309         (JSC::Bindings::JavaMethod::parameterAt):
    35310         (JSC::Bindings::JavaMethod::numParameters):
    35311         (JSC::Bindings::JavaMethod::isStatic):
    35312         * bridge/jni/JavaString.h:
    35313         (JSC::Bindings::JavaString::JavaString):
    35314         (JSC::Bindings::JavaString::utf8):
    35315         (JSC::Bindings::JavaString::length):
    35316         (JSC::Bindings::JavaString::impl):
    35317         * bridge/jni/jni_jsobject.mm:
    35318         * bridge/jni/jsc/JNIBridgeJSC.h:
    35319         * bridge/jni/v8/JNIBridgeV8.h:
    35320         * bridge/jni/v8/JavaClassV8.cpp:
    35321         * bridge/jni/v8/JavaClassV8.h:
    35322         * bridge/jni/v8/JavaInstanceV8.cpp:
    35323 
    35324 2011-03-07  Jeremy Orlow  <jorlow@chromium.org>
    35325 
    35326         Reviewed by Steve Block.
    35327 
    35328         Add source to IDBCursor, objectStore to IDBIndex, and remove storeName
    35329         https://bugs.webkit.org/show_bug.cgi?id=55812
    35330 
    35331         This brings us in line with what's in the spec:
    35332         http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html
    35333 
    35334         * storage/IDBCursor.cpp:
    35335         (WebCore::IDBCursor::create):
    35336         (WebCore::IDBCursor::IDBCursor):
    35337         (WebCore::IDBCursor::source):
    35338         * storage/IDBCursor.h:
    35339         * storage/IDBCursor.idl:
    35340         * storage/IDBCursorWithValue.cpp:
    35341         (WebCore::IDBCursorWithValue::create):
    35342         (WebCore::IDBCursorWithValue::IDBCursorWithValue):
    35343         * storage/IDBCursorWithValue.h:
    35344         * storage/IDBIndex.cpp:
    35345         (WebCore::IDBIndex::IDBIndex):
    35346         * storage/IDBIndex.h:
    35347         (WebCore::IDBIndex::create):
    35348         (WebCore::IDBIndex::objectStore):
    35349         * storage/IDBIndex.idl:
    35350         * storage/IDBObjectStore.cpp:
    35351         (WebCore::IDBObjectStore::createIndex):
    35352         (WebCore::IDBObjectStore::index):
    35353         * storage/IDBRequest.cpp:
    35354         (WebCore::IDBRequest::onSuccess):
    35355 
    35356 2011-03-07  Chris Fleizach  <cfleizach@apple.com>
    35357 
    35358         Reviewed by Beth Dakin.
    35359 
    35360         AX: kAXCellForColumnAndRowParameterizedAttribute doesn't work ARIA grids with colspans
    35361         https://bugs.webkit.org/show_bug.cgi?id=55735
    35362 
    35363         The ARIA grid implementation needed to verify the row/column range of a cell instead of
    35364         assuming a 1-1 mapping between children and row/column.
    35365 
    35366         Test: platform/mac/accessibility/aria-table-with-colspan-cells.html
    35367 
    35368         * accessibility/AccessibilityARIAGrid.cpp:
    35369         (WebCore::AccessibilityARIAGrid::cellForColumnAndRow):
    35370 
    35371 2011-03-07  Andrei Popescu  <andreip@google.com>
    35372 
    35373         Reviewed by Steve Block.
    35374 
    35375         IDBRequest::onSuccess(IDBObjectStore*) should be removed as it is unused.
    35376         IDBObjectStore objects used to be created asynchronously, so we needed
    35377         this method to be invoked, with the new object store as the parameter,
    35378         whenever the creation succeeded. The spec has changed so that IDBObjectStore
    35379         objects are created synchronously, so this method is no longer needed.
    35380         https://bugs.webkit.org/show_bug.cgi?id=55777
    35381 
    35382         No new tests, just refactoring.
    35383 
    35384         * storage/IDBCallbacks.h:
    35385         * storage/IDBRequest.cpp:
    35386         * storage/IDBRequest.h:
    35387 
    35388 2011-03-04  Steve Block  <steveblock@google.com>
    35389 
    35390         Reviewed by Jeremy Orlow.
    35391 
    35392         JavaParameter should be removed
    35393         https://bugs.webkit.org/show_bug.cgi?id=55772
    35394 
    35395         No new tests, refactoring only.
    35396 
    35397         * bridge/jni/JNIBridge.cpp:
    35398         (JavaMethod::JavaMethod):
    35399         (JavaMethod::~JavaMethod):
    35400         (JavaMethod::signature):
    35401         * bridge/jni/JNIBridge.h:
    35402         (JSC::Bindings::JavaMethod::parameterAt):
    35403         (JSC::Bindings::JavaMethod::numParameters):
    35404         * bridge/jni/JNIUtility.h:
    35405         * bridge/jni/jsc/JavaInstanceJSC.cpp:
    35406         (JavaInstance::invokeMethod):
    35407         * bridge/jni/v8/JNIUtilityPrivate.cpp:
    35408         (JSC::Bindings::convertNPVariantToJValue):
    35409         * bridge/jni/v8/JNIUtilityPrivate.h:
    35410         * bridge/jni/v8/JavaInstanceV8.cpp:
    35411         (JavaInstance::invokeMethod):
    35412 
    35413 2011-03-07  Antti Koivisto  <antti@apple.com>
    35414 
    35415         Reviewed by Oliver Hunt.
    35416 
    35417         REGRESSION (r79574): fast/dom/global-constructors.html failing on Windows 7 Release (Tests) bots
    35418         https://bugs.webkit.org/show_bug.cgi?id=55166
    35419         <rdar://problem/9050430>
    35420        
    35421         Make CSS primitive value cache per-document.
    35422        
    35423         Test: http/tests/security/cross-origin-css-primitive.html
    35424 
    35425         * Android.mk:
    35426         * CMakeLists.txt:
    35427         * GNUmakefile.am:
    35428         * WebCore.gypi:
    35429         * WebCore.pro:
    35430         * WebCore.vcproj/WebCore.vcproj:
    35431         * WebCore.xcodeproj/project.pbxproj:
    35432         * css/CSSComputedStyleDeclaration.cpp:
    35433         (WebCore::valueForNinePieceImage):
    35434         (WebCore::zoomAdjustedPixelValue):
    35435         (WebCore::zoomAdjustedNumberValue):
    35436         (WebCore::zoomAdjustedPixelValueForLength):
    35437         (WebCore::valueForReflection):
    35438         (WebCore::getPositionOffsetValue):
    35439         (WebCore::CSSComputedStyleDeclaration::currentColorOrValidColor):
    35440         (WebCore::getBorderRadiusCornerValue):
    35441         (WebCore::computedTransform):
    35442         (WebCore::getDelayValue):
    35443         (WebCore::getDurationValue):
    35444         (WebCore::CSSComputedStyleDeclaration::getFontSizeCSSValuePreferringKeyword):
    35445         (WebCore::CSSComputedStyleDeclaration::valueForShadow):
    35446         (WebCore::valueForFamily):
    35447         (WebCore::renderTextDecorationFlagsToCSSValue):
    35448         (WebCore::fillRepeatToCSSValue):
    35449         (WebCore::fillSizeToCSSValue):
    35450         (WebCore::contentToCSSValue):
    35451         (WebCore::counterToCSSValue):
    35452         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
    35453         * css/CSSParser.cpp:
    35454         (WebCore::CSSParser::parseSheet):
    35455         (WebCore::CSSParser::parseRule):
    35456         (WebCore::CSSParser::parseKeyframeRule):
    35457         (WebCore::CSSParser::parseValue):
    35458         (WebCore::CSSParser::parseColor):
    35459         (WebCore::CSSParser::parseSelector):
    35460         (WebCore::CSSParser::parseDeclaration):
    35461         (WebCore::CSSParser::setStyleSheet):
    35462         (WebCore::CSSParser::parseWCSSInputProperty):
    35463         (WebCore::parseBackgroundClip):
    35464         (WebCore::CSSParser::parseFillShorthand):
    35465         (WebCore::CSSParser::parsePage):
    35466         (WebCore::CSSParser::parseSizeParameter):
    35467         (WebCore::CSSParser::parseContent):
    35468         (WebCore::CSSParser::parseAttr):
    35469         (WebCore::CSSParser::parseBackgroundColor):
    35470         (WebCore::CSSParser::parseFillPositionXY):
    35471         (WebCore::CSSParser::parseFillPosition):
    35472         (WebCore::CSSParser::parseFillRepeat):
    35473         (WebCore::CSSParser::parseFillSize):
    35474         (WebCore::CSSParser::parseFillProperty):
    35475         (WebCore::CSSParser::parseAnimationDelay):
    35476         (WebCore::CSSParser::parseAnimationDirection):
    35477         (WebCore::CSSParser::parseAnimationDuration):
    35478         (WebCore::CSSParser::parseAnimationFillMode):
    35479         (WebCore::CSSParser::parseAnimationIterationCount):
    35480         (WebCore::CSSParser::parseAnimationName):
    35481         (WebCore::CSSParser::parseAnimationPlayState):
    35482         (WebCore::CSSParser::parseAnimationProperty):
    35483         (WebCore::CSSParser::parseTransformOriginShorthand):
    35484         (WebCore::CSSParser::parseAnimationTimingFunction):
    35485         (WebCore::CSSParser::parseDashboardRegions):
    35486         (WebCore::CSSParser::parseCounterContent):
    35487         (WebCore::CSSParser::parseShape):
    35488         (WebCore::CSSParser::parseFont):
    35489         (WebCore::CSSParser::parseFontFamily):
    35490         (WebCore::CSSParser::parseFontStyle):
    35491         (WebCore::CSSParser::parseFontVariant):
    35492         (WebCore::CSSParser::parseFontWeight):
    35493         (WebCore::ShadowParseContext::ShadowParseContext):
    35494         (WebCore::ShadowParseContext::commitLength):
    35495         (WebCore::ShadowParseContext::commitStyle):
    35496         (WebCore::CSSParser::parseShadow):
    35497         (WebCore::CSSParser::parseReflect):
    35498         (WebCore::BorderImageParseContext::BorderImageParseContext):
    35499         (WebCore::BorderImageParseContext::commitNumber):
    35500         (WebCore::BorderImageParseContext::commitBorderImage):
    35501         (WebCore::CSSParser::parseBorderImage):
    35502         (WebCore::CSSParser::parseBorderRadius):
    35503         (WebCore::CSSParser::parseCounter):
    35504         (WebCore::parseDeprecatedGradientPoint):
    35505         (WebCore::parseDeprecatedGradientColorStop):
    35506         (WebCore::CSSParser::parseDeprecatedGradient):
    35507         (WebCore::valueFromSideKeyword):
    35508         (WebCore::parseGradientColorOrKeyword):
    35509         (WebCore::CSSParser::parseLinearGradient):
    35510         (WebCore::CSSParser::parseRadialGradient):
    35511         (WebCore::CSSParser::parseGradientColorStops):
    35512         (WebCore::CSSParser::parseTransform):
    35513         (WebCore::CSSParser::parseTransformOrigin):
    35514         (WebCore::CSSParser::parseTextEmphasisStyle):
    35515         * css/CSSParser.h:
    35516         (WebCore::CSSParser::primitiveValueCache):
    35517         * css/CSSPrimitiveValue.cpp:
    35518         * css/CSSPrimitiveValue.h:
    35519         (WebCore::CSSPrimitiveValue::createIdentifier):
    35520         (WebCore::CSSPrimitiveValue::createColor):
    35521         (WebCore::CSSPrimitiveValue::create):
    35522         * css/CSSPrimitiveValueCache.cpp: Added.
    35523         (WebCore::CSSPrimitiveValueCache::CSSPrimitiveValueCache):
    35524         (WebCore::CSSPrimitiveValueCache::~CSSPrimitiveValueCache):
    35525         (WebCore::CSSPrimitiveValueCache::createIdentifierValue):
    35526         (WebCore::CSSPrimitiveValueCache::createColorValue):
    35527         (WebCore::CSSPrimitiveValueCache::createValue):
    35528         * css/CSSPrimitiveValueCache.h: Added.
    35529         (WebCore::CSSPrimitiveValueCache::create):
    35530         (WebCore::CSSPrimitiveValueCache::createValue):
    35531         * dom/Document.cpp:
    35532         (WebCore::Document::cssPrimitiveValueCache):
    35533         * dom/Document.h:
    35534 
    35535 2011-03-06  Adam Barth  <abarth@webkit.org>
    35536 
    35537         Reviewed by Eric Seidel.
    35538 
    35539         Filter sources in WebCore GYP build for Mac
    35540         https://bugs.webkit.org/show_bug.cgi?id=55857
    35541 
    35542         This patch removes a large number of files that do not build as part of
    35543         the Mac build.  I'm not fully sold on this method of
    35544         including/excluding files, but it's the "gyp way" so we should probably
    35545         try it first.
    35546 
    35547         This patch also sets xcode_list_excluded_files to 0, which removes the
    35548         excluded files from the Xcode project file, which is necessary in order
    35549         to prevent the header map feature from including the wrong header file.
    35550 
    35551         * gyp/WebCore.gyp:
    35552 
    35553 2011-03-07  Ryuan Choi  <ryuan.choi@samsung.com>
    35554 
    35555         Unreviewed EFL build fix.
    35556 
    35557         [EFL] Build break on Debug build.
    35558         https://bugs.webkit.org/show_bug.cgi?id=55858
    35559 
    35560         * platform/efl/RenderThemeEfl.cpp:
    35561         (WebCore::RenderThemeEfl::themePartCacheEntrySurfaceCreate):
    35562 
    35563 2011-03-06  Adam Barth  <abarth@webkit.org>
    35564 
    35565         Reviewed by Eric Seidel.
    35566 
    35567         Add webcore_derived_source_files to WebCore.gypi
    35568         https://bugs.webkit.org/show_bug.cgi?id=55856
    35569 
    35570         This is the list of files generated by the Mac port.  It's possible
    35571         other ports generate a different list of files.
    35572 
    35573         * WebCore.gypi:
    35574         * gyp/WebCore.gyp:
    35575 
    35576 2011-03-06  Naoki Takano  <takano.naoki@gmail.com>
    35577 
    35578         Reviewed by Kent Tamura.
    35579 
    35580         Input type=number spin buttons remain invisible but functional after div changed from hidden to visible.
    35581         https://bugs.webkit.org/show_bug.cgi?id=55839
    35582         http://crbug.com/73866
    35583         http://crbug.com/62527
    35584 
    35585         We also need style change for m_innerSpinButton not only for m_outerSpinBuggon when styleDidChange() is called.
    35586 
    35587         Test: fast/forms/input-appearance-spinbutton-visibility.html
    35588 
    35589         * rendering/RenderTextControlSingleLine.cpp:
    35590         (WebCore::RenderTextControlSingleLine::styleDidChange):
    35591 
    35592 2011-03-06  Naoki Takano  <takano.naoki@gmail.com>
    35593 
    35594         Reviewed by Kent Tamura.
    35595 
    35596         [Chromium] Autocomplete suggestion extends out of window (and onto second monitor)
    35597         https://bugs.webkit.org/show_bug.cgi?id=54795
    35598 
    35599         Implement width clip logic according to browser screen width and popup window width. This fix is enough for Win and Mac, but there is a problem in Linux. Because WebScreenInfoFactory::screenInfo() can get only merged screen size, not the screen size where the browser exists.
    35600 
    35601         Test: manual-tests/popup-width-restriction-within-screen.html
    35602 
    35603         * manual-tests/popup-width-restriction-within-screen.html: Added.
    35604         * platform/chromium/PopupMenuChromium.cpp:
    35605         (WebCore::PopupContainer::layoutAndCalculateWidgetRect): Implement the width clip logic according to screen width.
    35606 
    35607 2011-03-06  Yuta Kitamura  <yutak@chromium.org>
    35608 
    35609         Reviewed by Kent Tamura.
    35610 
    35611         Add SHA-1 for new WebSocket protocol
    35612         https://bugs.webkit.org/show_bug.cgi?id=55039
    35613 
    35614         * ForwardingHeaders/wtf/SHA1.h: Added.
    35615 
    35616 2011-03-06  Eric Carlson  <eric.carlson@apple.com>
    35617 
    35618         Reviewed by Antti Koivisto.
    35619 
    35620         QuickTime based media engines should respect private browsing mode
    35621         https://bugs.webkit.org/show_bug.cgi?id=55848
    35622 
    35623         No new tests, it is only possible to test this by manually deleting and monitoring the
    35624         the Quicktime caches.
    35625 
    35626         * html/HTMLMediaElement.cpp:
    35627         (WebCore::HTMLMediaElement::privateBrowsingStateDidChange): Add logging.
    35628 
    35629         * platform/graphics/MediaPlayer.cpp:
    35630         (WebCore::MediaPlayer::MediaPlayer): Initialize m_privateBrowsing.
    35631         (WebCore::MediaPlayer::loadWithNextMediaEngine): Set privacy mode on new media engine.
    35632         (WebCore::MediaPlayer::setPrivateBrowsingMode): Stash setting in m_privateBrowsing.
    35633         * platform/graphics/MediaPlayer.h:
    35634         * platform/graphics/MediaPlayerPrivate.h:
    35635         (WebCore::MediaPlayerPrivateInterface::setPrivateBrowsingMode):
    35636 
    35637         * platform/graphics/mac/MediaPlayerPrivateQTKit.h:
    35638         * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
    35639         (WebCore::MediaPlayerPrivateQTKit::MediaPlayerPrivateQTKit): Initialize m_privateBrowsing.
    35640         (WebCore::MediaPlayerPrivateQTKit::createQTMovie): Pass private browsing attribute when
    35641             creating new movie.
    35642         (WebCore::MediaPlayerPrivateQTKit::setPrivateBrowsingMode): New, store privacy setting in
    35643             m_privateBrowsing and set movie attribute.
    35644 
    35645         * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
    35646         (WebCore::MediaPlayerPrivateQuickTimeVisualContext::MediaPlayerPrivateQuickTimeVisualContext):
    35647             Initialize m_privateBrowsing.
    35648         (WebCore::MediaPlayerPrivateQuickTimeVisualContext::setPrivateBrowsingMode): New, store
    35649             privacy setting in m_privateBrowsing and call QTMovie.
    35650         * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.h:
    35651 
    35652         * platform/graphics/win/QTMovie.cpp:
    35653         (QTMoviePrivate::QTMoviePrivate): Initialize m_privateBrowsing.
    35654         (QTMovie::load):Pass private browsing property when creating new movie.
    35655         (QTMovie::setPrivateBrowsingMode):  New, store privacy setting in m_privateBrowsing and
    35656             set movie property.
    35657         * platform/graphics/win/QTMovie.h:
    35658 
    35659 2011-03-06  Daniel Bates  <dbates@rim.com>
    35660 
    35661         Reviewed by Darin Adler.
    35662 
    35663         style.borderSpacing always returns empty string
    35664         https://bugs.webkit.org/show_bug.cgi?id=54816
    35665 
    35666         Teach CSSMutableStyleDeclaration::getPropertyValue() how to reconstitute
    35667         the value for border-spacing from the value of the WebKit internal CSS
    35668         property -webkit-border-horizontal-spacing and -webkit-border-vertical-spacing.
    35669 
    35670         The CSS property border-spacing describes the horizontal and vertical border
    35671         spacing for an HTML Table element. Notice, WebKit internally represents the value
    35672         of this property as two properties: -webkit-border-horizontal-spacing and
    35673         -webkit-border-vertical-spacing, for the horizontal and vertical border spacing,
    35674         respectively. And WebKit doesn't know to reconstitute these internal properties.
    35675         Therefore style.borderSpacing always returns the empty string.
    35676 
    35677         Test: fast/css/table-border-spacing.html
    35678 
    35679         * css/CSSMutableStyleDeclaration.cpp:
    35680         (WebCore::CSSMutableStyleDeclaration::getPropertyValue):
    35681         (WebCore::CSSMutableStyleDeclaration::borderSpacingValue): Added.
    35682         * css/CSSMutableStyleDeclaration.h:
    35683 
    35684 2011-03-06  Dan Bernstein  <mitz@apple.com>
    35685 
    35686         Reviewed by Oliver Hunt.
    35687 
    35688         <rdar://problem/9093327> Implement -hyphenate-limit-{before,after}
    35689         https://bugs.webkit.org/show_bug.cgi?id=55850
    35690 
    35691         Tests: fast/css/parsing-hyphenate-limit.html
    35692                fast/text/hyphenate-limit-before-after.html
    35693 
    35694         * css/CSSComputedStyleDeclaration.cpp:
    35695         (WebCore::computedProperties) Updated this array with the new properties and some old properties
    35696         that it was missing.
    35697         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Added
    35698         CSSPropertyWebkitHyphenateLimit{Before,After}.
    35699 
    35700         * css/CSSParser.cpp:
    35701         (WebCore::CSSParser::parseValue): Parse -webkit-hyphenate-limit-{before,after}, allowing
    35702         'auto' and non-negative integers.
    35703 
    35704         * css/CSSPropertyNames.in: Added -webkit-hyphenate-limit-{before,after}.
    35705 
    35706         * css/CSSStyleSelector.cpp:
    35707         (WebCore::CSSStyleSelector::applyProperty): Handle CSSPropertyWebkitHyphenateLimit{Before,After}.
    35708 
    35709         * rendering/RenderBlockLineLayout.cpp:
    35710         (WebCore::tryHyphenating): Added minimum prefix and suffix length parameters and checks to only
    35711         allow hyphenation if the prefix and the suffix are sufficiently long.
    35712         (WebCore::RenderBlock::findNextLineBreak): Pass the limits to tryHyphenating().
    35713 
    35714         * rendering/style/RenderStyle.cpp:
    35715         (WebCore::RenderStyle::diff): A difference in hyphenation limits is a layout difference.
    35716 
    35717         * rendering/style/RenderStyle.h:
    35718         (WebCore::InheritedFlags::hyphenationLimitBefore): Added.
    35719         (WebCore::InheritedFlags::hyphenationLimitAfter): Added.
    35720         (WebCore::InheritedFlags::setHyphenationLimitBefore): Added.
    35721         (WebCore::InheritedFlags::setHyphenationLimitAfter): Added.
    35722         (WebCore::InheritedFlags::initialHyphenationLimitBefore): Added. Returns -1, which is the
    35723         representation of 'auto'.
    35724         (WebCore::InheritedFlags::initialHyphenationLimitAfter): Ditto.
    35725 
    35726         * rendering/style/StyleRareInheritedData.cpp:
    35727         (WebCore::StyleRareInheritedData::StyleRareInheritedData): Initialize hyphenation limits.
    35728         (WebCore::StyleRareInheritedData::operator==): Compare hyphenation limits.
    35729         * rendering/style/StyleRareInheritedData.h:
    35730 
    35731 2011-03-06  Jessie Berlin  <jberlin@apple.com>
    35732 
    35733         Reviewed by Sam Weinig.
    35734 
    35735         WebKit2: Use CFNetwork Sessions API.
    35736         https://bugs.webkit.org/show_bug.cgi?id=55435.
    35737 
    35738         When Private Browsing is enabled, use cookies from a in-memory cookie storage based on the
    35739         Private Browsing Storage Session.
    35740 
    35741         * WebCore.exp.in:
    35742         Add the new WKSI functions.
    35743         * platform/mac/WebCoreSystemInterface.h:
    35744         Ditto.
    35745         * platform/mac/WebCoreSystemInterface.mm:
    35746         Ditto.
    35747 
    35748         * platform/mac/CookieJar.mm:
    35749         (WebCore::cookies):
    35750         If USE(CFURLSTORAGESESSIONS) and there is a Private Browsing Cookie Storage, call into WKSI.
    35751         Otherwise, behave the same as before.
    35752         (WebCore::cookieRequestHeaderFieldValue):
    35753         Ditto.
    35754         (WebCore::setCookies):
    35755         Ditto.
    35756         (WebCore::cookiesEnabled):
    35757         Ditto
    35758         (WebCore::getRawCookies):
    35759         Ditto.
    35760         (WebCore::deleteCookie):
    35761         Ditto.
    35762 
    35763         * platform/network/CookieStorage.h:
    35764         * platform/network/cf/CookieStorageCFNet.cpp:
    35765         (WebCore::privateBrowsingCookieStorage):
    35766         Keep track of the Private Browsing Cookie Storage in a locally defined static inside a
    35767         function instead of at the global scope.
    35768         (WebCore::currentCookieStorage):
    35769         Use privateBrowsingCookieStorage.
    35770         (WebCore::setCurrentCookieStorage):
    35771         Ditto.
    35772         (WebCore::setCookieStoragePrivateBrowsingEnabled):
    35773         If USE(CFURLSTORAGESESSIONS), send the Private Browsing Storage Session to
    35774         wkCreatePrivateInMemoryHTTPCookieStorage.
    35775         * platform/network/mac/CookieStorageMac.mm:
    35776         (WebCore::privateBrowsingCookieStorage):
    35777         Keep track of the Private Browsing Cookie Storage.
    35778         (WebCore::setCookieStoragePrivateBrowsingEnabled):
    35779         If USE(CFURLSTORAGESESSIONS), then set or clear privateBrowsingCookieStorage().
    35780         Added a FIXME to observe changes to the Private Browsing Cookie Storage when it is defined.
    35781 
    35782         * platform/network/mac/ResourceHandleMac.mm:
    35783         (WebCore::shouldRelaxThirdPartyCookiePolicy):
    35784         Refactor the logic to determine whether or not to relax the third party cookie policy here.
    35785         If USE(CFURLSTORAGESESSIONS), then get the information from the privateBrowsingCookieStorage.
    35786         (WebCore::ResourceHandle::createNSURLConnection):
    35787         Use shouldRelaxThirdPartyCookiePolicy.
    35788         (WebCore::ResourceHandle::loadResourceSynchronously):
    35789         Ditto.
    35790 
    35791 2011-03-05  Sheriff Bot  <webkit.review.bot@gmail.com>
    35792 
    35793         Unreviewed, rolling out r80428.
    35794         http://trac.webkit.org/changeset/80428
    35795         https://bugs.webkit.org/show_bug.cgi?id=55833
    35796 
    35797         Broke SnowLeopard (Requested by xan_ on #webkit).
    35798 
    35799         * plugins/gtk/PluginViewGtk.cpp:
    35800         (WebCore::PluginView::handlePostReadFile):
    35801 
    35802 2011-03-01  Martin Robinson  <mrobinson@igalia.com>
    35803 
    35804         Reviewed by Xan Lopez.
    35805 
    35806         [GTK] Windowless plugins override the view cursor
    35807         https://bugs.webkit.org/show_bug.cgi?id=55531
    35808 
    35809         manual test: manual-tests/plugins/windowless.html
    35810 
    35811         * platform/gtk/WidgetGtk.cpp:
    35812         (WebCore::Widget::setCursor): Call into the ChromeClient implementation now.
    35813         * plugins/gtk/PluginViewGtk.cpp:
    35814         (WebCore::PluginView::initXEvent): Instead of setting the window for windowless
    35815         plugin events, set the window value to none. This method is also used to send
    35816         focus in / focus out events to windowed plugins, but this is not one of the plugin
    35817         types where the window parameter matters. This matches what Mozilla does. Also
    35818         pass in the display of the widget itself, not the default display.
    35819         (WebCore::PluginView::handleMouseEvent): When the cursor leaves the plugin area,
    35820         reset the cursor.
    35821         (WebCore::PluginView::platformGetValue): Clean up this section slightly. Give the
    35822         widget the top-level window explicitly. This matches Mozilla.
    35823 
    35824 2011-03-05  Martin Robinson  <mrobinson@igalia.com>
    35825 
    35826         Reviewed by Xan Lopez.
    35827 
    35828         [GTK] http/tests/plugins/post-url-file.html fails on GTK+
    35829         https://bugs.webkit.org/show_bug.cgi?id=55826
    35830 
    35831         Correct the implementation of handlePostReadFile which uses GIO APIs and
    35832         actually resizes the buffer to fit the entire size of the file data. This
    35833         was likely leading to memory corruption until now.
    35834 
    35835         * plugins/gtk/PluginViewGtk.cpp:
    35836         (WebCore::PluginView::handlePostReadFile): Fix this method.
    35837 
    35838 2011-03-05  Mikhail Naganov  <mnaganov@chromium.org>
    35839 
    35840         Reviewed by Pavel Feldman.
    35841 
    35842         Web Inspector: [Chromium] Allow dynamic enabling of detailed heap profiles.
    35843         https://bugs.webkit.org/show_bug.cgi?id=55824
    35844 
    35845         Detailed heap profiles can be now enabled by typing "leakz" in Profiles tab.
    35846 
    35847         * inspector/front-end/DetailedHeapshotView.js:
    35848         (WebInspector.DetailedHeapshotView.prototype.isDetailedSnapshot):
    35849         * inspector/front-end/ProfilesPanel.js:
    35850         (WebInspector.ProfilesPanel.prototype._finishHeapSnapshot.doParse):
    35851         (WebInspector.ProfilesPanel.prototype._finishHeapSnapshot):
    35852         (WebInspector.ProfilesPanel.prototype._reportHeapSnapshotProgress):
    35853         (WebInspector.ProfilesPanel.prototype.handleShortcut):
    35854         (WebInspector.ProfilesPanel.prototype._displayDetailedHeapProfilesEnabledHint.hideHint):
    35855         (WebInspector.ProfilesPanel.prototype._displayDetailedHeapProfilesEnabledHint):
    35856         (WebInspector.ProfilesPanel.prototype._enableDetailedHeapProfiles):
    35857         (WebInspector.ProfilesPanel.prototype._recognizeKeyboardCombo):
    35858 
    35859 2011-03-05  Qi Zhang  <qi.2.zhang@nokia.com>
    35860 
    35861         Reviewed by Laszlo Gombos.
    35862 
    35863         [Qt] Mobile Devices should include Model and Firmware Version in Webkit Generated User Agent String
    35864         https://bugs.webkit.org/show_bug.cgi?id=48636
    35865 
    35866         Add model infomation into user agent string when qtmobility is available, but only for symbian, Maemo and MeeGo.
    35867 
    35868         * WebCore.pri:
    35869         * features.pri:
    35870 
    35871 2011-03-05  Pavel Feldman  <pfeldman@chromium.org>
    35872 
    35873         Not reviewed: adding null check to prevent inspector tests from failing.
    35874 
    35875         * inspector/front-end/TextViewer.js:
    35876         (WebInspector.TextEditorGutterChunk.prototype.get offsetTop):
    35877         (WebInspector.TextEditorMainChunk.prototype.get offsetTop):
    35878 
    35879 2011-03-05  Pavel Feldman  <pfeldman@chromium.org>
    35880 
    35881         Not reviewed: chromium rebaseline, flaky test fix.
    35882 
    35883         * inspector/front-end/BreakpointManager.js:
    35884         (WebInspector.DOMBreakpointView.prototype.populateStatusMessageElement.decorateNode):
    35885         (WebInspector.DOMBreakpointView.prototype.populateStatusMessageElement):
    35886         (WebInspector.DOMBreakpointView.prototype._format.formatters.s):
    35887         (WebInspector.DOMBreakpointView.prototype._format.append):
    35888         (WebInspector.DOMBreakpointView.prototype._format):
    35889 
    35890 2011-03-04  Pavel Podivilov  <podivilov@chromium.org>
    35891 
    35892         Reviewed by Yury Semikhatsky.
    35893 
    35894         Web Inspector: [chromium] pause when script is running is broken.
    35895         https://bugs.webkit.org/show_bug.cgi?id=55762
    35896 
    35897         * inspector/CodeGeneratorInspector.pm:
    35898 
    35899 2011-03-05  Adam Barth  <abarth@webkit.org>
    35900 
    35901         Reviewed by Dimitri Glazkov.
    35902 
    35903         Add Derived Sources to WebCore GYP build
    35904         https://bugs.webkit.org/show_bug.cgi?id=55813
    35905 
    35906         Adding the derived source action to the GYP file required tweaking
    35907         DerivedSources.make.  I'm not sure how DerivedSources.make worked
    35908         before beause these paths were incorrectly based.
    35909 
    35910         * DerivedSources.make:
    35911         * gyp/generate-derived-sources.sh: Added.
    35912         * gyp/WebCore.gyp:
    35913 
    35914 2011-03-04  Pavel Feldman  <pfeldman@chromium.org>
    35915 
    35916         Reviewed by Yury Semikhatsky.
    35917 
    35918         Web Inspector: fix layout tests flakiness.
    35919         https://bugs.webkit.org/show_bug.cgi?id=55816
    35920 
    35921         - Order of issuing of evaluateForTestInFrontend was not guaranteed on the backend side (InspectorAgent side)
    35922         - Order of dispatching using timeouts was guaranteed via queueing. Source of all kinds of pains on SnowLeopard Release (inspector.js)
    35923 
    35924         * inspector/CodeGeneratorInspector.pm:
    35925         * inspector/InspectorAgent.cpp:
    35926         (WebCore::InspectorAgent::InspectorAgent):
    35927         (WebCore::InspectorAgent::disconnectFrontend):
    35928         (WebCore::InspectorAgent::populateScriptObjects):
    35929         (WebCore::InspectorAgent::evaluateForTestInFrontend):
    35930         (WebCore::InspectorAgent::issueEvaluateForTestCommands):
    35931         * inspector/InspectorAgent.h:
    35932         * inspector/front-end/TimelinePanel.js:
    35933         (WebInspector.TimelinePanel.FormattedRecord):
    35934         * inspector/front-end/inspector.js:
    35935         (WebInspector.dispatch):
    35936 
    35937 2011-03-05  Adam Barth  <abarth@webkit.org>
    35938 
    35939         Reviewed by Dimitri Glazkov.
    35940 
    35941         WebCore GYP build should generate fewer than 10,000 compile errors per file
    35942         https://bugs.webkit.org/show_bug.cgi?id=55810
    35943 
    35944         This patch adds some missing include paths.  We need to figure out how
    35945         to handle separate include paths per port.  It's clear that
    35946         ForwardingHeaders are only useful for Mac, but it's less clear how to
    35947         handle the others.
    35948 
    35949         * WebCore.gypi:
    35950         * gyp/WebCore.gyp:
    35951 
    35952 2011-03-05  Dan Bernstein  <mitz@apple.com>
    35953 
    35954         Reviewed by Cameron Zwarich.
    35955 
    35956         <rdar://problem/9082946> Make the Core Text code path in GlyphPage::fill() more robust
    35957         https://bugs.webkit.org/show_bug.cgi?id=55817
    35958 
    35959         * platform/graphics/mac/GlyphPageTreeNodeMac.cpp:
    35960         (WebCore::GlyphPage::fill): When determining if a CTRun uses the primary font, compare against
    35961         a CGFont obtained from Core Text for the primary font. This CGFont may be different from
    35962         the CGFont stored in the FontPlatformData.
    35963 
    35964 2011-03-05  Ilya Sherman  <isherman@chromium.org>
    35965 
    35966         Reviewed by Darin Adler.
    35967 
    35968         HTMLInputElement::setValue() should schedule change event when the element is focused.
    35969         Refactored tracking of "changed since last change event" state from renderer to DOM.In service of https://code.google.com/p/chromium/issues
    35970         In service of https://code.google.com/p/chromium/issues/detail?id=42716
    35971         https://bugs.webkit.org/show_bug.cgi?id=53160
    35972 
    35973         Test: fast/forms/onchange-change-type.html
    35974         Test: fast/forms/onchange-setvalueforuser.html
    35975 
    35976         * WebCore.exp.in:
    35977         * dom/Document.cpp:
    35978         (WebCore::Document::setFocusedNode):
    35979         * dom/Element.h:
    35980         (WebCore::Element::wasChangedSinceLastFormControlChangeEvent): Added.
    35981         (WebCore::Element::setChangedSinceLastFormControlChangeEvent): Added.
    35982         * html/HTMLFormControlElement.cpp:
    35983         (WebCore::HTMLFormControlElement::HTMLFormControlElement):
    35984         (WebCore::HTMLFormControlElement::wasChangedSinceLastFormControlChangeEvent): Added.
    35985         (WebCore::HTMLFormControlElement::setChangedSinceLastFormControlChangeEvent): Added.
    35986         (WebCore::HTMLFormControlElement::dispatchFormControlChangeEvent): Also clear the "changed since last change event" flag.
    35987         (WebCore::HTMLFormControlElement::dispatchFormControlInputEvent): Also set the "changed since last change event" flag.
    35988         * html/HTMLFormControlElement.h:
    35989         * html/HTMLInputElement.cpp:
    35990         (WebCore::HTMLInputElement::updateType): Also clear the "changed since last change event" flag.
    35991         (WebCore::HTMLInputElement::setValue):
    35992             For a focused text field, dispatch an input event, but delay the change event until the field loses focus.
    35993         (WebCore::HTMLInputElement::defaultEventHandler):
    35994         (WebCore::HTMLInputElement::stepUpFromRenderer):
    35995         * html/shadow/TextControlInnerElements.cpp:
    35996         (WebCore::SearchFieldCancelButtonElement::defaultEventHandler):
    35997         * rendering/RenderTextControl.cpp:
    35998         (WebCore::RenderTextControl::RenderTextControl):
    35999         (WebCore::RenderTextControl::subtreeHasChanged):
    36000         * rendering/RenderTextControl.h:
    36001         * rendering/RenderTextControlMultiLine.cpp:
    36002         (WebCore::RenderTextControlMultiLine::subtreeHasChanged):
    36003         * rendering/RenderTextControlSingleLine.cpp:
    36004         (WebCore::RenderTextControlSingleLine::subtreeHasChanged):
    36005         * wml/WMLInputElement.cpp:
    36006         (WebCore::WMLInputElement::WMLInputElement):
    36007         (WebCore::WMLInputElement::defaultEventHandler):
    36008         * wml/WMLInputElement.h:
    36009         (WebCore::WMLInputElement::wasChangedSinceLastFormControlChangeEvent): Added.
    36010         (WebCore::WMLInputElement::setChangedSinceLastFormControlChangeEvent): Added.
    36011 
    36012 2011-03-04  Xianzhu Wang  <wangxianzhu@google.com>
    36013 
    36014         Reviewed by Adam Barth.
    36015 
    36016         Remove fake request loading of SVGImage to avoid MainResourceLoader
    36017         leak. The frame->init() already ensures initialization of the
    36018         document loader.
    36019 
    36020         https://bugs.webkit.org/show_bug.cgi?id=55017
    36021 
    36022         Test: fast/images/svg-image-leak-loader.html
    36023 
    36024         * svg/graphics/SVGImage.cpp:
    36025         (WebCore::SVGImage::dataChanged):
    36026 
    36027 2011-03-04  Mike Reed  <reed@google.com>
    36028 
    36029         Reviewed by Mihai Parparita.
    36030 
    36031         [Chromium] fast/canvas/canvas-arc-360-winding.html fails on Linux and Windows
    36032         https://bugs.webkit.org/show_bug.cgi?id=49477
    36033 
    36034         * platform/graphics/skia/PathSkia.cpp:
    36035         (WebCore::Path::addArc):
    36036 
    36037 2011-03-04  Jia Pu  <jpu@apple.com>
    36038 
    36039         Reviewed by Darin Adler.
    36040 
    36041         On Mac, the bounding box sent to EditorClient::showCorrectionPanel() is incorrect when the correction occurs in an iframe.
    36042         https://bugs.webkit.org/show_bug.cgi?id=55717
    36043         <rdar://problem/9018127>
    36044 
    36045         manual-test: manual-tests/platforms/mac/autocorrection/autocorrection-in-iframe.html
    36046 
    36047         Previously, the bounding box passed into EditorClient::showCorrectionPanel() is in the frame's
    36048         coordinate. This is incorrect when the correction occurs in an iframe. This patch added code
    36049         to convert the bounding box to window coordinate using ScrollView::contentToWindow().
    36050 
    36051         * dom/Range.cpp:
    36052         (WebCore::Range::getBoundingClientRect):
    36053         (WebCore::Range::boundingRect):
    36054         * dom/Range.h:
    36055         * editing/Editor.cpp:
    36056         (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
    36057         (WebCore::Editor::correctionPanelTimerFired):
    36058         (WebCore::Editor::windowRectForRange):
    36059         * editing/Editor.h:
    36060         * manual-tests/autocorrection/autocorrection-in-iframe.html: Added.
    36061         * manual-tests/autocorrection/document-for-iframe-test.html: Added.
    36062 
    36063 2011-03-04  Jia Pu  <jpu@apple.com>
    36064 
    36065         Reviewed by Darin Adler.
    36066 
    36067         Those checking in Editor::removeSpellAndCorrectionMarkersFromWordsToBeEdited() should be done with VisiblePosition::isNull().
    36068         https://bugs.webkit.org/show_bug.cgi?id=55731
    36069 
    36070         No new tests. There's no behavioral change.
    36071 
    36072         This patch improved clarity and readability of Editor::removeSpellAndCorrectionMarkersFromWordsToBeEdited().
    36073 
    36074         * editing/Editor.cpp:
    36075         (WebCore::Editor::removeSpellAndCorrectionMarkersFromWordsToBeEdited):
    36076 
    36077 2011-03-04  John Bauman  <jbauman@chromium.org>
    36078 
    36079         Reviewed by Kenneth Russell.
    36080 
    36081         [chromium] premultipliedAlpha WebGL context attribute is ignored.
    36082         https://bugs.webkit.org/show_bug.cgi?id=55411
    36083 
    36084         Update compositor to set the blending of each layer correctly.
    36085 
    36086         Test: compositing/webgl/webgl-nonpremultiplied-blend.html
    36087 
    36088         * platform/graphics/chromium/CanvasLayerChromium.cpp:
    36089         (WebCore::CanvasLayerChromium::CanvasLayerChromium):
    36090         (WebCore::CanvasLayerChromium::draw):
    36091         * platform/graphics/chromium/CanvasLayerChromium.h:
    36092         * platform/graphics/chromium/ContentLayerChromium.cpp:
    36093         (WebCore::ContentLayerChromium::draw):
    36094         * platform/graphics/chromium/LayerRendererChromium.cpp:
    36095         (WebCore::LayerRendererChromium::drawLayers):
    36096         * platform/graphics/chromium/WebGLLayerChromium.cpp:
    36097         (WebCore::WebGLLayerChromium::setContext):
    36098 
    36099 2011-03-04  Adam Barth  <abarth@webkit.org>
    36100 
    36101         Reviewed by Eric Seidel.
    36102 
    36103         WebCore GYP build should link with the correct frameworks
    36104         https://bugs.webkit.org/show_bug.cgi?id=55804
    36105 
    36106         * gyp/WebCore.gyp:
    36107 
    36108 2011-03-04  Adam Barth  <abarth@webkit.org>
    36109 
    36110         Reviewed by Eric Seidel.
    36111 
    36112         WebCore GYP build should Check For Inappropriate Files in Framework
    36113         https://bugs.webkit.org/show_bug.cgi?id=55806
    36114 
    36115         * gyp/WebCore.gyp:
    36116 
    36117 2011-03-04  Dimitri Glazkov  <dglazkov@chromium.org>
    36118 
    36119         Reviewed by Adam Barth.
    36120 
    36121         Add skeletal WebCore.gyp
    36122         https://bugs.webkit.org/show_bug.cgi?id=55802
    36123 
    36124         This doesn't yet build, but the basic structure is there.
    36125 
    36126         * WebCore.gypi: Added headers and include directories variables.
    36127         * gyp/WebCore.gyp: Added.
    36128 
    36129 2011-03-04  Adam Barth  <abarth@webkit.org>
    36130 
    36131         Reviewed by Dimitri Glazkov.
    36132 
    36133         Remove unneeded round-trips through ../Source in the Chromium GYP build
    36134         https://bugs.webkit.org/show_bug.cgi?id=55795
    36135 
    36136         This is just cleanup work, but it was bugging me.
    36137 
    36138         * WebCore.gyp/WebCore.gyp:
    36139 
    36140 2011-03-04  Mike Reed  <reed@google.com>
    36141 
    36142         Reviewed by James Robinson.
    36143 
    36144         Option to use skia's native text drawing APIs when drawing text
    36145         on Windows, rather than from outlines using drawPath(). This will
    36146         only have a significant effect when the skia-gpu backend is enabled.
    36147         https://bugs.webkit.org/show_bug.cgi?id=55609
    36148 
    36149         No new tests. This is disabled by default. When enabled, it will draw
    36150         essentially the same, but with slightly different antialiased edges, due
    36151         to differences between the current scanconverter and GDI's font scaler.
    36152         When enabled, we will have to recalibrate layouttest image results.
    36153 
    36154         * platform/graphics/skia/SkiaFontWin.cpp:
    36155         (WebCore::skiaDrawText):
    36156         (WebCore::setupPaintForFont):
    36157         (WebCore::paintSkiaText):
    36158 
    36159 2011-03-04  Adrienne Walker  <enne@google.com>
    36160 
    36161         Reviewed by James Robinson.
    36162 
    36163         [chromium] Fix texture stride issues on large content and image layers.
    36164         https://bugs.webkit.org/show_bug.cgi?id=55679
    36165 
    36166         This was an error caused during the refactoring in r80081.
    36167 
    36168         Tests: LayoutTests/compositing/tiling/huge-layer-img.html
    36169 
    36170         * platform/graphics/chromium/ContentLayerChromium.cpp:
    36171         (WebCore::ContentLayerChromium::updateTexture):
    36172         * platform/graphics/chromium/ImageLayerChromium.cpp:
    36173         (WebCore::ImageLayerChromium::updateTextureIfNeeded):
    36174 
    36175 2011-03-04  Sheriff Bot  <webkit.review.bot@gmail.com>
    36176 
    36177         Unreviewed, rolling out r80379.
    36178         http://trac.webkit.org/changeset/80379
    36179         https://bugs.webkit.org/show_bug.cgi?id=55799
    36180 
    36181         "Breaks leopard compile (implicit conversion)" (Requested by
    36182         tonyg-cr on #webkit).
    36183 
    36184         * css/CSSStyleSelector.cpp:
    36185         (WebCore::convertToLength):
    36186         (WebCore::CSSStyleSelector::applyProperty):
    36187         (WebCore::CSSStyleSelector::createTransformOperations):
    36188         * platform/Length.h:
    36189         (WebCore::Length::Length):
    36190         (WebCore::Length::operator==):
    36191         (WebCore::Length::operator!=):
    36192         (WebCore::Length::rawValue):
    36193         (WebCore::Length::type):
    36194         (WebCore::Length::quirk):
    36195         (WebCore::Length::setValue):
    36196         (WebCore::Length::setRawValue):
    36197         (WebCore::Length::calcFloatValue):
    36198         (WebCore::Length::isZero):
    36199         (WebCore::Length::blend):
    36200         * rendering/AutoTableLayout.cpp:
    36201         (WebCore::AutoTableLayout::recalcColumn):
    36202         (WebCore::AutoTableLayout::calcEffectiveLogicalWidth):
    36203         * rendering/FixedTableLayout.cpp:
    36204         (WebCore::FixedTableLayout::calcWidthArray):
    36205 
    36206 2011-03-04  Jessie Berlin  <jberlin@apple.com>
    36207 
    36208         Reviewed by Darin Adler.
    36209 
    36210         WebKit2: Use CFNetwork Sessions API.
    36211         https://bugs.webkit.org/show_bug.cgi?id=55435.
    36212 
    36213         Add in the CFURLSTORAGESESSIONS guards that I incorrectly left out because the code was
    36214         contained within guards that made USE(CFURLSTORAGESESSIONS) always be true.
    36215 
    36216         * platform/network/cf/ResourceHandleCFNet.cpp:
    36217         (WebCore::makeFinalRequest):
    36218         (WebCore::ResourceHandle::willSendRequest):
    36219         * platform/network/cf/ResourceRequestCFNet.cpp:
    36220         * platform/network/mac/ResourceHandleMac.mm:
    36221         (WebCore::ResourceHandle::createNSURLConnection):
    36222         (WebCore::ResourceHandle::willSendRequest):
    36223         * platform/network/mac/ResourceRequestMac.mm:
    36224 
    36225 2011-03-04  Yuqiang Xian  <yuqiang.xian@intel.com>
    36226 
    36227         Reviewed by Darin Adler.
    36228 
    36229         improve layout performance by reducing the traversal time of the floating objects
    36230         https://bugs.webkit.org/show_bug.cgi?id=55440
    36231 
    36232         We observered large overhead on traversing the floating objects list
    36233         in logicalLeftOffsetForLine() and logicalRightOffsetForLine() especially
    36234         when the list becomes enormous, for example in the default 30x30 maze test
    36235         from http://ie.microsoft.com/testdrive/Performance/MazeSolver/Default.html
    36236         there're >3700 floating objects. When placing a new floating object the
    36237         entire list (from begin to end) is traversed for multiple times.
    36238         There's a low hanging fruit to reduce the chances to do the traversal
    36239         which is especially applicable in logicalLeftOffsetForLine and logicalRightOffsetForLine.
    36240         As the two routines either cares about FloatLeft objects or FloatRight objects only,
    36241         if we know there's no corresponding type floating objects in the list
    36242         we can avoid the traversal actually. One thing we could do is to record
    36243         the number of FloatLeft objects and the number of FloatRight objects and
    36244         add a check before doing the traversal. This can reduce the time by 45%
    36245         to resolve the 30x30 Maze measured on N470 Netbook MeeGo using latest
    36246         Chromium browser 11 (from 503s to 269s).
    36247 
    36248         No new tests, relying on existing layout tests.
    36249 
    36250         * rendering/RenderBlock.cpp:
    36251         (WebCore::RenderBlock::~RenderBlock):
    36252         (WebCore::RenderBlock::addOverflowFromFloats):
    36253         (WebCore::RenderBlock::repaintOverhangingFloats):
    36254         (WebCore::RenderBlock::paintFloats):
    36255         (WebCore::RenderBlock::selectionGaps):
    36256         (WebCore::RenderBlock::insertFloatingObject):
    36257         (WebCore::RenderBlock::removeFloatingObject):
    36258         (WebCore::RenderBlock::removeFloatingObjectsBelow):
    36259         (WebCore::RenderBlock::positionNewFloats):
    36260         (WebCore::RenderBlock::positionNewFloatOnLine):
    36261         (WebCore::RenderBlock::logicalLeftOffsetForLine):
    36262         (WebCore::RenderBlock::logicalRightOffsetForLine):
    36263         (WebCore::RenderBlock::nextFloatLogicalBottomBelow):
    36264         (WebCore::RenderBlock::lowestFloatLogicalBottom):
    36265         (WebCore::RenderBlock::clearFloats):
    36266         (WebCore::RenderBlock::addOverhangingFloats):
    36267         (WebCore::RenderBlock::addIntrudingFloats):
    36268         (WebCore::RenderBlock::containsFloat):
    36269         (WebCore::RenderBlock::hitTestFloats):
    36270         (WebCore::RenderBlock::adjustForBorderFit):
    36271         (WebCore::RenderBlock::FloatingObjects::clear):
    36272         (WebCore::RenderBlock::FloatingObjects::increaseObjectsCount):
    36273         (WebCore::RenderBlock::FloatingObjects::decreaseObjectsCount):
    36274         * rendering/RenderBlock.h:
    36275         (WebCore::RenderBlock::containsFloats):
    36276         (WebCore::RenderBlock::FloatingObjects::FloatingObjects):
    36277         (WebCore::RenderBlock::FloatingObjects::hasLeftObjects):
    36278         (WebCore::RenderBlock::FloatingObjects::hasRightObjects):
    36279         (WebCore::RenderBlock::FloatingObjects::set):
    36280         * rendering/RenderBlockLineLayout.cpp:
    36281         (WebCore::RenderBlock::layoutInlineChildren):
    36282         (WebCore::RenderBlock::matchedEndLine):
    36283 
    36284 2011-03-04  Rik Cabanier  <cabanier@gmail.com>
    36285 
    36286         Reviewed by David Hyatt.
    36287 
    36288         Fix that allows fixed length values to be floating point
    36289         https://bugs.webkit.org/show_bug.cgi?id=52699
    36290 
    36291         * WebCore.xcodeproj/project.pbxproj:
    36292         * css/CSSStyleSelector.cpp:
    36293         (WebCore::convertToLength):
    36294         (WebCore::convertToIntLength):
    36295         (WebCore::convertToFloatLength):
    36296         (WebCore::CSSStyleSelector::applyProperty):
    36297         (WebCore::CSSStyleSelector::createTransformOperations):
    36298         * platform/Length.h:
    36299         (WebCore::Length::Length):
    36300         (WebCore::Length::operator==):
    36301         (WebCore::Length::operator!=):
    36302         (WebCore::Length::rawValue):
    36303         (WebCore::Length::type):
    36304         (WebCore::Length::quirk):
    36305         (WebCore::Length::setValue):
    36306         (WebCore::Length::calcFloatValue):
    36307         (WebCore::Length::isZero):
    36308         (WebCore::Length::blend):
    36309         (WebCore::Length::getIntValue):
    36310         (WebCore::Length::getFloatValue):
    36311         * rendering/AutoTableLayout.cpp:
    36312         (WebCore::AutoTableLayout::recalcColumn):
    36313         (WebCore::AutoTableLayout::calcEffectiveLogicalWidth):
    36314         * rendering/FixedTableLayout.cpp:
    36315         (WebCore::FixedTableLayout::calcWidthArray):
    36316 
    36317 2011-03-04  Steve Falkenburg  <sfalken@apple.com>
    36318 
    36319         Reviewed by Jon Honeycutt.
    36320 
    36321         Adopt VersionStamper tool for Windows WebKit DLLs
    36322         https://bugs.webkit.org/show_bug.cgi?id=55784
    36323        
    36324         We now use a tool to stamp the version number onto the Apple WebKit DLLs
    36325         during the post-build step.
    36326 
    36327         * WebCore.vcproj/QTMovieWin.rc: Removed.
    36328         * WebCore.vcproj/QTMovieWin.vcproj:
    36329         * WebCore.vcproj/QTMovieWinPostBuild.cmd: Stamp version with VersionStamper.
    36330         * WebCore.vcproj/QTMovieWinPreBuild.cmd: Don't run auto-version.sh. We don't use autoversion.h in this project.
    36331         * WebCore.vcproj/WebCoreMediaQT.vsprops: Remove unnecessary include paths for resource files.
    36332 
    36333 2011-03-04  Cosmin Truta  <ctruta@chromium.org>
    36334 
    36335         Reviewed by Adam Barth.
    36336 
    36337         Clarify comment about potential memory leak in SVGImage
    36338         https://bugs.webkit.org/show_bug.cgi?id=55362
    36339 
    36340         No functionality change. No new tests.
    36341 
    36342         * svg/graphics/SVGImage.cpp:
    36343         (WebCore::SVGImage::dataChanged):
    36344 
    36345 2011-03-04  Jessie Berlin  <jberlin@apple.com>
    36346 
    36347         Reviewed by Maciej Stachowiak.
    36348 
    36349         WebKit2: Use CFNetwork Sessions API.
    36350         https://bugs.webkit.org/show_bug.cgi?id=55435.
    36351 
    36352         When Private Browsing is enabled, get the cached url response from the cache associated with
    36353         the Private Browsing Storage Session.
    36354 
    36355         * WebCore.exp.in:
    36356         Export the symbol for ResourceHandle::privateBrowsingStorageSession.
    36357 
    36358 2011-03-04  Steve Block  <steveblock@google.com>
    36359 
    36360         Reviewed by Jeremy Orlow.
    36361 
    36362         JSC and V8 versions of Java bridge should share JobjectWrapper
    36363         https://bugs.webkit.org/show_bug.cgi?id=55763
    36364 
    36365         No new tests, refactoring only.
    36366 
    36367         * Android.jscbindings.mk:
    36368         * Android.v8bindings.mk:
    36369         * WebCore.gypi:
    36370         * WebCore.order:
    36371         * WebCore.xcodeproj/project.pbxproj:
    36372         * bridge/jni/JobjectWrapper.cpp:
    36373         (JobjectWrapper::JobjectWrapper):
    36374         (JobjectWrapper::~JobjectWrapper):
    36375         * bridge/jni/JobjectWrapper.h:
    36376         (JSC::Bindings::JobjectWrapper::instance):
    36377         (JSC::Bindings::JobjectWrapper::setInstance):
    36378         (JSC::Bindings::JobjectWrapper::ref):
    36379         (JSC::Bindings::JobjectWrapper::deref):
    36380         * bridge/jni/jsc/JNIBridgeJSC.cpp:
    36381         (JavaField::JavaField):
    36382         (JavaArray::JavaArray):
    36383         * bridge/jni/jsc/JNIBridgeJSC.h:
    36384         * bridge/jni/jsc/JavaInstanceJSC.cpp:
    36385         (JavaInstance::JavaInstance):
    36386         * bridge/jni/jsc/JavaInstanceJSC.h:
    36387 
    36388 2011-03-04  Patrick Gansterer  <paroga@webkit.org>
    36389 
    36390         Reviewed by Nikolas Zimmermann.
    36391 
    36392         Move shared code into SVGStyledTransformableElement::svgAttributeChanged
    36393         https://bugs.webkit.org/show_bug.cgi?id=55771
    36394 
    36395         All sub classes of SVGStyledTransformableElement request a relayout
    36396         the same way. So move that code into the common base class.
    36397 
    36398         * svg/SVGCircleElement.cpp:
    36399         (WebCore::SVGCircleElement::svgAttributeChanged):
    36400         * svg/SVGEllipseElement.cpp:
    36401         (WebCore::SVGEllipseElement::svgAttributeChanged):
    36402         * svg/SVGForeignObjectElement.cpp:
    36403         (WebCore::SVGForeignObjectElement::svgAttributeChanged):
    36404         * svg/SVGGElement.cpp:
    36405         (WebCore::SVGGElement::svgAttributeChanged):
    36406         * svg/SVGImageElement.cpp:
    36407         (WebCore::SVGImageElement::svgAttributeChanged):
    36408         * svg/SVGLineElement.cpp:
    36409         (WebCore::SVGLineElement::svgAttributeChanged):
    36410         * svg/SVGPathElement.cpp:
    36411         (WebCore::SVGPathElement::svgAttributeChanged):
    36412         * svg/SVGPolyElement.cpp:
    36413         (WebCore::SVGPolyElement::svgAttributeChanged):
    36414         * svg/SVGRectElement.cpp:
    36415         (WebCore::SVGRectElement::svgAttributeChanged):
    36416         * svg/SVGStyledTransformableElement.cpp:
    36417         (WebCore::SVGStyledTransformableElement::svgAttributeChanged):
    36418         * svg/SVGStyledTransformableElement.h:
    36419         * svg/SVGUseElement.cpp:
    36420         (WebCore::SVGUseElement::svgAttributeChanged):
    36421 
    36422 2011-03-03  John Abd-El-Malek  <jam@chromium.org>
    36423 
    36424         Reviewed by Dimitri Glazkov.
    36425 
    36426         [chromium] Get rid of IsContentFiltered flags since they&apos;re not used anymore
    36427         https://bugs.webkit.org/show_bug.cgi?id=55748
    36428 
    36429         * platform/network/chromium/ResourceResponse.cpp:
    36430         (WebCore::ResourceResponse::doPlatformCopyData):
    36431         (WebCore::ResourceResponse::doPlatformAdopt):
    36432         * platform/network/chromium/ResourceResponse.h:
    36433         (WebCore::ResourceResponse::ResourceResponse):
    36434 
    36435 2011-03-03  Timothy Hatcher  <timothy@apple.com>
    36436 
    36437         Export SerializedScriptValue::create(JSC::ExecState* exec, JSC::JSValue value).
    36438 
    36439         Reviewed by Darin Adler.
    36440 
    36441         * WebCore.exp.in: Added __ZN7WebCore21SerializedScriptValue6createEPN3JSC9ExecStateENS1_7JSValueE.
    36442 
    36443 2011-03-04  Pavel Podivilov  <podivilov@chromium.org>
    36444 
    36445         Reviewed by Yury Semikhatsky.
    36446 
    36447         Web Inspector: extract all code that depends on source mapping from SourceFrame.
    36448         https://bugs.webkit.org/show_bug.cgi?id=55464
    36449 
    36450         Extract all dependencies on DebuggerModel and ScriptsPanel to a delegate class
    36451         to encapsulate source mapping aspects from SourceFrame.
    36452 
    36453         * inspector/front-end/ResourceView.js:
    36454         (WebInspector.ResourceView.createResourceView):
    36455         (WebInspector.SourceFrameDelegateForResourcesPanel):
    36456         (WebInspector.SourceFrameDelegateForResourcesPanel.prototype.requestContent):
    36457         * inspector/front-end/ScriptsPanel.js:
    36458         (WebInspector.ScriptsPanel.prototype._createSourceFrame):
    36459         (WebInspector.SourceFrameDelegateForScriptsPanel):
    36460         * inspector/front-end/SourceFrame.js:
    36461         (WebInspector.SourceFrame):
    36462         (WebInspector.SourceFrame.prototype.show):
    36463         (WebInspector.SourceFrame.prototype._createTextViewer):
    36464         (WebInspector.SourceFrame.prototype._contextMenu.addConditionalBreakpoint.didEditBreakpointCondition):
    36465         (WebInspector.SourceFrame.prototype._contextMenu.addConditionalBreakpoint):
    36466         (WebInspector.SourceFrame.prototype._contextMenu.else.editBreakpointCondition.didEditBreakpointCondition):
    36467         (WebInspector.SourceFrame.prototype._contextMenu.else.editBreakpointCondition):
    36468         (WebInspector.SourceFrame.prototype._contextMenu.else.setBreakpointEnabled):
    36469         (WebInspector.SourceFrame.prototype._contextMenu):
    36470         (WebInspector.SourceFrame.prototype._mouseDown):
    36471         (WebInspector.SourceFrame.prototype._mouseMove):
    36472         (WebInspector.SourceFrame.prototype._hidePopup):
    36473         (WebInspector.SourceFrame.prototype._mouseHover):
    36474         (WebInspector.SourceFrame.prototype._showPopup.showObjectPopup):
    36475         (WebInspector.SourceFrame.prototype._showPopup):
    36476         (WebInspector.SourceFrame.prototype._doubleClick):
    36477         (WebInspector.SourceFrame.prototype._didEditLine):
    36478         (WebInspector.SourceFrameDelegate):
    36479         (WebInspector.SourceFrameDelegate.prototype.requestContent):
    36480         (WebInspector.SourceFrameDelegate.prototype.debuggingSupported):
    36481         (WebInspector.SourceFrameDelegate.prototype.setBreakpoint):
    36482         (WebInspector.SourceFrameDelegate.prototype.removeBreakpoint):
    36483         (WebInspector.SourceFrameDelegate.prototype.updateBreakpoint):
    36484         (WebInspector.SourceFrameDelegate.prototype.findBreakpoint):
    36485         (WebInspector.SourceFrameDelegate.prototype.continueToLine):
    36486         (WebInspector.SourceFrameDelegate.prototype.canEditScriptSource):
    36487         (WebInspector.SourceFrameDelegate.prototype.editScriptSource):
    36488         (WebInspector.SourceFrameDelegate.prototype.debuggerPaused):
    36489         (WebInspector.SourceFrameDelegate.prototype.evaluate):
    36490         (WebInspector.SourceFrameDelegate.prototype.releaseEvaluationResult):
    36491 
    36492 2011-03-04  Andrey Kosyakov  <caseq@chromium.org>
    36493 
    36494         Reviewed by Pavel Feldman.
    36495 
    36496         Web Inspector: [Extensions API] maintain own, unique & persistent identifiers for resources.
    36497         https://bugs.webkit.org/show_bug.cgi?id=55686
    36498 
    36499         - Use internal ids for resources in extension server.
    36500         - Log errors in inspector tests.
    36501 
    36502         * inspector/front-end/ExtensionServer.js:
    36503         (WebInspector.ExtensionServer):
    36504         (WebInspector.ExtensionServer.prototype.resetResources):
    36505         (WebInspector.ExtensionServer.prototype._notifyResourceFinished):
    36506         (WebInspector.ExtensionServer.prototype._onRevealAndSelectResource):
    36507         (WebInspector.ExtensionServer.prototype._onGetHAR):
    36508         (WebInspector.ExtensionServer.prototype._onGetResourceContent):
    36509         (WebInspector.ExtensionServer.prototype._resourceId):
    36510         (WebInspector.ExtensionServer.prototype._resourceById):
    36511         * inspector/front-end/HAREntry.js:
    36512         (WebInspector.HARLog):
    36513         (WebInspector.HARLog.prototype._convertResource):
    36514         * inspector/front-end/NetworkPanel.js:
    36515         (WebInspector.NetworkPanel.prototype._reset):
    36516 
    36517 2011-03-04  Andrey Kosyakov  <caseq@chromium.org>
    36518 
    36519         Reviewed by Pavel Feldman.
    36520 
    36521         Web Inspector: exceptions when building context menu in network panel
    36522         https://bugs.webkit.org/show_bug.cgi?id=55678
    36523 
    36524         * inspector/front-end/DataGrid.js:
    36525         (WebInspector.DataGrid.prototype.dataGridNodeFromNode):
    36526         (WebInspector.DataGrid.prototype.dataGridNodeFromPoint):
    36527         * inspector/front-end/NetworkPanel.js:
    36528         (WebInspector.NetworkPanel.prototype._contextMenu):
    36529 
    36530 2011-03-04  Ilya Sherman  <isherman@chromium.org>
    36531 
    36532         Reviewed by James Robinson.
    36533 
    36534         Override paintScrollCorner() for FramelessScrollView to forego any custom scrollbar corner rendering.
    36535         This was previously done in ScrollbarThemeChromium, but we also need this on the Mac when the ScrollView
    36536         is a FramelessScrollView -- which is mostly just for Autofill.
    36537         In service of http://crbug.com/73772 (crash)
    36538         https://bugs.webkit.org/show_bug.cgi?id=55557
    36539 
    36540         No tests added because this fix is Chromium-specific and the code is currently untestable from within WebKit.
    36541         In particular, DRT crashes when trying to render a FramelessScrollView.
    36542 
    36543         * platform/ScrollbarTheme.h:
    36544         (WebCore::ScrollbarTheme::paintScrollCorner): Body moved to static function defaultPaintScrollCorner().
    36545         (WebCore::ScrollbarTheme::defaultPaintScrollCorner): Added.
    36546         * platform/chromium/FramelessScrollView.cpp:
    36547         (WebCore::FramelessScrollView::paintContents):
    36548         (WebCore::FramelessScrollView::paintScrollCorner): Fix implementation moved to here from ScrollbarThemeChromium
    36549         * platform/chromium/FramelessScrollView.h:
    36550         * platform/chromium/ScrollbarThemeChromium.cpp:
    36551         * platform/chromium/ScrollbarThemeChromium.h:
    36552 
    36553 2011-03-04  Yury Semikhatsky  <yurys@chromium.org>
    36554 
    36555         Reviewed by Pavel Feldman.
    36556 
    36557         Web Inspector: move dispatching of didCommitLoad to agents into InspectorInstrumentation
    36558         https://bugs.webkit.org/show_bug.cgi?id=55770
    36559 
    36560         * inspector/InspectorAgent.cpp:
    36561         (WebCore::InspectorAgent::InspectorAgent):
    36562         (WebCore::InspectorAgent::didCommitLoad):
    36563         * inspector/InspectorCSSAgent.cpp:
    36564         (WebCore::InspectorCSSAgent::InspectorCSSAgent):
    36565         (WebCore::InspectorCSSAgent::~InspectorCSSAgent):
    36566         * inspector/InspectorCSSAgent.h:
    36567         * inspector/InspectorDatabaseAgent.cpp:
    36568         (WebCore::InspectorDatabaseAgent::~InspectorDatabaseAgent):
    36569         * inspector/InspectorInstrumentation.cpp:
    36570         (WebCore::InspectorInstrumentation::didCommitLoadImpl):
    36571         * inspector/InspectorInstrumentation.h:
    36572         (WebCore::InspectorInstrumentation::didCommitLoad):
    36573         * inspector/InspectorProfilerAgent.cpp:
    36574         (WebCore::InspectorProfilerAgent::create):
    36575         (WebCore::InspectorProfilerAgent::InspectorProfilerAgent):
    36576         (WebCore::InspectorProfilerAgent::~InspectorProfilerAgent):
    36577         (WebCore::InspectorProfilerAgent::addProfileFinishedMessageToConsole):
    36578         (WebCore::InspectorProfilerAgent::addStartProfilingMessageToConsole):
    36579         (WebCore::InspectorProfilerAgent::startUserInitiatedProfiling):
    36580         (WebCore::InspectorProfilerAgent::stopUserInitiatedProfiling):
    36581         * inspector/InspectorProfilerAgent.h:
    36582         * inspector/InstrumentingAgents.h:
    36583         (WebCore::InstrumentingAgents::InstrumentingAgents):
    36584         (WebCore::InstrumentingAgents::inspectorCSSAgent):
    36585         (WebCore::InstrumentingAgents::setInspectorCSSAgent):
    36586         (WebCore::InstrumentingAgents::inspectorDOMStorageAgent):
    36587         (WebCore::InstrumentingAgents::setInspectorDOMStorageAgent):
    36588         (WebCore::InstrumentingAgents::inspectorDatabaseAgent):
    36589         (WebCore::InstrumentingAgents::setInspectorDatabaseAgent):
    36590         (WebCore::InstrumentingAgents::inspectorApplicationCacheAgent):
    36591         (WebCore::InstrumentingAgents::setInspectorApplicationCacheAgent):
    36592         (WebCore::InstrumentingAgents::inspectorDebuggerAgent):
    36593         (WebCore::InstrumentingAgents::setInspectorDebuggerAgent):
    36594         (WebCore::InstrumentingAgents::inspectorBrowserDebuggerAgent):
    36595         (WebCore::InstrumentingAgents::setInspectorBrowserDebuggerAgent):
    36596         (WebCore::InstrumentingAgents::inspectorProfilerAgent):
    36597         (WebCore::InstrumentingAgents::setInspectorProfilerAgent):
    36598 
    36599 2011-03-04  Ilya Tikhonovsky  <loislo@chromium.org>
    36600 
    36601         Reviewed by Yury Semikhatsky.
    36602 
    36603         Web Inspector: rename RuntimeAgent's function from releaseWrapperObjectGroup to releaseObjectGroup.
    36604         https://bugs.webkit.org/show_bug.cgi?id=55773
    36605 
    36606         * inspector/CodeGeneratorInspector.pm:
    36607         * inspector/InjectedScript.cpp:
    36608         (WebCore::InjectedScript::releaseObjectGroup):
    36609         * inspector/InjectedScript.h:
    36610         * inspector/InjectedScriptHost.cpp:
    36611         (WebCore::InjectedScriptHost::releaseObjectGroup):
    36612         * inspector/InjectedScriptHost.h:
    36613         * inspector/InjectedScriptSource.js:
    36614         (.):
    36615         * inspector/Inspector.idl:
    36616         * inspector/InspectorConsoleAgent.cpp:
    36617         (WebCore::InspectorConsoleAgent::clearConsoleMessages):
    36618         * inspector/InspectorRuntimeAgent.cpp:
    36619         (WebCore::InspectorRuntimeAgent::releaseObjectGroup):
    36620         * inspector/InspectorRuntimeAgent.h:
    36621         * inspector/front-end/ConsoleView.js:
    36622         (WebInspector.ConsoleView.prototype.completions.evaluatedProperties):
    36623         (WebInspector.ConsoleView.prototype.completions):
    36624         * inspector/front-end/PropertiesSidebarPane.js:
    36625         * inspector/front-end/SourceFrame.js:
    36626         (WebInspector.SourceFrame.prototype._hidePopup):
    36627         * inspector/front-end/WatchExpressionsSidebarPane.js:
    36628         (WebInspector.WatchExpressionsSection.prototype.update):
    36629 
    36630 2011-03-02  Andrey Adaikin  <aandrey@google.com>
    36631 
    36632         Reviewed by Pavel Feldman.
    36633 
    36634         Web Inspector: Gutter height should be 100% when few lines are displayed
    36635         https://bugs.webkit.org/show_bug.cgi?id=55574
    36636 
    36637         * inspector/front-end/SourceFrame.js:
    36638         (WebInspector.SourceFrame.prototype._startEditing):
    36639         * inspector/front-end/TextViewer.js:
    36640         (WebInspector.TextViewer.prototype._syncScroll):
    36641         (WebInspector.TextEditorGutterPanel.prototype._expandChunks):
    36642         (WebInspector.TextEditorGutterPanel.prototype.textChanged):
    36643         (WebInspector.TextEditorGutterPanel.prototype.syncClientHeight):
    36644         * inspector/front-end/textViewer.css:
    36645         (.text-editor-lines):
    36646         (.text-editor-contents .inner-container):
    36647         (.webkit-line-number):
    36648 
    36649 2011-03-04  Andrey Adaikin  <aandrey@google.com>
    36650 
    36651         Reviewed by Pavel Feldman.
    36652 
    36653         Web Inspector: [Text editor] Do bisect to find visible chunks
    36654         https://bugs.webkit.org/show_bug.cgi?id=55685
    36655 
    36656         * inspector/front-end/TextViewer.js:
    36657         (WebInspector.TextEditorChunkedPanel.prototype._chunkNumberForLine):
    36658         (WebInspector.TextEditorChunkedPanel.prototype._findVisibleChunks):
    36659         (WebInspector.TextEditorChunkedPanel.prototype._repaintAll):
    36660         (WebInspector.TextEditorGutterChunk.prototype.get offsetTop):
    36661         (WebInspector.TextEditorMainPanel.prototype._updateHighlightsForRange):
    36662         (WebInspector.TextEditorMainChunk.prototype.get offsetTop):
    36663 
    36664 2011-03-04  Andrey Adaikin  <aandrey@google.com>
    36665 
    36666         Reviewed by Pavel Feldman.
    36667 
    36668         Web Inspector: [Text editor] DOMNodeRemoved events are missing
    36669         https://bugs.webkit.org/show_bug.cgi?id=55769
    36670 
    36671         * inspector/front-end/TextViewer.js:
    36672         (WebInspector.TextEditorMainPanel):
    36673         (WebInspector.TextEditorMainPanel.prototype._handleDOMUpdates):
    36674         (WebInspector.TextEditorMainChunk):
    36675         (WebInspector.TextEditorMainChunk.prototype._createRow):
    36676 
    36677 2011-03-04  Ilya Tikhonovsky  <loislo@chromium.org>
    36678 
    36679         Reviewed by Yury Semikhatsky.
    36680 
    36681         Web Inspector: Remove unnecessary domain and success flags from the response messages.
    36682         https://bugs.webkit.org/show_bug.cgi?id=55768
    36683 
    36684         We have domain property in the response messages but it is not used because we dispatch
    36685         the responses on the callback associated with seq.
    36686 
    36687         If we have property 'errors' in the response then success eq false and true in the other case.
    36688 
    36689         * inspector/CodeGeneratorInspector.pm:
    36690 
    36691 2011-03-04  Christian Dywan  <christian@lanedo.com>
    36692 
    36693         Reviewed by Gustavo Noronha Silva.
    36694 
    36695         Enable Copy Image Address context menu item in the Gtk port
    36696         https://bugs.webkit.org/show_bug.cgi?id=55136
    36697 
    36698         * page/ContextMenuController.cpp:
    36699         * platform/ContextMenuItem.h:
    36700         * platform/LocalizationStrategy.h:
    36701         * platform/LocalizedStrings.cpp:
    36702         * platform/LocalizedStrings.h:
    36703         * platform/gtk/ContextMenuItemGtk.cpp:
    36704         * platform/gtk/LocalizedStringsGtk.cpp:
    36705 
    36706 2011-03-04  Pavel Feldman  <pfeldman@chromium.org>
    36707 
    36708         Reviewed by Yury Semikhatsky.
    36709 
    36710         Web Inspector: implement getCompletions via evaluate.
    36711         https://bugs.webkit.org/show_bug.cgi?id=55759
    36712 
    36713         * inspector/InjectedScript.cpp:
    36714         * inspector/InjectedScript.h:
    36715         * inspector/InjectedScriptSource.js:
    36716         * inspector/Inspector.idl:
    36717         * inspector/InspectorDebuggerAgent.cpp:
    36718         * inspector/InspectorDebuggerAgent.h:
    36719         * inspector/InspectorRuntimeAgent.cpp:
    36720         * inspector/InspectorRuntimeAgent.h:
    36721         * inspector/front-end/ConsoleView.js:
    36722         (WebInspector.ConsoleView.prototype.completions.evaluated):
    36723         (WebInspector.ConsoleView.prototype.completions.evaluatedProperties):
    36724         (WebInspector.ConsoleView.prototype.completions):
    36725         (WebInspector.ConsoleView.prototype._reportCompletions):
    36726         * inspector/front-end/ScriptsPanel.js:
    36727         (WebInspector.ScriptsPanel.prototype.evaluateInSelectedCallFrame.updatingCallbackWrapper):
    36728         (WebInspector.ScriptsPanel.prototype.evaluateInSelectedCallFrame):
    36729         * inspector/front-end/SourceFrame.js:
    36730         (WebInspector.SourceFrame.prototype._showPopup):
    36731         (WebInspector.SourceFrame.prototype._evalSelectionInCallFrame):
    36732 
    36733 2011-03-04  Steve Block  <steveblock@google.com>
    36734 
    36735         Reviewed by Jeremy Orlow.
    36736 
    36737         V8 version of JavaString should obtain string from JNI in UTF-16 encoding
    36738         https://bugs.webkit.org/show_bug.cgi?id=55566
    36739 
    36740         We obtain the string from JNI in UTF-16 encoding and convert
    36741         to UTF-8 using our own routines as required. This matches the
    36742         behaviour of the JSC version of JavaString.
    36743 
    36744         No new tests, no change in behaviour.
    36745 
    36746         * bridge/jni/v8/JavaStringV8.h:
    36747         (JSC::Bindings::JavaStringImpl::init):
    36748         (JSC::Bindings::JavaStringImpl::utf8):
    36749         (JSC::Bindings::JavaStringImpl::impl):
    36750 
    36751 2011-03-03  Pavel Feldman  <pfeldman@chromium.org>
    36752 
    36753         Reviewed by Yury Semikhatsky.
    36754 
    36755         Web Inspector: do not push document into front-end, make it request one.
    36756         https://bugs.webkit.org/show_bug.cgi?id=55664
    36757 
    36758         * inspector/Inspector.idl:
    36759         * inspector/InspectorAgent.cpp:
    36760         (WebCore::InspectorAgent::InspectorAgent):
    36761         * inspector/InspectorAgent.h:
    36762         * inspector/InspectorBrowserDebuggerAgent.cpp:
    36763         (WebCore::InspectorBrowserDebuggerAgent::descriptionForDOMEvent):
    36764         * inspector/InspectorDOMAgent.cpp:
    36765         (WebCore::InspectorDOMAgent::InspectorDOMAgent):
    36766         (WebCore::InspectorDOMAgent::clearFrontend):
    36767         (WebCore::InspectorDOMAgent::setDocument):
    36768         (WebCore::InspectorDOMAgent::getDocument):
    36769         (WebCore::InspectorDOMAgent::pushNodePathToFrontend):
    36770         (WebCore::InspectorDOMAgent::boundNodeId):
    36771         (WebCore::InspectorDOMAgent::resolveNode):
    36772         (WebCore::InspectorDOMAgent::mainFrameDOMContentLoaded):
    36773         * inspector/InspectorDOMAgent.h:
    36774         (WebCore::InspectorDOMAgent::create):
    36775         * inspector/front-end/BreakpointManager.js:
    36776         (WebInspector.BreakpointManager.prototype.restoreDOMBreakpoints):
    36777         (WebInspector.DOMBreakpointView.prototype.populateStatusMessageElement.decorateNode):
    36778         (WebInspector.DOMBreakpointView.prototype.populateStatusMessageElement):
    36779         * inspector/front-end/DOMAgent.js:
    36780         (WebInspector.DOMDocument):
    36781         (WebInspector.DOMAgent):
    36782         (WebInspector.DOMAgent.prototype.requestDocument):
    36783         (WebInspector.DOMAgent.prototype.pushNodeToFrontend):
    36784         (WebInspector.DOMAgent.prototype.pushNodeByPathToFrontend):
    36785         (WebInspector.DOMAgent.prototype._attributesUpdated):
    36786         (WebInspector.DOMAgent.prototype._characterDataModified):
    36787         (WebInspector.DOMAgent.prototype._documentUpdated):
    36788         (WebInspector.DOMAgent.prototype._setDocument):
    36789         (WebInspector.DOMAgent.prototype._setDetachedRoot):
    36790         (WebInspector.DOMAgent.prototype._setChildNodes):
    36791         (WebInspector.DOMAgent.prototype._childNodeInserted):
    36792         (WebInspector.DOMAgent.prototype._childNodeRemoved):
    36793         (WebInspector.DOMDispatcher.prototype.documentUpdated):
    36794         * inspector/front-end/ElementsPanel.js:
    36795         (WebInspector.ElementsPanel.prototype.show):
    36796         (WebInspector.ElementsPanel.prototype.setDocument):
    36797         * inspector/front-end/MetricsSidebarPane.js:
    36798         * inspector/front-end/RemoteObject.js:
    36799         (WebInspector.RemoteObject.prototype.pushNodeToFrontend):
    36800 
    36801 2011-03-04  Andrey Kosyakov  <caseq@chromium.org>
    36802 
    36803         Reviewed by Pavel Feldman.
    36804 
    36805         Web Inspector: summary bar may overlap content of the network item view
    36806         https://bugs.webkit.org/show_bug.cgi?id=55656
    36807 
    36808         - drop custom summary bar placement logic, do it with CSS instead.
    36809 
    36810         * inspector/front-end/NetworkPanel.js:
    36811         (WebInspector.NetworkPanel.prototype.resize):
    36812         (WebInspector.NetworkPanel.prototype._createSummaryBar):
    36813         (WebInspector.NetworkPanel.prototype._updateSummaryBar):
    36814         (WebInspector.NetworkPanel.prototype._updateFilter):
    36815         (WebInspector.NetworkPanel.prototype.show):
    36816         (WebInspector.NetworkPanel.prototype.refresh):
    36817         (WebInspector.NetworkPanel.prototype._reset):
    36818         (WebInspector.NetworkPanel.prototype._setLargerResources):
    36819         (WebInspector.NetworkPanel.prototype._updateOffscreenRows):
    36820         * inspector/front-end/networkPanel.css:
    36821         (.network-sidebar .data-grid td):
    36822         (.network-sidebar tr.filler td):
    36823         (.network-summary-bar):
    36824         (.network-sidebar .data-grid .network-summary-bar td):
    36825         (.network-summary-bar img):
    36826 
    36827 2011-03-04  James Su <suzhe@chromium.org>
    36828 
    36829         Reviewed by Dimitri Glazkov.
    36830 
    36831         [Chromium] keycode is always 0 when using non-Latin keyboard layout.
    36832         https://bugs.webkit.org/show_bug.cgi?id=54939
    36833 
    36834         Add KeyEventCocoa.{h,mm}, so that we can reuse them in chromium.
    36835 
    36836         No intended functionality change.
    36837 
    36838         * WebCore.gyp/WebCore.gyp:
    36839         * WebCore.gypi:
    36840 
    36841 2011-03-04  Patrick Gansterer  <paroga@webkit.org>
    36842 
    36843         Unreviewed EFL build fix for r80324.
    36844 
    36845         * platform/efl/RenderThemeEfl.cpp:
    36846         (WebCore::RenderThemeEfl::paintThemePart):
    36847 
    36848 2011-03-04  Patrick Gansterer  <paroga@webkit.org>
    36849 
    36850         Unreviewed EFL build fix for r80324.
    36851 
    36852         * platform/efl/RenderThemeEfl.cpp:
    36853         (WebCore::RenderThemeEfl::paintThemePart):
    36854 
    36855 2011-03-03  Yury Semikhatsky  <yurys@chromium.org>
    36856 
    36857         Reviewed by Pavel Feldman.
    36858 
    36859         Web Inspector: AppCache agent should have same lifetime as InspectorAgent
    36860         https://bugs.webkit.org/show_bug.cgi?id=55673
    36861 
    36862         * inspector/InspectorAgent.cpp:
    36863         (WebCore::InspectorAgent::InspectorAgent):
    36864         (WebCore::InspectorAgent::setFrontend):
    36865         (WebCore::InspectorAgent::disconnectFrontend):
    36866         (WebCore::InspectorAgent::createFrontendLifetimeAgents):
    36867         (WebCore::InspectorAgent::releaseFrontendLifetimeAgents):
    36868         (WebCore::InspectorAgent::didCommitLoad):
    36869         * inspector/InspectorApplicationCacheAgent.cpp:
    36870         (WebCore::InspectorApplicationCacheAgent::InspectorApplicationCacheAgent):
    36871         (WebCore::InspectorApplicationCacheAgent::setFrontend):
    36872         (WebCore::InspectorApplicationCacheAgent::clearFrontend):
    36873         * inspector/InspectorApplicationCacheAgent.h:
    36874         * inspector/InspectorInstrumentation.cpp:
    36875         (WebCore::InspectorInstrumentation::networkStateChangedImpl):
    36876         (WebCore::InspectorInstrumentation::updateApplicationCacheStatusImpl):
    36877         * inspector/InstrumentingAgents.h:
    36878         (WebCore::InstrumentingAgents::inspectorApplicationCacheAgent):
    36879         (WebCore::InstrumentingAgents::setInspectorApplicationCacheAgent):
    36880 
    36881 2011-03-03  Brian Weinstein  <bweinstein@apple.com>
    36882 
    36883         Reviewed by Adam Roben.
    36884 
    36885         Cleanup from https://bugs.webkit.org/show_bug.cgi?id=55427.
    36886        
    36887         Call WebCore::startObservingCookieChanges and WebCore::stopObservingCookieChanges
    36888         on all platforms, and stub the functions on platforms that don't implement them.
    36889        
    36890         Add startObservingCookieChanges and stopObservingCookieChanges to TemporaryLinkStubs
    36891         for platforms that don't implement them.
    36892 
    36893         * platform/android/TemporaryLinkStubs.cpp:
    36894         * platform/brew/TemporaryLinkStubs.cpp:
    36895         * platform/chromium/TemporaryLinkStubs.cpp:
    36896         * platform/efl/TemporaryLinkStubs.cpp:
    36897         * platform/gtk/TemporaryLinkStubs.cpp:
    36898         * platform/haiku/TemporaryLinkStubs.cpp:
    36899         * platform/qt/TemporaryLinkStubsQt.cpp:
    36900         * platform/win/TemporaryLinkStubs.cpp:
    36901 
    36902 2011-03-03  Eric Seidel  <eric@webkit.org>
    36903 
    36904         Reviewed by Dimitri Glazkov.
    36905 
    36906         Refactor createRendererIfNeeded to avoid premature nextRenderer calculation
    36907         https://bugs.webkit.org/show_bug.cgi?id=55720
    36908 
    36909         There are two thing going on here:
    36910         1. Delaying nextRenderer calculation until we actually use it,
    36911            previously we would always compute nextRenderer (expensive!)
    36912            even if no renderer insertion was to occur.
    36913         2. Fix fullscreen elements to be inserted into the right place
    36914            in the rendering tree.  Previously they would always be the last
    36915            child in their parent's list, even if that wasn't the right place.
    36916 
    36917         I don't know of any way to trigger the fullscreen bug,
    36918         but I tested this with peacekeeper and saw no performance change.
    36919 
    36920         Peacekeeper's domJQueryBasics is now possibly as much as 2% faster
    36921         but I don't really trust the stability of peacekeeper to begin with.
    36922 
    36923         This paves the way for further improvement in our nextRenderer calculation.
    36924 
    36925         * dom/Node.cpp:
    36926         (WebCore::Node::attach):
    36927         (WebCore::Node::previousRenderer):
    36928         (WebCore::Node::nextRenderer):
    36929         (WebCore::Node::createRendererAndStyle):
    36930         (WebCore::wrapWithRenderFullScreen):
    36931         (WebCore::Node::createRendererIfNeeded):
    36932         * dom/Node.h:
    36933 
    36934 2011-03-03  Ryosuke Niwa  <rniwa@webkit.org>
    36935 
    36936         Reviewed by Darin Adler.
    36937 
    36938         Remove LOOSE_PASS_OWN_ARRAY_PTR from PassOwnArrayPtr.h
    36939         https://bugs.webkit.org/show_bug.cgi?id=55554
    36940 
    36941         * platform/Length.cpp:
    36942         (WebCore::newLengthArray): Pass nullptr instead of 0.
    36943 
    36944 2011-03-03  Nat Duca  <nduca@chromium.org>
    36945 
    36946         Reviewed by James Robinson.
    36947 
    36948         [chromium] Create a LayerChromium layerTreeAsText. Add HUD to
    36949         LayerRendererChromium that draws compositor FPS and, optionally,
    36950         the layer tree.
    36951         https://bugs.webkit.org/show_bug.cgi?id=54710
    36952 
    36953         * WebCore.gypi:
    36954         * platform/graphics/chromium/Canvas2DLayerChromium.h:
    36955         (WebCore::Canvas2DLayerChromium::drawsContent):
    36956         * platform/graphics/chromium/CanvasLayerChromium.h:
    36957         (WebCore::CanvasLayerChromium::layerTypeAsString):
    36958         * platform/graphics/chromium/ContentLayerChromium.cpp:
    36959         (WebCore::writeIndent):
    36960         (WebCore::ContentLayerChromium::dumpLayerProperties):
    36961         * platform/graphics/chromium/ContentLayerChromium.h:
    36962         (WebCore::ContentLayerChromium::drawsContent):
    36963         (WebCore::ContentLayerChromium::layerTypeAsString):
    36964         * platform/graphics/chromium/GraphicsLayerChromium.cpp:
    36965         (WebCore::GraphicsLayerChromium::setName):
    36966         (WebCore::GraphicsLayerChromium::updateNames):
    36967         (WebCore::GraphicsLayerChromium::updateLayerPreserves3D):
    36968         (WebCore::GraphicsLayerChromium::setupContentsLayer):
    36969         * platform/graphics/chromium/GraphicsLayerChromium.h:
    36970         * platform/graphics/chromium/ImageLayerChromium.h:
    36971         (WebCore::ImageLayerChromium::drawsContent):
    36972         (WebCore::ImageLayerChromium::layerTypeAsString):
    36973         * platform/graphics/chromium/LayerChromium.cpp:
    36974         (WebCore::LayerChromium::LayerChromium):
    36975         (WebCore::LayerChromium::setName):
    36976         (WebCore::LayerChromium::layerTreeAsText):
    36977         (WebCore::writeIndent):
    36978         (WebCore::LayerChromium::dumpLayer):
    36979         (WebCore::LayerChromium::dumpLayerProperties):
    36980         * platform/graphics/chromium/LayerChromium.h:
    36981         (WebCore::LayerChromium::name):
    36982         (WebCore::LayerChromium::drawsContent):
    36983         (WebCore::LayerChromium::debugID):
    36984         (WebCore::LayerChromium::layerTypeAsString):
    36985         * platform/graphics/chromium/LayerRendererChromium.cpp:
    36986         (WebCore::LayerRendererChromium::LayerRendererChromium):
    36987         (WebCore::LayerRendererChromium::~LayerRendererChromium):
    36988         (WebCore::LayerRendererChromium::drawLayers):
    36989         (WebCore::LayerRendererChromium::present):
    36990         (WebCore::LayerRendererChromium::layerTreeAsText):
    36991         (WebCore::LayerRendererChromium::dumpRenderSurfaces):
    36992         * platform/graphics/chromium/LayerRendererChromium.h:
    36993         (WebCore::LayerRendererChromium::getHeadsUpDisplay):
    36994         (WebCore::LayerRendererChromium::rootVisibleRect):
    36995         * platform/graphics/chromium/PluginLayerChromium.h:
    36996         (WebCore::PluginLayerChromium::drawsContent):
    36997         (WebCore::PluginLayerChromium::layerTypeAsString):
    36998         * platform/graphics/chromium/RenderSurfaceChromium.cpp:
    36999         (WebCore::RenderSurfaceChromium::name):
    37000         (WebCore::writeIndent):
    37001         (WebCore::RenderSurfaceChromium::dumpSurface):
    37002         * platform/graphics/chromium/RenderSurfaceChromium.h:
    37003         * platform/graphics/chromium/VideoLayerChromium.h:
    37004         (WebCore::VideoLayerChromium::drawsContent):
    37005         (WebCore::VideoLayerChromium::layerTypeAsString):
    37006         * platform/graphics/chromium/WebGLLayerChromium.h:
    37007         (WebCore::WebGLLayerChromium::drawsContent):
    37008         (WebCore::WebGLLayerChromium::layerTypeAsString):
    37009         * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp: Added.
    37010         (WebCore::CCHeadsUpDisplay::CCHeadsUpDisplay):
    37011         (WebCore::CCHeadsUpDisplay::~CCHeadsUpDisplay):
    37012         (WebCore::CCHeadsUpDisplay::draw):
    37013         (WebCore::CCHeadsUpDisplay::drawHudContents):
    37014         (WebCore::CCHeadsUpDisplay::onPresent):
    37015         * platform/graphics/chromium/cc/CCHeadsUpDisplay.h: Added.
    37016         (WebCore::CCHeadsUpDisplay::setShowFPSCounter):
    37017         (WebCore::CCHeadsUpDisplay::showFPSCounter):
    37018         (WebCore::CCHeadsUpDisplay::setShowPlatformLayerTree):
    37019         (WebCore::CCHeadsUpDisplay::showPlatformLayerTree):
    37020         (WebCore::CCHeadsUpDisplay::enabled):
    37021         * platform/graphics/chromium/cc/CCLayerImpl.cpp:
    37022         (WebCore::CCLayerImpl::CCLayerImpl):
    37023         (WebCore::writeIndent):
    37024         (WebCore::CCLayerImpl::dumpLayerProperties):
    37025         * platform/graphics/chromium/cc/CCLayerImpl.h:
    37026         (WebCore::CCLayerImpl::debugID):
    37027         (WebCore::CCLayerImpl::setName):
    37028         (WebCore::CCLayerImpl::name):
    37029 
    37030 2011-03-02  Ojan Vafai  <ojan@chromium.org>
    37031 
    37032         Reviewed by Darin Adler.
    37033 
    37034         crash in adoptNode with mutation events
    37035         https://bugs.webkit.org/show_bug.cgi?id=50046
    37036 
    37037         If the DOM is modified during the removeChild call in adoptNode,
    37038         then the setDocument call that follows can leave the DOM in an
    37039         inconsistent state.
    37040 
    37041         * dom/Document.cpp:
    37042         (WebCore::Document::adoptNode):
    37043 
    37044 2011-03-03  Dimitri Glazkov  <dglazkov@chromium.org>
    37045 
    37046         Reviewed by Darin Adler.
    37047 
    37048         Add audio tag tests to the media controls manual test suite.
    37049         https://bugs.webkit.org/show_bug.cgi?id=55722
    37050 
    37051         * manual-tests/media-controls.html: Added 4 audio tests.
    37052 
    37053 2011-03-03  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
    37054 
    37055         Reviewed by Eric Seidel.
    37056 
    37057         [EFL] Adjust functions of RenderThemeEfl.cpp to WebKit parameter style
    37058         https://bugs.webkit.org/show_bug.cgi?id=54392
    37059 
    37060         Functions of RenderThemeEfl.cpp adhere efl coding style instead of WebKit coding style.
    37061         WebCore's functions should adhere WebKit coding style.
    37062 
    37063         * platform/efl/RenderThemeEfl.cpp:
    37064         (WebCore::RenderThemeEfl::themePartCacheEntryReset):
    37065         (WebCore::RenderThemeEfl::themePartCacheEntrySurfaceCreate):
    37066         (WebCore::RenderThemeEfl::cacheThemePartNew):
    37067         (WebCore::RenderThemeEfl::cacheThemePartReset):
    37068         (WebCore::RenderThemeEfl::cacheThemePartResizeAndReset):
    37069         (WebCore::RenderThemeEfl::cacheThemePartGet):
    37070         (WebCore::RenderThemeEfl::cacheThemePartFlush):
    37071         (WebCore::RenderThemeEfl::applyEdjeStateFromForm):
    37072         (WebCore::RenderThemeEfl::paintThemePart):
    37073         (WebCore::renderThemeEflColorClassSelectionActive):
    37074         (WebCore::renderThemeEflColorClassSelectionInactive):
    37075         (WebCore::renderThemeEflColorClassFocusRing):
    37076         (WebCore::renderThemeEflColorClassButtonText):
    37077         (WebCore::renderThemeEflColorClassComboText):
    37078         (WebCore::renderThemeEflColorClassEntryText):
    37079         (WebCore::renderThemeEflColorClassSearchText):
    37080         (WebCore::RenderThemeEfl::applyPartDescription):
    37081         (WebCore::RenderThemeEfl::applyPartDescriptions):
    37082         (WebCore::RenderThemeEfl::controlSupportsTints):
    37083         (WebCore::RenderThemeEfl::baselinePosition):
    37084         (WebCore::RenderThemeEfl::paintSliderTrack):
    37085         (WebCore::RenderThemeEfl::adjustSliderTrackStyle):
    37086         (WebCore::RenderThemeEfl::adjustSliderThumbStyle):
    37087         (WebCore::RenderThemeEfl::paintSliderThumb):
    37088         (WebCore::RenderThemeEfl::adjustCheckboxStyle):
    37089         (WebCore::RenderThemeEfl::paintCheckbox):
    37090         (WebCore::RenderThemeEfl::adjustRadioStyle):
    37091         (WebCore::RenderThemeEfl::paintRadio):
    37092         (WebCore::RenderThemeEfl::adjustButtonStyle):
    37093         (WebCore::RenderThemeEfl::paintButton):
    37094         (WebCore::RenderThemeEfl::adjustMenuListStyle):
    37095         (WebCore::RenderThemeEfl::paintMenuList):
    37096         (WebCore::RenderThemeEfl::adjustTextFieldStyle):
    37097         (WebCore::RenderThemeEfl::paintTextField):
    37098         (WebCore::RenderThemeEfl::adjustTextAreaStyle):
    37099         (WebCore::RenderThemeEfl::paintTextArea):
    37100         (WebCore::RenderThemeEfl::adjustSearchFieldDecorationStyle):
    37101         (WebCore::RenderThemeEfl::paintSearchFieldDecoration):
    37102         (WebCore::RenderThemeEfl::adjustSearchFieldResultsButtonStyle):
    37103         (WebCore::RenderThemeEfl::paintSearchFieldResultsButton):
    37104         (WebCore::RenderThemeEfl::adjustSearchFieldResultsDecorationStyle):
    37105         (WebCore::RenderThemeEfl::paintSearchFieldResultsDecoration):
    37106         (WebCore::RenderThemeEfl::adjustSearchFieldCancelButtonStyle):
    37107         (WebCore::RenderThemeEfl::paintSearchFieldCancelButton):
    37108         (WebCore::RenderThemeEfl::adjustSearchFieldStyle):
    37109         (WebCore::RenderThemeEfl::paintSearchField):
    37110         (WebCore::RenderThemeEfl::adjustProgressBarStyle):
    37111         (WebCore::RenderThemeEfl::paintProgressBar):
    37112         (WebCore::RenderThemeEfl::paintMediaFullscreenButton):
    37113         (WebCore::RenderThemeEfl::paintMediaMuteButton):
    37114         (WebCore::RenderThemeEfl::paintMediaPlayButton):
    37115         (WebCore::RenderThemeEfl::paintMediaSeekBackButton):
    37116         (WebCore::RenderThemeEfl::paintMediaSeekForwardButton):
    37117         (WebCore::RenderThemeEfl::paintMediaSliderTrack):
    37118         (WebCore::RenderThemeEfl::paintMediaSliderThumb):
    37119         (WebCore::RenderThemeEfl::paintMediaVolumeSliderContainer):
    37120         (WebCore::RenderThemeEfl::paintMediaVolumeSliderTrack):
    37121         (WebCore::RenderThemeEfl::paintMediaVolumeSliderThumb):
    37122         (WebCore::RenderThemeEfl::paintMediaCurrentTime):
    37123 
    37124 2011-03-03  Andy Estes  <aestes@apple.com>
    37125 
    37126         Reviewed by Adam Barth.
    37127 
    37128         Assertion failure in toElement(WebCore::Node*)
    37129         https://bugs.webkit.org/show_bug.cgi?id=55697
    37130 
    37131         Test: fast/parser/fragment-foreign-content.html
    37132 
    37133         * html/parser/HTMLTreeBuilder.cpp:
    37134         (WebCore::HTMLTreeBuilder::constructTreeFromAtomicToken): The current
    37135         element in the HTMLElementStack might be a DocumentFragment if a
    37136         fragment is being parsed who's first node is foreign content.
    37137 
    37138 2011-03-03  Mahesh Kulkarni  <mahesh.kulkarni@nokia.com>
    37139 
    37140         Reviewed by Kenneth Rohde Christiansen.
    37141 
    37142         [QT] Implement mock client-based geolocation for layout testing
    37143         https://bugs.webkit.org/show_bug.cgi?id=54334
    37144 
    37145         Implements client() to GeolocationController to re-use geolocationClientMock class
    37146         for layout testing purpose.
    37147 
    37148         * page/GeolocationController.h:
    37149         (WebCore::GeolocationController::client):
    37150 
    37151 2011-03-03  Ryosuke Niwa  <rniwa@webkit.org>
    37152 
    37153         Reviewed by Kent Tamura.
    37154 
    37155         Stop calling deprecatedNode and deprecatedEditingOffset in InsertTextCommand
    37156         https://bugs.webkit.org/show_bug.cgi?id=55352
    37157 
    37158         Stopped calling deprecatedNode and deprecatedEditingOffset in the following functions:
    37159 
    37160         * editing/CompositeEditCommand.cpp:
    37161         (WebCore::CompositeEditCommand::positionOutsideTabSpan): Takes care of all types of positions and
    37162         no longer calls deprecated functions.
    37163         * editing/InsertTextCommand.cpp:
    37164         (WebCore::InsertTextCommand::positionInsideTextNode): Ditto; renamed from prepareForTextInsertion.
    37165         Check if the text node inside a tab span before checking if the container node is a text node
    37166         because the position before or after a text node can still be inside a tab span.
    37167         (WebCore::InsertTextCommand::input): No longer calls deprecated functions.
    37168         * editing/InsertTextCommand.h:
    37169         * editing/ModifySelectionListLevel.cpp:
    37170         (WebCore::getStartEndListChildren): Call anchorNode() instead of deprecatedNode() because the start
    37171         or the end of selection could be an immediate child of a list node (e.g. br inside ul)
    37172 
    37173 2011-03-03  Hans Wennborg  <hans@chromium.org>
    37174 
    37175         Reviewed by Jeremy Orlow.
    37176 
    37177         IndexedDB: Move last bits of SQL into IDBBackingStore
    37178         https://bugs.webkit.org/show_bug.cgi?id=55668
    37179 
    37180         After this, all SQL code for IndexedDB is in IDBBackingStore.cpp.
    37181 
    37182         No new tests: refactoring only.
    37183 
    37184         * storage/IDBBackingStore.cpp:
    37185         (WebCore::IDBBackingStore::createTransaction):
    37186         * storage/IDBBackingStore.h:
    37187         * storage/IDBCursorBackendImpl.h:
    37188         * storage/IDBDatabaseBackendImpl.cpp:
    37189         (WebCore::IDBDatabaseBackendImpl::backingStore):
    37190         * storage/IDBDatabaseBackendImpl.h:
    37191         * storage/IDBIndexBackendImpl.h:
    37192         * storage/IDBKey.h:
    37193         * storage/IDBObjectStoreBackendImpl.h:
    37194         * storage/IDBTransactionBackendImpl.cpp:
    37195         (WebCore::IDBTransactionBackendImpl::IDBTransactionBackendImpl):
    37196         * storage/IDBTransactionBackendImpl.h:
    37197         * storage/IDBTransactionBackendInterface.h:
    37198         * storage/IDBTransactionCoordinator.cpp:
    37199 
    37200 2011-03-03  Adam Klein  <adamk@chromium.org>
    37201 
    37202         Reviewed by David Levin.
    37203 
    37204         [fileapi] Tighten up ResolveURICallbacks
    37205         https://bugs.webkit.org/show_bug.cgi?id=55638
    37206 
    37207         Two changes:
    37208           - Retry only on TYPE_MISMATCH_ERR now that Chromium
    37209             properly sets that error code.
    37210           - Call DirectoryEntry instead of DOMFileSystem methods.
    37211 
    37212         No change in behavior, so no new tests.
    37213 
    37214         * fileapi/FileSystemCallbacks.cpp:
    37215         (WebCore::ResolveURICallbacks::didOpenFileSystem):
    37216 
    37217 2011-03-03  Anders Carlsson  <andersca@apple.com>
    37218 
    37219         Reviewed by Sam Weinig.
    37220 
    37221         Get rid of Page::globalHistoryItem
    37222         https://bugs.webkit.org/show_bug.cgi?id=55738
    37223 
    37224         The m_globalHistoryItem is only used by Mac and Windows WebKit1.
    37225         Instead of having WebCore updating this member variable, just call out
    37226         to a FrameLoaderClient member function and let WebKit keep it up to date.
    37227 
    37228         * loader/EmptyClients.h:
    37229         (WebCore::EmptyFrameLoaderClient::dispatchDidRemoveBackForwardItem):
    37230         (WebCore::EmptyFrameLoaderClient::updateGlobalHistoryItemForPage):
    37231         * loader/FrameLoader.cpp:
    37232         (WebCore::FrameLoader::checkLoadCompleteForThisFrame):
    37233         (WebCore::FrameLoader::continueLoadAfterNavigationPolicy):
    37234         * loader/FrameLoaderClient.h:
    37235         (WebCore::FrameLoaderClient::updateGlobalHistoryItemForPage):
    37236         * loader/HistoryController.cpp:
    37237         (WebCore::HistoryController::goToItem):
    37238         (WebCore::HistoryController::updateForStandardLoad):
    37239         (WebCore::HistoryController::updateForRedirectWithLockedBackForwardList):
    37240         * page/Page.cpp:
    37241         * page/Page.h:
    37242 
    37243 2011-03-02  Jeremy Orlow  <jorlow@chromium.org>
    37244 
    37245         Reviewed by Steve Block.
    37246 
    37247         Cursor.continue with a key param should test less than, not equal to
    37248         https://bugs.webkit.org/show_bug.cgi?id=55640
    37249 
    37250         If you supply a param to cursor.continue, we sould guarantee that
    37251         the item we continue to is greater than or equal to the parameter.
    37252         Right now, we only test equality.
    37253 
    37254         http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#widl-IDBCursor-continue
    37255         http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#dfn-steps-for-iterating-a-cursor
    37256 
    37257         Test: storage/indexeddb/cursor-continue.html
    37258 
    37259         * storage/IDBCursorBackendImpl.cpp:
    37260         (WebCore::IDBCursorBackendImpl::continueFunctionInternal):
    37261         * storage/IDBKey.cpp:
    37262         (WebCore::IDBKey::isLessThan):
    37263         (WebCore::IDBKey::isEqual):
    37264         * storage/IDBKey.h:
    37265 
    37266 2011-03-03  Brent Fulgham  <bfulgham@webkit.org>
    37267 
    37268         Build fix. Need win/cURL DownloadBundle stub.
    37269 
    37270         * platform/network/curl/DownloadBundle.h: Added.
    37271 
    37272 2011-03-03  Geoffrey Garen  <ggaren@apple.com>
    37273 
    37274         Rolled out 80277 and 80280 because they caused event handler layout test
    37275         failures.
    37276 
    37277         * WebCore.xcodeproj/project.pbxproj:
    37278         * bindings/js/JSDOMGlobalObject.cpp:
    37279         * bindings/js/JSDOMGlobalObject.h:
    37280         * bindings/js/JSDOMWindowBase.cpp:
    37281         * bindings/js/JSDOMWindowBase.h:
    37282         * bindings/js/JSDOMWindowCustom.h:
    37283         * bindings/js/JSWorkerContextBase.cpp:
    37284 
    37285 2011-03-03  Brady Eidson  <beidson@apple.com>
    37286 
    37287         Reviewed by Darin Adler.
    37288 
    37289         https://bugs.webkit.org/show_bug.cgi?id=55721
    37290         Global IconDatabase should be returned by reference, not as a pointer
    37291 
    37292         * history/HistoryItem.cpp:
    37293         (WebCore::HistoryItem::HistoryItem):
    37294         (WebCore::HistoryItem::~HistoryItem):
    37295         (WebCore::HistoryItem::reset):
    37296         (WebCore::HistoryItem::icon):
    37297         (WebCore::HistoryItem::setURLString):
    37298 
    37299         * loader/FrameLoader.cpp:
    37300         (WebCore::FrameLoader::startIconLoader):
    37301         (WebCore::FrameLoader::commitIconURLToIconDatabase):
    37302 
    37303         * loader/archive/cf/LegacyWebArchive.cpp:
    37304         (WebCore::LegacyWebArchive::create):
    37305 
    37306         * loader/icon/IconDatabase.cpp:
    37307         (WebCore::iconDatabase):
    37308         * loader/icon/IconDatabase.h:
    37309         * loader/icon/IconDatabaseNone.cpp:
    37310         (WebCore::iconDatabase):
    37311         * loader/icon/wince/IconDatabaseWinCE.cpp:
    37312         (WebCore::iconDatabase):
    37313 
    37314         * loader/icon/IconLoader.cpp:
    37315         (WebCore::IconLoader::finishLoading):
    37316 
    37317 2011-03-03  Ryosuke Niwa  <rniwa@webkit.org>
    37318 
    37319         Reviewed by Martin Robinson.
    37320 
    37321         Stop instantiating legacy editing positions in FocusController::advanceFocusInDocumentOrder
    37322         https://bugs.webkit.org/show_bug.cgi?id=52742
    37323 
    37324         Use firstPositionInOrBeforeNode to instantiate appropriate position.
    37325 
    37326         * page/FocusController.cpp:
    37327         (WebCore::FocusController::advanceFocusInDocumentOrder):
    37328 
    37329 2011-03-03  Andy Estes  <aestes@apple.com>
    37330 
    37331         Reviewed by Darin Adler.
    37332 
    37333         When displaying the missing plug-in sheet, pass the 'pluginspage'
    37334         attribute to the UI process.
    37335         https://bugs.webkit.org/show_bug.cgi?id=55553
    37336 
    37337         * WebCore.exp.in: Export __ZN7WebCore9HTMLNames15pluginspageAttrE.
    37338         * html/HTMLAttributeNames.in: Add 'pluginspage' as a known content
    37339         attribute.
    37340 
    37341 2011-03-03  Jessie Berlin  <jberlin@apple.com>
    37342 
    37343         Reviewed by Adam Roben.
    37344 
    37345         WebKit2: Use CFNetwork Sessions API.
    37346         https://bugs.webkit.org/show_bug.cgi?id=55435
    37347 
    37348         Set the Private Browsing Storage Session on requests when Private Browsing is enabled.
    37349 
    37350         * WebCore.exp.in:
    37351         Support using WKCopyRequestWithStorageSession in WebCore.
    37352         * platform/mac/WebCoreSystemInterface.h:
    37353         Ditto.
    37354         * platform/mac/WebCoreSystemInterface.mm:
    37355         Ditto.
    37356 
    37357         * platform/network/cf/ResourceHandleCFNet.cpp:
    37358         (WebCore::makeFinalRequest):
    37359         If Private Browsing is enabled, set the Private Browsing Storage Session on the request.
    37360         (WebCore::ResourceHandle::willSendRequest):
    37361         Ditto.
    37362         * platform/network/mac/ResourceHandleMac.mm:
    37363         (WebCore::ResourceHandle::createNSURLConnection):
    37364         Ditto.
    37365         (WebCore::ResourceHandle::willSendRequest):
    37366         Ditto.
    37367 
    37368         * platform/network/cf/ResourceRequest.h:
    37369         * platform/network/cf/ResourceRequestCFNet.cpp:
    37370         (WebCore::ResourceRequest::setStorageSession):
    37371         Call through to WKSI.
    37372         * platform/network/mac/ResourceRequestMac.mm:
    37373         (WebCore::ResourceRequest::setStorageSession):
    37374         Ditto.
    37375 
    37376 2011-03-03  Chris Marrin  <cmarrin@apple.com>
    37377 
    37378         Reviewed by Simon Fraser.
    37379 
    37380         REGRESSION: Accelerated transitions are jumpy
    37381         https://bugs.webkit.org/show_bug.cgi?id=55022
    37382 
    37383         Changed the way default TimingFunction is stored according to Adam Roben's
    37384         suggestion.
    37385 
    37386         * platform/animation/TimingFunction.h:
    37387         (WebCore::CubicBezierTimingFunction::defaultTimingFunction):
    37388 
    37389 2011-03-03  Dan Bernstein  <mitz@apple.com>
    37390 
    37391         Reviewed by Sam Weinig.
    37392 
    37393         Rename -webkit-hyphenate-locale to -webkit-locale
    37394         https://bugs.webkit.org/show_bug.cgi?id=55709
    37395 
    37396         * css/CSSComputedStyleDeclaration.cpp:
    37397         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
    37398         * css/CSSParser.cpp:
    37399         (WebCore::CSSParser::parseValue):
    37400         (WebCore::cssPropertyID):
    37401         * css/CSSPropertyNames.in:
    37402         * css/CSSStyleSelector.cpp:
    37403         (WebCore::CSSStyleSelector::applyProperty):
    37404         * rendering/RenderBlockLineLayout.cpp:
    37405         (WebCore::RenderBlock::findNextLineBreak):
    37406         * rendering/style/RenderStyle.cpp:
    37407         (WebCore::RenderStyle::diff):
    37408         * rendering/style/RenderStyle.h:
    37409         (WebCore::InheritedFlags::locale):
    37410         (WebCore::InheritedFlags::setLocale):
    37411         (WebCore::InheritedFlags::initialLocale):
    37412         * rendering/style/StyleRareInheritedData.cpp:
    37413         (WebCore::StyleRareInheritedData::StyleRareInheritedData):
    37414         (WebCore::StyleRareInheritedData::operator==):
    37415         * rendering/style/StyleRareInheritedData.h:
    37416 
    37417 2011-03-03  Kevin Ollivier  <kevino@theolliviers.com>
    37418 
    37419         [wx] Build fixes. Use Font::textMetrics to get ascent value, and add missing include.
    37420 
    37421         * platform/wx/DragDataWx.cpp:
    37422         * platform/wx/wxcode/win/non-kerned-drawing.cpp:
    37423         (WebCore::drawTextWithSpacing):
    37424 
    37425 2011-03-03  Oliver Hunt  <oliver@apple.com>
    37426 
    37427         Reviewed by Geoffrey Garen.
    37428 
    37429         JSVariableObject needs to use WriteBarrier for symboltable property storage
    37430         https://bugs.webkit.org/show_bug.cgi?id=55698
    37431 
    37432         Update to pass JSGlobalData for the symbol table write used
    37433         to set the document property.
    37434 
    37435         * bindings/js/JSDOMWindowBase.cpp:
    37436         (WebCore::JSDOMWindowBase::updateDocument):
    37437 
    37438 2011-03-03  Alexey Proskuryakov  <ap@apple.com>
    37439 
    37440         More build fixing. Move WebCoreKeyboardUIMode.h to a cross-platform location.
    37441 
    37442         * WebCore.xcodeproj/project.pbxproj:
    37443         * page/WebCoreKeyboardUIMode.h: Copied from WebCore/page/mac/WebCoreKeyboardUIMode.h.
    37444         * page/mac/WebCoreKeyboardUIMode.h: Removed.
    37445 
    37446 2011-03-03  Alexey Proskuryakov  <ap@apple.com>
    37447 
    37448         Build fix. Should include WebCoreKeyboardUIMode.h on all platforms now.
    37449 
    37450         * page/ChromeClient.h:
    37451 
    37452 2011-03-02  Alexey Proskuryakov  <ap@apple.com>
    37453 
    37454         Reviewed by Darin Adler.
    37455 
    37456         REGRESSION (WebKit2): Tab keys no longer observe Full Keyboard Access
    37457         https://bugs.webkit.org/show_bug.cgi?id=55633
    37458         <rdar://problem/8963023>
    37459 
    37460         * loader/EmptyClients.h: (WebCore::EmptyChromeClient::keyboardUIMode):
    37461         * page/ChromeClient.h:
    37462         * page/EventHandler.cpp: (WebCore::EventHandler::tabsToLinks):
    37463         Merged tabsToLinks() and keyboardUIMode(). The latter returned a superset of information
    37464         returned by former.
    37465 
    37466 2011-03-03  Dimitri Glazkov  <dglazkov@chromium.org>
    37467 
    37468         Fix Win compile break, caused by r80276.
    37469 
    37470         * rendering/RenderThemeWin.h: Changed signature of volumeSliderOffsetFromMuteButton
    37471             to match RenderTheme.h.
    37472 
    37473 2011-03-02  Geoffrey Garen  <ggaren@apple.com>
    37474 
    37475         Reviewed by Darin Adler.
    37476 
    37477         Moved all variable object storage inline -- upping the object size limit to 1K
    37478         https://bugs.webkit.org/show_bug.cgi?id=55653
    37479 
    37480         * bindings/js/JSDOMGlobalObject.cpp:
    37481         * bindings/js/JSDOMGlobalObject.h:
    37482         * bindings/js/JSDOMWindowBase.cpp:
    37483         * bindings/js/JSDOMWindowBase.h:
    37484         * bindings/js/JSDOMWindowCustom.h:
    37485         * bindings/js/JSWorkerContextBase.cpp: Removed out-of-line storage. Changed d-> to m_.
    37486 
    37487 2011-03-03  Dimitri Glazkov  <dglazkov@chromium.org>
    37488 
    37489         Reviewed by Darin Adler.
    37490 
    37491         Use RenderBox in volumeSliderOffsetFromMuteButton, since that's what is actually being used.
    37492         https://bugs.webkit.org/show_bug.cgi?id=55099
    37493 
    37494         Cleanup, no behavior change.
    37495 
    37496         * html/shadow/MediaControls.cpp:
    37497         (WebCore::MediaControls::updateVolumeSliderContainer): Changed to pass RenderBox
    37498             instead of Node.
    37499         * rendering/RenderMediaControls.cpp:
    37500         (WebCore::RenderMediaControls::volumeSliderOffsetFromMuteButton): Changed
    37501             to use RenderBox as argument.
    37502         * rendering/RenderMediaControls.h: Ditto.
    37503         * rendering/RenderTheme.cpp:
    37504         (WebCore::RenderTheme::volumeSliderOffsetFromMuteButton): Ditto.
    37505         * rendering/RenderTheme.h: Ditto.
    37506         * rendering/RenderThemeChromiumMac.h: Ditto.
    37507         * rendering/RenderThemeChromiumMac.mm:
    37508         (WebCore::RenderThemeChromiumMac::volumeSliderOffsetFromMuteButton): Ditto.
    37509         * rendering/RenderThemeMac.h: Ditto.
    37510         * rendering/RenderThemeMac.mm:
    37511         (WebCore::RenderThemeMac::volumeSliderOffsetFromMuteButton): Ditto.
    37512         * rendering/RenderThemeWin.cpp:
    37513         (WebCore::RenderThemeWin::volumeSliderOffsetFromMuteButton): Ditto.
    37514 
    37515 2011-03-03  Alexis Menard  <alexis.menard@openbossa.org>
    37516 
    37517         Reviewed by Andreas Kling.
    37518 
    37519         When building with DEFINES+=USE_GSTREAMER=1 we don't want to define ENABLE_QT_MULTIMEDIA to 1.
    37520         Also add the new files added after https://bugs.webkit.org/show_bug.cgi?id=54870 to support GRefPtr
    37521         for GstElement.
    37522 
    37523         * WebCore.pro:
    37524         * features.pri:
    37525 
    37526 2011-03-03  Anders Carlsson  <andersca@apple.com>
    37527 
    37528         Try to fix the Windows build again.
    37529 
    37530         * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
    37531         * platform/graphics/win/MediaPlayerPrivateQuickTimeWin.cpp:
    37532 
    37533 2011-03-03  Mihai Parparita  <mihaip@chromium.org>
    37534 
    37535         Reviewed by Dimitri Glazkov.
    37536 
    37537         Add another CRASH() for CSSSelector double frees
    37538         https://bugs.webkit.org/show_bug.cgi?id=55693
    37539 
    37540         To help track down bug 53045, add a CRASH call when the the array and/or
    37541         CSSSelector member in CSSSelectorList is disposed of more than once.
    37542 
    37543         Just a check, no new tests necessary.
    37544        
    37545         * css/CSSSelectorList.cpp:
    37546         (WebCore::CSSSelectorList::deleteSelectors):
    37547 
    37548 2011-03-03  Anders Carlsson  <andersca@apple.com>
    37549 
    37550         Yet another attempt at fixing the Windows build.
    37551 
    37552         * platform/graphics/ca/win/CACFLayerTreeHost.cpp:
    37553         * platform/graphics/ca/win/LegacyCACFLayerTreeHost.cpp:
    37554         * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.h:
    37555         * platform/graphics/win/MediaPlayerPrivateQuickTimeWin.cpp:
    37556 
    37557 2011-03-02  Chris Marrin  <cmarrin@apple.com>
    37558 
    37559         Reviewed by Simon Fraser.
    37560 
    37561         REGRESSION: Accelerated transitions are jumpy
    37562         https://bugs.webkit.org/show_bug.cgi?id=55022
    37563 
    37564         Got rid of default TimingFunction values from PlatformCAAnimation*. A TimingFunction
    37565         is now always passed in. The TimingFunction class now has a static method to get
    37566         a default object which has the 'ease' values in it. I now assert in both Mac and
    37567         Win implementations if a null TimingFunction pointer is seen.
    37568 
    37569         * platform/animation/TimingFunction.h:
    37570         (WebCore::CubicBezierTimingFunction::create):
    37571         (WebCore::CubicBezierTimingFunction::defaultTimingFunction):
    37572         (WebCore::CubicBezierTimingFunction::CubicBezierTimingFunction):
    37573         * platform/graphics/ca/GraphicsLayerCA.cpp:
    37574         (WebCore::GraphicsLayerCA::timingFunctionForAnimationValue):
    37575         * platform/graphics/ca/mac/PlatformCAAnimationMac.mm:
    37576         (toCAMediaTimingFunction):
    37577         * platform/graphics/ca/win/PlatformCAAnimationWin.cpp:
    37578         (toCACFTimingFunction):
    37579 
    37580 2011-03-03  Tony Gentilcore  <tonyg@chromium.org>
    37581 
    37582         Unreviewed build fix.
    37583 
    37584         Fix clang compile after r80220
    37585         https://bugs.webkit.org/show_bug.cgi?id=55692
    37586 
    37587         * storage/IDBBackingStore.cpp:
    37588         (WebCore::IDBBackingStore::getPrimaryKeyViaIndex):
    37589 
    37590 2011-03-03  Anders Carlsson  <andersca@apple.com>
    37591 
    37592         Attempt to fix the Windows build.
    37593 
    37594         * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
    37595         * platform/graphics/win/MediaPlayerPrivateQuickTimeWin.cpp:
    37596 
    37597 2011-03-02  Brian Weinstein  <bweinstein@apple.com>
    37598 
    37599         Reviewed by Adam Roben.
    37600 
    37601         Rest of WebKit2: Need a way to send notifications to client when cookies change
    37602         https://bugs.webkit.org/show_bug.cgi?id=55427
    37603         <rdar://problem/9056027>
    37604 
    37605         Add functions to be exported.
    37606 
    37607         * WebCore.exp.in:
    37608 
    37609 2011-03-03  Anders Carlsson  <andersca@apple.com>
    37610 
    37611         Reviewed by Darin Adler.
    37612 
    37613         Improve WebCore build time by ~5%
    37614         https://bugs.webkit.org/show_bug.cgi?id=55688
    37615 
    37616         Forward declare the CATransform3D and CGAffineTransform structs instead of including
    37617         large chunks of QuartzCore and Core Graphics.
    37618 
    37619         On an 8 core Mac Pro, this sped up building WebCore by about 5%.
    37620 
    37621         * platform/graphics/ca/GraphicsLayerCA.cpp:
    37622         * platform/graphics/ca/TransformationMatrixCA.cpp:
    37623         * platform/graphics/transforms/TransformationMatrix.h:
    37624 
    37625 2011-03-03  Andrey Kosyakov  <caseq@chromium.org>
    37626 
    37627         Unreviewed. Adjusted call to a method renamed in r80102.
    37628 
    37629         * inspector/front-end/SourceFrame.js:
    37630         (WebInspector.SourceFrame.prototype._startEditing):
    37631 
    37632 2011-03-03  Timothy Hatcher  <timothy@apple.com>
    37633 
    37634         Use APIEntryShim instead of JSLock in SerializedScriptValue to allow it to be used
    37635         by contexts not created by WebCore.
    37636 
    37637         https://webkit.org/b/55642
    37638 
    37639         Reviewed by Oliver Hunt.
    37640 
    37641         * bindings/js/SerializedScriptValue.cpp:
    37642         (WebCore::SerializedScriptValue::create): Use APIEntryShim instead of JSLock.
    37643         (WebCore::SerializedScriptValue::deserialize): Ditto.
    37644 
    37645 2011-03-03  Alexey Proskuryakov  <ap@apple.com>
    37646 
    37647         Reviewed by Darin Adler.
    37648 
    37649         WebCore should check for "Upgrade" and "Connection" header fields in WebSockets handshake
    37650         https://bugs.webkit.org/show_bug.cgi?id=55498
    37651         <rdar://problem/8752706>
    37652 
    37653         Tests: http/tests/websocket/tests/handshake-fail-by-no-connection-header.html
    37654                http/tests/websocket/tests/handshake-fail-by-no-upgrade-header.html
    37655 
    37656         * websockets/WebSocketHandshake.h: Removed unused and meaningless setters for response
    37657         header fields. Removed separate member variables for those, as they were duplicating data
    37658         available in response, and there is no reason to squeeze microsecods here.
    37659 
    37660         * websockets/WebSocketHandshake.cpp:
    37661         (WebCore::WebSocketHandshake::reset): There are no longer member variables for header field
    37662         values to reset here.
    37663         (WebCore::WebSocketHandshake::readServerHandshake): Removed a call for processHeaders().
    37664         (WebCore::WebSocketHandshake::serverWebSocketOrigin): Changed to get the value from response.
    37665         (WebCore::WebSocketHandshake::serverWebSocketLocation): Ditto.
    37666         (WebCore::WebSocketHandshake::serverWebSocketProtocol): Ditto.
    37667         (WebCore::WebSocketHandshake::serverSetCookie): Ditto.
    37668         (WebCore::WebSocketHandshake::serverSetCookie2): Ditto.
    37669         (WebCore::WebSocketHandshake::serverUpgrade): Added.
    37670         (WebCore::WebSocketHandshake::serverConnection): Added.
    37671         (WebCore::WebSocketHandshake::checkResponseHeaders): Added checks for Upgrade and Connection
    37672         header field presence and values.
    37673 
    37674 2011-03-03  Helder Correia  <helder@sencha.com>
    37675 
    37676         Reviewed by Andreas Kling.
    37677 
    37678         [Qt] fast/canvas/canvas-strokePath-gradient-shadow.html fails
    37679         https://bugs.webkit.org/show_bug.cgi?id=55651
    37680 
    37681         When relying on ContextShadow and using a gradient stroke for a path,
    37682         the alpha of the shadow is incorrect.
    37683 
    37684         * platform/graphics/qt/GraphicsContextQt.cpp:
    37685         (WebCore::GraphicsContext::strokePath):
    37686 
    37687 2011-03-03  Martin Robinson  <mrobinson@igalia.com>
    37688 
    37689         XHTMLMP build broken after r78342
    37690         https://bugs.webkit.org/show_bug.cgi?id=55286
    37691 
    37692         Fix XHTMLMP build now that the DocumentWriter is a member of DocumentLoader
    37693         instead of FrameLoader.
    37694 
    37695         No new tests. This is a build fix.
    37696 
    37697         * dom/Document.cpp:
    37698         (WebCore::Document::isXHTMLMPDocument):
    37699 
    37700 2011-03-03  Dimitri Glazkov  <dglazkov@chromium.org>
    37701 
    37702         Reviewed by Eric Carlson.
    37703 
    37704         Tweak MediaControlMuteButtonElement class hierarchy.
    37705         https://bugs.webkit.org/show_bug.cgi?id=55614
    37706 
    37707         This allows the mute button on the panel to have event handlers that are
    37708         different from the mute button in the volume slider.
    37709 
    37710         No change in behavior, covered by existing tests.
    37711 
    37712         * html/shadow/MediaControls.cpp:
    37713         (WebCore::MediaControls::createMuteButton): Changed to use MediaControlPanelMuteButtonElement.
    37714         * rendering/MediaControlElements.cpp:
    37715         (WebCore::MediaControlMuteButtonElement::updateDisplayType):
    37716         (WebCore::MediaControlPanelMuteButtonElement::MediaControlPanelMuteButtonElement): Added.
    37717         (WebCore::MediaControlPanelMuteButtonElement::create): Added.
    37718         (WebCore::MediaControlPanelMuteButtonElement::shadowPseudoId): Moved.
    37719         * rendering/MediaControlElements.h: Added defs.
    37720 
    37721 2011-03-03  Yury Semikhatsky  <yurys@chromium.org>
    37722 
    37723         Reviewed by Pavel Feldman.
    37724 
    37725         Web Inspector: Resource agent should have same lifetime as Inspector agent
    37726         https://bugs.webkit.org/show_bug.cgi?id=55461
    37727 
    37728         * inspector/Inspector.idl:
    37729         * inspector/InspectorAgent.cpp:
    37730         (WebCore::InspectorAgent::InspectorAgent):
    37731         (WebCore::InspectorAgent::inspectedPageDestroyed): disconnectFrontend is called before the agent is destroyed
    37732         to clear frontend reference in all agents.
    37733         (WebCore::InspectorAgent::restoreInspectorStateFromCookie):
    37734         (WebCore::InspectorAgent::setFrontend):
    37735         (WebCore::InspectorAgent::disconnectFrontend):
    37736         (WebCore::InspectorAgent::releaseFrontendLifetimeAgents):
    37737         (WebCore::InspectorAgent::didCommitLoad):
    37738         * inspector/InspectorAgent.h:
    37739         (WebCore::InspectorAgent::resourceAgent):
    37740         * inspector/InspectorBrowserDebuggerAgent.cpp:
    37741         (WebCore::InspectorBrowserDebuggerAgent::~InspectorBrowserDebuggerAgent):
    37742         * inspector/InspectorDebuggerAgent.cpp:
    37743         (WebCore::InspectorDebuggerAgent::~InspectorDebuggerAgent):
    37744         * inspector/InspectorInstrumentation.cpp:
    37745         (WebCore::InspectorInstrumentation::didCreateWebSocketImpl):
    37746         (WebCore::InspectorInstrumentation::willSendWebSocketHandshakeRequestImpl):
    37747         (WebCore::InspectorInstrumentation::didReceiveWebSocketHandshakeResponseImpl):
    37748         (WebCore::InspectorInstrumentation::didCloseWebSocketImpl):
    37749         (WebCore::InspectorInstrumentation::retrieveResourceAgent):
    37750         * inspector/InspectorResourceAgent.cpp:
    37751         (WebCore::InspectorResourceAgent::setFrontend):
    37752         (WebCore::InspectorResourceAgent::clearFrontend):
    37753         (WebCore::InspectorResourceAgent::restore):
    37754         (WebCore::InspectorResourceAgent::~InspectorResourceAgent):
    37755         (WebCore::InspectorResourceAgent::enable):
    37756         (WebCore::InspectorResourceAgent::disable):
    37757         (WebCore::InspectorResourceAgent::InspectorResourceAgent):
    37758         * inspector/InspectorResourceAgent.h:
    37759         (WebCore::InspectorResourceAgent::create):
    37760         * inspector/InspectorTimelineAgent.cpp:
    37761         (WebCore::InspectorTimelineAgent::restore):
    37762         * inspector/InspectorTimelineAgent.h:
    37763         * inspector/front-end/NetworkManager.js:
    37764         (WebInspector.NetworkManager):
    37765         (WebInspector.NetworkManager.prototype.frontendReused):
    37766         * inspector/front-end/inspector.js:
    37767         (WebInspector.frontendReused):
    37768 
    37769 2011-03-03  Andras Becsi  <abecsi@webkit.org>
    37770 
    37771         Reviewed by Andreas Kling.
    37772 
    37773         CSS RGBA fast-path color parsing should clamp of out-of-range alpha values
    37774         https://bugs.webkit.org/show_bug.cgi?id=55661
    37775 
    37776         Test case originally written by Andreas Kling <andreas.kling@nokia.com>
    37777 
    37778         Test: fast/canvas/rgba-parsing.html
    37779 
    37780         * css/CSSParser.cpp:
    37781         (WebCore::isValidDouble): Check whether the given string is a valid double.
    37782         (WebCore::parseAlphaValue): Out-of-range alpha values should be clamped to the (0.0, 1.0) range.
    37783 
    37784 2011-03-03  David Holloway  <dhollowa@chromium.org>
    37785 
    37786         Reviewed by Dimitri Glazkov.
    37787 
    37788         Changes HTMLTextFormControlElement::placeholderShouldBeVisible to account
    37789         for non-empty suggestion text.  The visibility of the placeholder text
    37790         now turned off when suggestion text is set.
    37791         https://bugs.webkit.org/show_bug.cgi?id=55245
    37792 
    37793         No new tests because, by design, the suggestion text is not accessible
    37794         through the DOM.
    37795 
    37796         * html/HTMLFormControlElement.cpp:
    37797         (WebCore::HTMLTextFormControlElement::placeholderShouldBeVisible):
    37798         * html/HTMLFormControlElement.h:
    37799         (WebCore::HTMLTextFormControlElement::isEmptySuggestedValue):
    37800         * html/HTMLInputElement.h:
    37801         (WebCore::HTMLInputElement::isEmptySuggestedValue):
    37802 
    37803 2011-03-03  Andy Estes  <aestes@apple.com>
    37804 
    37805         Reviewed by Eric Seidel.
    37806 
    37807         HTML5 TreeBuilder regressed a Peacekeeper DOM test by 25% (was 40%)
    37808         https://bugs.webkit.org/show_bug.cgi?id=48719
    37809        
    37810         Instead of pushing a fake HTMLHtmlElement onto the open element stack
    37811         during fragment parsing only to later remove it and reparent its
    37812         children to the DocumentFragment, push the DocumentFragment directly
    37813         onto the open element stack as the root node. This requires refactoring
    37814         HTMLElementStack to hold ContainerNode pointers rather than Element
    37815         pointers, which has implications for HTMLConstructionSite and
    37816         HTMLTreeBuilder as well.
    37817        
    37818         With this patch, the regression in Peacekeeper from Safari 5.0.3 to ToT
    37819         is ~14%. However, if you discount the 'domDynamicCreationCreateElement'
    37820         test, ToT is now ~4% faster than Safari 5.0.3. This indicates that the
    37821         regression no longer lies in fragment parsing.
    37822 
    37823         No new tests. No change in behavior.
    37824 
    37825         * dom/Element.h:
    37826         (WebCore::Node::hasLocalName):
    37827         * dom/Node.h:
    37828         * html/parser/HTMLConstructionSite.cpp:
    37829         (WebCore::HTMLNames::hasImpliedEndTag):
    37830         (WebCore::HTMLConstructionSite::HTMLConstructionSite):
    37831         (WebCore::HTMLConstructionSite::insertHTMLHtmlStartTagInBody):
    37832         (WebCore::HTMLConstructionSite::insertComment):
    37833         (WebCore::HTMLConstructionSite::insertCommentOnHTMLHtmlElement):
    37834         (WebCore::HTMLConstructionSite::attachToCurrent):
    37835         (WebCore::HTMLConstructionSite::insertScriptElement):
    37836         (WebCore::HTMLConstructionSite::insertTextNode):
    37837         (WebCore::HTMLConstructionSite::createElement):
    37838         (WebCore::HTMLConstructionSite::createHTMLElement):
    37839         (WebCore::HTMLConstructionSite::generateImpliedEndTagsWithExclusion):
    37840         (WebCore::HTMLConstructionSite::generateImpliedEndTags):
    37841         (WebCore::HTMLConstructionSite::findFosterSite):
    37842         (WebCore::HTMLConstructionSite::shouldFosterParent):
    37843         * html/parser/HTMLConstructionSite.h:
    37844         (WebCore::HTMLConstructionSite::currentNode):
    37845         * html/parser/HTMLElementStack.cpp:
    37846         (WebCore::HTMLNames::isNumberedHeaderElement):
    37847         (WebCore::HTMLNames::isScopeMarker):
    37848         (WebCore::HTMLNames::isListItemScopeMarker):
    37849         (WebCore::HTMLNames::isTableScopeMarker):
    37850         (WebCore::HTMLNames::isTableBodyScopeMarker):
    37851         (WebCore::HTMLNames::isTableRowScopeMarker):
    37852         (WebCore::HTMLNames::isButtonScopeMarker):
    37853         (WebCore::HTMLNames::isSelectScopeMarker):
    37854         (WebCore::HTMLElementStack::ElementRecord::ElementRecord):
    37855         (WebCore::HTMLElementStack::ElementRecord::replaceElement):
    37856         (WebCore::HTMLElementStack::HTMLElementStack):
    37857         (WebCore::HTMLElementStack::secondElementIsHTMLBodyElement):
    37858         (WebCore::HTMLElementStack::popAll):
    37859         (WebCore::HTMLElementStack::popUntilNumberedHeaderElementPopped):
    37860         (WebCore::HTMLElementStack::popUntil):
    37861         (WebCore::HTMLElementStack::popUntilPopped):
    37862         (WebCore::HTMLElementStack::popUntilTableScopeMarker):
    37863         (WebCore::HTMLElementStack::popUntilTableBodyScopeMarker):
    37864         (WebCore::HTMLElementStack::popUntilTableRowScopeMarker):
    37865         (WebCore::HTMLElementStack::pushHTMLHtmlElement):
    37866         (WebCore::HTMLElementStack::push):
    37867         (WebCore::HTMLElementStack::insertAbove):
    37868         (WebCore::HTMLElementStack::find):
    37869         (WebCore::HTMLElementStack::topmost):
    37870         (WebCore::HTMLElementStack::contains):
    37871         (WebCore::inScopeCommon):
    37872         (WebCore::HTMLElementStack::hasNumberedHeaderElementInScope):
    37873         (WebCore::HTMLElementStack::htmlElement):
    37874         (WebCore::HTMLElementStack::rootNode):
    37875         (WebCore::HTMLElementStack::pushCommon):
    37876         * html/parser/HTMLElementStack.h:
    37877         (WebCore::HTMLElementStack::ElementRecord::element):
    37878         (WebCore::HTMLElementStack::ElementRecord::node):
    37879         (WebCore::HTMLElementStack::topNode):
    37880         * html/parser/HTMLTreeBuilder.cpp:
    37881         (WebCore::HTMLTreeBuilder::HTMLTreeBuilder):
    37882         (WebCore::HTMLTreeBuilder::processCloseWhenNestedTag):
    37883         (WebCore::HTMLTreeBuilder::processStartTagForInBody):
    37884         (WebCore::HTMLTreeBuilder::processColgroupEndTagForInColumnGroup):
    37885         (WebCore::HTMLTreeBuilder::processStartTag):
    37886         (WebCore::HTMLTreeBuilder::processAnyOtherEndTagForInBody):
    37887         (WebCore::HTMLTreeBuilder::callTheAdoptionAgency):
    37888         (WebCore::HTMLTreeBuilder::resetInsertionModeAppropriately):
    37889         (WebCore::HTMLTreeBuilder::processEndTagForInCell):
    37890         (WebCore::HTMLTreeBuilder::processEndTagForInBody):
    37891         (WebCore::HTMLTreeBuilder::processEndTag):
    37892         (WebCore::HTMLTreeBuilder::processEndOfFile):
    37893         (WebCore::HTMLTreeBuilder::finished):
    37894         * html/parser/HTMLTreeBuilder.h:
    37895 
    37896 2011-03-02  Yury Semikhatsky  <yurys@chromium.org>
    37897 
    37898         Reviewed by Pavel Feldman.
    37899 
    37900         Web Inspector: inspector protocol should allow different domains to have methods with same name
    37901         https://bugs.webkit.org/show_bug.cgi?id=55558
    37902 
    37903         * inspector/CodeGeneratorInspector.pm: each command is now identified by domain + command-name(was command-name only).
    37904 
    37905 2011-03-02  Pavel Podivilov  <podivilov@chromium.org>
    37906 
    37907         Reviewed by Yury Semikhatsky.
    37908 
    37909         Web Inspector: make selected call frame debugger presentation model property.
    37910         https://bugs.webkit.org/show_bug.cgi?id=55582
    37911 
    37912         * inspector/front-end/CallStackSidebarPane.js:
    37913         (WebInspector.CallStackSidebarPane):
    37914         (WebInspector.CallStackSidebarPane.prototype.update):
    37915         (WebInspector.CallStackSidebarPane.prototype.set selectedCallFrame):
    37916         (WebInspector.CallStackSidebarPane.prototype._selectedCallFrameIndex):
    37917         * inspector/front-end/ConsoleView.js:
    37918         (WebInspector.ConsoleView.prototype.completions):
    37919         * inspector/front-end/DebuggerPresentationModel.js:
    37920         (WebInspector.DebuggerPresentationModel.prototype.set selectedCallFrame):
    37921         (WebInspector.DebuggerPresentationModel.prototype.get selectedCallFrame):
    37922         * inspector/front-end/ScriptsPanel.js:
    37923         (WebInspector.ScriptsPanel):
    37924         (WebInspector.ScriptsPanel.prototype.getCompletionsOnCallFrame):
    37925         (WebInspector.ScriptsPanel.prototype._debuggerResumed):
    37926         (WebInspector.ScriptsPanel.prototype._sourceFrameLoaded):
    37927         (WebInspector.ScriptsPanel.prototype._callFrameSelected):
    37928 
    37929 2011-03-03  Jia Pu  <jpu@apple.com>
    37930 
    37931         Reviewed by Darin Adler.
    37932 
    37933         On Mac OS X, spelling suggestion panel stops showing up after change set 80121
    37934         https://bugs.webkit.org/show_bug.cgi?id=55628
    37935 
    37936         Removed a call to stopCorrectionPanelTimer() to fix a regression introduced by changeset 80121.
    37937 
    37938         * editing/Editor.cpp:
    37939         (WebCore::Editor::appliedEditing):
    37940         * manual-tests/autocorrection/autocorrection-contraction.html:
    37941 
    37942 2011-03-03  Pavel Podivilov  <podivilov@chromium.org>
    37943 
    37944         Reviewed by Pavel Feldman.
    37945 
    37946         Web Inspector: rename "sourceName" to "sourceFileId" in ScriptsPanel.js.
    37947         https://bugs.webkit.org/show_bug.cgi?id=55569
    37948 
    37949         sourceFileId better reflects the intention to have unique identifier for each source that is shown in scripts panel.
    37950 
    37951         * inspector/front-end/DebuggerPresentationModel.js:
    37952         * inspector/front-end/ScriptsPanel.js:
    37953 
    37954 2011-03-03  Steve Block  <steveblock@google.com>
    37955 
    37956         Reviewed by David Levin.
    37957 
    37958         JavaString API should be implementable by both JSC and V8
    37959         https://bugs.webkit.org/show_bug.cgi?id=55567
    37960 
    37961         Remove JavaString's UString operator and replace it with a
    37962         script-engine-independent impl() method, which returns a
    37963         StringImpl and can be implemented with both JSC and V8.
    37964 
    37965         No new tests, refactoring only.
    37966 
    37967         * bridge/jni/JNIBridge.h:
    37968         (JSC::Bindings::JavaString::impl):
    37969         * bridge/jni/jni_jsobject.mm:
    37970         (JavaJSObject::call):
    37971         (JavaJSObject::eval):
    37972         (JavaJSObject::getMember):
    37973         (JavaJSObject::setMember):
    37974         (JavaJSObject::removeMember):
    37975         * bridge/jni/jsc/JNIBridgeJSC.cpp:
    37976         (JavaField::valueFromInstance):
    37977         (JavaField::setValueToInstance):
    37978         * bridge/jni/jsc/JavaClassJSC.cpp:
    37979         (JavaClass::JavaClass):
    37980         * bridge/jni/jsc/JavaInstanceJSC.cpp:
    37981         (JavaInstance::invokeMethod):
    37982         * bridge/jni/jsc/JavaStringJSC.h:
    37983         (JSC::Bindings::JavaStringImpl::impl):
    37984         * bridge/jni/v8/JavaStringV8.h:
    37985         (JSC::Bindings::JavaStringImpl::impl):
    37986 
    37987 2011-03-03  Benjamin Poulain  <ikipou@gmail.com>
    37988 
    37989         Reviewed by Adam Roben.
    37990 
    37991         REGRESSION (r79817): Lots of leaks of FloatingObjects seen on SnowLeopard Intel Leaks bot
    37992         https://bugs.webkit.org/show_bug.cgi?id=55602
    37993 
    37994         Delete the FloatingObject referenced by m_floatingObjects when clearing the floats.
    37995 
    37996         The DeprecatedPtrList was deleting the objects automatically due to its autoDelete behavior. The
    37997         objects need to be deleted manually with ListHashSet.
    37998 
    37999         * rendering/RenderBlock.cpp:
    38000         (WebCore::RenderBlock::clearFloats):
    38001 
    38002 2011-03-03  Hans Wennborg  <hans@chromium.org>
    38003 
    38004         Reviewed by Jeremy Orlow.
    38005 
    38006         IndexedDB: Move SQL code, especially for cursors, to IDBBackingStore
    38007         https://bugs.webkit.org/show_bug.cgi?id=55376
    38008 
    38009         Move SQL code from IDBKey, IDBKeyRange, IDBIndexBackendImpl,
    38010         IDBObjectStoreBackendImpl, and especially IDBCursorBackendImpl.
    38011 
    38012         No new functionality, so no new tests.
    38013 
    38014         * storage/IDBBackingStore.cpp:
    38015         (WebCore::lowerCursorWhereFragment):
    38016         (WebCore::upperCursorWhereFragment):
    38017         (WebCore::IDBBackingStore::deleteObjectStoreRecord):
    38018         (WebCore::IDBBackingStore::keyExistsInObjectStore):
    38019         (WebCore::IDBBackingStore::getObjectViaIndex):
    38020         (WebCore::keyFromQuery):
    38021         (WebCore::IDBBackingStore::getPrimaryKeyViaIndex):
    38022         (WebCore::IDBBackingStore::keyExistsInIndex):
    38023         (WebCore::CursorImplCommon::CursorImplCommon::continueInternal):
    38024         (WebCore::CursorImplCommon::ObjectStoreCursorImpl::ObjectStoreCursorImpl):
    38025         (WebCore::CursorImplCommon::ObjectStoreCursorImpl::objectStoreDataId):
    38026         (WebCore::CursorImplCommon::ObjectStoreCursorImpl::key):
    38027         (WebCore::CursorImplCommon::ObjectStoreCursorImpl::value):
    38028         (WebCore::CursorImplCommon::ObjectStoreCursorImpl::continueFunction):
    38029         (WebCore::IDBBackingStore::openObjectStoreCursor):
    38030         (WebCore::ObjectStoreCursorImpl::loadCurrentRow):
    38031         (WebCore::ObjectStoreCursorImpl::currentRowExists):
    38032         (WebCore::IndexKeyCursorImpl::IndexKeyCursorImpl):
    38033         (WebCore::IndexKeyCursorImpl::indexDataId):
    38034         (WebCore::IndexKeyCursorImpl::key):
    38035         (WebCore::IndexKeyCursorImpl::primaryKey):
    38036         (WebCore::IndexKeyCursorImpl::continueFunction):
    38037         (WebCore::IDBBackingStore::openIndexKeyCursor):
    38038         (WebCore::IndexKeyCursorImpl::loadCurrentRow):
    38039         (WebCore::IndexKeyCursorImpl::currentRowExists):
    38040         (WebCore::IndexCursorImpl::IndexCursorImpl):
    38041         (WebCore::IndexCursorImpl::indexDataId):
    38042         (WebCore::IndexCursorImpl::key):
    38043         (WebCore::IndexCursorImpl::primaryKey):
    38044         (WebCore::IndexCursorImpl::value):
    38045         (WebCore::IndexCursorImpl::continueFunction):
    38046         (WebCore::IDBBackingStore::openIndexCursor):
    38047         (WebCore::IndexCursorImpl::loadCurrentRow):
    38048         (WebCore::IndexCursorImpl::currentRowExists):
    38049         * storage/IDBBackingStore.h:
    38050         (WebCore::IDBBackingStore::Cursor::~Cursor):
    38051         * storage/IDBCursorBackendImpl.cpp:
    38052         (WebCore::IDBCursorBackendImpl::IDBCursorBackendImpl):
    38053         (WebCore::IDBCursorBackendImpl::key):
    38054         (WebCore::IDBCursorBackendImpl::value):
    38055         (WebCore::IDBCursorBackendImpl::update):
    38056         (WebCore::IDBCursorBackendImpl::continueFunctionInternal):
    38057         (WebCore::IDBCursorBackendImpl::deleteFunction):
    38058         * storage/IDBCursorBackendImpl.h:
    38059         (WebCore::IDBCursorBackendImpl::create):
    38060         * storage/IDBIndexBackendImpl.cpp:
    38061         (WebCore::IDBIndexBackendImpl::openCursorInternal):
    38062         (WebCore::IDBIndexBackendImpl::getInternal):
    38063         (WebCore::IDBIndexBackendImpl::addingKeyAllowed):
    38064         * storage/IDBIndexBackendImpl.h:
    38065         * storage/IDBKey.cpp:
    38066         (WebCore::IDBKey::isEqual):
    38067         * storage/IDBKey.h:
    38068         * storage/IDBKeyRange.cpp:
    38069         * storage/IDBKeyRange.h:
    38070         * storage/IDBObjectStoreBackendImpl.cpp:
    38071         (WebCore::IDBObjectStoreBackendImpl::putInternal):
    38072         (WebCore::IDBObjectStoreBackendImpl::deleteInternal):
    38073         (WebCore::IDBObjectStoreBackendImpl::openCursorInternal):
    38074         * storage/IDBObjectStoreBackendImpl.h:
    38075 
    38076 2011-03-03  Peter Kasting  <pkasting@google.com>
    38077 
    38078         Reviewed by James Robinson.
    38079 
    38080         Drop redundant "Windows; " from the Windows-specific User Agent string.
    38081         https://bugs.webkit.org/show_bug.cgi?id=54567
    38082 
    38083         * StringsNotToBeLocalized.txt:
    38084 
    38085 2011-03-03  Mario Sanchez Prada  <msanchez@igalia.com>
    38086 
    38087         Reviewed by Martin Robinson.
    38088 
    38089         [GTK] Combo boxes should emit object:selection-changed even when collapsed
    38090         https://bugs.webkit.org/show_bug.cgi?id=53146
    38091 
    38092         Emit the selection-changed signals when the menu list value has changed
    38093 
    38094         Test: platform/gtk/accessibility/combo-box-collapsed-selection-changed.html
    38095 
    38096         * accessibility/gtk/AXObjectCacheAtk.cpp:
    38097         (WebCore::getListObject): New, return the right list object for
    38098         menu lists and list boxes.
    38099         (WebCore::notifyChildrenSelectionChange): Support menu lists.
    38100         (WebCore::AXObjectCache::postPlatformNotification): Call function
    38101         notifyChildrenSelectionChange for AXMenuListValueChanged.
    38102 
    38103 2011-03-03  Ryosuke Niwa  <rniwa@webkit.org>
    38104 
    38105         Reviewed by Tony Chang.
    38106 
    38107         applyInlineStyleToPushDown and removeInlineStyleFromElement should take EditingStyle
    38108         https://bugs.webkit.org/show_bug.cgi?id=55338
    38109 
    38110         Include wtf/Forward.h instead of wtf/text/String.h
    38111 
    38112         * editing/EditingStyle.h:
    38113 
    38114 2011-03-03  Csaba Osztrogonác  <ossy@webkit.org>
    38115 
    38116         Unreviewed trivial fix after r80169.
    38117 
    38118         [Qt][WK2] Memory exhausted when building qtwebkit2 on linux
    38119         https://bugs.webkit.org/show_bug.cgi?id=55484
    38120 
    38121         * WebCore.pro: Typo fix. We have to use linux-g++* instead of linux-g++.
    38122 
    38123 
    38124 2011-03-02  MORITA Hajime  <morrita@google.com>
    38125 
    38126         Reviewed by Kent Tamura.
    38127 
    38128         [Refactoring] Make ScheduledEvent on FrameView abstract out to ScheduleAction
    38129         https://bugs.webkit.org/show_bug.cgi?id=54440
    38130 
    38131         - Extracted FrameActionScheduler from FrameView
    38132         - Extracted FrameAction abstract class from ScheduledEvent,
    38133           which has fire() virtual method.
    38134         - Renamed ScheduledEvent EventFrameAction
    38135        
    38136         With this change, Any action can be hooked up to the end of the layout.
    38137        
    38138         No new tests. No behavioral change.
    38139 
    38140         * Android.mk:
    38141         * CMakeLists.txt:
    38142         * GNUmakefile.am:
    38143         * WebCore.gypi:
    38144         * WebCore.pro:
    38145         * WebCore.vcproj/WebCore.vcproj:
    38146         * WebCore.xcodeproj/project.pbxproj:
    38147         * page/FrameActionScheduler.cpp: Added.
    38148         (WebCore::EventFrameAction::EventFrameAction):
    38149         (WebCore::EventFrameAction::fire):
    38150         (WebCore::FrameActionScheduler::FrameActionScheduler):
    38151         (WebCore::FrameActionScheduler::~FrameActionScheduler):
    38152         (WebCore::FrameActionScheduler::isEmpty):
    38153         (WebCore::FrameActionScheduler::clear):
    38154         (WebCore::FrameActionScheduler::pause):
    38155         (WebCore::FrameActionScheduler::resume):
    38156         (WebCore::FrameActionScheduler::dispatch):
    38157         (WebCore::FrameActionScheduler::scheduleAction):
    38158         (WebCore::FrameActionScheduler::scheduleEvent):
    38159         * page/FrameActionScheduler.h: Added.
    38160         (WebCore::FrameAction::FrameAction):
    38161         (WebCore::FrameAction::~FrameAction):
    38162         (WebCore::FrameActionScheduler::isScheduled):
    38163         * page/FrameView.cpp:
    38164         (WebCore::FrameView::FrameView):
    38165         (WebCore::FrameView::~FrameView):
    38166         (WebCore::FrameView::layout):
    38167         (WebCore::FrameView::scheduleEvent):
    38168         (WebCore::FrameView::pauseScheduledEvents):
    38169         (WebCore::FrameView::resumeScheduledEvents):
    38170         (WebCore::FrameView::performPostLayoutTasks):
    38171         (WebCore::FrameView::updateOverflowStatus):
    38172         * page/FrameView.h:
    38173 
    38174 2011-03-02  Sheriff Bot  <webkit.review.bot@gmail.com>
    38175 
    38176         Unreviewed, rolling out r80201.
    38177         http://trac.webkit.org/changeset/80201
    38178         https://bugs.webkit.org/show_bug.cgi?id=55648
    38179 
    38180         "caused tests to crash on several bots" (Requested by rniwa on
    38181         #webkit).
    38182 
    38183         * dom/Element.h:
    38184         (WebCore::Node::hasTagName):
    38185         * dom/Node.h:
    38186         * html/parser/HTMLConstructionSite.cpp:
    38187         (WebCore::HTMLNames::hasImpliedEndTag):
    38188         (WebCore::HTMLConstructionSite::insertHTMLHtmlStartTagInBody):
    38189         (WebCore::HTMLConstructionSite::insertComment):
    38190         (WebCore::HTMLConstructionSite::insertCommentOnHTMLHtmlElement):
    38191         (WebCore::HTMLConstructionSite::attachToCurrent):
    38192         (WebCore::HTMLConstructionSite::insertScriptElement):
    38193         (WebCore::HTMLConstructionSite::insertTextNode):
    38194         (WebCore::HTMLConstructionSite::createElement):
    38195         (WebCore::HTMLConstructionSite::createHTMLElement):
    38196         (WebCore::HTMLConstructionSite::generateImpliedEndTagsWithExclusion):
    38197         (WebCore::HTMLConstructionSite::generateImpliedEndTags):
    38198         (WebCore::HTMLConstructionSite::findFosterSite):
    38199         (WebCore::HTMLConstructionSite::shouldFosterParent):
    38200         * html/parser/HTMLConstructionSite.h:
    38201         * html/parser/HTMLElementStack.cpp:
    38202         (WebCore::HTMLNames::isNumberedHeaderElement):
    38203         (WebCore::HTMLNames::isScopeMarker):
    38204         (WebCore::HTMLNames::isListItemScopeMarker):
    38205         (WebCore::HTMLNames::isTableScopeMarker):
    38206         (WebCore::HTMLNames::isTableBodyScopeMarker):
    38207         (WebCore::HTMLNames::isTableRowScopeMarker):
    38208         (WebCore::HTMLNames::isButtonScopeMarker):
    38209         (WebCore::HTMLNames::isSelectScopeMarker):
    38210         (WebCore::HTMLElementStack::ElementRecord::ElementRecord):
    38211         (WebCore::HTMLElementStack::ElementRecord::replaceElement):
    38212         (WebCore::HTMLElementStack::HTMLElementStack):
    38213         (WebCore::HTMLElementStack::secondElementIsHTMLBodyElement):
    38214         (WebCore::HTMLElementStack::popAll):
    38215         (WebCore::HTMLElementStack::popUntilTableScopeMarker):
    38216         (WebCore::HTMLElementStack::popUntilTableBodyScopeMarker):
    38217         (WebCore::HTMLElementStack::popUntilTableRowScopeMarker):
    38218         (WebCore::HTMLElementStack::popUntilForeignContentScopeMarker):
    38219         (WebCore::HTMLElementStack::pushHTMLHtmlElement):
    38220         (WebCore::HTMLElementStack::push):
    38221         (WebCore::HTMLElementStack::insertAbove):
    38222         (WebCore::HTMLElementStack::find):
    38223         (WebCore::HTMLElementStack::topmost):
    38224         (WebCore::inScopeCommon):
    38225         (WebCore::HTMLElementStack::hasNumberedHeaderElementInScope):
    38226         (WebCore::HTMLElementStack::htmlElement):
    38227         (WebCore::HTMLElementStack::bodyElement):
    38228         (WebCore::HTMLElementStack::pushCommon):
    38229         * html/parser/HTMLElementStack.h:
    38230         (WebCore::HTMLElementStack::ElementRecord::element):
    38231         (WebCore::HTMLElementStack::top):
    38232         * html/parser/HTMLTreeBuilder.cpp:
    38233         (WebCore::HTMLTreeBuilder::HTMLTreeBuilder):
    38234         (WebCore::HTMLTreeBuilder::FragmentParsingContext::finished):
    38235         (WebCore::HTMLTreeBuilder::processCloseWhenNestedTag):
    38236         (WebCore::HTMLTreeBuilder::processStartTagForInBody):
    38237         (WebCore::HTMLTreeBuilder::processColgroupEndTagForInColumnGroup):
    38238         (WebCore::HTMLTreeBuilder::processStartTag):
    38239         (WebCore::HTMLTreeBuilder::processAnyOtherEndTagForInBody):
    38240         (WebCore::HTMLTreeBuilder::callTheAdoptionAgency):
    38241         (WebCore::HTMLTreeBuilder::resetInsertionModeAppropriately):
    38242         (WebCore::HTMLTreeBuilder::processEndTagForInCell):
    38243         (WebCore::HTMLTreeBuilder::processEndTagForInBody):
    38244         (WebCore::HTMLTreeBuilder::processEndTag):
    38245         (WebCore::HTMLTreeBuilder::processEndOfFile):
    38246         (WebCore::HTMLTreeBuilder::finished):
    38247         * html/parser/HTMLTreeBuilder.h:
    38248 
    38249 2011-03-02  Yury Semikhatsky  <yurys@chromium.org>
    38250 
    38251         Reviewed by Pavel Feldman.
    38252 
    38253         Web Inspector: break down InspectorFrontend into domain-specific classes
    38254         https://bugs.webkit.org/show_bug.cgi?id=55584
    38255 
    38256         * inspector/CodeGeneratorInspector.pm: InspectorFrontend now contains nested classes for
    38257         all domains that have event notifications.
    38258         * inspector/ConsoleMessage.cpp:
    38259         (WebCore::ConsoleMessage::addToFrontend):
    38260         (WebCore::ConsoleMessage::updateRepeatCountInConsole):
    38261         * inspector/ConsoleMessage.h:
    38262         * inspector/InjectedScriptHost.cpp:
    38263         (WebCore::InjectedScriptHost::inspectImpl):
    38264         * inspector/Inspector.idl:
    38265         * inspector/InspectorAgent.cpp:
    38266         (WebCore::InspectorAgent::inspectedPageDestroyed):
    38267         (WebCore::InspectorAgent::restoreInspectorStateFromCookie):
    38268         (WebCore::InspectorAgent::setFrontend):
    38269         (WebCore::InspectorAgent::disconnectFrontend):
    38270         (WebCore::InspectorAgent::populateScriptObjects):
    38271         (WebCore::InspectorAgent::pushDataCollectedOffline):
    38272         (WebCore::InspectorAgent::didCommitLoad):
    38273         (WebCore::InspectorAgent::domContentLoadedEventFired):
    38274         (WebCore::InspectorAgent::loadEventFired):
    38275         (WebCore::InspectorAgent::postWorkerNotificationToFrontend):
    38276         (WebCore::InspectorAgent::evaluateForTestInFrontend):
    38277         (WebCore::InspectorAgent::showPanel):
    38278         * inspector/InspectorApplicationCacheAgent.cpp:
    38279         (WebCore::InspectorApplicationCacheAgent::InspectorApplicationCacheAgent):
    38280         * inspector/InspectorApplicationCacheAgent.h:
    38281         * inspector/InspectorConsoleAgent.cpp:
    38282         (WebCore::InspectorConsoleAgent::setFrontend):
    38283         * inspector/InspectorConsoleAgent.h:
    38284         * inspector/InspectorController.cpp:
    38285         (WebCore::InspectorController::show):
    38286         (WebCore::InspectorController::close):
    38287         * inspector/InspectorDOMAgent.cpp:
    38288         (WebCore::InspectorDOMAgent::setFrontend):
    38289         * inspector/InspectorDOMAgent.h:
    38290         * inspector/InspectorDOMStorageResource.cpp:
    38291         (WebCore::InspectorDOMStorageResource::bind):
    38292         * inspector/InspectorDOMStorageResource.h:
    38293         * inspector/InspectorDatabaseAgent.cpp:
    38294         (WebCore::InspectorDatabaseAgent::FrontendProvider::frontend):
    38295         (WebCore::InspectorDatabaseAgent::FrontendProvider::FrontendProvider):
    38296         (WebCore::InspectorDatabaseAgent::setFrontend):
    38297         * inspector/InspectorDatabaseResource.cpp:
    38298         (WebCore::InspectorDatabaseResource::bind):
    38299         * inspector/InspectorDatabaseResource.h:
    38300         * inspector/InspectorDebuggerAgent.cpp:
    38301         (WebCore::InspectorDebuggerAgent::setFrontend):
    38302         * inspector/InspectorDebuggerAgent.h:
    38303         * inspector/InspectorProfilerAgent.cpp:
    38304         * inspector/InspectorProfilerAgent.h:
    38305         (WebCore::InspectorProfilerAgent::setFrontend):
    38306         (WebCore::InspectorProfilerAgent::clearFrontend):
    38307         * inspector/InspectorResourceAgent.cpp:
    38308         (WebCore::InspectorResourceAgent::InspectorResourceAgent):
    38309         * inspector/InspectorResourceAgent.h:
    38310         * inspector/InspectorTimelineAgent.cpp:
    38311         (WebCore::InspectorTimelineAgent::setFrontend):
    38312         * inspector/InspectorTimelineAgent.h:
    38313         * inspector/front-end/DOMAgent.js:
    38314         (WebInspector.DOMDispatcher.prototype.inspectElementRequested):
    38315         (WebInspector.DOMDispatcher.prototype.addNodesToSearchResult):
    38316         * inspector/front-end/inspector.js:
    38317 
    38318 2011-03-02  Kent Tamura  <tkent@chromium.org>
    38319 
    38320         Unreviewed, a trivial regression fix.
    38321 
    38322         Fix LocalizedNumberICU regression by r80198 and r80199.
    38323         https://bugs.webkit.org/show_bug.cgi?id=55629
    38324 
    38325         * platform/text/LocalizedNumberICU.cpp:
    38326           We should use U_SUCCESS().
    38327         (WebCore::createFormatterForCurrentLocale):
    38328         (WebCore::parseLocalizedNumber):
    38329 
    38330 2011-03-02  Dan Bernstein  <mitz@apple.com>
    38331 
    38332         Let Xcode know that Localizable.strings is UTF-16-encoded.
    38333 
    38334         * WebCore.xcodeproj/project.pbxproj:
    38335 
    38336 2011-03-02  Andy Estes  <aestes@apple.com>
    38337 
    38338         Reviewed by Eric Seidel.
    38339 
    38340         HTML5 TreeBuilder regressed a Peacekeeper DOM test by 25% (was 40%)
    38341         https://bugs.webkit.org/show_bug.cgi?id=48719
    38342        
    38343         Instead of pushing a fake HTMLHtmlElement onto the open element stack
    38344         during fragment parsing only to later remove it and reparent its
    38345         children to the DocumentFragment, push the DocumentFragment directly
    38346         onto the open element stack as the root node. This requires refactoring
    38347         HTMLElementStack to hold ContainerNode pointers rather than Element
    38348         pointers, which has implications for HTMLConstructionSite and
    38349         HTMLTreeBuilder as well.
    38350        
    38351         With this patch, the regression in Peacekeeper due to the introduction
    38352         of the HTML5 fragment parsing algorithm is ~14%. The regression from
    38353         Safari 5.0.3 is ~24%.
    38354 
    38355         No new tests. No change in behavior.
    38356 
    38357         * dom/Element.h:
    38358         (WebCore::Node::hasLocalName):
    38359         * dom/Node.h:
    38360         * html/parser/HTMLConstructionSite.cpp:
    38361         (WebCore::HTMLNames::hasImpliedEndTag):
    38362         (WebCore::HTMLConstructionSite::HTMLConstructionSite):
    38363         (WebCore::HTMLConstructionSite::insertHTMLHtmlStartTagInBody):
    38364         (WebCore::HTMLConstructionSite::insertComment):
    38365         (WebCore::HTMLConstructionSite::insertCommentOnHTMLHtmlElement):
    38366         (WebCore::HTMLConstructionSite::attachToCurrent):
    38367         (WebCore::HTMLConstructionSite::insertScriptElement):
    38368         (WebCore::HTMLConstructionSite::insertTextNode):
    38369         (WebCore::HTMLConstructionSite::createElement):
    38370         (WebCore::HTMLConstructionSite::createHTMLElement):
    38371         (WebCore::HTMLConstructionSite::generateImpliedEndTagsWithExclusion):
    38372         (WebCore::HTMLConstructionSite::generateImpliedEndTags):
    38373         (WebCore::HTMLConstructionSite::findFosterSite):
    38374         (WebCore::HTMLConstructionSite::shouldFosterParent):
    38375         * html/parser/HTMLConstructionSite.h:
    38376         (WebCore::HTMLConstructionSite::currentNode):
    38377         * html/parser/HTMLElementStack.cpp:
    38378         (WebCore::HTMLNames::isNumberedHeaderElement):
    38379         (WebCore::HTMLNames::isScopeMarker):
    38380         (WebCore::HTMLNames::isListItemScopeMarker):
    38381         (WebCore::HTMLNames::isTableScopeMarker):
    38382         (WebCore::HTMLNames::isTableBodyScopeMarker):
    38383         (WebCore::HTMLNames::isTableRowScopeMarker):
    38384         (WebCore::HTMLNames::isButtonScopeMarker):
    38385         (WebCore::HTMLNames::isSelectScopeMarker):
    38386         (WebCore::HTMLElementStack::ElementRecord::ElementRecord):
    38387         (WebCore::HTMLElementStack::ElementRecord::replaceElement):
    38388         (WebCore::HTMLElementStack::HTMLElementStack):
    38389         (WebCore::HTMLElementStack::secondElementIsHTMLBodyElement):
    38390         (WebCore::HTMLElementStack::popAll):
    38391         (WebCore::HTMLElementStack::popUntilNumberedHeaderElementPopped):
    38392         (WebCore::HTMLElementStack::popUntil):
    38393         (WebCore::HTMLElementStack::popUntilPopped):
    38394         (WebCore::HTMLElementStack::popUntilTableScopeMarker):
    38395         (WebCore::HTMLElementStack::popUntilTableBodyScopeMarker):
    38396         (WebCore::HTMLElementStack::popUntilTableRowScopeMarker):
    38397         (WebCore::HTMLElementStack::pushHTMLHtmlElement):
    38398         (WebCore::HTMLElementStack::push):
    38399         (WebCore::HTMLElementStack::insertAbove):
    38400         (WebCore::HTMLElementStack::find):
    38401         (WebCore::HTMLElementStack::topmost):
    38402         (WebCore::HTMLElementStack::contains):
    38403         (WebCore::inScopeCommon):
    38404         (WebCore::HTMLElementStack::hasNumberedHeaderElementInScope):
    38405         (WebCore::HTMLElementStack::htmlElement):
    38406         (WebCore::HTMLElementStack::rootNode):
    38407         (WebCore::HTMLElementStack::pushCommon):
    38408         * html/parser/HTMLElementStack.h:
    38409         (WebCore::HTMLElementStack::ElementRecord::element):
    38410         (WebCore::HTMLElementStack::ElementRecord::node):
    38411         (WebCore::HTMLElementStack::topNode):
    38412         * html/parser/HTMLTreeBuilder.cpp:
    38413         (WebCore::HTMLTreeBuilder::HTMLTreeBuilder):
    38414         (WebCore::HTMLTreeBuilder::processCloseWhenNestedTag):
    38415         (WebCore::HTMLTreeBuilder::processStartTagForInBody):
    38416         (WebCore::HTMLTreeBuilder::processColgroupEndTagForInColumnGroup):
    38417         (WebCore::HTMLTreeBuilder::processStartTag):
    38418         (WebCore::HTMLTreeBuilder::processAnyOtherEndTagForInBody):
    38419         (WebCore::HTMLTreeBuilder::callTheAdoptionAgency):
    38420         (WebCore::HTMLTreeBuilder::resetInsertionModeAppropriately):
    38421         (WebCore::HTMLTreeBuilder::processEndTagForInCell):
    38422         (WebCore::HTMLTreeBuilder::processEndTagForInBody):
    38423         (WebCore::HTMLTreeBuilder::processEndTag):
    38424         (WebCore::HTMLTreeBuilder::processEndOfFile):
    38425         (WebCore::HTMLTreeBuilder::finished):
    38426         * html/parser/HTMLTreeBuilder.h:
    38427 
    38428 2011-03-02  Sheriff Bot  <webkit.review.bot@gmail.com>
    38429 
    38430         Unreviewed, rolling out r80188.
    38431         http://trac.webkit.org/changeset/80188
    38432         https://bugs.webkit.org/show_bug.cgi?id=55647
    38433 
    38434         Broke the WebKit API tests. (Requested by xenon on #webkit).
    38435 
    38436         * WebCore.exp.in:
    38437 
    38438 2011-03-02  Kent Tamura  <tkent@chromium.org>
    38439 
    38440         Unreviewed, build fix.
    38441 
    38442         * platform/text/LocalizedNumberICU.cpp:
    38443         (WebCore::createFormatterForCurrentLocale): Fix a typo.
    38444 
    38445 2011-03-02  Kent Tamura  <tkent@chromium.org>
    38446 
    38447         Reviewed by Darin Adler.
    38448 
    38449         Caching number formatter instances in LocalizedNumber* implementations
    38450         https://bugs.webkit.org/show_bug.cgi?id=55629
    38451 
    38452         No new tests. This change doesn't change existing behavior, and is
    38453         covered by existing tests.
    38454 
    38455         * platform/text/LocalizedNumberICU.cpp:
    38456         (WebCore::createFormatterForCurrentLocale):
    38457         (WebCore::numberFormatter): Introduce a function to return a static
    38458           instance of NumberFormat.
    38459         (WebCore::parseLocalizedNumber): Use numberFormatter().
    38460         (WebCore::formatLocalizedNumber): Use numberFormatter().
    38461         * platform/text/mac/LocalizedNumberMac.mm:
    38462         (WebCore::createFormatterForCurrentLocale):
    38463         (WebCore::numberFormatter): Introduce a function to return a static
    38464           instance of NSNumberFormatter.
    38465         (WebCore::parseLocalizedNumber): Use numberFormatter().
    38466         (WebCore::formatLocalizedNumber): Use numberFormatter().
    38467 
    38468 2011-03-02  Levi Weintraub  <leviw@chromium.org>
    38469 
    38470         Reviewed by Ryosuke Niwa.
    38471 
    38472         deprecatedEditingOffset should actually return the expected deprecated value for "after" positions
    38473         https://bugs.webkit.org/show_bug.cgi?id=54986
    38474 
    38475         Calls to deprecatedEditingOffset needs to return the expected value for new Before/After positions
    38476         until we can update all the call sites to consider the new position types.
    38477 
    38478         No tests. This is intended to simplify the transition to new Positions, not to change behavior.
    38479 
    38480         * dom/Position.cpp:
    38481         (WebCore::Position::deprecatedEditingOffset):
    38482         (WebCore::Position::offsetForPositionAfterAnchor): Added to do the right thing while ensuring
    38483         inline-speed for most calls to deprecatedEditingOffset.
    38484         * dom/Position.h:
    38485 
    38486 2011-03-02  Timothy Hatcher  <timothy@apple.com>
    38487 
    38488         Export SerializedScriptValue::create(JSC::ExecState* exec, JSC::JSValue value).
    38489 
    38490         Reviewed by Darin Adler.
    38491 
    38492         * WebCore.exp.in: Added __ZN7WebCore21SerializedScriptValue6createEPN3JSC9ExecStateENS1_7JSValueE.
    38493 
    38494 2011-03-02  Daniel Cheng  <dcheng@chromium.org>
    38495 
    38496         Reviewed by David Levin.
    38497 
    38498         Manually revert ChromiumDataObject changes.
    38499         https://bugs.webkit.org/show_bug.cgi?id=55627
    38500 
    38501         No new tests since no functionality should change.
    38502 
    38503         * WebCore.gypi:
    38504         * editing/chromium/EditorChromium.cpp:
    38505         (WebCore::Editor::newGeneralClipboard):
    38506         * page/chromium/EventHandlerChromium.cpp:
    38507         (WebCore::EventHandler::createDraggingClipboard):
    38508         * platform/chromium/ChromiumDataObject.cpp:
    38509         (WebCore::ChromiumDataObject::clearData):
    38510         (WebCore::ChromiumDataObject::clearAll):
    38511         (WebCore::ChromiumDataObject::clearAllExceptFiles):
    38512         (WebCore::ChromiumDataObject::hasData):
    38513         (WebCore::ChromiumDataObject::types):
    38514         (WebCore::ChromiumDataObject::getData):
    38515         (WebCore::ChromiumDataObject::setData):
    38516         (WebCore::ChromiumDataObject::ChromiumDataObject):
    38517         * platform/chromium/ChromiumDataObject.h:
    38518         (WebCore::ChromiumDataObject::create):
    38519         (WebCore::ChromiumDataObject::copy):
    38520         (WebCore::ChromiumDataObject::urlTitle):
    38521         (WebCore::ChromiumDataObject::setUrlTitle):
    38522         (WebCore::ChromiumDataObject::htmlBaseUrl):
    38523         (WebCore::ChromiumDataObject::setHtmlBaseUrl):
    38524         (WebCore::ChromiumDataObject::containsFilenames):
    38525         (WebCore::ChromiumDataObject::filenames):
    38526         (WebCore::ChromiumDataObject::setFilenames):
    38527         (WebCore::ChromiumDataObject::fileExtension):
    38528         (WebCore::ChromiumDataObject::setFileExtension):
    38529         (WebCore::ChromiumDataObject::fileContentFilename):
    38530         (WebCore::ChromiumDataObject::setFileContentFilename):
    38531         (WebCore::ChromiumDataObject::fileContent):
    38532         (WebCore::ChromiumDataObject::setFileContent):
    38533         * platform/chromium/ClipboardChromium.cpp:
    38534         * platform/chromium/ClipboardChromium.h:
    38535 
    38536 2011-03-02  David Grogan  <dgrogan@chromium.org>
    38537 
    38538         Reviewed by Jeremy Orlow.
    38539 
    38540         IndexedDB: fire versionchange events when calling setVersion
    38541         https://bugs.webkit.org/show_bug.cgi?id=55095
    38542 
    38543         * dom/EventNames.h:
    38544         * storage/IDBDatabase.cpp:
    38545         (WebCore::IDBDatabase::setVersion):
    38546         (WebCore::IDBDatabase::close):
    38547         (WebCore::IDBDatabase::onVersionChange):
    38548         (WebCore::IDBDatabase::open):
    38549         (WebCore::IDBDatabase::enqueueEvent):
    38550         (WebCore::IDBDatabase::dispatchEvent):
    38551         * storage/IDBDatabase.h:
    38552         (WebCore::IDBDatabase::dispatchEvent):
    38553         * storage/IDBDatabase.idl:
    38554         * storage/IDBDatabaseBackendImpl.cpp:
    38555         (WebCore::IDBDatabaseBackendImpl::PendingSetVersionCall::create):
    38556         (WebCore::IDBDatabaseBackendImpl::PendingSetVersionCall::databaseCallbacks):
    38557         (WebCore::IDBDatabaseBackendImpl::PendingSetVersionCall::PendingSetVersionCall):
    38558         (WebCore::IDBDatabaseBackendImpl::IDBDatabaseBackendImpl):
    38559         (WebCore::IDBDatabaseBackendImpl::setVersion):
    38560         (WebCore::IDBDatabaseBackendImpl::open):
    38561         (WebCore::IDBDatabaseBackendImpl::close):
    38562         * storage/IDBDatabaseBackendImpl.h:
    38563         * storage/IDBDatabaseBackendInterface.h:
    38564         * storage/IDBDatabaseCallbacks.h: Copied from Source/WebCore/storage/IDBVersionChangeEvent.cpp.
    38565         (WebCore::IDBDatabaseCallbacks::~IDBDatabaseCallbacks):
    38566         * storage/IDBFactoryBackendImpl.cpp:
    38567         (WebCore::IDBFactoryBackendImpl::open):
    38568         * storage/IDBRequest.cpp:
    38569         (WebCore::IDBRequest::onSuccess):
    38570         * storage/IDBVersionChangeEvent.cpp:
    38571         (WebCore::IDBVersionChangeEvent::create):
    38572         (WebCore::IDBVersionChangeEvent::IDBVersionChangeEvent):
    38573         * storage/IDBVersionChangeEvent.h:
    38574         * storage/IDBVersionChangeRequest.cpp:
    38575         (WebCore::IDBVersionChangeRequest::onBlocked):
    38576 
    38577 2011-03-02  Alexey Proskuryakov  <ap@apple.com>
    38578 
    38579         Fix assertion failures on Gtk bot.
    38580 
    38581         * page/EventHandler.cpp: (WebCore::EventHandler::tabsToLinks): Removed an overzealous
    38582         assertion. We can get here with non-Tab key events when spatial navigation is enabled.
    38583 
    38584 2011-03-02  Sheriff Bot  <webkit.review.bot@gmail.com>
    38585 
    38586         Unreviewed, rolling out r80139.
    38587         http://trac.webkit.org/changeset/80139
    38588         https://bugs.webkit.org/show_bug.cgi?id=55620
    38589 
    38590         failing and crashing tests on Snow Leopard bot (Requested by
    38591         mihaip1 on #webkit).
    38592 
    38593         * page/DOMWindow.cpp:
    38594         * page/DOMWindow.h:
    38595         * page/Frame.cpp:
    38596         (WebCore::Frame::pageDestroyed):
    38597         (WebCore::Frame::transferChildFrameToNewDocument):
    38598         * page/Frame.h:
    38599         (WebCore::Frame::detachFromPage):
    38600         * page/Geolocation.cpp:
    38601         (WebCore::Geolocation::~Geolocation):
    38602         (WebCore::Geolocation::disconnectFrame):
    38603         (WebCore::Geolocation::lastPosition):
    38604         (WebCore::Geolocation::requestPermission):
    38605         (WebCore::Geolocation::startUpdating):
    38606         (WebCore::Geolocation::stopUpdating):
    38607         * page/Geolocation.h:
    38608         * page/GeolocationController.cpp:
    38609         (WebCore::GeolocationController::~GeolocationController):
    38610         * page/Navigator.cpp:
    38611         * page/Navigator.h:
    38612         * platform/mock/GeolocationClientMock.cpp:
    38613         * platform/mock/GeolocationClientMock.h:
    38614 
    38615 2011-03-02  Jessie Berlin  <jberlin@apple.com>
    38616 
    38617         Reviewed by Adam Roben.
    38618 
    38619         WebKit2: Use CFNetwork Sessions API.
    38620         https://bugs.webkit.org/show_bug.cgi?id=55435
    38621 
    38622         Add the ability to create a Private Browsing Storage Session.
    38623 
    38624         * WebCore.exp.in:
    38625         Export the symbol for ResourceHandle::setPrivateBrowsingStorageSessionIdentifierBase.
    38626 
    38627         * page/Settings.cpp:
    38628         (WebCore::Settings::setPrivateBrowsingEnabled):
    38629         Propagate the private browsing state to the ResourceHandle.
    38630 
    38631         * platform/mac/WebCoreSystemInterface.h:
    38632         Add the function declaration for wkCreatePrivateStorageSession.
    38633         * platform/mac/WebCoreSystemInterface.mm:
    38634 
    38635         * platform/network/ResourceHandle.cpp:
    38636         (WebCore::privateStorageSession):
    38637         Since the same Private Browsing Storage Session will need to be accessed throughout the loading
    38638         code and will need to be used by all web pages and page groups, make it a global static.
    38639         (WebCore::privateBrowsingStorageSessionIdentifierBase):
    38640         Ditto, since the identifier is needed to create the Private Browsing Storage Session.
    38641         (WebCore::ResourceHandle::setPrivateBrowsingEnabled):
    38642         If enabled, create and store the Private Browsing Storage Session.
    38643         (WebCore::ResourceHandle::privateBrowsingStorageSession):
    38644         (WebCore::ResourceHandle::setPrivateBrowsingStorageSessionIdentifierBase):
    38645         * platform/network/ResourceHandle.h:
    38646 
    38647         * platform/network/cf/ResourceHandleCFNet.cpp:
    38648         (WebCore::ResourceHandle::createPrivateBrowsingStorageSession):
    38649         The call to wkCreatePrivateStorageSession needs to be in a file including the correct
    38650         version of WKSI.
    38651         (WebCore::ResourceHandle::privateBrowsingStorageSessionIdentifierDefaultBase):
    38652         Return the bundle identifier.
    38653         * platform/network/mac/ResourceHandleMac.mm:
    38654         (WebCore::ResourceHandle::createPrivateBrowsingStorageSession):
    38655         The call to wkCreatePrivateStorageSession needs to be in a file importing the correct
    38656         version of WKSI.
    38657         (WebCore::ResourceHandle::privateBrowsingStorageSessionIdentifierDefaultBase):
    38658         Return the bundle identifier.
    38659 
    38660 2011-03-02  Daniel Cheng  <dcheng@chromium.org>
    38661 
    38662         Revert frame-specific WebClipboard changes
    38663         https://bugs.webkit.org/show_bug.cgi?id=55617
    38664 
    38665         This code is no longer needed since we've decided to use the original
    38666         approach to copy/paste drag/drop handling in ClipboardChromium.
    38667 
    38668         No new tests because no functionality changes.
    38669 
    38670         * platform/chromium/ChromiumDataObject.cpp:
    38671         (WebCore::ChromiumDataObject::createReadable):
    38672         * platform/chromium/ChromiumDataObject.h:
    38673         * platform/chromium/ClipboardChromium.cpp:
    38674         (WebCore::ClipboardChromium::create):
    38675         * platform/chromium/PlatformBridge.h:
    38676         * platform/chromium/ReadableDataObject.cpp:
    38677         (WebCore::ReadableDataObject::create):
    38678         (WebCore::ReadableDataObject::ReadableDataObject):
    38679         (WebCore::ReadableDataObject::getData):
    38680         (WebCore::ReadableDataObject::urlTitle):
    38681         (WebCore::ReadableDataObject::htmlBaseUrl):
    38682         (WebCore::ReadableDataObject::filenames):
    38683         (WebCore::ReadableDataObject::ensureTypeCacheInitialized):
    38684         * platform/chromium/ReadableDataObject.h:
    38685 
    38686 2011-03-02  Tony Chang  <tony@chromium.org>
    38687 
    38688         Unreviewed, rolling chromium DEPS to r76362.
    38689 
    38690         https://bugs.webkit.org/show_bug.cgi?id=55564
    38691 
    38692         * WebCore.gyp/WebCore.gyp: Switch to libjpeg_turbo to match chromium
    38693 
    38694 2011-03-02  Alexey Proskuryakov  <ap@apple.com>
    38695 
    38696         Build fix.
    38697 
    38698         * page/ChromeClient.h: (WebCore::ChromeClient::keyboardUIMode): I didn't mean to commit these
    38699         changes yet.
    38700 
    38701 2011-03-02  Alexey Proskuryakov  <ap@apple.com>
    38702 
    38703         Reviewed by John Sullivan.
    38704 
    38705         Clean up WebCore tabsToLinks code a little
    38706         https://bugs.webkit.org/show_bug.cgi?id=55606
    38707 
    38708         No change in behavior, so no tests.
    38709 
    38710         * html/HTMLFormControlElement.cpp: (WebCore::HTMLFormControlElement::isKeyboardFocusable):
    38711         This is the only caller of tabsToAllControls(). Renamed this function to tabsToAllFormControls().
    38712 
    38713         * page/EventHandler.cpp:
    38714         (WebCore::EventHandler::isKeyboardOptionTab): Moved from platform specific files. This
    38715         function cannot be file static, because EventHandlerMac.mm uses it.
    38716         (WebCore::eventInvertsTabsToLinksClientCallResult): Merged implementations from platform
    38717         specific files. We can just as well have #if here. Renamed for clarity.
    38718         (WebCore::EventHandler::tabsToLinks): Rewrote in a way that makes it clearer how "invert"
    38719         works.
    38720        
    38721         * page/EventHandler.h: We no longer need invertSenseOfTabsToLinks() here, it's only used
    38722         in EventHandler.cpp.
    38723 
    38724         * page/android/EventHandlerAndroid.cpp: (WebCore::EventHandler::tabsToAllFormControls):
    38725         * page/brew/EventHandlerBrew.cpp: (WebCore::EventHandler::tabsToAllFormControls):
    38726         * page/chromium/EventHandlerChromium.cpp: (WebCore::EventHandler::tabsToAllFormControls):
    38727         * page/efl/EventHandlerEfl.cpp: (WebCore::EventHandler::tabsToAllFormControls):
    38728         * page/gtk/EventHandlerGtk.cpp: (WebCore::EventHandler::tabsToAllFormControls):
    38729         * page/haiku/EventHandlerHaiku.cpp: (WebCore::EventHandler::tabsToAllFormControls):
    38730         * page/mac/EventHandlerMac.mm: (WebCore::EventHandler::tabsToAllFormControls):
    38731         * page/qt/EventHandlerQt.cpp: (WebCore::EventHandler::tabsToAllFormControls):
    38732         * page/win/EventHandlerWin.cpp: (WebCore::EventHandler::tabsToAllFormControls):
    38733         * page/wx/EventHandlerWx.cpp: (WebCore::EventHandler::tabsToAllFormControls):
    38734         Updating all port files.
    38735 
    38736 2011-02-28  Jeremy Orlow  <jorlow@chromium.org>
    38737 
    38738         Reviewed by James Robinson.
    38739 
    38740         Split IDBCursor.value into IDBCursor.primaryKey and IDBCursor.value
    38741         https://bugs.webkit.org/show_bug.cgi?id=55443
    38742 
    38743         Implement http://www.w3.org/Bugs/Public/show_bug.cgi?id=11948
    38744 
    38745         The idea is to have an IDBCursor and an IDBCursorWithValue interface which
    38746         inherits from the former.  index.openKeyCursor will return the former and
    38747         index/objectStore.openCursor will return the latter.  We'll add a primaryKey
    38748         attribute to IDBCursor.  It will always be the key of the associated object
    38749         store entry.  For index.openCursor cursors, the key attribute will be the key
    38750         of the index.  For objectStore.openCursors, it'll be the same as the
    38751         primaryKey.  The value will be the value of the objectStore entry.
    38752 
    38753         * WebCore.gypi:
    38754         * bindings/scripts/CodeGeneratorV8.pm:
    38755         * bindings/v8/SerializedScriptValue.cpp:
    38756         (WebCore::SerializedScriptValue::deserializeAndSetProperty):
    38757         * bindings/v8/SerializedScriptValue.h:
    38758         * bindings/v8/custom/V8IDBAnyCustom.cpp:
    38759         (WebCore::toV8):
    38760         * storage/IDBAny.cpp:
    38761         (WebCore::IDBAny::idbCursorWithValue):
    38762         (WebCore::IDBAny::set):
    38763         * storage/IDBAny.h:
    38764         * storage/IDBCursor.cpp:
    38765         (WebCore::IDBCursor::create):
    38766         (WebCore::IDBCursor::primaryKey):
    38767         (WebCore::IDBCursor::value):
    38768         * storage/IDBCursor.h:
    38769         * storage/IDBCursor.idl:
    38770         * storage/IDBCursorBackendImpl.cpp:
    38771         (WebCore::IDBCursorBackendImpl::IDBCursorBackendImpl):
    38772         (WebCore::IDBCursorBackendImpl::primaryKey):
    38773         (WebCore::IDBCursorBackendImpl::value):
    38774         (WebCore::IDBCursorBackendImpl::update):
    38775         (WebCore::IDBCursorBackendImpl::currentRowExists):
    38776         (WebCore::IDBCursorBackendImpl::continueFunctionInternal):
    38777         (WebCore::IDBCursorBackendImpl::deleteFunction):
    38778         (WebCore::IDBCursorBackendImpl::loadCurrentRow):
    38779         * storage/IDBCursorBackendImpl.h:
    38780         (WebCore::IDBCursorBackendImpl::create):
    38781         * storage/IDBCursorBackendInterface.h:
    38782         * storage/IDBCursorWithValue.cpp: Copied from Source/WebCore/storage/IDBCursor.idl.
    38783         (WebCore::IDBCursorWithValue::create):
    38784         (WebCore::IDBCursorWithValue::IDBCursorWithValue):
    38785         (WebCore::IDBCursorWithValue::~IDBCursorWithValue):
    38786         * storage/IDBCursorWithValue.h: Copied from Source/WebCore/storage/IDBCursorBackendInterface.h.
    38787         * storage/IDBCursorWithValue.idl: Copied from Source/WebCore/storage/IDBCursor.idl.
    38788         * storage/IDBIndex.cpp:
    38789         (WebCore::IDBIndex::openCursor):
    38790         (WebCore::IDBIndex::openKeyCursor):
    38791         * storage/IDBIndexBackendImpl.cpp:
    38792         (WebCore::IDBIndexBackendImpl::openCursorInternal):
    38793         (WebCore::IDBIndexBackendImpl::openCursor):
    38794         (WebCore::IDBIndexBackendImpl::openKeyCursor):
    38795         * storage/IDBIndexBackendImpl.h:
    38796         * storage/IDBObjectStore.cpp:
    38797         (WebCore::IDBObjectStore::openCursor):
    38798         * storage/IDBObjectStoreBackendImpl.cpp:
    38799         (WebCore::IDBObjectStoreBackendImpl::openCursorInternal):
    38800         * storage/IDBRequest.cpp:
    38801         (WebCore::IDBRequest::IDBRequest):
    38802         (WebCore::IDBRequest::setCursorType):
    38803         (WebCore::IDBRequest::onSuccess):
    38804         (WebCore::IDBRequest::dispatchEvent):
    38805         * storage/IDBRequest.h:
    38806 
    38807 2011-03-02  Aravind Akella  <aravind.akella@nokia.com>
    38808 
    38809          Reviewed by Csaba Osztrogonác.
    38810 
    38811          [Qt][WK2] Memory exhausted when building qtwebkit2 on linux
    38812          https://bugs.webkit.org/show_bug.cgi?id=55484
    38813 
    38814          Using AllInOne files to avoid memory exhaustion for debug
    38815          builds on 32 bit linux machines.
    38816 
    38817          No new tests. Fixing a build issue.
    38818 
    38819          * WebCore.pro:
    38820 
    38821 2011-03-02  Daniel Cheng  <dcheng@chromium.org>
    38822 
    38823         Reviewed by David Levin.
    38824 
    38825         Add feature define for data transfer items
    38826         https://bugs.webkit.org/show_bug.cgi?id=55510
    38827 
    38828         * Configurations/FeatureDefines.xcconfig:
    38829         * GNUmakefile.am:
    38830         * features.pri:
    38831 
    38832 2011-03-02  Dimitri Glazkov  <dglazkov@chromium.org>
    38833 
    38834         Update location of media-file.js, which was moved in r79630.
    38835 
    38836         * manual-tests/media-controls.html: Updated location.
    38837 
    38838 2011-03-02  Sheriff Bot  <webkit.review.bot@gmail.com>
    38839 
    38840         Unreviewed, rolling out r80156.
    38841         http://trac.webkit.org/changeset/80156
    38842         https://bugs.webkit.org/show_bug.cgi?id=55604
    38843 
    38844         "Broke SL compile" (Requested by tonyg-cr on #webkit).
    38845 
    38846         * bridge/jni/JNIBridge.h:
    38847         (JSC::Bindings::JavaString::operator UString):
    38848         * bridge/jni/jni_jsobject.mm:
    38849         (JavaJSObject::call):
    38850         (JavaJSObject::eval):
    38851         (JavaJSObject::getMember):
    38852         (JavaJSObject::setMember):
    38853         (JavaJSObject::removeMember):
    38854         * bridge/jni/jsc/JavaClassJSC.cpp:
    38855         (JavaClass::JavaClass):
    38856         * bridge/jni/jsc/JavaStringJSC.h:
    38857         (JSC::Bindings::JavaStringImpl::uString):
    38858         * bridge/jni/v8/JavaStringV8.h:
    38859 
    38860 2011-03-02  Steve Block  <steveblock@google.com>
    38861 
    38862         Reviewed by Jeremy Orlow.
    38863 
    38864         JavaString API should be implementable by both JSC and V8
    38865         https://bugs.webkit.org/show_bug.cgi?id=55567
    38866 
    38867         Remove JavaString's UString operator and replace it with a
    38868         script-engine-independent impl() method, which returns a
    38869         StringImpl and can be implemented with both JSC and V8.
    38870 
    38871         No new tests, refactoring only.
    38872 
    38873         * bridge/jni/JNIBridge.h:
    38874         (JSC::Bindings::JavaString::impl):
    38875         * bridge/jni/jni_jsobject.mm:
    38876         (JavaJSObject::call):
    38877         (JavaJSObject::eval):
    38878         (JavaJSObject::getMember):
    38879         (JavaJSObject::setMember):
    38880         (JavaJSObject::removeMember):
    38881         * bridge/jni/jsc/JavaClassJSC.cpp:
    38882         (JavaClass::JavaClass):
    38883         * bridge/jni/jsc/JavaStringJSC.h:
    38884         (JSC::Bindings::JavaStringImpl::impl):
    38885         * bridge/jni/v8/JavaStringV8.h:
    38886         (JSC::Bindings::JavaStringImpl::impl):
    38887 
    38888 2011-03-02  Mihai Parparita  <mihaip@chromium.org>
    38889 
    38890         Reviewed by Dimitri Glazkov.
    38891 
    38892         Add CRASH() for CSSSelector double frees
    38893         https://bugs.webkit.org/show_bug.cgi?id=55596
    38894        
    38895         To help track down bug 53045, add a CRASH call when the CSSSelector
    38896         destructor is invoked more than once.
    38897 
    38898         Just a check, no new tests necessary.
    38899 
    38900         * css/CSSSelector.h:
    38901         (WebCore::CSSSelector::CSSSelector):
    38902         (WebCore::CSSSelector::~CSSSelector):
    38903 
    38904 2011-03-02  Carol Szabo  <carol.szabo@nokia.com>
    38905 
    38906         Reviewed by David Hyatt  <hyatt@apple.com>
    38907 
    38908         content property doesn't support quotes
    38909         https://bugs.webkit.org/show_bug.cgi?id=6503
    38910 
    38911         Added full support for quotes as defined by CSS 2.1.
    38912 
    38913         Tests: fast/css/content/content-quotes-01.html
    38914                fast/css/content/content-quotes-02.html
    38915                fast/css/content/content-quotes-03.html
    38916                fast/css/content/content-quotes-04.html
    38917                fast/css/content/content-quotes-05.html
    38918                fast/css/content/content-quotes-06.html
    38919 
    38920         * Android.mk:
    38921         * CMakeLists.txt:
    38922         * GNUmakefile.am:
    38923         * WebCore.gypi:
    38924         * WebCore.pro:
    38925         * WebCore.vcproj/WebCore.vcproj:
    38926         * WebCore.xcodeproj/project.pbxproj:
    38927         Added RenderQuote.cpp/h and QuotesData.cpp/h to the dependency lists
    38928         * css/CSSParser.cpp:
    38929         (WebCore::CSSParser::parseValue):
    38930         (WebCore::CSSParser::parseQuotes):
    38931         * css/CSSParser.h:
    38932         Added needed stylesheet parsing support for quotes,
    38933         (no-)open-quote and (no-)close-quote
    38934         * css/CSSStyleSelector.cpp:
    38935         (WebCore::CSSStyleSelector::applyProperty):
    38936         Handled setting of the new quotes RenderStyle property and added
    38937         handling of quotes for the content property.
    38938         * css/html.css:
    38939         (q:before):
    38940         (q:after):
    38941         replaced the '"' workaround with open/close-quote
    38942         * rendering/RenderBlockLineLayout.cpp:
    38943         (WebCore::dirtyLineBoxesForRenderer):
    38944         Made RenderQuote behave like RenderCounter.
    38945         Needed to ensure that the Quote text is calculated before layout,
    38946         just as it is for RenderCounter.
    38947         * rendering/RenderObject.h:
    38948         (WebCore::RenderObject::isQuote):
    38949         * rendering/RenderObjectChildList.cpp:
    38950         (WebCore::RenderObjectChildList::removeChildNode):
    38951         (WebCore::RenderObjectChildList::appendChildNode):
    38952         (WebCore::RenderObjectChildList::insertChildNode):
    38953         Handled updating of quote depth when renderers are added and removed
    38954         from the tree.
    38955         (WebCore::RenderObjectChildList::updateBeforeAfterContent):
    38956         Added support for Quote content.
    38957         * rendering/RenderQuote.cpp: Added.
    38958         (WebCore::adjustDepth):
    38959         (WebCore::RenderQuote::RenderQuote):
    38960         (WebCore::RenderQuote::~RenderQuote):
    38961         (WebCore::RenderQuote::renderName):
    38962         (WebCore::RenderQuote::placeQuote):
    38963         (WebCore::LanguageData::operator<):
    38964         (WebCore::defaultLanguageQuotes):
    38965         (WebCore::quotesMap):
    38966         (WebCore::quotesForLanguage):
    38967         (WebCore::defaultQuotes):
    38968         (WebCore::RenderQuote::originalText):
    38969         (WebCore::RenderQuote::computePreferredLogicalWidths):
    38970         (WebCore::RenderQuote::rendererSubtreeAttached):
    38971         (WebCore::RenderQuote::rendererRemovedFromTree):
    38972         (WebCore::RenderQuote::styleDidChange):
    38973         * rendering/RenderQuote.h: Added.
    38974         (WebCore::RenderQuote::isQuote):
    38975         (WebCore::toRenderQuote):
    38976         * rendering/RenderingAllInOne.cpp:
    38977         Included RenderQuote.cpp
    38978         * rendering/style/StyleAllInOne.cpp:
    38979         Included QuotesData.cpp
    38980         * rendering/style/ContentData.cpp:
    38981         (WebCore::ContentData::dataEquivalent):
    38982         Checked for quotetype identity.
    38983         (WebCore::ContentData::deleteContent):
    38984         Accounted for the new QUOTE_TYPE.
    38985         * rendering/style/ContentData.h:
    38986         (WebCore::ContentData::isQuote):
    38987         (WebCore::ContentData::quote):
    38988         (WebCore::ContentData::setQuote):
    38989         * rendering/style/QuotesData.cpp: Added.
    38990         (WebCore::QuotesData::create):
    38991         (WebCore::QuotesData::operator==):
    38992         (WebCore::QuotesData::~QuotesData):
    38993         * rendering/style/QuotesData.h: Added.
    38994         (WebCore::QuotesData::data):
    38995         (WebCore::QuotesData::operator delete):
    38996         (WebCore::QuotesData::QuotesData):
    38997         * rendering/style/RenderStyle.cpp:
    38998         (WebCore::RenderStyle::setContent):
    38999         (WebCore::RenderStyle::setQuotes):
    39000         * rendering/style/RenderStyle.h:
    39001         (WebCore::InheritedFlags::quotes):
    39002         (WebCore::InheritedFlags::setQuotes):
    39003         * rendering/style/RenderStyleConstants.h:
    39004         * rendering/style/StyleAllInOne.cpp:
    39005         Added QuotesData.cpp to the included files list.
    39006         * rendering/style/StyleRareInheritedData.cpp:
    39007         (WebCore::StyleRareInheritedData::operator==):
    39008         Included quotes in equality check.
    39009         * rendering/style/StyleRareInheritedData.h:
    39010         Added quotes
    39011 
    39012 2011-03-02  Antti Koivisto  <antti@apple.com>
    39013 
    39014         Reviewed by Dave Hyatt.
    39015 
    39016         Selector usage flags should not be set by the CSS parser
    39017         https://bugs.webkit.org/show_bug.cgi?id=55573
    39018        
    39019         Currently flags like Document::usesSiblingRules() are set directly by the CSS parser. This is wrong as
    39020         we may parse stylesheets that are not actually used for document rendering. This is especially bad when
    39021         the page uses querySelectorAll(). As a result we may end up in various performance penalty boxes
    39022         triggered by complex selectors for no good reason.
    39023        
    39024         - Use the selector traversal in style selector constructor to figure out which flags
    39025           are actually needed for the currently active style sheets.
    39026         - Remove the selector flag related code from the CSS parser/grammar.
    39027         - Remove the usesDescendantRules flag completely. We have descendant rules in the default
    39028           style sheet, every document uses them.
    39029 
    39030         * css/CSSGrammar.y:
    39031         * css/CSSParser.cpp:
    39032         (WebCore::CSSParser::updateSpecifiersWithElementName):
    39033         * css/CSSStyleSelector.cpp:
    39034         (WebCore::collectSiblingRulesInDefaultStyle):
    39035         (WebCore::CSSStyleSelector::CSSStyleSelector):
    39036         (WebCore::CSSStyleSelector::Features::Features):
    39037         (WebCore::CSSStyleSelector::Features::~Features):
    39038         (WebCore::CSSStyleSelector::locateCousinList):
    39039         (WebCore::CSSStyleSelector::matchesSiblingRules):
    39040         (WebCore::CSSStyleSelector::canShareStyleWithElement):
    39041         (WebCore::CSSStyleSelector::locateSharedStyle):
    39042         (WebCore::collectFeaturesFromSelector):
    39043         (WebCore::collectFeaturesFromList):
    39044         (WebCore::RuleSet::collectFeatures):
    39045         * css/CSSStyleSelector.h:
    39046         (WebCore::CSSStyleSelector::usesSiblingRules):
    39047         (WebCore::CSSStyleSelector::usesFirstLineRules):
    39048         (WebCore::CSSStyleSelector::usesBeforeAfterRules):
    39049         (WebCore::CSSStyleSelector::usesLinkRules):
    39050         * dom/Document.cpp:
    39051         (WebCore::Document::Document):
    39052         (WebCore::Document::recalcStyle):
    39053         (WebCore::Document::createStyleSelector):
    39054         * dom/Document.h:
    39055         (WebCore::Document::usesSiblingRules):
    39056         (WebCore::Document::setUsesSiblingRules):
    39057         (WebCore::Document::usesFirstLineRules):
    39058         (WebCore::Document::usesBeforeAfterRules):
    39059         (WebCore::Document::setUsesBeforeAfterRules):
    39060         * dom/Element.cpp:
    39061         (WebCore::Element::recalcStyle):
    39062 
    39063 2011-03-02  Brian Weinstein  <bweinstein@apple.com>
    39064 
    39065         Fix fallout from a last minute renaming.
    39066 
    39067         * platform/network/cf/CookieStorageCFNet.cpp:
    39068         (WebCore::startObservingCookieChanges):
    39069         (WebCore::stopObservingCookieChanges):
    39070 
    39071 2011-03-01  Brian Weinstein  <bweinstein@apple.com>
    39072 
    39073         Reviewed by Adam Roben.
    39074 
    39075         Part of WebKit2: Need a way to send notifications to client when cookies change
    39076         https://bugs.webkit.org/show_bug.cgi?id=55427
    39077         <rdar://problem/9056027>
    39078        
    39079         Add functions on CookieStorage that allow listening for changes in cookies. When
    39080         the cookies are changed, they call through to CookiesStrategy::notifyCookiesChanged.
    39081 
    39082         No change in behavior requiring tests.
    39083 
    39084         * platform/CookiesStrategy.h: Added.
    39085         (WebCore::CookiesStrategy::~CookiesStrategy):
    39086 
    39087         * platform/PlatformStrategies.h:
    39088         (WebCore::PlatformStrategies::cookiesStrategy):
    39089         (WebCore::PlatformStrategies::PlatformStrategies):
    39090 
    39091         * platform/network/CookieStorage.h: Add new function declarations.
    39092 
    39093         * platform/network/cf/CookieStorageCFNet.cpp:
    39094         (WebCore::notifyCookiesChangedOnMainThread): Call through to CookiesStrategy::notifyCookiesChanged.
    39095         (WebCore::notifyCookiesChanged): Call notifyCookiesChangedOnMainThread on the main thread.
    39096         (WebCore::beginObservingCookieChanges): Set up cookie observers on the loader run loop.
    39097         (WebCore::finishObservingCookieChanges): Remove our cookie observers from the loader run loop.
    39098 
    39099         * platform/network/mac/CookieStorageMac.mm:
    39100         (-[CookieStorageObjCAdapter notifyCookiesChangedOnMainThread]): Call through to CookiesStrategy::notifyCookiesChanged.
    39101         (-[CookieStorageObjCAdapter cookiesChangedNotificationHandler:]): Call notifyCookiesChangedOnMainThread on
    39102             the main thread.
    39103         (-[CookieStorageObjCAdapter registerForCookieChangeNotifications]): Set up the observer for cookie change notifications.
    39104         (-[CookieStorageObjCAdapter unregisterForCookieChangeNotifications]): Remove the observer for cookie change notifications.
    39105         (WebCore::beginObservingCookieChanges): Create our CookieStorageObjCAdapter, and call registerForCookieChangeNotifications.
    39106         (WebCore::finishObservingCookieChanges): Call unregisterForCookieChangeNotifications.
    39107        
    39108         Add new file.
    39109         * WebCore.vcproj/WebCore.vcproj:
    39110         * WebCore.xcodeproj/project.pbxproj: Set role on files we need to include in WebKit to private.
    39111 
    39112 2011-03-02  Sergey Glazunov  <serg.glazunov@gmail.com>
    39113 
    39114         Reviewed by Dimitri Glazkov.
    39115 
    39116         A WebKitCSSKeyframesRule object should set itself as the parent for inserted rules
    39117         https://bugs.webkit.org/show_bug.cgi?id=55488
    39118 
    39119         Test: fast/css/css-keyframe-parent.html
    39120 
    39121         * css/WebKitCSSKeyframesRule.cpp:
    39122         (WebCore::WebKitCSSKeyframesRule::append):
    39123 
    39124 2011-03-02  Sergio Villar Senin  <svillar@igalia.com>
    39125 
    39126         Reviewed by Martin Robinson.
    39127 
    39128         [GTK] Add support for external protocol handlers
    39129         https://bugs.webkit.org/show_bug.cgi?id=55473
    39130 
    39131         Do not unconditionally create and replace the SoupRequester of the
    39132         SoupSession if there is already one. No new tests needed as we
    39133         just allow clients to create their our SoupRequesters.
    39134 
    39135         * platform/network/soup/ResourceHandleSoup.cpp:
    39136         (WebCore::ensureSessionIsInitialized):
    39137 
    39138 2011-03-02  John Knottenbelt  <jknotten@chromium.org>
    39139 
    39140         Reviewed by jknotten@chromium.org.
    39141 
    39142         Fix build-breakage when GEOLOCATION not enabled.
    39143         https://bugs.webkit.org/show_bug.cgi?id=55586
    39144 
    39145         Geolocation::reset needs to be defined if ENABLE(GEOLOCATION)
    39146         is not true.
    39147 
    39148         * page/Geolocation.cpp:
    39149         (WebCore::Geolocation::reset):
    39150 
    39151 2011-03-02  Pavel Feldman  <pfeldman@chromium.org>
    39152 
    39153         Reviewed by Yury Semikhatsky.
    39154 
    39155         Web Inspector: remove InjectedScriptHost -> DOMAgent dependency.
    39156         https://bugs.webkit.org/show_bug.cgi?id=55575
    39157 
    39158         * bindings/js/JSInjectedScriptHostCustom.cpp:
    39159         (WebCore::JSInjectedScriptHost::inspectedNode):
    39160         * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
    39161         (WebCore::V8InjectedScriptHost::inspectedNodeCallback):
    39162         * inspector/ConsoleMessage.cpp:
    39163         (WebCore::ConsoleMessage::addToFrontend):
    39164         * inspector/InjectedScript.cpp:
    39165         (WebCore::InjectedScript::evaluateOn):
    39166         (WebCore::InjectedScript::wrapObject):
    39167         (WebCore::InjectedScript::wrapNode):
    39168         (WebCore::InjectedScript::inspectNode):
    39169         (WebCore::InjectedScript::nodeAsScriptValue):
    39170         * inspector/InjectedScript.h:
    39171         * inspector/InjectedScriptHost.cpp:
    39172         (WebCore::InjectedScriptHost::addInspectedNode):
    39173         (WebCore::InjectedScriptHost::clearInspectedNodes):
    39174         (WebCore::InjectedScriptHost::copyText):
    39175         (WebCore::InjectedScriptHost::inspectedNode):
    39176         * inspector/InjectedScriptHost.h:
    39177         * inspector/InjectedScriptHost.idl:
    39178         * inspector/InjectedScriptSource.js:
    39179         * inspector/Inspector.idl:
    39180         * inspector/InspectorDOMAgent.cpp:
    39181         (WebCore::InspectorDOMAgent::discardBindings):
    39182         (WebCore::InspectorDOMAgent::addInspectedNode):
    39183         (WebCore::InspectorDOMAgent::resolveNode):
    39184         (WebCore::InspectorDOMAgent::injectedScriptForNode):
    39185         * inspector/InspectorDOMAgent.h:
    39186         * inspector/InspectorRuntimeAgent.cpp:
    39187         (WebCore::InspectorRuntimeAgent::evaluateOn):
    39188         * inspector/InspectorRuntimeAgent.h:
    39189         * inspector/front-end/ElementsTreeOutline.js:
    39190         (WebInspector.ElementsTreeElement.prototype._createTooltipForNode.setTooltip):
    39191         (WebInspector.ElementsTreeElement.prototype._createTooltipForNode.resolvedNode):
    39192         (WebInspector.ElementsTreeElement.prototype._createTooltipForNode):
    39193         * inspector/front-end/PropertiesSidebarPane.js:
    39194         (WebInspector.PropertiesSidebarPane.prototype.update.nodeResolved):
    39195         (WebInspector.PropertiesSidebarPane.prototype.update.nodePrototypesReady):
    39196         (WebInspector.PropertiesSidebarPane.prototype.update.fillSection):
    39197         (WebInspector.PropertiesSidebarPane.prototype.update):
    39198         * inspector/front-end/RemoteObject.js:
    39199         (WebInspector.RemoteObject.resolveNode):
    39200         (WebInspector.RemoteObject.prototype.pushNodeToFrontend):
    39201         (WebInspector.RemoteObject.prototype.evaluate):
    39202 
    39203 2011-01-21  John Knottenbelt  <jknotten@chromium.org>
    39204 
    39205         Reviewed by Dmitry Titov.
    39206 
    39207         Detach Geolocation from Frame when Page destroyed.
    39208         https://bugs.webkit.org/show_bug.cgi?id=52877
    39209 
    39210         On Page destruction, any outstanding Geolocation permission
    39211         requests should be cancelled, because the Geolocation can only
    39212         access the client indirectly via m_frame->page().
    39213 
    39214         Additionally, if the Frame is reparented to another page, the
    39215         Geolocation should cancel watches, single-shots and requests on
    39216         the old page.
    39217 
    39218         Page destruction is signalled by a call to the
    39219         Frame::pageDestroyed() method. This calls Frame::detachFromPage,
    39220         where we extend the call chain to Geolocation::detachFromPage()
    39221         where we call Geolocation::reset() which detaches from the
    39222         GeolocationController, cancels requests, watches and single shots,
    39223         and sets the permission state back to Unknown.
    39224 
    39225         We also now call detachFromPage when the frame reparented in
    39226         Frame::transferChildFrameToNewDocument.
    39227 
    39228         Frame::pageDestroyed() is also called by FrameLoader even though
    39229         the page is not destroyed. We should still cancel permission
    39230         requests, because the GeolocationClient will become inaccessible
    39231         to the Geolocation object after this call.
    39232 
    39233         Since GeolocationController is owned by Page, and all Geolocation
    39234         objects will now unsubscribe from the GeolocationController on
    39235         pageDetached(), we no longer need to call stopUpdating() from the
    39236         GeolocationController's destructor. Instead we can simply assert
    39237         that there should be no no observers. See related bug
    39238         https://bugs.webkit.org/show_bug.cgi?id=52216 .
    39239 
    39240         Introduced new method 'numberOfPendingPermissionRequests' on
    39241         GeolocationClientMock to count the number of outstanding pending
    39242         permission requests. This provides a reusable implementation for
    39243         client-based implementations of the LayoutTestController's
    39244         numberOfPendingGeolocationPermissionRequests method.
    39245 
    39246         Tests: fast/dom/Geolocation/iframe-reparent.html
    39247                fast/dom/Geolocation/page-reload-cancel-permission-requests.html
    39248 
    39249         * page/DOMWindow.cpp:
    39250         (WebCore::DOMWindow::resetGeolocationPermissions):
    39251         * page/DOMWindow.h:
    39252         * page/Frame.cpp:
    39253         (WebCore::Frame::detachFromPage):
    39254         (WebCore::Frame::pageDestroyed):
    39255         (WebCore::Frame::transferChildFrameToNewDocument):
    39256         * page/Frame.h:
    39257         * page/Geolocation.cpp:
    39258         (WebCore::Geolocation::~Geolocation):
    39259         (WebCore::Geolocation::page):
    39260         (WebCore::Geolocation::reset):
    39261         (WebCore::Geolocation::disconnectFrame):
    39262         (WebCore::Geolocation::lastPosition):
    39263         (WebCore::Geolocation::requestPermission):
    39264         (WebCore::Geolocation::startUpdating):
    39265         (WebCore::Geolocation::stopUpdating):
    39266         * page/Geolocation.h:
    39267         * page/GeolocationController.cpp:
    39268         (WebCore::GeolocationController::~GeolocationController):
    39269         * page/Navigator.cpp:
    39270         (WebCore::Navigator::resetGeolocationPermissions):
    39271         * page/Navigator.h:
    39272         * platform/mock/GeolocationClientMock.cpp:
    39273         (WebCore::GeolocationClientMock::numberOfPendingPermissionRequests):
    39274         * platform/mock/GeolocationClientMock.h:
    39275 
    39276 2011-03-02  Mikhail Naganov  <mnaganov@chromium.org>
    39277 
    39278         Reviewed by Pavel Feldman.
    39279 
    39280         Web Inspector: [Chromium] Landing detailed heap snapshots, part 4.
    39281         https://bugs.webkit.org/show_bug.cgi?id=55563
    39282 
    39283         This part adds implementations for data grids used to display
    39284         different heap snapshots projections. We are almost done.
    39285 
    39286         * English.lproj/localizedStrings.js:
    39287         * WebCore.gypi:
    39288         * bindings/v8/ScriptHeapSnapshot.cpp:
    39289         (WebCore::ScriptHeapSnapshot::getExactRetainedSize):
    39290         * bindings/v8/ScriptHeapSnapshot.h:
    39291         * inspector/Inspector.idl:
    39292         * inspector/InspectorProfilerAgent.cpp:
    39293         (WebCore::InspectorProfilerAgent::getExactHeapSnapshotNodeRetainedSize):
    39294         * inspector/InspectorProfilerAgent.h:
    39295         * inspector/front-end/DetailedHeapshotGridNodes.js:
    39296         (WebInspector.HeapSnapshotObjectNode):
    39297         (WebInspector.HeapSnapshotObjectNode.prototype._createProvider):
    39298         (WebInspector.HeapSnapshotInstanceNode):
    39299         (WebInspector.HeapSnapshotInstanceNode.prototype._createProvider):
    39300         (WebInspector.HeapSnapshotDominatorObjectNode):
    39301         (WebInspector.HeapSnapshotDominatorObjectNode.prototype._createProvider):
    39302         (MixInSnapshotNodeFunctions):
    39303         * inspector/front-end/DetailedHeapshotView.js:
    39304         (WebInspector.HeapSnapshotContainmentDataGrid):
    39305         (WebInspector.HeapSnapshotSortableDataGrid):
    39306         (WebInspector.HeapSnapshotConstructorsDataGrid):
    39307         (WebInspector.HeapSnapshotDiffDataGrid):
    39308         (WebInspector.HeapSnapshotDominatorsDataGrid):
    39309         (WebInspector.HeapSnapshotRetainingPathsList):
    39310         (WebInspector.DetailedHeapshotView.profileCallback):
    39311         (WebInspector.DetailedHeapshotView):
    39312         * inspector/front-end/HeapSnapshot.js:
    39313         (WebInspector.HeapSnapshotEdge.prototype.get isInvisible):
    39314         (WebInspector.HeapSnapshotEdge.prototype.toString):
    39315         (WebInspector.HeapSnapshot.prototype._init):
    39316         (WebInspector.HeapSnapshot.prototype._buildAggregatesIndexes):
    39317         (WebInspector.HeapSnapshot.prototype._markInvisibleEdges):
    39318         (WebInspector.HeapSnapshotPathFinder.prototype._skipEdge):
    39319         * inspector/front-end/Images/helpButtonGlyph.png: Added.
    39320         * inspector/front-end/Panel.js:
    39321         (WebInspector.Panel.prototype.reset):
    39322         * inspector/front-end/Popover.js:
    39323         (WebInspector.Popover):
    39324         (WebInspector.Popover.prototype.show):
    39325         (WebInspector.Popover.prototype.hide):
    39326         (WebInspector.Popover.prototype.get visible):
    39327         * inspector/front-end/ProfilesPanel.js:
    39328         (WebInspector.ProfilesPanel.prototype._reset):
    39329         (WebInspector.ProfilesPanel.prototype.getProfile):
    39330         * inspector/front-end/heapProfiler.css:
    39331         * inspector/front-end/inspector.js:
    39332         (WebInspector.resetFocusElement):
    39333 
    39334 2011-03-02  David Kilzer  <ddkilzer@apple.com>
    39335 
    39336         <http://webkit.org/b/55534> Clean up macros in Extensions3DOpenGL.cpp
    39337 
    39338         Reviewed by Darin Adler.
    39339 
    39340         Change "#if GL_APPLE_vertex_array_object" macros to check that
    39341         GL_APPLE_vertex_array_object is both defined and non-zero.
    39342 
    39343         * platform/graphics/opengl/Extensions3DOpenGL.cpp:
    39344         (WebCore::Extensions3DOpenGL::createVertexArrayOES):
    39345         (WebCore::Extensions3DOpenGL::deleteVertexArrayOES): Remove
    39346         empty #else clause.
    39347         (WebCore::Extensions3DOpenGL::isVertexArrayOES):
    39348         (WebCore::Extensions3DOpenGL::bindVertexArrayOES): Add early
    39349         return check.  Remove #else clause that would never have
    39350         compiled (since array is not a WTF::String).
    39351 
    39352 2011-03-01  Ryosuke Niwa  <rniwa@webkit.org>
    39353 
    39354         Reviewed by Darin Adler.
    39355 
    39356         Assertion failure after removing a selection in keydown handler
    39357         https://bugs.webkit.org/show_bug.cgi?id=51389
    39358 
    39359         The bug was caused by textWillBeReplaced's not always updating selection, and
    39360         shouldRemovePositionAfterAdoptingTextReplacement's not moving the end offset when it's
    39361         at the end of replaced data.
    39362 
    39363         Fixed the bug by always updating selection in textWillBeReplaced and fixing the condition
    39364         to move the offset in shouldRemovePositionAfterAdoptingTextReplacement. Also added a call
    39365         to setSelection instead of directly modifying m_selection to notify all the clients.
    39366         Namely, the call to EditorClient::respondToChangedSelection is required for
    39367         setting-input-value-cancel-ime-composition.html.
    39368 
    39369         Note that we must update layout before calling setSelection because setSelection calls
    39370         setFocusedNodeIfNeeded and it requires layout to be up-to-date. Without this call, tests
    39371         such as fast/forms/input-appearance-maxlength.html hits an assertion in Node::isFocusable.
    39372 
    39373         Test: editing/input/setting-input-value-cancel-ime-composition.html
    39374 
    39375         * editing/SelectionController.cpp:
    39376         (WebCore::shouldRemovePositionAfterAdoptingTextReplacement): When replacing text, the offset
    39377         of the selection end must be updated even if it was at the end of the replaced text.
    39378         e.g. removing "world" from "hello world] WebKit" should result in "hello ] WebKit" not
    39379         "hello  WebK[it". Note we don't move the offset if no text is removed because appending
    39380         "world" to "hello ]" should result in "hello ]world" not "hello world]".
    39381         (WebCore::SelectionController::textWillBeReplaced): Calls setSelection to update
    39382         the selection instead of modifying m_selection directly.
    39383 
    39384 2011-03-02  Andrey Adaikin  <aandrey@google.com>
    39385 
    39386         Reviewed by Pavel Feldman.
    39387 
    39388         Web Inspector: highlighted line does not span horizonally in scripts panel while debugging.
    39389         https://bugs.webkit.org/show_bug.cgi?id=54675
    39390 
    39391         * inspector/front-end/TextViewer.js:
    39392         (WebInspector.TextViewer.prototype._syncScroll):
    39393         (WebInspector.TextEditorChunkedPanel.prototype._buildChunks):
    39394         (WebInspector.TextEditorChunkedPanel.prototype.makeLineAChunk):
    39395         (WebInspector.TextEditorGutterPanel):
    39396         (WebInspector.TextEditorGutterPanel.prototype._expandChunks):
    39397         (WebInspector.TextEditorGutterPanel.prototype.textChanged):
    39398         (WebInspector.TextEditorMainPanel):
    39399         (WebInspector.TextEditorMainPanel.prototype.set readOnly):
    39400         (WebInspector.TextEditorMainPanel.prototype._getSelection):
    39401         (WebInspector.TextEditorMainPanel.prototype._selectionToPosition):
    39402         (WebInspector.TextEditorMainPanel.prototype._handleDOMSubtreeModified):
    39403         (WebInspector.TextEditorMainPanel.prototype._applyDomUpdates):
    39404         (WebInspector.TextEditorMainPanel.prototype._updateChunksForRanges):
    39405         * inspector/front-end/textViewer.css:
    39406         (.inner-container):
    39407 
    39408 2011-03-02  Oleg Romashin  <romaxa@gmail.com>
    39409 
    39410         Reviewed by Andreas Kling.
    39411 
    39412         Fixing inspector compilation with JAVASCRIPT_DEBUGGER disabled
    39413         https://bugs.webkit.org/show_bug.cgi?id=55477
    39414 
    39415         * inspector/InspectorAgent.cpp:
    39416         (WebCore::InspectorAgent::populateScriptObjects):
    39417 
    39418 2011-03-02  Kent Tamura  <tkent@chromium.org>
    39419 
    39420         Unreviewed, a trivial fix for r80096.
    39421 
    39422         REGRESSION (r80096): [Chromium] fast/forms/input-number-unacceptable-style.html failure
    39423         https://bugs.webkit.org/show_bug.cgi?id=55562
    39424 
    39425         * platform/text/LocalizedNumberICU.cpp:
    39426         (WebCore::parseLocalizedNumber): Check the ParsePosition after NumberFormat::parse()
    39427           to reject strings with a valid number + extra letters.
    39428 
    39429 2011-03-02  Steve Block  <steveblock@google.com>
    39430 
    39431         Reviewed by Jeremy Orlow.
    39432 
    39433         JObjectWrapper should be moved to its own file
    39434         https://bugs.webkit.org/show_bug.cgi?id=55384
    39435 
    39436         No new tests, refactoring only.
    39437 
    39438         * Android.v8bindings.mk:
    39439         * WebCore.gypi:
    39440         * bridge/jni/v8/JNIBridgeV8.cpp:
    39441         (JavaField::JavaField):
    39442         * bridge/jni/v8/JNIBridgeV8.h:
    39443         * bridge/jni/v8/JavaInstanceV8.cpp:
    39444         (JavaInstance::JavaInstance):
    39445         * bridge/jni/v8/JavaInstanceV8.h:
    39446         * bridge/jni/v8/JobjectWrapper.cpp: Copied from Source/WebCore/bridge/jni/v8/JNIBridgeV8.h.
    39447         (JobjectWrapper::JobjectWrapper):
    39448         (JobjectWrapper::~JobjectWrapper):
    39449         * bridge/jni/v8/JobjectWrapper.h: Copied from Source/WebCore/bridge/jni/v8/JNIBridgeV8.h.
    39450         (JSC::Bindings::JobjectWrapper::instance):
    39451         (JSC::Bindings::JobjectWrapper::setInstance):
    39452         (JSC::Bindings::JobjectWrapper::ref):
    39453         (JSC::Bindings::JobjectWrapper::deref):
    39454 
    39455 2011-02-25  Andrey Kosyakov  <caseq@chromium.org>
    39456 
    39457         Reviewed by Pavel Feldman.
    39458 
    39459         Web Inspector: factor search logic out of inspector.js
    39460         https://bugs.webkit.org/show_bug.cgi?id=54965
    39461 
    39462         * WebCore.gypi:
    39463         * WebCore.vcproj/WebCore.vcproj:
    39464         * inspector/front-end/ElementsPanel.js:
    39465         (WebInspector.ElementsPanel.prototype.searchCanceled):
    39466         (WebInspector.ElementsPanel.prototype.switchToAndFocus):
    39467         (WebInspector.ElementsPanel.prototype._updateMatchesCount):
    39468         * inspector/front-end/Panel.js:
    39469         (WebInspector.Panel.prototype.searchCanceled):
    39470         (WebInspector.Panel.prototype.performSearch.updateMatchesCount):
    39471         * inspector/front-end/ScriptsPanel.js:
    39472         (WebInspector.ScriptsPanel.prototype.searchCanceled):
    39473         (WebInspector.ScriptsPanel.prototype.performSearch.finishedCallback):
    39474         (WebInspector.ScriptsPanel.prototype.performSearch):
    39475         * inspector/front-end/SearchController.js: Added.
    39476         (WebInspector.SearchController):
    39477         (WebInspector.SearchController.prototype.updateSearchMatchesCount):
    39478         (WebInspector.SearchController.prototype.updateSearchLabel):
    39479         (WebInspector.SearchController.prototype.cancelSearch):
    39480         (WebInspector.SearchController.prototype.handleShortcut):
    39481         (WebInspector.SearchController.prototype.activePanelChanged.performPanelSearch):
    39482         (WebInspector.SearchController.prototype.activePanelChanged):
    39483         (WebInspector.SearchController.prototype._updateSearchMatchesCount):
    39484         (WebInspector.SearchController.prototype._focusSearchField):
    39485         (WebInspector.SearchController.prototype._onSearchFieldManualFocus):
    39486         (WebInspector.SearchController.prototype._onKeyDown):
    39487         (WebInspector.SearchController.prototype._onSearch):
    39488         (WebInspector.SearchController.prototype._performSearch):
    39489         * inspector/front-end/WebKit.qrc:
    39490         * inspector/front-end/inspector.html:
    39491         * inspector/front-end/inspector.js:
    39492         (WebInspector.set currentPanel):
    39493         (WebInspector.set attached):
    39494         (WebInspector.doLoadedDone):
    39495         (WebInspector.documentKeyDown):
    39496 
    39497 2011-03-02  Renata Hodovan  <reni@webkit.org>
    39498 
    39499         Reviewed by Andreas Kling.
    39500 
    39501         FEMorphologyElement changes doesn't require relayout
    39502         https://bugs.webkit.org/show_bug.cgi?id=55462
    39503 
    39504         When the FEMorphologyElement receives an update message but the given value remains the same we don't need
    39505         to relayout the filter.
    39506 
    39507         No new tests are needed because this modification is covered by the dynamic update tests of FEMorphology.
    39508 
    39509         * platform/graphics/filters/FEMorphology.cpp:
    39510         (WebCore::FEMorphology::setMorphologyOperator):
    39511         (WebCore::FEMorphology::setRadiusX):
    39512         (WebCore::FEMorphology::setRadiusY):
    39513         * platform/graphics/filters/FEMorphology.h:
    39514         * svg/SVGFEMorphologyElement.cpp:
    39515         (WebCore::SVGFEMorphologyElement::setFilterEffectAttribute):
    39516         (WebCore::SVGFEMorphologyElement::svgAttributeChanged):
    39517         * svg/SVGFEMorphologyElement.h:
    39518 
    39519 2011-03-01  Kent Tamura  <tkent@chromium.org>
    39520 
    39521         Reviewed by Dimitri Glazkov.
    39522 
    39523         Assertion fails when a form validation bubble appears
    39524         https://bugs.webkit.org/show_bug.cgi?id=55550
    39525 
    39526         Test: fast/forms/interactive-validation-attach-assertion.html
    39527 
    39528         * html/ValidationMessage.cpp:
    39529         (WebCore::ValidationMessage::buildBubbleTree):
    39530          Just remove unnecessary attach().
    39531 
    39532 2011-03-01  Kent Tamura  <tkent@chromium.org>
    39533 
    39534         Reviewed by Dimitri Glazkov.
    39535 
    39536         Support localized numbers in <input type=number>
    39537         https://bugs.webkit.org/show_bug.cgi?id=42484
    39538 
    39539         This change adds support of localized numbers in <input type=number>.
    39540         This affects only the UI, and not HTMLInputElement::value.
    39541 
    39542         - Remove the keyboard input restriction feature because it is hard to
    39543           retrieve characters usable for localized numbers in ICU.
    39544 
    39545         - Separate convertFromVisibleValue() from sanitizeValue().
    39546           sanitizeValue() is used for not only converting a renderer value to a
    39547           DOM value.
    39548 
    39549         - Implement LocalizedNumber functions for ICU and NSNumberFormatter.
    39550           It is used only in Chromium for now.
    39551 
    39552         Test: manual-tests/input-number-localization.html
    39553 
    39554         * WebCore.gypi: Use LocalizedNumberICU.cpp.
    39555         * WebCore.xcodeproj/project.pbxproj:
    39556           Add LocalizedNumberMac.mm and remove LocalizedNumberNone.cpp.
    39557         * dom/InputElement.h: Introduce convertFromVisibleValue().
    39558         * html/HTMLInputElement.cpp:
    39559         (WebCore::HTMLInputElement::convertFromVisibleValue):
    39560         * html/HTMLInputElement.h:
    39561         * html/InputType.cpp:
    39562         (WebCore::InputType::convertFromVisibleValue):
    39563         * html/InputType.h:
    39564         * html/NumberInputType.cpp: Remove isHTMLNumberCharacter(),
    39565           isNumberCharacter(), and handleBeforeTextInsertedEvent() because we
    39566           remove the keyboard input restriction feature for type=number.
    39567         (WebCore::NumberInputType::convertFromVisibleValue):
    39568         (WebCore::NumberInputType::sanitizeValue):
    39569         * html/NumberInputType.h:
    39570         * manual-tests/input-number-localization.html: Add a manual test because
    39571           the behavior depends on the current locale.
    39572         * platform/text/LocalizedNumber.h: Remove isLocalizedNumberCharacter().
    39573         * platform/text/LocalizedNumberICU.cpp:
    39574           Implement LocalizedNumber functions with ICU NumberFormat.
    39575         (WebCore::createFormatterForCurrentLocale):
    39576         (WebCore::parseLocalizedNumber):
    39577         (WebCore::formatLocalizedNumber):
    39578         * platform/text/LocalizedNumberNone.cpp: Remove isLocalizedNumberCharacter().
    39579         * platform/text/mac/LocalizedNumberMac.mm:
    39580           Implement LocalizedNumber functions with NSNumberFormatter.
    39581         (WebCore::parseLocalizedNumber):
    39582         (WebCore::formatLocalizedNumber):
    39583         * rendering/RenderTextControlSingleLine.cpp:
    39584         (WebCore::RenderTextControlSingleLine::subtreeHasChanged):
    39585         * wml/WMLInputElement.h:
    39586         (WebCore::WMLInputElement::convertFromVisibleValue):
    39587           Implemented as a function doing nothing.
    39588 
    39589 2011-03-01  Yuta Kitamura  <yutak@chromium.org>
    39590 
    39591         Reviewed by Darin Adler.
    39592 
    39593         REGRESSION(r78383): Failure to connect on websocketstest.com
    39594         https://bugs.webkit.org/show_bug.cgi?id=54811
    39595 
    39596         After r78383, KURL::setPort() no longer appends ":port" part
    39597         if that port is the default port for URL scheme. This broke
    39598         SocketStreamHandleCFNet, whose code was based on an assumption
    39599         that KURL::setPort() always inserts ":port" part.
    39600 
    39601         To fix this, KURL::port() call is removed from SocketStreamHandle
    39602         and the port number is calculated on-the-fly.
    39603 
    39604         Unfortunately it is impossible to write a test; this bug only
    39605         affects WebSockets connecting to the default port (port 80
    39606         for ws, port 443 for wss), while we use different ports to test
    39607         WebSockets in LayoutTests.
    39608 
    39609         * platform/network/cf/SocketStreamHandle.h:
    39610         * platform/network/cf/SocketStreamHandleCFNet.cpp:
    39611         (WebCore::SocketStreamHandle::SocketStreamHandle):
    39612         (WebCore::SocketStreamHandle::createStreams):
    39613         (WebCore::SocketStreamHandle::port):
    39614 
    39615 2011-03-01  Sheriff Bot  <webkit.review.bot@gmail.com>
    39616 
    39617         Unreviewed, rolling out r80079.
    39618         http://trac.webkit.org/changeset/80079
    39619         https://bugs.webkit.org/show_bug.cgi?id=55547
    39620 
    39621         "Broke the Win debug build?" (Requested by dcheng on #webkit).
    39622 
    39623         * Configurations/FeatureDefines.xcconfig:
    39624         * GNUmakefile.am:
    39625         * features.pri:
    39626 
    39627 2011-02-25  Adrienne Walker  <enne@google.com>
    39628 
    39629         Reviewed by James Robinson.
    39630 
    39631         [chromium] Abstract "pixels with a graphics context" into its own class
    39632         https://bugs.webkit.org/show_bug.cgi?id=55259
    39633 
    39634         This creates new PlatformCanvas/PlatformImage classes which wrap
    39635         all of the #ifdef Skia/Cg warts from the compositor.  All classes
    39636         (LayerTilerChromium, ContentLayerChromium, and ImageLayerChromium) are
    39637         modified to use these abstractions.
    39638 
    39639         Tests: LayoutTests/compositing
    39640 
    39641         * WebCore.gypi:
    39642         * platform/graphics/chromium/ContentLayerChromium.cpp:
    39643         (WebCore::ContentLayerChromium::updateContentsIfDirty):
    39644         (WebCore::ContentLayerChromium::resizeUploadBuffer):
    39645         (WebCore::ContentLayerChromium::updateTextureIfNeeded):
    39646         (WebCore::ContentLayerChromium::updateTexture):
    39647         (WebCore::ContentLayerChromium::draw):
    39648         * platform/graphics/chromium/ContentLayerChromium.h:
    39649         * platform/graphics/chromium/ImageLayerChromium.cpp:
    39650         (WebCore::ImageLayerChromium::updateContentsIfDirty):
    39651         (WebCore::ImageLayerChromium::updateTextureIfNeeded):
    39652         * platform/graphics/chromium/ImageLayerChromium.h:
    39653         * platform/graphics/chromium/LayerTilerChromium.cpp:
    39654         (WebCore::LayerTilerChromium::contentRectToTileIndices):
    39655         (WebCore::LayerTilerChromium::update):
    39656         (WebCore::LayerTilerChromium::updateFromPixels):
    39657         * platform/graphics/chromium/LayerTilerChromium.h:
    39658         * platform/graphics/chromium/PlatformCanvas.cpp: Added.
    39659         (WebCore::PlatformCanvas::PlatformCanvas):
    39660         (WebCore::PlatformCanvas::~PlatformCanvas):
    39661         (WebCore::PlatformCanvas::resize):
    39662         (WebCore::PlatformCanvas::AutoLocker::AutoLocker):
    39663         (WebCore::PlatformCanvas::AutoLocker::~AutoLocker):
    39664         (WebCore::PlatformCanvas::Painter::Painter):
    39665         (WebCore::PlatformCanvas::Painter::~Painter):
    39666         * platform/graphics/chromium/PlatformCanvas.h: Added.
    39667         (WebCore::PlatformCanvas::AutoLocker::pixels):
    39668         (WebCore::PlatformCanvas::Painter::context):
    39669         (WebCore::PlatformCanvas::size):
    39670         * platform/graphics/chromium/PlatformImage.cpp: Copied from Source/WebCore/platform/graphics/chromium/ImageLayerChromium.cpp.
    39671         (WebCore::PlatformImage::PlatformImage):
    39672         (WebCore::PlatformImage::updateFromImage):
    39673         * platform/graphics/chromium/PlatformImage.h: Added.
    39674         (WebCore::PlatformImage::pixels):
    39675         (WebCore::PlatformImage::size):
    39676 
    39677 2011-03-01  Daniel Cheng  <dcheng@chromium.org>
    39678 
    39679         Reviewed by David Levin.
    39680 
    39681         Add feature define for data transfer items
    39682         https://bugs.webkit.org/show_bug.cgi?id=55510
    39683 
    39684         * Configurations/FeatureDefines.xcconfig:
    39685         * GNUmakefile.am:
    39686         * features.pri:
    39687 
    39688 2011-03-01  Joseph Pecoraro  <joepeck@webkit.org>
    39689 
    39690         Unreviewed. Roll out r80068 and r80073 due to breaking WebKit2 Qt port.
    39691 
    39692         * dom/ViewportArguments.cpp:
    39693         (WebCore::computeViewportAttributes):
    39694         (WebCore::numericPrefix):
    39695         (WebCore::findSizeValue):
    39696         (WebCore::setViewportFeature):
    39697         (WebCore::viewportErrorMessageTemplate):
    39698         (WebCore::viewportErrorMessageLevel):
    39699         * dom/ViewportArguments.h:
    39700 
    39701 2011-03-01  Jeremy Orlow  <jorlow@chromium.org>
    39702 
    39703         Reviewed by James Robinson.
    39704 
    39705         IDBKeyRange.bound() should not use the optional options object
    39706         https://bugs.webkit.org/show_bug.cgi?id=55419
    39707 
    39708         http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#range-concept
    39709 
    39710         Added some code to existing tests to cover these cases.
    39711 
    39712         * storage/IDBKeyRange.cpp:
    39713         (WebCore::IDBKeyRange::bound):
    39714         * storage/IDBKeyRange.h:
    39715         * storage/IDBKeyRange.idl:
    39716 
    39717 2011-03-01  Dan Bernstein  <mitz@apple.com>
    39718 
    39719         Build fix.
    39720 
    39721         * dom/DocumentMarkerController.cpp:
    39722         (WebCore::DocumentMarkerController::clearDescriptionOnMarkersIntersectingRange):
    39723 
    39724 2011-03-01  Kent Tamura  <tkent@chromium.org>
    39725 
    39726         Unreviewed. Apply sort-Xcode-project-file.
    39727 
    39728         * WebCore.xcodeproj/project.pbxproj:
    39729 
    39730 2011-03-01  Jeremy Orlow  <jorlow@chromium.org>
    39731 
    39732         Reviewed by James Robinson.
    39733 
    39734         V8 code generator doesn't properly support a single SerializedScriptValue attribute
    39735         https://bugs.webkit.org/show_bug.cgi?id=55530
    39736 
    39737         This is tested by the bindings tests changes.
    39738 
    39739         * bindings/scripts/CodeGeneratorV8.pm:
    39740         * bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.cpp: Added.
    39741         (WebDOMTestSerializedScriptValueInterface::WebDOMTestSerializedScriptValueInterfacePrivate::WebDOMTestSerializedScriptValueInterfacePrivate):
    39742         (WebDOMTestSerializedScriptValueInterface::WebDOMTestSerializedScriptValueInterface):
    39743         (WebDOMTestSerializedScriptValueInterface::operator=):
    39744         (WebDOMTestSerializedScriptValueInterface::impl):
    39745         (WebDOMTestSerializedScriptValueInterface::~WebDOMTestSerializedScriptValueInterface):
    39746         (WebDOMTestSerializedScriptValueInterface::value):
    39747         (toWebCore):
    39748         (toWebKit):
    39749         * bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.h: Added.
    39750         * bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.cpp: Added.
    39751         (WebKit::kit):
    39752         (webkit_dom_test_serialized_script_value_interface_get_value):
    39753         (WebKit::core):
    39754         (webkit_dom_test_serialized_script_value_interface_finalize):
    39755         (webkit_dom_test_serialized_script_value_interface_set_property):
    39756         (webkit_dom_test_serialized_script_value_interface_get_property):
    39757         (webkit_dom_test_serialized_script_value_interface_constructed):
    39758         (webkit_dom_test_serialized_script_value_interface_class_init):
    39759         (webkit_dom_test_serialized_script_value_interface_init):
    39760         (WebKit::wrapTestSerializedScriptValueInterface):
    39761         * bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.h: Added.
    39762         * bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterfacePrivate.h: Added.
    39763         * bindings/scripts/test/JS/JSTestInterface.cpp:
    39764         (WebCore::JSTestInterfaceConstructor::JSTestInterfaceConstructor):
    39765         (WebCore::JSTestInterface::JSTestInterface):
    39766         * bindings/scripts/test/JS/JSTestInterface.h:
    39767         * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
    39768         (WebCore::JSTestMediaQueryListListenerConstructor::JSTestMediaQueryListListenerConstructor):
    39769         (WebCore::JSTestMediaQueryListListener::JSTestMediaQueryListListener):
    39770         (WebCore::jsTestMediaQueryListListenerPrototypeFunctionMethod):
    39771         * bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
    39772         * bindings/scripts/test/JS/JSTestObj.cpp:
    39773         (WebCore::JSTestObjConstructor::JSTestObjConstructor):
    39774         (WebCore::JSTestObj::JSTestObj):
    39775         (WebCore::jsTestObjPrototypeFunctionVoidMethodWithArgs):
    39776         (WebCore::jsTestObjPrototypeFunctionIntMethodWithArgs):
    39777         (WebCore::jsTestObjPrototypeFunctionObjMethodWithArgs):
    39778         (WebCore::jsTestObjPrototypeFunctionMethodThatRequiresAllArgs):
    39779         (WebCore::jsTestObjPrototypeFunctionMethodThatRequiresAllArgsAndThrows):
    39780         (WebCore::jsTestObjPrototypeFunctionSerializedValue):
    39781         (WebCore::jsTestObjPrototypeFunctionIdbKey):
    39782         (WebCore::jsTestObjPrototypeFunctionOptionsObject):
    39783         (WebCore::jsTestObjPrototypeFunctionCustomArgsAndException):
    39784         (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndArg):
    39785         (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndOptionalArg):
    39786         (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndUserGesture):
    39787         (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndUserGestureASAD):
    39788         (WebCore::jsTestObjPrototypeFunctionMethodWithOptionalArg):
    39789         (WebCore::jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndOptionalArg):
    39790         (WebCore::jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndTwoOptionalArgs):
    39791         (WebCore::jsTestObjPrototypeFunctionMethodWithNonCallbackArgAndCallbackArg):
    39792         (WebCore::jsTestObjPrototypeFunctionOverloadedMethod1):
    39793         (WebCore::jsTestObjPrototypeFunctionOverloadedMethod2):
    39794         (WebCore::jsTestObjPrototypeFunctionOverloadedMethod3):
    39795         (WebCore::jsTestObjPrototypeFunctionOverloadedMethod4):
    39796         (WebCore::jsTestObjPrototypeFunctionClassMethodWithOptional):
    39797         * bindings/scripts/test/JS/JSTestObj.h:
    39798         * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp: Added.
    39799         (WebCore::JSTestSerializedScriptValueInterfaceConstructor::createStructure):
    39800         (WebCore::JSTestSerializedScriptValueInterfaceConstructor::JSTestSerializedScriptValueInterfaceConstructor):
    39801         (WebCore::JSTestSerializedScriptValueInterfaceConstructor::getOwnPropertySlot):
    39802         (WebCore::JSTestSerializedScriptValueInterfaceConstructor::getOwnPropertyDescriptor):
    39803         (WebCore::JSTestSerializedScriptValueInterfacePrototype::self):
    39804         (WebCore::JSTestSerializedScriptValueInterface::JSTestSerializedScriptValueInterface):
    39805         (WebCore::JSTestSerializedScriptValueInterface::createPrototype):
    39806         (WebCore::JSTestSerializedScriptValueInterface::getOwnPropertySlot):
    39807         (WebCore::JSTestSerializedScriptValueInterface::getOwnPropertyDescriptor):
    39808         (WebCore::jsTestSerializedScriptValueInterfaceValue):
    39809         (WebCore::jsTestSerializedScriptValueInterfaceConstructor):
    39810         (WebCore::JSTestSerializedScriptValueInterface::getConstructor):
    39811         (WebCore::toJS):
    39812         (WebCore::toTestSerializedScriptValueInterface):
    39813         * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h: Copied from Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h.
    39814         (WebCore::JSTestSerializedScriptValueInterface::createStructure):
    39815         (WebCore::JSTestSerializedScriptValueInterface::impl):
    39816         (WebCore::JSTestSerializedScriptValueInterfacePrototype::createStructure):
    39817         (WebCore::JSTestSerializedScriptValueInterfacePrototype::JSTestSerializedScriptValueInterfacePrototype):
    39818         * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.h: Added.
    39819         * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.mm: Added.
    39820         (-[DOMTestSerializedScriptValueInterface dealloc]):
    39821         (-[DOMTestSerializedScriptValueInterface finalize]):
    39822         (-[DOMTestSerializedScriptValueInterface value]):
    39823         (core):
    39824         (kit):
    39825         * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterfaceInternal.h: Added.
    39826         * bindings/scripts/test/TestSerializedScriptValueInterface.idl: Added.
    39827         * bindings/scripts/test/V8/V8TestInterface.cpp:
    39828         (WebCore::ConfigureV8TestInterfaceTemplate):
    39829         * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp: Copied from Source/WebCore/bindings/scripts/test/V8/V8TestInterface.cpp.
    39830         (WebCore::TestSerializedScriptValueInterfaceInternal::V8_USE):
    39831         (WebCore::ConfigureV8TestSerializedScriptValueInterfaceTemplate):
    39832         (WebCore::V8TestSerializedScriptValueInterface::GetRawTemplate):
    39833         (WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
    39834         (WebCore::V8TestSerializedScriptValueInterface::HasInstance):
    39835         (WebCore::V8TestSerializedScriptValueInterface::wrapSlow):
    39836         (WebCore::V8TestSerializedScriptValueInterface::derefObject):
    39837         * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h: Added.
    39838         (WebCore::V8TestSerializedScriptValueInterface::toNative):
    39839         (WebCore::V8TestSerializedScriptValueInterface::wrap):
    39840         (WebCore::toV8):
    39841 
    39842 2011-03-01  Oliver Hunt  <oliver@apple.com>
    39843 
    39844         Reviewed by Joseph Pecoraro.
    39845 
    39846         Misaligned memory access in CloneDeserializer on all ARM arch.
    39847         https://bugs.webkit.org/show_bug.cgi?id=48742
    39848 
    39849         Push platforms that need aligned memory access down the
    39850         endian independent serialization and deserialization
    39851         paths.
    39852 
    39853         * bindings/js/SerializedScriptValue.cpp:
    39854 
    39855 2011-03-01  Joseph Pecoraro  <joepeck@webkit.org>
    39856 
    39857         Reviewed by Kenneth Rohde Christiansen.
    39858 
    39859         Viewport Warning/Error Messages Are Now Inaccurate
    39860         https://bugs.webkit.org/show_bug.cgi?id=53707
    39861 
    39862         Correct and improve the error messages for viewport
    39863         parsing. Clarify the difference between incorrect
    39864         keys, values, and when to use the device-width or
    39865         device-height constants.
    39866 
    39867         * dom/ViewportArguments.cpp:
    39868         (WebCore::computeViewportAttributes): suggest using keywords if fixed input matches device width or height.
    39869         (WebCore::numericPrefix):
    39870         (WebCore::findSizeValue): remove incorrect warnings about fixed numbers because we don't know the device width or height.
    39871         (WebCore::setViewportFeature): report a warning for an unrecognized key.
    39872         (WebCore::viewportErrorMessageTemplate): added template for unrecognized key.
    39873         (WebCore::viewportErrorMessageLevel):
    39874         * dom/ViewportArguments.h:
    39875 
    39876 2011-03-01  Ryosuke Niwa  <rniwa@webkit.org>
    39877 
    39878         Reviewed by Darin Adler.
    39879 
    39880         WebKit does not merge text decorations in the typing style and the selected element properly
    39881         https://bugs.webkit.org/show_bug.cgi?id=55349
    39882 
    39883         The bug was caused by EditingStyle::mergeTypingStyle's not properly merging text decoration property.
    39884         Fixed the bug by extracting a function from ApplyStyleCommand::pushDownInlineStyleAroundNode and
    39885         calling it in pushDownInlineStyleAroundNode and in mergeTypingStyle.
    39886 
    39887         Test: editing/execCommand/merge-text-decoration-with-typing-style.html
    39888 
    39889         * editing/ApplyStyleCommand.cpp:
    39890         (WebCore::ApplyStyleCommand::applyInlineStyleToPushDown): Takes EditingStyle*;
    39891         calls mergeInlineStyleOfElement.
    39892         (WebCore::ApplyStyleCommand::pushDownInlineStyleAroundNode): Calls applyInlineStyleToPushDown.
    39893         (WebCore::ApplyStyleCommand::removeInlineStyle): Ditto.
    39894         * editing/ApplyStyleCommand.h:
    39895         * editing/EditingStyle.cpp:
    39896         (WebCore::EditingStyle::mergeTypingStyle): Added; calls mergeStyle.
    39897         (WebCore::EditingStyle::mergeInlineStyleOfElement): Ditto.
    39898         (WebCore::EditingStyle::mergeStyle): Extracted from applyInlineStyleToPushDown.
    39899         * editing/EditingStyle.h:
    39900 
    39901 2011-03-01  Levi Weintraub  <leviw@chromium.org>
    39902 
    39903         Reviewed by Ryosuke Niwa.
    39904 
    39905         Stop instantiating legacy editing Positions in VisiblePosition
    39906         https://bugs.webkit.org/show_bug.cgi?id=52919
    39907 
    39908         Changing VisiblePosition completely away from legacy positions.
    39909 
    39910         No new tests since this is functionaly equivalent.
    39911 
    39912         * WebCore.exp.in: Removing the legacy VisiblePosition constructor and
    39913         adding the PositionIsOffsetInAnchor symbol. If we must create VisiblePositions
    39914         outside of WebCore, they should be parent anchored.
    39915         * accessibility/AXObjectCache.cpp:
    39916         (WebCore::AXObjectCache::visiblePositionForTextMarkerData):
    39917         * accessibility/AccessibilityObject.cpp:
    39918         (WebCore::startOfStyleRange):
    39919         (WebCore::endOfStyleRange):
    39920         * accessibility/AccessibilityRenderObject.cpp:
    39921         (WebCore::AccessibilityRenderObject::visiblePositionForIndex):
    39922         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
    39923         (objectAndOffsetUnignored):
    39924         * dom/Position.cpp:
    39925         (WebCore::Position::document): Added this inline function to avoid the necessity
    39926         of calling anchorNode to assure a document from a Position.
    39927         (WebCore::Position::upstream): Fixed to correctly respect PositionIsAfterAnchor
    39928         (WebCore::Position::downstream): ditto
    39929         * dom/Range.cpp:
    39930         (WebCore::Range::editingStartPosition):
    39931         * editing/Editor.cpp:
    39932         (WebCore::Editor::canDeleteRange):
    39933         * editing/ReplaceSelectionCommand.cpp:
    39934         (WebCore::ReplaceSelectionCommand::doApply):
    39935         * editing/SelectionController.cpp:
    39936         (WebCore::SelectionController::selectFrameElementInParentIfFullySelected):
    39937         (WebCore::SelectionController::setSelectedRange):
    39938         * editing/TextIterator.cpp:
    39939         (WebCore::TextIterator::shouldRepresentNodeOffsetZero):
    39940         * editing/TypingCommand.cpp:
    39941         (WebCore::TypingCommand::deleteKeyPressed):
    39942         * editing/VisiblePosition.cpp:
    39943         (WebCore::VisiblePosition::leftVisuallyDistinctCandidate):
    39944         (WebCore::VisiblePosition::rightVisuallyDistinctCandidate):
    39945         (WebCore::VisiblePosition::canonicalPosition):
    39946         (WebCore::VisiblePosition::characterAfter):
    39947         (WebCore::VisiblePosition::localCaretRect):
    39948         (WebCore::makeRange):
    39949         (WebCore::startVisiblePosition):
    39950         (WebCore::endVisiblePosition):
    39951         (WebCore::setStart):
    39952         (WebCore::setEnd):
    39953         (WebCore::isFirstVisiblePositionInNode):
    39954         (WebCore::isLastVisiblePositionInNode):
    39955         * editing/VisiblePosition.h:
    39956         (WebCore::VisiblePosition::VisiblePosition):
    39957         * editing/htmlediting.cpp:
    39958         (WebCore::firstInSpecialElement):
    39959         (WebCore::lastInSpecialElement):
    39960         (WebCore::visiblePositionBeforeNode):
    39961         (WebCore::visiblePositionAfterNode):
    39962         * editing/visible_units.cpp:
    39963         (WebCore::startPositionForLine):
    39964         (WebCore::endPositionForLine):
    39965         (WebCore::previousLinePosition):
    39966         (WebCore::nextLinePosition):
    39967         (WebCore::startOfParagraph):
    39968         (WebCore::endOfParagraph):
    39969         (WebCore::endOfBlock):
    39970         (WebCore::startOfDocument):
    39971         (WebCore::endOfDocument):
    39972         (WebCore::logicalStartPositionForLine):
    39973         (WebCore::logicalEndPositionForLine):
    39974         * page/DOMSelection.cpp:
    39975         (WebCore::DOMSelection::collapse):
    39976         (WebCore::DOMSelection::setBaseAndExtent):
    39977         (WebCore::DOMSelection::setPosition):
    39978         (WebCore::DOMSelection::extend):
    39979         * page/EventHandler.cpp:
    39980         (WebCore::EventHandler::handleMousePressEventSingleClick):
    39981         * rendering/RenderObject.cpp:
    39982         (WebCore::RenderObject::createVisiblePosition):
    39983         * rendering/RenderTextControl.cpp:
    39984         (WebCore::RenderTextControl::visiblePositionForIndex):
    39985         * svg/SVGTextContentElement.cpp:
    39986         (WebCore::SVGTextContentElement::selectSubString):
    39987 
    39988 2011-03-01  Jeremy Orlow  <jorlow@chromium.org>
    39989 
    39990        Reviewed by Steve Block.
    39991 
    39992        When an IDBTransaction is aborted, all requests that have not yet fired should fire an ABORT_ERR
    39993        https://bugs.webkit.org/show_bug.cgi?id=54785
    39994 
    39995        This patch adds in a lot of sanity checks/ASSERTs to make sure we're doing
    39996        the right thing and continue to do the right thing. It also modifies EventQueue
    39997        so that we can cancel an event. To do this efficiently, the vector is now a
    39998        ListHashSet.
    39999 
    40000        Cancelling the event is harder/messier, but the most deterministic thing to do.
    40001        To the user, the work isn't done until we fire the onsuccess/onerror handler.
    40002        So the event (which does fire that) needs to be cancelable.
    40003 
    40004        transaction-abort.html tests this.
    40005 
    40006        * dom/EventQueue.cpp:
    40007        (WebCore::EventQueue::enqueueEvent):
    40008        (WebCore::EventQueue::cancelEvent):
    40009        (WebCore::EventQueue::pendingEventTimerFired):
    40010        (WebCore::EventQueue::dispatchEvent):
    40011        * dom/EventQueue.h:
    40012        * dom/ExceptionCode.cpp:
    40013        * storage/IDBCursor.cpp:
    40014        (WebCore::IDBCursor::update):
    40015        (WebCore::IDBCursor::deleteFunction):
    40016        * storage/IDBDatabaseBackendImpl.cpp:
    40017        (WebCore::IDBDatabaseBackendImpl::close):
    40018        * storage/IDBDatabaseException.h:
    40019        * storage/IDBIndex.cpp:
    40020        (WebCore::IDBIndex::openCursor):
    40021        (WebCore::IDBIndex::openKeyCursor):
    40022        (WebCore::IDBIndex::get):
    40023        (WebCore::IDBIndex::getKey):
    40024        * storage/IDBObjectStore.cpp:
    40025        (WebCore::IDBObjectStore::get):
    40026        (WebCore::IDBObjectStore::add):
    40027        (WebCore::IDBObjectStore::put):
    40028        (WebCore::IDBObjectStore::deleteFunction):
    40029        (WebCore::IDBObjectStore::clear):
    40030        (WebCore::IDBObjectStore::openCursor):
    40031        * storage/IDBRequest.cpp:
    40032        (WebCore::IDBRequest::IDBRequest):
    40033        (WebCore::IDBRequest::~IDBRequest):
    40034        (WebCore::IDBRequest::readyState):
    40035        (WebCore::IDBRequest::markEarlyDeath):
    40036        (WebCore::IDBRequest::source):
    40037        (WebCore::IDBRequest::abort):
    40038        (WebCore::IDBRequest::onSuccess):
    40039        (WebCore::IDBRequest::dispatchEvent):
    40040        (WebCore::IDBRequest::enqueueEvent):
    40041        * storage/IDBRequest.h:
    40042        * storage/IDBTransaction.cpp:
    40043        (WebCore::IDBTransaction::registerRequest):
    40044        (WebCore::IDBTransaction::unregisterRequest):
    40045        (WebCore::IDBTransaction::onAbort):
    40046        * storage/IDBTransaction.h:
    40047 
    40048 2011-03-01  Jeremy Orlow  <jorlow@chromium.org>
    40049 
    40050         Reviewed by Mihai Parparita.
    40051 
    40052         EventQueue needs to be ref counted
    40053         https://bugs.webkit.org/show_bug.cgi?id=55512
    40054 
    40055         EventQueue needs to be ref counted because it's possible for its instance
    40056         to be deleted while it's dispatching events. This is the reason why
    40057         https://bugs.webkit.org/show_bug.cgi?id=54785 had to be reverted.
    40058 
    40059         No change of behavior, so no tests.
    40060 
    40061         * dom/Document.h:
    40062         * dom/EventQueue.cpp:
    40063         (WebCore::EventQueue::create):
    40064         * dom/EventQueue.h:
    40065 
    40066 2011-03-01  Helder Correia  <helder@sencha.com>
    40067 
    40068         Reviewed by Simon Fraser.
    40069 
    40070         No shadow when stroking a path with a gradient
    40071         https://bugs.webkit.org/show_bug.cgi?id=55436
    40072 
    40073         This happens in CG and is related to bug 52509, this time to be fixed
    40074         in GraphicsContext::strokePath(). The gradient needs to be drawn
    40075         clipped to the stroke on a CGLayer first, then the layer drawn on the
    40076         GraphicsContext.
    40077 
    40078         Tests: fast/canvas/canvas-strokePath-gradient-shadow.html
    40079                svg/css/path-gradient-stroke-shadow.svg
    40080 
    40081         * platform/graphics/cg/GraphicsContextCG.cpp:
    40082         (WebCore::GraphicsContext::strokePath):
    40083 
    40084 2011-03-01  David Hyatt  <hyatt@apple.com>
    40085 
    40086         Reviewed by Dan Bernstein.
    40087 
    40088         Fix Font::spaceWidth() to be a float instead of an int.
    40089 
    40090         * platform/graphics/Font.h:
    40091         (WebCore::Font::spaceWidth):
    40092 
    40093 2011-02-28  Steve Block  <steveblock@google.com>
    40094 
    40095         Reviewed by Jeremy Orlow.
    40096 
    40097         Chromium gypi file should include Java bridge files from WebCore/bridge
    40098         https://bugs.webkit.org/show_bug.cgi?id=55387
    40099 
    40100         No new tests, no code changes.
    40101 
    40102         * WebCore.gyp/WebCore.gyp:
    40103         * WebCore.gypi:
    40104 
    40105 2011-03-01  James Simonsen  <simonjam@chromium.org>
    40106 
    40107         Reviewed by Tony Gentilcore.
    40108 
    40109         [Web Timing] Handle the case where no responseEnd time is available.
    40110         https://bugs.webkit.org/show_bug.cgi?id=55444
    40111 
    40112         * loader/MainResourceLoader.cpp:
    40113         (WebCore::MainResourceLoader::MainResourceLoader): Initialize to 0.
    40114         (WebCore::MainResourceLoader::didFinishLoading): Fall back to current time if no other time is available.
    40115 
    40116 2011-03-01  Patrick Gansterer  <paroga@webkit.org>
    40117 
    40118         Unreviewed, adding missing change for r80034.
    40119 
    40120         Add a handler class for Win32 HANDLE
    40121         https://bugs.webkit.org/show_bug.cgi?id=55334
    40122 
    40123         * platform/win/Win32Handle.h: Added missing WTF_MAKE_NONCOPYABLE macro.
    40124 
    40125 2011-03-01  Sheriff Bot  <webkit.review.bot@gmail.com>
    40126 
    40127         Unreviewed, rolling out r80037.
    40128         http://trac.webkit.org/changeset/80037
    40129         https://bugs.webkit.org/show_bug.cgi?id=55508
    40130 
    40131         broke compile on SL (Requested by tonyg-cr on #webkit).
    40132 
    40133         * Android.mk:
    40134         * CMakeLists.txt:
    40135         * GNUmakefile.am:
    40136         * WebCore.gypi:
    40137         * WebCore.pro:
    40138         * WebCore.vcproj/WebCore.vcproj:
    40139         * WebCore.xcodeproj/project.pbxproj:
    40140         * css/CSSParser.cpp:
    40141         (WebCore::CSSParser::parseValue):
    40142         * css/CSSParser.h:
    40143         * css/CSSStyleSelector.cpp:
    40144         (WebCore::CSSStyleSelector::applyProperty):
    40145         * css/html.css:
    40146         (q:before):
    40147         (q:after):
    40148         * rendering/RenderBlockLineLayout.cpp:
    40149         (WebCore::dirtyLineBoxesForRenderer):
    40150         * rendering/RenderObject.h:
    40151         * rendering/RenderObjectChildList.cpp:
    40152         (WebCore::RenderObjectChildList::removeChildNode):
    40153         (WebCore::RenderObjectChildList::appendChildNode):
    40154         (WebCore::RenderObjectChildList::insertChildNode):
    40155         (WebCore::RenderObjectChildList::updateBeforeAfterContent):
    40156         * rendering/RenderQuote.cpp: Removed.
    40157         * rendering/RenderQuote.h: Removed.
    40158         * rendering/RenderingAllInOne.cpp:
    40159         * rendering/style/ContentData.cpp:
    40160         (WebCore::ContentData::dataEquivalent):
    40161         (WebCore::ContentData::deleteContent):
    40162         * rendering/style/ContentData.h:
    40163         * rendering/style/QuotesData.cpp: Removed.
    40164         * rendering/style/QuotesData.h: Removed.
    40165         * rendering/style/RenderStyle.cpp:
    40166         * rendering/style/RenderStyle.h:
    40167         * rendering/style/RenderStyleConstants.h:
    40168         * rendering/style/StyleAllInOne.cpp:
    40169         * rendering/style/StyleRareInheritedData.cpp:
    40170         (WebCore::StyleRareInheritedData::operator==):
    40171         * rendering/style/StyleRareInheritedData.h:
    40172 
    40173 2011-03-01  Abhishek Arya  <inferno@chromium.org>
    40174 
    40175         Reviewed by Dave Hyatt.
    40176 
    40177         Paint outline for tables.
    40178         https://bugs.webkit.org/show_bug.cgi?id=55474
    40179 
    40180         Test: fast/table/table-and-parts-outline.html
    40181 
    40182         * rendering/RenderTable.cpp:
    40183         (WebCore::RenderTable::paintObject):
    40184 
    40185 2011-03-01  Sheriff Bot  <webkit.review.bot@gmail.com>
    40186 
    40187         Unreviewed, rolling out r80028.
    40188         http://trac.webkit.org/changeset/80028
    40189         https://bugs.webkit.org/show_bug.cgi?id=55502
    40190 
    40191         'caused crashes; rolling out while investigating' (Requested
    40192         by jorlow on #webkit).
    40193 
    40194         * dom/EventQueue.cpp:
    40195         (WebCore::EventQueue::enqueueEvent):
    40196         (WebCore::EventQueue::pendingEventTimerFired):
    40197         (WebCore::EventQueue::dispatchEvent):
    40198         * dom/EventQueue.h:
    40199         * dom/ExceptionCode.cpp:
    40200         * storage/IDBCursor.cpp:
    40201         (WebCore::IDBCursor::update):
    40202         (WebCore::IDBCursor::deleteFunction):
    40203         * storage/IDBDatabaseException.h:
    40204         * storage/IDBDatabaseException.idl:
    40205         * storage/IDBIndex.cpp:
    40206         (WebCore::IDBIndex::openCursor):
    40207         (WebCore::IDBIndex::openKeyCursor):
    40208         (WebCore::IDBIndex::get):
    40209         (WebCore::IDBIndex::getKey):
    40210         * storage/IDBObjectStore.cpp:
    40211         (WebCore::IDBObjectStore::get):
    40212         (WebCore::IDBObjectStore::add):
    40213         (WebCore::IDBObjectStore::put):
    40214         (WebCore::IDBObjectStore::deleteFunction):
    40215         (WebCore::IDBObjectStore::clear):
    40216         (WebCore::IDBObjectStore::openCursor):
    40217         * storage/IDBRequest.cpp:
    40218         (WebCore::IDBRequest::IDBRequest):
    40219         (WebCore::IDBRequest::~IDBRequest):
    40220         (WebCore::IDBRequest::readyState):
    40221         (WebCore::IDBRequest::dispatchEvent):
    40222         (WebCore::IDBRequest::enqueueEvent):
    40223         (WebCore::IDBRequest::source):
    40224         * storage/IDBRequest.h:
    40225         * storage/IDBTransaction.cpp:
    40226         (WebCore::IDBTransaction::onAbort):
    40227         * storage/IDBTransaction.h:
    40228 
    40229 2011-03-01  Carol Szabo  <carol.szabo@nokia.com>
    40230 
    40231         Reviewed by David Hyatt  <hyatt@apple.com>
    40232 
    40233         content property doesn't support quotes
    40234         https://bugs.webkit.org/show_bug.cgi?id=6503
    40235 
    40236         Added full support for quotes as defined by CSS 2.1.
    40237 
    40238         Tests: fast/css/content/content-quotes-01.html
    40239                fast/css/content/content-quotes-02.html
    40240                fast/css/content/content-quotes-03.html
    40241                fast/css/content/content-quotes-04.html
    40242                fast/css/content/content-quotes-05.html
    40243 
    40244         * Android.mk:
    40245         * CMakeLists.txt:
    40246         * GNUmakefile.am:
    40247         * WebCore.pro:
    40248         * WebCore.vcproj/WebCore.vcproj:
    40249         * WebCore.xcodeproj/project.pbxproj:
    40250         Added RenderQuote.cpp/h and QuotesData.cpp/h to the dependency lists
    40251         * css/CSSParser.cpp:
    40252         (WebCore::CSSParser::parseValue):
    40253         (WebCore::CSSParser::parseQuotes):
    40254         * css/CSSParser.h:
    40255         Added needed stylesheet parsing support for quotes,
    40256         (no-)open-quote and (no-)close-quote
    40257         * css/CSSStyleSelector.cpp:
    40258         (WebCore::CSSStyleSelector::applyProperty):
    40259         Handled setting of the new quotes RenderStyle property and added
    40260         handling of quotes for the content property.
    40261         * css/html.css:
    40262         (q:before):
    40263         (q:after):
    40264         replaced the '"' workaround with open/close-quote
    40265         * rendering/RenderBlockLineLayout.cpp:
    40266         (WebCore::dirtyLineBoxesForRenderer):
    40267         Made RenderQuote behave like RenderCounter.
    40268         Needed to ensure that the Quote text is calculated before layout,
    40269         just as it is for RenderCounter.
    40270         * rendering/RenderObject.h:
    40271         (WebCore::RenderObject::isQuote):
    40272         * rendering/RenderObjectChildList.cpp:
    40273         (WebCore::RenderObjectChildList::removeChildNode):
    40274         (WebCore::RenderObjectChildList::appendChildNode):
    40275         (WebCore::RenderObjectChildList::insertChildNode):
    40276         Handled updating of quote depth when renderers are added and removed
    40277         from the tree.
    40278         (WebCore::RenderObjectChildList::updateBeforeAfterContent):
    40279         * rendering/RenderQuote.cpp: Added.
    40280         (WebCore::adjustDepth):
    40281         (WebCore::RenderQuote::RenderQuote):
    40282         (WebCore::RenderQuote::~RenderQuote):
    40283         (WebCore::RenderQuote::renderName):
    40284         (WebCore::RenderQuote::placeQuote):
    40285         (WebCore::RenderQuote::originalText):
    40286         (WebCore::RenderQuote::computePreferredLogicalWidths):
    40287         (WebCore::RenderQuote::rendererSubtreeAttached):
    40288         (WebCore::RenderQuote::rendererRemovedFromTree):
    40289         (WebCore::RenderQuote::styleDidChange):
    40290         * rendering/RenderQuote.h: Added.
    40291         (WebCore::RenderQuote::isQuote):
    40292         (WebCore::toRenderQuote):
    40293         * rendering/RenderingAllInOne.cpp:
    40294         Included RenderQuote.cpp
    40295         * rendering/style/StyleAllInOne.cpp:
    40296         Included QuotesData.cpp
    40297         * rendering/style/ContentData.cpp:
    40298         (WebCore::ContentData::dataEquivalent):
    40299         Checked for quotetype identity.
    40300         (WebCore::ContentData::deleteContent):
    40301         Accounted for the new QUOTE_TYPE.
    40302         * rendering/style/ContentData.h:
    40303         (WebCore::ContentData::isQuote):
    40304         (WebCore::ContentData::quote):
    40305         (WebCore::ContentData::setQuote):
    40306         * rendering/style/RenderStyle.cpp:
    40307         (WebCore::RenderStyle::setContent):
    40308         * rendering/style/RenderStyle.h:
    40309         (WebCore::InheritedFlags::quotes):
    40310         (WebCore::InheritedFlags::setQuotes):
    40311         * rendering/style/RenderStyleConstants.h:
    40312         * rendering/style/StyleRareInheritedData.cpp:
    40313         (WebCore::StyleRareInheritedData::operator==):
    40314         Included quotes in equality check.
    40315         * rendering/style/StyleRareInheritedData.h:
    40316         Added quotes
    40317 
    40318 2011-03-01  Michael Nordman  <michaeln@google.com>
    40319 
    40320         Reviewed by Alexey Proskuryakov.
    40321 
    40322         Alter the relative priorities of network vs fallback namespaces in the appcache.
    40323         If a resource url is in an appcache's network namespace and fallback namespace, the network
    40324         namespace wins (with the exception of the special '*' network namespace which does not take
    40325         priority over the fallback namespace.
    40326         https://bugs.webkit.org/show_bug.cgi?id=49292
    40327 
    40328         Test: http/tests/appcache/online-fallback-layering.html
    40329 
    40330         * loader/appcache/ApplicationCache.cpp:
    40331         (WebCore::ApplicationCache::isURLInOnlineWhitelist):
    40332         * loader/appcache/ApplicationCacheHost.cpp:
    40333         (WebCore::ApplicationCacheHost::shouldLoadResourceFromApplicationCache):
    40334         (WebCore::ApplicationCacheHost::getApplicationCacheFallbackResource):
    40335         * loader/appcache/ApplicationCacheStorage.cpp:
    40336         (WebCore::ApplicationCacheStorage::fallbackCacheGroupForURL):
    40337 
    40338 2011-03-01  Patrick Gansterer  <paroga@webkit.org>
    40339 
    40340         Reviewed by Adam Roben.
    40341 
    40342         Add a handler class for Win32 HANDLE
    40343         https://bugs.webkit.org/show_bug.cgi?id=55334
    40344 
    40345         This class will call CloseHandle in the destructor for valid handles.
    40346 
    40347         * platform/win/Win32Handle.h: Added.
    40348 
    40349 2011-03-01  Eric Carlson  <eric.carlson@apple.com>
    40350 
    40351         Reviewed by Chris Marrin.
    40352 
    40353         <audio> and <video> should respect private browsing mode
    40354         https://bugs.webkit.org/show_bug.cgi?id=55287
    40355         <rdar://problem/9057699>
    40356 
    40357         No new tests, this is just the plumbing.
    40358 
    40359         * dom/Document.cpp:
    40360         (WebCore::Document::privateBrowsingStateDidChange): New.
    40361         (WebCore::Document::registerForPrivateBrowsingStateChangedCallbacks): Ditto.
    40362         (WebCore::Document::unregisterForPrivateBrowsingStateChangedCallbacks): Ditto.
    40363         * dom/Document.h:
    40364 
    40365         * dom/Element.h:
    40366         (WebCore::Element::privateBrowsingStateDidChange): New.
    40367 
    40368         * html/HTMLMediaElement.cpp:
    40369         (WebCore::HTMLMediaElement::HTMLMediaElement): Register for privacy mode changes.
    40370         (WebCore::HTMLMediaElement::~HTMLMediaElement): Unregister for privacy mode changes.
    40371         (WebCore::HTMLMediaElement::loadResource): Tell player current privacy mode.
    40372         (WebCore::HTMLMediaElement::privateBrowsingStateDidChange):  New, call through to MediaPlayer.
    40373         * html/HTMLMediaElement.h:
    40374 
    40375         * page/Page.cpp:
    40376         (WebCore::Page::privateBrowsingStateChanged): Call document()->privateBrowsingStateDidChange.
    40377 
    40378         * platform/graphics/MediaPlayer.cpp:
    40379         (WebCore::MediaPlayer::setPrivateBrowsingMode): New, call through to media engine.
    40380         * platform/graphics/MediaPlayer.h:
    40381 
    40382         * platform/graphics/MediaPlayerPrivate.h:
    40383         (WebCore::MediaPlayerPrivateInterface::setPrivateBrowsingMode):  Declare new interface.
    40384 
    40385 2011-03-01  Jeremy Orlow  <jorlow@chromium.org>
    40386 
    40387         Reviewed by Steve Block.
    40388 
    40389         When an IDBTransaction is aborted, all requests that have not yet fired should fire an ABORT_ERR
    40390         https://bugs.webkit.org/show_bug.cgi?id=54785
    40391 
    40392         This patch adds in a lot of sanity checks/ASSERTs to make sure we're doing
    40393         the right thing and continue to do the right thing. It also modifies EventQueue
    40394         so that we can cancel an event. To do this efficiently, the vector is now a
    40395         ListHashSet.
    40396 
    40397         Canelling the event is harder/messier, but the most deterministic thing to do.
    40398         To the user, the work isn't done until we fire the onsuccess/onerror handler.
    40399         So the event (which does fire that) needs to be cancelable.
    40400 
    40401         transaction-abort.html tests this.
    40402 
    40403         * dom/EventQueue.cpp:
    40404         (WebCore::EventQueue::enqueueEvent):
    40405         (WebCore::EventQueue::cancelEvent):
    40406         (WebCore::EventQueue::pendingEventTimerFired):
    40407         (WebCore::EventQueue::dispatchEvent):
    40408         * dom/EventQueue.h:
    40409         * dom/ExceptionCode.cpp:
    40410         * storage/IDBCursor.cpp:
    40411         (WebCore::IDBCursor::update):
    40412         (WebCore::IDBCursor::deleteFunction):
    40413         * storage/IDBDatabaseBackendImpl.cpp:
    40414         (WebCore::IDBDatabaseBackendImpl::close):
    40415         * storage/IDBDatabaseException.h:
    40416         * storage/IDBIndex.cpp:
    40417         (WebCore::IDBIndex::openCursor):
    40418         (WebCore::IDBIndex::openKeyCursor):
    40419         (WebCore::IDBIndex::get):
    40420         (WebCore::IDBIndex::getKey):
    40421         * storage/IDBObjectStore.cpp:
    40422         (WebCore::IDBObjectStore::get):
    40423         (WebCore::IDBObjectStore::add):
    40424         (WebCore::IDBObjectStore::put):
    40425         (WebCore::IDBObjectStore::deleteFunction):
    40426         (WebCore::IDBObjectStore::clear):
    40427         (WebCore::IDBObjectStore::openCursor):
    40428         * storage/IDBRequest.cpp:
    40429         (WebCore::IDBRequest::IDBRequest):
    40430         (WebCore::IDBRequest::~IDBRequest):
    40431         (WebCore::IDBRequest::readyState):
    40432         (WebCore::IDBRequest::markEarlyDeath):
    40433         (WebCore::IDBRequest::source):
    40434         (WebCore::IDBRequest::abort):
    40435         (WebCore::IDBRequest::onSuccess):
    40436         (WebCore::IDBRequest::dispatchEvent):
    40437         (WebCore::IDBRequest::enqueueEvent):
    40438         * storage/IDBRequest.h:
    40439         * storage/IDBTransaction.cpp:
    40440         (WebCore::IDBTransaction::registerRequest):
    40441         (WebCore::IDBTransaction::unregisterRequest):
    40442         (WebCore::IDBTransaction::onAbort):
    40443         * storage/IDBTransaction.h:
    40444 
    40445 2011-03-01  Jeremy Orlow  <jorlow@chromium.org>
    40446 
    40447         Reviewed by Steve Block.
    40448 
    40449         Only IndexedDB's error event should be cancelable
    40450         https://bugs.webkit.org/show_bug.cgi?id=55413
    40451 
    40452         * storage/IDBRequest.cpp:
    40453         (WebCore::createSuccessEvent):
    40454         * storage/IDBTransaction.cpp:
    40455         (WebCore::IDBTransaction::onAbort):
    40456         (WebCore::IDBTransaction::onComplete):
    40457 
    40458 2011-03-01  Jia Pu  <jpu@apple.com>
    40459 
    40460         Reviewed by Darin Adler.
    40461 
    40462         Remove CorrectionIndicator markers sooner.
    40463         https://bugs.webkit.org/show_bug.cgi?id=54893
    40464         <rdar://problem/8997524>
    40465 
    40466         Test: platform/mac/editing/spelling/removing-underline-after-accepting-autocorrection-using-punctuation.html
    40467 
    40468         This patch changes the autocorrection behavior on Mac OS X. We want to remove CorrectionIndicator
    40469         marker after any editing command if the command:
    40470         1. is not a SpellingCorrectionCommand itself.
    40471         2. is not the command that triggers the autocorrection.
    40472         This is achieved by adding shouldRetainAutocorrectionIndicator() function to EditCommand. This function returns
    40473         false for all commands derived from EditCommand, except SpellingCorrectionCommand and TypingCommand. This function
    40474         always returns true for SpellingCorrectionCommand. For TypingCommand, the return value is determined by member
    40475         variable m_shouldRetainAutocorrectionIndicator, which can be modified by passing option into the TypingCommand's
    40476         public functions.
    40477        
    40478         To avoid constantly searching marker list, we use variable DocumentMarkerController::m_absentMarkerTypeCache
    40479         to cache whether there is any marker of a particular type.
    40480 
    40481         This patch also fixes two minor existing bugs.
    40482        
    40483         1. We used to show reversion panel for word with CorrectionIndicator marker. This is incorrect because
    40484         CorrectionIndicator marker can be removed from corrected words. Since all autocorrected words have Replacement
    40485         marker unless the whole word is deleted, the correct behavior is to show reversion panel for word with Replacement
    40486         marker, since all autocorrected words have such marker. However, since we don't want to show the reversion panel
    40487         if an autocorrected word has been edited, we also check to see if the Replacement marker's description is null.
    40488        
    40489         This works as following:
    40490         When we apply an autocorrection, we add Replacement marker to corrected word, and store original word
    40491         as the marker's description. If the user edited the corrected word afterward, we set description to null.
    40492         So when we decide whether to show a reversion panel, we not only check for the existence of Replacement
    40493         marker, but also check if description is null.
    40494        
    40495         2. Fixed an assertion violation in Editor::removeSpellAndCorrectionMarkersFromWordsToBeEdited(), which would
    40496         occur when deleting the first character in an editable area.
    40497 
    40498         * dom/DocumentMarker.h: Added m_possiblyExistingMarkerTypes to allow quickly checking whether a marker type is
    40499            completely in from the document.
    40500 
    40501         * dom/DocumentMarkerController.cpp: Most of the functions listed here are optimized for early return by checking
    40502            the return value of possiblyHasMarkers() at beginning.
    40503         (WebCore::DocumentMarkerController::possiblyHasMarkers):
    40504         (WebCore::DocumentMarkerController::DocumentMarkerController):
    40505         (WebCore::DocumentMarkerController::detach):
    40506         (WebCore::DocumentMarkerController::removeMarkers):
    40507         (WebCore::DocumentMarkerController::addMarker):
    40508         (WebCore::DocumentMarkerController::copyMarkers):
    40509         (WebCore::DocumentMarkerController::markerContainingPoint):
    40510         (WebCore::DocumentMarkerController::renderedRectsForMarkers):
    40511         (WebCore::DocumentMarkerController::removeMarkersFromMarkerMapVectorPair):
    40512         (WebCore::DocumentMarkerController::repaintMarkers):
    40513         (WebCore::DocumentMarkerController::shiftMarkers):
    40514         (WebCore::DocumentMarkerController::setMarkersActive):
    40515         (WebCore::DocumentMarkerController::hasMarkers):
    40516         (WebCore::DocumentMarkerController::clearDescriptionOnMarkersIntersectingRange):
    40517         * dom/DocumentMarkerController.h:
    40518         * editing/EditCommand.cpp:
    40519         (WebCore::EditCommand::apply):
    40520         (WebCore::EditCommand::shouldRetainAutocorrectionIndicator):
    40521         (WebCore::EditCommand::setShouldRetainAutocorrectionIndicator):
    40522         * editing/EditCommand.h:
    40523         * editing/Editor.cpp:
    40524         (WebCore::Editor::respondToChangedSelection):
    40525         (WebCore::Editor::appliedEditing):
    40526         (WebCore::Editor::insertTextWithoutSendingTextEvent):
    40527         (WebCore::Editor::insertLineBreak):
    40528         (WebCore::Editor::insertParagraphSeparator):
    40529         (WebCore::Editor::markMisspellingsAfterTypingToWord):
    40530         (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
    40531         (WebCore::Editor::removeSpellAndCorrectionMarkersFromWordsToBeEdited):
    40532         (WebCore::Editor::applyAutocorrectionBeforeTypingIfAppropriate):
    40533         * editing/Editor.h:
    40534         * editing/EditorCommand.cpp:
    40535         (WebCore::executeInsertLineBreak):
    40536         (WebCore::executeInsertParagraph):
    40537         (WebCore::executeInsertText):
    40538         * editing/SpellingCorrectionCommand.cpp:
    40539         (WebCore::SpellingCorrectionCommand::shouldRetainAutocorrectionIndicator):
    40540         * editing/SpellingCorrectionCommand.h:
    40541         * editing/TypingCommand.cpp:
    40542         (WebCore::TypingCommand::TypingCommand):
    40543         (WebCore::TypingCommand::deleteSelection):
    40544         (WebCore::TypingCommand::deleteKeyPressed):
    40545         (WebCore::TypingCommand::forwardDeleteKeyPressed):
    40546         (WebCore::TypingCommand::updateSelectionIfDifferentFromCurrentSelection):
    40547         (WebCore::TypingCommand::insertText):
    40548         (WebCore::TypingCommand::insertLineBreak):
    40549         (WebCore::TypingCommand::insertParagraphSeparatorInQuotedContent):
    40550         (WebCore::TypingCommand::insertParagraphSeparator):
    40551         * editing/TypingCommand.h:
    40552         (WebCore::TypingCommand::create):
    40553         (WebCore::TypingCommand::shouldRetainAutocorrectionIndicator):
    40554         (WebCore::TypingCommand::setShouldRetainAutocorrectionIndicator):
    40555         * manual-tests/autocorrection/type-whitespace-to-dismiss-reversion.html:
    40556 
    40557 2011-03-01  Renata Hodovan  <reni@webkit.org>
    40558 
    40559         Reviewed by Andreas Kling.
    40560 
    40561         FEDisplacementMapElement changes doesn't require relayout
    40562         https://bugs.webkit.org/show_bug.cgi?id=55454
    40563 
    40564         When the FEDisplacementMapElement receives an update message but the given value remains the same we don't need
    40565         to relayout the filter.
    40566 
    40567         No new tests are needed because this modification is covered by the dynamic update tests of FEDisplacementMap.
    40568 
    40569         * platform/graphics/filters/FEDisplacementMap.cpp:
    40570         (WebCore::FEDisplacementMap::setXChannelSelector):
    40571         (WebCore::FEDisplacementMap::setYChannelSelector):
    40572         (WebCore::FEDisplacementMap::setScale):
    40573         * platform/graphics/filters/FEDisplacementMap.h:
    40574         * svg/SVGFEDisplacementMapElement.cpp:
    40575         (WebCore::SVGFEDisplacementMapElement::setFilterEffectAttribute):
    40576         (WebCore::SVGFEDisplacementMapElement::svgAttributeChanged):
    40577         * svg/SVGFEDisplacementMapElement.h:
    40578 
    40579 2011-03-01  Dan Bernstein  <mitz@apple.com>
    40580 
    40581         Reviewed by Darin Adler.
    40582 
    40583         <rdar://problem/8902714> Expand ruby text when it is shorter than the ruby base
    40584         https://bugs.webkit.org/show_bug.cgi?id=55487
    40585 
    40586         * css/html.css:
    40587         (ruby > rt): Changed the default text-align value to -webkit-auto to signal
    40588         the default expansion behavior.
    40589         * rendering/RenderBlock.h:
    40590         (WebCore::RenderRubyText::textAlignmentForLine): Made protected.
    40591         (WebCore::RenderBlock::adjustInlineDirectionLineBounds): Made protected.
    40592         * rendering/RenderRubyText.cpp:
    40593         (WebCore::RenderRubyText::textAlignmentForLine): Added. If text-align is
    40594         -webkit-auto, returns JUSTIFY to allow expansion.
    40595         (WebCore::RenderRubyText::adjustInlineDirectionLineBounds): Added. If
    40596         text-align is -webkit-auto, insets the line such that the inset on each side
    40597         is the half the inter-ideograph expansion, or one ruby character wide,
    40598         whichever is smaller.
    40599         * rendering/RenderRubyText.h:
    40600 
    40601 2011-03-01  Sam Weinig  <sam@webkit.org>
    40602 
    40603         Reviewed by Timothy Hatcher.
    40604 
    40605         WebKit2 needs to be made localizable
    40606         https://bugs.webkit.org/show_bug.cgi?id=55483
    40607 
    40608         * English.lproj/Localizable.strings: Copied from Source/WebKit/English.lproj/Localizable.strings.
    40609         * WebCore.xcodeproj/project.pbxproj:
    40610         Move Localizable.strings to WebCore.
    40611 
    40612         * WebCore.exp.in:
    40613         Add export for localizedString function.
    40614 
    40615         * platform/LocalizedStrings.h:
    40616         * platform/mac/LocalizedStringsMac.mm: Added.
    40617         Add function to get localized version of a string from the WebCore bundle.
    40618 
    40619 2011-03-01  Joseph Pecoraro  <joepeck@webkit.org>
    40620 
    40621         Reviewed by Timothy Hatcher.
    40622 
    40623         All Console Messages should be passed to ChromeClients.
    40624         https://bugs.webkit.org/show_bug.cgi?id=54926
    40625 
    40626         Do not filter the message type here, allow clients
    40627         to filter and deal with the different message types.
    40628 
    40629         * page/Console.cpp:
    40630         (WebCore::Console::addMessage):
    40631 
    40632 2011-02-23  Joseph Pecoraro  <joepeck@webkit.org>
    40633 
    40634         Reviewed by Kenneth Rohde Christiansen.
    40635 
    40636         Viewport parsing no longer accepts "1.0;" value as valid.
    40637         https://bugs.webkit.org/show_bug.cgi?id=53705
    40638 
    40639         When parsing numeric values, the "css-viewport" spec says
    40640         to use the number prefix, and the non numeric part of the
    40641         string can be ignored. This matches our behavior before
    40642         r67376. The change was that checking the error out condition
    40643         of String::toFloat doesn't necessarily mean that there
    40644         was a non-numeric prefix. This patch checks if there was
    40645         or wasn't a non-numeric prefix.
    40646 
    40647         There is a console warning in any case where a numeric
    40648         value is not parsed cleanly. There is an error warning
    40649         when it is not a number at all, and a tip warning when
    40650         it has been truncated.
    40651 
    40652         Error messages are slightly improved to provide more
    40653         context, both the key and value, when an error happens.
    40654 
    40655         Test: fast/viewport/viewport-129.html
    40656 
    40657         * dom/ViewportArguments.cpp:
    40658         (WebCore::numericPrefix):
    40659         (WebCore::findSizeValue):
    40660         (WebCore::findScaleValue):
    40661         (WebCore::findUserScalableValue):
    40662         (WebCore::findTargetDensityDPIValue):
    40663         (WebCore::viewportErrorMessageTemplate):
    40664         (WebCore::viewportErrorMessageLevel):
    40665         (WebCore::reportViewportWarning):
    40666         * dom/ViewportArguments.h:
    40667 
    40668 2011-03-01  Ilya Tikhonovsky  <loislo@chromium.org>
    40669 
    40670         Reviewed by Pavel Feldman.
    40671 
    40672         Web Inspector: InjectedScript.setPropertyValue doesn't work.
    40673         https://bugs.webkit.org/show_bug.cgi?id=55475
    40674 
    40675         * inspector/InjectedScript.cpp:
    40676         (WebCore::InjectedScript::setPropertyValue):
    40677 
    40678 2011-03-01  Steve Block  <steveblock@google.com>
    40679 
    40680         Reviewed by Jeremy Orlow.
    40681 
    40682         Remove unused JavaString::uchars()
    40683         https://bugs.webkit.org/show_bug.cgi?id=55465
    40684 
    40685         No new tests, removing dead code only.
    40686 
    40687         * bridge/jni/JNIBridge.h:
    40688         * bridge/jni/jsc/JavaStringJSC.h:
    40689         (JSC::Bindings::JavaStringImpl::utf8):
    40690         * bridge/jni/v8/JavaStringV8.h:
    40691 
    40692 2011-03-01  Alexander Pavlov  <apavlov@chromium.org>
    40693 
    40694         Reviewed by Yury Semikhatsky.
    40695 
    40696         Web Inspector: Extremely slow DOM search in GMail
    40697         https://bugs.webkit.org/show_bug.cgi?id=55456
    40698 
    40699         The solution comprises three major parts:
    40700         - avoid multiple invocations of highlightSearchResults(), one per each nodeIds chunk.
    40701         - cache highlighted node's innerHTML so that no extra _nodeTitleInfo() calls will be needed.
    40702         - replace hand-written Text nodes iteration with a snapshot-based ".//text()" XPathResult.
    40703 
    40704         * inspector/front-end/ElementsPanel.js:
    40705         (WebInspector.ElementsPanel.prototype.searchCanceled):
    40706         (WebInspector.ElementsPanel.prototype.addNodesToSearchResult):
    40707         * inspector/front-end/ElementsTreeOutline.js:
    40708         (WebInspector.ElementsTreeElement.prototype.highlightSearchResults):
    40709         (WebInspector.ElementsTreeElement.prototype.updateTitle):
    40710         ():
    40711         * inspector/front-end/utilities.js:
    40712         ():
    40713 
    40714 2011-03-01  Adam Roben  <aroben@apple.com>
    40715 
    40716         Fix multiple-definition linker warnings introduced by r79978 on Windows
    40717 
    40718         * rendering/RenderingAllInOne.cpp: Removed TextControlInnerElements.cpp, as it is now being
    40719         compiled separately.
    40720 
    40721 2011-03-01  Andras Becsi  <abecsi@webkit.org>
    40722 
    40723         Reviewed by Csaba Osztrogonác.
    40724 
    40725         [Qt] Clean up the project files and move common options to WebKit.pri.
    40726 
    40727         No new tests needed.
    40728 
    40729         * WebCore.pri: Move common options to WebKit.pri.
    40730         * WebCore.pro: Ditto.
    40731 
    40732 2011-03-01  Steve Block  <steveblock@google.com>
    40733 
    40734         Reviewed by Pavel Feldman.
    40735 
    40736         JNI code in Java bridge is not correctly guarded
    40737         https://bugs.webkit.org/show_bug.cgi?id=55459
    40738 
    40739         No new tests, build fix only.
    40740 
    40741         * bridge/jni/v8/JNIBridgeV8.cpp:
    40742         * bridge/jni/v8/JNIBridgeV8.h:
    40743         * bridge/jni/v8/JNIUtilityPrivate.cpp:
    40744         * bridge/jni/v8/JNIUtilityPrivate.h:
    40745         * bridge/jni/v8/JavaClassV8.cpp:
    40746         * bridge/jni/v8/JavaClassV8.h:
    40747         * bridge/jni/v8/JavaInstanceV8.cpp:
    40748         * bridge/jni/v8/JavaInstanceV8.h:
    40749         * bridge/jni/v8/JavaNPObjectV8.cpp:
    40750         * bridge/jni/v8/JavaNPObjectV8.h:
    40751 
    40752 2011-03-01  Steve Block  <steveblock@google.com>
    40753 
    40754         Reviewed by Jeremy Orlow.
    40755 
    40756         Bridge.h should not include BridgeJSC.h
    40757         https://bugs.webkit.org/show_bug.cgi?id=55212
    40758 
    40759         Instead, BridgeJSC.h should include Bridge.h and code should include
    40760         BridgeJSC.h as appropriate.
    40761 
    40762         This prevents ports that use V8 from having to include JSC-specific
    40763         files, even if the contents of those files are guarded.
    40764 
    40765         No new tests, cleanup only.
    40766 
    40767         * bindings/js/JSPluginElementFunctions.cpp:
    40768         * bindings/js/ScriptControllerBrew.cpp:
    40769         * bindings/js/ScriptControllerGtk.cpp:
    40770         * bindings/js/ScriptControllerHaiku.cpp:
    40771         * bindings/js/ScriptControllerQt.cpp:
    40772         * bindings/js/ScriptControllerMac.mm:
    40773         * bindings/js/ScriptControllerWin.cpp:
    40774         * bindings/js/ScriptControllerWx.cpp:
    40775         * bindings/js/ScriptInstance.h:
    40776         * bindings/objc/WebScriptObject.mm:
    40777         * bridge/Bridge.h:
    40778         * bridge/c/c_class.h:
    40779         * bridge/c/c_instance.h:
    40780         * bridge/c/c_runtime.h:
    40781         * bridge/jni/jsc/JNIBridgeJSC.h:
    40782         * bridge/jni/jsc/JavaInstanceJSC.h:
    40783         * bridge/jsc/BridgeJSC.h:
    40784         * bridge/objc/objc_runtime.h:
    40785         * bridge/qt/qt_class.h:
    40786         * bridge/qt/qt_instance.h:
    40787         * bridge/qt/qt_pixmapruntime.h:
    40788         * bridge/qt/qt_runtime.h:
    40789         * bridge/runtime_array.h:
    40790         * bridge/runtime_method.h:
    40791         * bridge/runtime_object.h:
    40792         * bridge/runtime_root.cpp:
    40793         * bridge/testbindings.cpp:
    40794         * bridge/testbindings.mm:
    40795         * bridge/testqtbindings.cpp:
    40796         * page/win/FrameWin.cpp:
    40797         * platform/graphics/wince/MediaPlayerProxy.cpp:
    40798         * plugins/PluginView.cpp:
    40799         * plugins/PluginViewNone.cpp:
    40800         * plugins/gtk/PluginViewGtk.cpp:
    40801         * plugins/mac/PluginViewMac.mm:
    40802         * plugins/qt/PluginViewQt.cpp:
    40803         * plugins/symbian/PluginViewSymbian.cpp:
    40804         * plugins/win/PluginViewWin.cpp:
    40805 
    40806 2011-03-01  Nikolas Zimmermann  <nzimmermann@rim.com>
    40807 
    40808         Reviewed by Antti Koivisto.
    40809 
    40810         SVG 1.1 2nd Edition color-prop-05-t.svg exposes bug in 'currentColor' handling
    40811         https://bugs.webkit.org/show_bug.cgi?id=54800
    40812 
    40813         Wrong handling of currentColor on inherit
    40814         https://bugs.webkit.org/show_bug.cgi?id=38102
    40815 
    40816         Stop storing RefPtr<SVGPaint> objects in the SVGRenderStyle for fill/stroke. These are the last
    40817         two objects that held references to CSSValues, they're all gone now, aligning better with RenderStyle.
    40818         It's also dangerous, as a SVGPaint object can be shared by multiple SVGRenderStyles (MappedAttribute will
    40819         once create a CSSStyleDeclaration for fill="red" and reuse it where possible), and it was easy to
    40820         accidently mutate the object, affecting multiple styles. Instead store a Color, an URI and a paint
    40821         type in SVGRenderStyle, enough to create a SVGPaint object, if needed (eg for computed styles).
    40822 
    40823         <g color="green"><rect fill="currentColor"/> already worked fine in trunk, but
    40824         <g fill="currentColor" color="green"><rect color="red"/> procuded a red rectangle.
    40825 
    40826         In order to fix to bug we have to resolve all currentColor values for SVGPaint objects, in SVGCSSStyleSelector,
    40827         as it's already done for SVGColor objects (stop-color, flood-color, etc.) instead of in RenderSVGResource::fill/strokePaintingResource,
    40828         when trying to use the paint server. The correct "color" value that should be used from the RenderStyle, is directly
    40829         available in CSSStyleSelector: in applyProperty m_style->color() gives the desired value. In CSSStyleSelector it's handled
    40830         exactly this way for non-SVG currentColor properties. Also fix computed styles, which did not resolve currentColor for SVGPaint/SVGColor.
    40831 
    40832         A previous patch implemented the SVGPaint/SVGColor API. SVG demands these CSSValues to be mutable. Introduce
    40833         CSSMutableValue, which extends CSSValue by a Node pointer, and let SVGPaint/SVGColor inherit from it.
    40834         Mutating a SVGPaint/SVGColor object now takes immediate effect, which is reflected in the inline style / computed style.
    40835         (Note that getPresentationAttribute() already takes care of removing the CSSValue from the mapped attribute cache, so that it's no longer shared.)
    40836 
    40837         Add several new tests covering the patch.
    40838 
    40839         Tests: svg/W3C-SVG-1.1-SE/color-prop-05-t.svg
    40840                svg/animations/animate-color-fill-currentColor.html
    40841                svg/custom/SVGPaint-mutate-attribute.svg
    40842                svg/custom/SVGPaint-mutate-inline-style.svg
    40843 
    40844         * GNUMakefile.am: Add CSSMutableValue.h
    40845         * WebCore.gypi: Ditto.
    40846         * WebCore.xcodeproj/project.pbxproj: Ditto.
    40847         * css/CSSMutableStyleDeclaration.cpp: Reset the Node pointer in all CSSMutableValues belonging to this style declaration.
    40848         (WebCore::CSSMutableStyleDeclaration::~CSSMutableStyleDeclaration):
    40849         * css/CSSMutableStyleDeclaration.h: Add destructor.
    40850         * css/CSSMutableValue.h: Added.
    40851         (WebCore::CSSMutableValue::CSSMutableValue):
    40852         (WebCore::CSSMutableValue::~CSSMutableValue):
    40853         (WebCore::CSSMutableValue::isMutableValue):
    40854         (WebCore::CSSMutableValue::node):
    40855         (WebCore::CSSMutableValue::setNode):
    40856         (WebCore::CSSMutableValue::setNeedsStyleRecalc):
    40857         * css/CSSStyleDeclaration.cpp:
    40858         (WebCore::CSSStyleDeclaration::getPropertyCSSValue): Set the Node object of a CSSMutableValue to the Node, this style declaration belongs to.
    40859         * css/CSSValue.h:
    40860         (WebCore::CSSValue::isMutableValue): Return false, default.
    40861         * css/SVGCSSComputedStyleDeclaration.cpp:
    40862         (WebCore::CSSComputedStyleDeclaration::adjustSVGPaintForCurrentColor): Add helper function, resolving currentColor values for SVGPaint objects.
    40863         (WebCore::CSSComputedStyleDeclaration::getSVGPropertyCSSValue): Use currentColorOrValidColor/adjustSVGPaintForCurrentColor to resolve SVGColor/SVGPaint values.
    40864         * css/SVGCSSStyleSelector.cpp:
    40865         (WebCore::CSSStyleSelector::applySVGProperty): Store fill/stroke uri, color, paint type seperated in SVGRenderStyle, don't store the full SVGPaint object anymore.
    40866         * rendering/style/SVGRenderStyle.cpp:
    40867         (WebCore::SVGRenderStyle::diff): Adapt to SVGPaint changes.
    40868         * rendering/style/SVGRenderStyle.h: Ditto.
    40869         (WebCore::SVGRenderStyle::initialFillOpacity):
    40870         (WebCore::SVGRenderStyle::initialFillPaintType):
    40871         (WebCore::SVGRenderStyle::initialFillPaintColor):
    40872         (WebCore::SVGRenderStyle::initialFillPaintUri):
    40873         (WebCore::SVGRenderStyle::initialStrokeOpacity):
    40874         (WebCore::SVGRenderStyle::initialStrokePaintType):
    40875         (WebCore::SVGRenderStyle::initialStrokePaintColor):
    40876         (WebCore::SVGRenderStyle::initialStrokePaintUri):
    40877         (WebCore::SVGRenderStyle::initialStrokeMiterLimit):
    40878         (WebCore::SVGRenderStyle::initialStopOpacity):
    40879         (WebCore::SVGRenderStyle::initialFloodOpacity):
    40880         (WebCore::SVGRenderStyle::setFillPaint):
    40881         (WebCore::SVGRenderStyle::setStrokePaint):
    40882         (WebCore::SVGRenderStyle::fillPaintType):
    40883         (WebCore::SVGRenderStyle::fillPaintColor):
    40884         (WebCore::SVGRenderStyle::fillPaintUri):
    40885         (WebCore::SVGRenderStyle::strokePaintType):
    40886         (WebCore::SVGRenderStyle::strokePaintColor):
    40887         (WebCore::SVGRenderStyle::strokePaintUri):
    40888         (WebCore::SVGRenderStyle::hasStroke):
    40889         (WebCore::SVGRenderStyle::hasFill):
    40890         * rendering/style/SVGRenderStyleDefs.cpp: Ditto.
    40891         (WebCore::StyleFillData::StyleFillData):
    40892         (WebCore::StyleFillData::operator==):
    40893         (WebCore::StyleStrokeData::StyleStrokeData):
    40894         (WebCore::StyleStrokeData::operator==):
    40895         * rendering/style/SVGRenderStyleDefs.h: Ditto.
    40896         * rendering/svg/RenderSVGResource.cpp: Ditto.
    40897         (WebCore::requestPaintingResource):
    40898         * rendering/svg/RenderSVGResourceClipper.cpp: Ditto.
    40899         (WebCore::RenderSVGResourceClipper::drawContentIntoMaskImage):
    40900         * rendering/svg/SVGResources.cpp: Ditto.
    40901         (WebCore::paintingResourceFromSVGPaint):
    40902         (WebCore::SVGResources::buildCachedResources):
    40903         * svg/SVGColor.cpp: Call setNeedsStyleRecalc() after mutating the object.
    40904         (WebCore::SVGColor::setRGBColor):
    40905         (WebCore::SVGColor::setRGBColorICCColor):
    40906         (WebCore::SVGColor::setColor):
    40907         * svg/SVGColor.h:
    40908         * svg/SVGPaint.cpp: Ditto.
    40909         (WebCore::SVGPaint::setUri):
    40910         (WebCore::SVGPaint::setPaint):
    40911         * svg/SVGPaint.h:
    40912 
    40913 2011-03-01  Andrey Adaikin  <aandrey@google.com>
    40914 
    40915         Reviewed by Pavel Feldman.
    40916 
    40917         Web Inspector: [Text editor] Handle decorated lines in the editor
    40918         https://bugs.webkit.org/show_bug.cgi?id=55373
    40919 
    40920         * inspector/front-end/SourceFrame.js:
    40921         (WebInspector.SourceFrame.prototype._startEditing):
    40922         (WebInspector.SourceFrame.prototype._endEditing):
    40923         (WebInspector.SourceFrame.prototype._createTextViewer):
    40924         * inspector/front-end/TextViewer.js:
    40925         (WebInspector.TextEditorGutterPanel.prototype.textChanged):
    40926         (WebInspector.TextEditorGutterChunk.prototype.addDecoration):
    40927         (WebInspector.TextEditorGutterChunk.prototype.removeDecoration):
    40928         (WebInspector.TextEditorMainPanel.prototype.set readOnly):
    40929         (WebInspector.TextEditorMainPanel.prototype._handleDOMUpdates):
    40930         (WebInspector.TextEditorMainPanel.prototype._handleDOMSubtreeModified):
    40931         (WebInspector.TextEditorMainPanel.prototype._markDirtyLines):
    40932         (WebInspector.TextEditorMainPanel.prototype._applyDomUpdates):
    40933         (WebInspector.TextEditorMainPanel.prototype._removeDecorationsInRange):
    40934         (WebInspector.TextEditorMainPanel.prototype._updateChunksForRanges):
    40935         (WebInspector.TextEditorMainPanel.prototype._collectLinesFromDiv):
    40936         (WebInspector.TextEditorMainChunk.prototype.addDecoration):
    40937         (WebInspector.TextEditorMainChunk.prototype.removeDecoration):
    40938         (WebInspector.TextEditorMainChunk.prototype.removeAllDecorations):
    40939         (WebInspector.TextEditorMainChunk.prototype.get decorated):
    40940 
    40941 2011-03-01  Philippe Normand  <pnormand@igalia.com>
    40942 
    40943         Unreviewed GTK build fix after r79978
    40944 
    40945         * GNUmakefile.am:
    40946 
    40947 2011-03-01  Andras Becsi  <abecsi@webkit.org>
    40948 
    40949         Unreviewed build fix.
    40950 
    40951         [Qt] Fix minimal build.
    40952 
    40953         No new tests needed.
    40954 
    40955         * WebCore.pri: Is included in WebKit2.pro, so XP_UNIX can remain here.
    40956 
    40957 2011-03-01  anthony taranto  <anthony.taranto@gmail.com>
    40958 
    40959         Return undefined value from ScriptController::evaluate(), allowing the
    40960         caller to distinguish between an error and an undefined return value.
    40961         https://bugs.webkit.org/show_bug.cgi?id=51528
    40962 
    40963         * bindings/v8/ScriptController.cpp:
    40964 
    40965 2011-03-01  Roland Steiner  <rolandsteiner@chromium.org>
    40966 
    40967         Reviewed by Kent Tamura.
    40968 
    40969         Bug 54853 - Move TextControlInnerElements from WebCore/rendering to WebCore/html/shadow
    40970         https://bugs.webkit.org/show_bug.cgi?id=54853
    40971        
    40972         Moving the files from rendering to html/shadow, with the exception of
    40973         the class RenderTextControlInnerBlock, which I moved to RenderTextControlSingleLine
    40974         (this place is not ideal, but only a temporary state during the larger refactoring
    40975         for <input>).
    40976 
    40977         No new tests. (refactoring)
    40978 
    40979         * Android.mk:
    40980         * CMakeLists.txt:
    40981         * WebCore.gypi:
    40982         * WebCore.pro:
    40983         * WebCore.vcproj/WebCore.vcproj:
    40984         * WebCore.xcodeproj/project.pbxproj:
    40985         * html/shadow/TextControlInnerElements.cpp: Copied from Source/WebCore/rendering/TextControlInnerElements.cpp.
    40986         * html/shadow/TextControlInnerElements.h: Copied from Source/WebCore/rendering/TextControlInnerElements.h.
    40987         * rendering/RenderTextControlSingleLine.cpp:
    40988         (WebCore::RenderTextControlInnerBlock::positionForPoint):
    40989         * rendering/RenderTextControlSingleLine.h:
    40990         (WebCore::RenderTextControlInnerBlock::RenderTextControlInnerBlock):
    40991         (WebCore::RenderTextControlInnerBlock::hasLineIfEmpty):
    40992         * rendering/TextControlInnerElements.cpp: Removed.
    40993         * rendering/TextControlInnerElements.h: Removed.
    40994 
    40995 2011-03-01  Ryosuke Niwa  <rniwa@webkit.org>
    40996 
    40997         Reviewed by Tony Chang.
    40998 
    40999         applyInlineStyleToPushDown and removeInlineStyleFromElement should take EditingStyle
    41000         https://bugs.webkit.org/show_bug.cgi?id=55338
    41001 
    41002         Deployed EditingStyle in applyInlineStyleToPushDown and removeInlineStyleFromElement.
    41003 
    41004         Also added a convenience function EditingStyle::setProperty, which lazily instantiates
    41005         new CSSMutableStyleDeclaration for m_mutableStyle.
    41006 
    41007         * editing/ApplyStyleCommand.cpp:
    41008         (WebCore::ApplyStyleCommand::removeInlineStyleFromElement): Takes EditingStyle*.
    41009         (WebCore::ApplyStyleCommand::removeImplicitlyStyledElement): Ditto.
    41010         (WebCore::ApplyStyleCommand::removeCSSStyle): Ditto.
    41011         (WebCore::ApplyStyleCommand::pushDownInlineStyleAroundNode): Calls the above three functions.
    41012         (WebCore::ApplyStyleCommand::removeInlineStyle): Calls pushDownInlineStyleAroundNode.
    41013         * editing/ApplyStyleCommand.h:
    41014         * editing/EditingStyle.cpp:
    41015         (WebCore::HTMLElementEquivalent::addToStyle): Takes EditingStyle*; calls EditingStyle::setProperty.
    41016         (WebCore::HTMLAttributeEquivalent::addToStyle): Ditto.
    41017         (WebCore::EditingStyle::setProperty): Added.  This member function lazily instantiates
    41018         new CSSMutableStyleDeclaration for m_mutableStyle.
    41019         (WebCore::EditingStyle::conflictsWithInlineStyleOfElement): Takes EditingStyle*.
    41020         (WebCore::EditingStyle::conflictsWithImplicitStyleOfElement): Ditto.
    41021         (WebCore::EditingStyle::extractConflictingImplicitStyleOfAttributes): Ditto.
    41022         * editing/EditingStyle.h: Added HTMLElementEquivalent and HTMLAttributeEquivalent as friends.
    41023         (WebCore::EditingStyle::conflictsWithInlineStyleOfElement): Ditto.
    41024         * editing/InsertTextCommand.cpp: Removed unnecessary includes.
    41025         * editing/RemoveCSSPropertyCommand.h: Ditto.
    41026 
    41027 2011-02-28  Pavel Feldman  <pfeldman@chromium.org>
    41028 
    41029         Not reviewed: chromium rebuilds XMLViewer after noop. Fixed gyp file.
    41030 
    41031         * WebCore.gyp/WebCore.gyp:
    41032 
    41033 2011-02-28  David Levin  <levin@chromium.org>
    41034 
    41035         Reviewed by Darin Adler.
    41036 
    41037         KURL should expose a referrer property.
    41038         https://bugs.webkit.org/show_bug.cgi?id=55415
    41039 
    41040         No change in functionality so no new tests.
    41041 
    41042         * loader/FrameLoader.cpp:
    41043         (WebCore::FrameLoader::setOutgoingReferrer): Refactor to put the majority
    41044         of functionality in KURL::strippedForUseAsReferrer() so that this code can
    41045         be more easily reused.
    41046         * platform/KURL.cpp:
    41047         (WebCore::KURL::strippedForUseAsReferrer): Converts the url to a string
    41048         which is suitable for use as a referrer.
    41049         * platform/KURL.h:
    41050 
    41051 2011-02-28  Chang Shu  <cshu@webkit.org>
    41052 
    41053         Reviewed by Ryosuke Niwa.
    41054 
    41055         Remove the support of Frame::isContentEditable and its dependencies.
    41056         https://bugs.webkit.org/show_bug.cgi?id=54292
    41057 
    41058         Frame::isContentEditable is currently based on two things: Editor::clientIsEditable and
    41059         Document::inDesignMode. In fact, it should only rely on Document::inDesignMode. As a result,
    41060         Editor::clientIsEditable and its client-side implementation can be removed.
    41061 
    41062         * WebCore.exp.in:
    41063         * accessibility/AccessibilityRenderObject.cpp:
    41064         (WebCore::AccessibilityRenderObject::isReadOnly):
    41065         * editing/Editor.cpp:
    41066         * editing/Editor.h:
    41067         * editing/SelectionController.cpp:
    41068         (WebCore::SelectionController::setSelectionFromNone):
    41069         * html/HTMLElement.cpp:
    41070         (WebCore::HTMLElement::isContentEditable):
    41071         (WebCore::HTMLElement::isContentRichlyEditable):
    41072         * page/DragController.cpp:
    41073         (WebCore::DragController::operationForLoad):
    41074         * page/EditorClient.h:
    41075         * page/Frame.cpp:
    41076         * page/Frame.h:
    41077 
    41078 2011-02-28  Kent Tamura  <tkent@chromium.org>
    41079 
    41080         Reviewed by Darin Adler.
    41081 
    41082         Number type input cannot be set to empty string if it has an initial value
    41083         https://bugs.webkit.org/show_bug.cgi?id=53744
    41084 
    41085         We need to distinguish null strings and empty strings for
    41086         InputElementData::value. So InputType::sanitizeValue() also needs to
    41087         take care of it.
    41088 
    41089         * dom/InputElement.h: Add a comment to InputElementData::value and
    41090           setValue about null strings.
    41091         * html/InputType.h: Add a comment to sanitizeValue about null strings.
    41092         * html/NumberInputType.cpp:
    41093         (WebCore::NumberInputType::sanitizeValue): Returns a null string if the
    41094           proposed value is a null string. Returning an empty string if the
    41095           proposed value is not a number.
    41096 
    41097 2011-02-28  Kent Tamura  <tkent@chromium.org>
    41098 
    41099         Reviewed by Darin Adler.
    41100 
    41101         Number type input should not handle mouse wheel events if it has no focus.
    41102         https://bugs.webkit.org/show_bug.cgi?id=53638
    41103 
    41104         * html/TextFieldInputType.cpp:
    41105         (WebCore::TextFieldInputType::handleWheelEventForSpinButton): Check focused().
    41106 
    41107 2011-02-28  Noel Gordon  <noel.gordon@gmail.com>
    41108         Reviewed by James Robinson.
    41109 
    41110         [chromium] GradientSkia: use the common Gradient stop sorting methods.
    41111         https://bugs.webkit.org/show_bug.cgi?id=54625
    41112 
    41113         Remove a FIXME: call the Gradient.cpp stop storting routines, no need
    41114         to duplicate that code herein.
    41115 
    41116         No change in behavior, so no new tests.
    41117 
    41118         * platform/graphics/skia/GradientSkia.cpp:
    41119         (WebCore::Gradient::platformGradient):
    41120 
    41121 2011-02-28  Steve Block  <steveblock@google.com>
    41122 
    41123         Reviewed by Jeremy Orlow.
    41124 
    41125         JNI code should include <jni.h> on non-OSX platforms.
    41126         https://bugs.webkit.org/show_bug.cgi?id=55219
    41127 
    41128         On Mac we need to include <JavaVM/jni.h> as this is a framework
    41129         include. We include jni.h through JNIUtility.h to minimize the
    41130         number of ifdefs.
    41131 
    41132         No new tests, build fix only.
    41133 
    41134         * WebCore.xcodeproj/project.pbxproj
    41135         * bridge/jni/JNIUtility.h:
    41136         * bridge/jni/jni_jsobject.h:
    41137         * bridge/jni/jsc/JNIBridgeJSC.h:
    41138         * bridge/jni/jsc/JavaInstanceJSC.h:
    41139         * bridge/jni/v8/JavaInstanceV8.h:
    41140 
    41141 2011-02-28  Nebojsa Sabovic  <neb@chromium.org>
    41142 
    41143         Reviewed by James Robinson.
    41144 
    41145         [chromium] Pepper plugins render upside down
    41146         https://bugs.webkit.org/show_bug.cgi?id=55101
    41147 
    41148         No layout tests for pepper plugins (yet).
    41149 
    41150         * platform/graphics/chromium/PluginLayerChromium.h:
    41151 
    41152 2011-02-28  Tony Gentilcore  <tonyg@chromium.org>
    41153 
    41154         Reviewed by Adam Barth.
    41155 
    41156         Follow HTML5 spec for document.open() a little more closely
    41157         https://bugs.webkit.org/show_bug.cgi?id=55392
    41158 
    41159         See: 3.5.1.4 at http://www.whatwg.org/specs/web-apps/current-work/#dom-document-open.
    41160 
    41161         The second return check matches the spec. The first return check (isExecutingScript())
    41162         was left in place because without it, fast/tokenizer/write-external-script-open.html
    41163         would fail. It also possible there is a spec bug because FF4 crashes on that test and
    41164         IE9 prints "FAILURE." The isLoadingMainResource() check was removed because the main
    41165         resource is always loading while parser->isParsing().
    41166 
    41167         Test: fast/parser/double-write-from-closed-iframe.html
    41168 
    41169         * dom/Document.cpp:
    41170         (WebCore::Document::open):
    41171 
    41172 2011-02-28  Avi Drissman  <avi@google.com>
    41173 
    41174         Reviewed by James Robinson.
    41175 
    41176         WebCursorInfo needs to match enums in platform/Cursor.h
    41177         https://bugs.webkit.org/show_bug.cgi?id=55094
    41178 
    41179         * platform/chromium/CursorChromium.cpp:
    41180         (WebCore::grabCursor):
    41181         (WebCore::grabbingCursor):
    41182         * platform/chromium/PlatformCursor.h:
    41183 
    41184 2011-02-28  Jia Pu  <jpu@apple.com>
    41185 
    41186         Reviewed by Darin Adler.
    41187 
    41188         [Mac] Make "Change back to …" contextual menu item work with new autocorrection.
    41189         https://bugs.webkit.org/show_bug.cgi?id=55396
    41190         <rdar://problem/8836093>
    41191 
    41192         The change in InlineTextBox.cpp fixes a bug, where the rectangle of Replacement marker isn't
    41193         calculated. We need this to do hit test when deciding whether to show "Change back to ..." on
    41194         contextual menu.
    41195 
    41196         The change in Editor.cpp is for notifying spellchecker about the reversion whenever "Change
    41197         back to ..." is clicked.
    41198 
    41199         * editing/Editor.cpp:
    41200         (WebCore::Editor::changeBackToReplacedString):
     1654        (WebCore::FontCache::getFontDataForCharacters):
     1655        * platform/graphics/qt/FontCacheQt.cpp:
     1656        (WebCore::FontCache::getFontDataForCharacters):
     1657        * platform/graphics/win/FontCacheWin.cpp:
     1658        (WebCore::FontCache::getFontDataForCharacters):
     1659        * platform/graphics/wince/FontCacheWinCE.cpp:
     1660        * platform/graphics/wx/FontCacheWx.cpp:
     1661        (WebCore::FontCache::getFontDataForCharacters):
     1662        Changed the calls to getFontData() to not increment the reference
     1663        count. The caller of this getFontDataForCharacters() (currently only
     1664        Font::glyphDataForCharacter() in fontFastPath.cpp) and it's callers
     1665        don't attempt to release the returned fonts so we use the purge
     1666        protection described above.
     1667
    412011668        * rendering/InlineTextBox.cpp:
    41202         (WebCore::InlineTextBox::paintDocumentMarkers):
    41203 
    41204 2011-02-28  Victoria Kirst  <vrk@google.com>
    41205 
    41206         Reviewed by Kenneth Russell.
    41207 
    41208         [chromium] Fall back to texSubImage2D when mapTexSubImage2D fails in VideoLayerChromium
    41209         https://bugs.webkit.org/show_bug.cgi?id=55269
    41210 
    41211         Mesa does not support mapTexSubImage2D, so this change lets
    41212         GPU-accelerated video work with DRT layout tests.
    41213 
    41214         * platform/graphics/chromium/VideoLayerChromium.cpp:
    41215         (WebCore::VideoLayerChromium::updateTexture):
    41216 
    41217 2011-02-28  David Hyatt  <hyatt@apple.com>
    41218 
    41219         Reviewed by Dan Bernstein.
    41220 
    41221         https://bugs.webkit.org/show_bug.cgi?id=46500, make positioned elements work with vertical text.  Change staticX and staticY
    41222         to be staticInlinePosition and staticBlockPosition.  Patch all of the computations involving these variables to be writing
    41223         mode aware.  Mixed writing modes are not yet supported.
    41224 
    41225         Added new tests in fast/block/positioning/auto.
    41226 
    41227         * rendering/RenderBlock.cpp:
    41228         (WebCore::RenderBlock::adjustPositionedBlock):
    41229         (WebCore::RenderBlock::layoutPositionedObjects):
    41230         * rendering/RenderBlock.h:
    41231         (WebCore::RenderBlock::startOffsetForLine):
    41232         * rendering/RenderBlockLineLayout.cpp:
    41233         (WebCore::RenderBlock::appendRunsForObject):
    41234         (WebCore::setStaticPositions):
    41235         (WebCore::RenderBlock::skipTrailingWhitespace):
    41236         (WebCore::RenderBlock::skipLeadingWhitespace):
    41237         (WebCore::RenderBlock::findNextLineBreak):
    41238         * rendering/RenderBox.cpp:
    41239         (WebCore::RenderBox::positionLineBox):
    41240         (WebCore::computeInlineStaticDistance):
    41241         (WebCore::RenderBox::computePositionedLogicalWidth):
    41242         (WebCore::computeBlockStaticDistance):
    41243         (WebCore::RenderBox::computePositionedLogicalHeight):
    41244         (WebCore::RenderBox::computePositionedLogicalWidthReplaced):
    41245         (WebCore::RenderBox::computePositionedLogicalHeightReplaced):
    41246         * rendering/RenderBoxModelObject.h:
    41247         (WebCore::RenderBoxModelObject::borderAndPaddingLogicalLeft):
    41248         (WebCore::RenderBoxModelObject::borderAndPaddingStart):
    41249         (WebCore::RenderBoxModelObject::borderLogicalLeft):
    41250         (WebCore::RenderBoxModelObject::borderLogicalRight):
    41251         * rendering/RenderFlexibleBox.cpp:
    41252         (WebCore::RenderFlexibleBox::layoutHorizontalBox):
    41253         (WebCore::RenderFlexibleBox::layoutVerticalBox):
    41254         * rendering/RenderInline.cpp:
    41255         (WebCore::RenderInline::relativePositionedInlineOffset):
    41256         * rendering/RenderLayer.cpp:
    41257         (WebCore::RenderLayer::RenderLayer):
    41258         * rendering/RenderLayer.h:
    41259         (WebCore::RenderLayer::staticInlinePosition):
    41260         (WebCore::RenderLayer::staticBlockPosition):
    41261         (WebCore::RenderLayer::setStaticInlinePosition):
    41262         (WebCore::RenderLayer::setStaticBlockPosition):
    41263         * rendering/style/RenderStyle.h:
    41264         (WebCore::InheritedFlags::hasAutoLeftAndRight):
    41265         (WebCore::InheritedFlags::hasAutoTopAndBottom):
    41266         (WebCore::InheritedFlags::hasStaticInlinePosition):
    41267         (WebCore::InheritedFlags::hasStaticBlockPosition):
    41268 
    41269 2011-02-28  Balazs Kelemen  <kbalazs@webkit.org>
    41270 
    41271         Reviewed by Anders Carlsson.
    41272 
    41273         [Qt][WK2] Plugin initialization
    41274         https://bugs.webkit.org/show_bug.cgi?id=48127
    41275 
    41276         No function change so no new tests.
    41277 
    41278         * WebCore.pri: Lift the definition of the XP_UNIX macro
    41279         from WebCore.pri to WebKit.pri to apply it to WebKit2 as well.
    41280 
    41281 2011-02-28  Dean Jackson  <dino@apple.com>
    41282 
    41283         Reviewed by Eric Carlson.
    41284 
    41285         https://bugs.webkit.org/show_bug.cgi?id=55239
    41286 
    41287         Allow webkitEnterFullScreen to be called from outside
    41288         a user gesture, but only when the correct restrictions
    41289         have been lifted in WebCore. Add a new restriction type
    41290         for this situation. Meanwhile, expose the current
    41291         restrictions externally from HTMLMediaElement, so that
    41292         clients can easily set restrictions on their port.
    41293 
    41294         No new tests. This doesn't change existing behavior. Some
    41295         WebKit clients may lift the restriction.
    41296 
    41297         * html/HTMLMediaElement.cpp:
    41298         (WebCore::HTMLMediaElement::HTMLMediaElement):
    41299         - ensure restrictions initialize with fullscreen restricted
    41300         * html/HTMLMediaElement.h:
    41301         (WebCore::HTMLMediaElement::requireUserGestureForLoad):
    41302         (WebCore::HTMLMediaElement::requireUserGestureForRateChange):
    41303         (WebCore::HTMLMediaElement::requireUserGestureForFullScreen):
    41304         (WebCore::HTMLMediaElement::setBehaviorRestrictions):
    41305         - new methods to expose the current restrictions
    41306         * html/HTMLVideoElement.cpp:
    41307         (WebCore::HTMLVideoElement::webkitEnterFullscreen):
    41308 
    41309 2011-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
    41310 
    41311         Unreviewed, rolling out r78789.
    41312         http://trac.webkit.org/changeset/78789
    41313         https://bugs.webkit.org/show_bug.cgi?id=55409
    41314 
    41315         Incorrect canvas fallback implementation (Requested by
    41316         inferno-sec on #webkit).
    41317 
    41318         * accessibility/AccessibilityObject.h:
    41319         * accessibility/AccessibilityRenderObject.cpp:
    41320         (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
    41321         (WebCore::AccessibilityRenderObject::canHaveChildren):
    41322         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
    41323         (atkRole):
    41324         * accessibility/mac/AccessibilityObjectWrapper.mm:
    41325         * html/HTMLFormControlElement.cpp:
    41326         (WebCore::HTMLFormControlElement::isFocusable):
    41327         * rendering/RenderHTMLCanvas.cpp:
    41328         * rendering/RenderHTMLCanvas.h:
    41329         * rendering/RenderObject.cpp:
    41330         (WebCore::RenderObject::repaint):
    41331         * rendering/RenderTreeAsText.cpp:
    41332         (WebCore::write):
    41333 
    41334 2011-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
    41335 
    41336         Unreviewed, rolling out r79425.
    41337         http://trac.webkit.org/changeset/79425
    41338         https://bugs.webkit.org/show_bug.cgi?id=55406
    41339 
    41340         Incorrect canvas fallback implementation. (Requested by
    41341         inferno-sec on #webkit).
    41342 
    41343         * rendering/RenderHTMLCanvas.cpp:
    41344         (WebCore::RenderHTMLCanvas::nodeAtPoint):
    41345 
    41346 2011-02-28  Adam Klein  <adamk@chromium.org>
    41347 
    41348         Reviewed by Adam Barth.
    41349 
    41350         [fileapi] Implement LocalFileSystem.resolveLocalFileSystemURI
    41351         https://bugs.webkit.org/show_bug.cgi?id=54774
    41352 
    41353         See http://dev.w3.org/2009/dap/file-system/file-dir-sys.html#methods
    41354         for the spec implemented by this patch.
    41355 
    41356         Test: fast/filesystem/resolve-uri.html
    41357 
    41358         * fileapi/DOMFileSystemBase.cpp:
    41359         (WebCore::DOMFileSystemBase::crackFileSystemURL):
    41360         * fileapi/DOMFileSystemBase.h:
    41361         Added constants for "temporary" and "persistent".
    41362         * fileapi/EntryBase.cpp:
    41363         Replace hardcoded strings with aforementioned constants.
    41364         * fileapi/FileSystemCallbacks.cpp:
    41365         (WebCore::ResolveURICallbacks::create):
    41366         (WebCore::ResolveURICallbacks::ResolveURICallbacks):
    41367         (WebCore::ResolveURICallbacks::didOpenFileSystem):
    41368         Chains a call of openFileSystem to calls to getDirectory/getFile.
    41369         * fileapi/FileSystemCallbacks.h:
    41370         * fileapi/LocalFileSystem.cpp:
    41371         (WebCore::LocalFileSystem::readFileSystem):
    41372         * fileapi/LocalFileSystem.h:
    41373         Remove size argument from readFileSystem()
    41374         * page/DOMWindow.cpp:
    41375         (WebCore::DOMWindow::resolveLocalFileSystemURI):
    41376         * page/DOMWindow.h:
    41377         * page/DOMWindow.idl:
    41378 
    41379 2011-02-28  Alexis Menard  <alexis.menard@openbossa.org>
    41380 
    41381         Reviewed by Oliver Hunt.
    41382 
    41383         Build fix for Qt port after API changes of http://trac.webkit.org/changeset/79904.
    41384 
    41385         * bridge/qt/qt_runtime.cpp:
    41386         (JSC::Bindings::QtConnectionObject::execute):
    41387 
    41388 2011-02-25  David Levin  <levin@chromium.org>
    41389 
    41390         Reviewed by Darin Adler.
    41391 
    41392         Remove some duplicate code from KURLGoogle.cpp
    41393         https://bugs.webkit.org/show_bug.cgi?id=55266
    41394 
    41395         No change in functionality so no new tests.
    41396 
    41397         * WebCore.gyp/WebCore.gyp: Make KURL.cpp get built by Chromium.
    41398         * platform/KURL.cpp:
    41399         Simply moved #include's and some code that was identical (i.e.
    41400         had been copied) to KURLGoogle.cpp outside of ifdef !USE(GOOGLEURL)
    41401         to reduce duplication.
    41402         * platform/KURLGoogle.cpp:
    41403         Removed the duplicate code.
    41404 
    41405 2011-02-28  Oliver Hunt  <oliver@apple.com>
    41406 
    41407         Reviewed by Gavin Barraclough.
    41408 
    41409         Make ScopeChainNode GC allocated
    41410         https://bugs.webkit.org/show_bug.cgi?id=55283
    41411 
    41412         Update WebCore to deal with the absence of the ScopeChain
    41413         class.
    41414 
    41415         * ForwardingHeaders/runtime/ScopeChain.h: Added.
    41416         * bindings/js/JSHTMLElementCustom.cpp:
    41417         (WebCore::JSHTMLElement::pushEventHandlerScope):
    41418         * bindings/js/JSJavaScriptCallFrameCustom.cpp:
    41419         (WebCore::JSJavaScriptCallFrame::scopeChain):
    41420         (WebCore::JSJavaScriptCallFrame::scopeType):
    41421         * bindings/js/JSLazyEventListener.cpp:
    41422         (WebCore::JSLazyEventListener::initializeJSFunction):
    41423         * bindings/js/JSMainThreadExecState.h:
    41424         (WebCore::JSMainThreadExecState::evaluate):
    41425         * bindings/js/JSNodeCustom.cpp:
    41426         (WebCore::JSNode::pushEventHandlerScope):
    41427         * bindings/js/JavaScriptCallFrame.cpp:
    41428         (WebCore::JavaScriptCallFrame::scopeChain):
    41429         * bindings/js/JavaScriptCallFrame.h:
    41430         * bindings/scripts/CodeGeneratorJS.pm:
    41431         * bridge/c/c_class.cpp:
    41432         * bridge/c/c_runtime.cpp:
    41433         * bridge/jni/JNIBridge.cpp:
    41434         * bridge/qt/qt_runtime.cpp:
    41435         (JSC::Bindings::QtConnectionObject::execute):
    41436         * plugins/PluginViewNone.cpp:
    41437 
    41438 2011-02-28  Chang Shu  <cshu@webkit.org>
    41439 
    41440         Reviewed by Adele Peterson.
    41441 
    41442         REGRESSION (r79762): Items in <select multiple> have focus rings, but shouldn't
    41443         https://bugs.webkit.org/show_bug.cgi?id=55323
    41444 
    41445         Draw focus ring on selected items only if spatial navigation is enabled.
    41446 
    41447         Test: fast/forms/select-listbox-multiple-no-focusring.html
    41448 
    41449         * rendering/RenderBlock.h:
    41450         * rendering/RenderListBox.cpp:
    41451         (WebCore::RenderListBox::addFocusRingRects):
    41452 
    41453 2011-02-28  Abhishek Arya  <inferno@chromium.org>
    41454 
    41455         Reviewed by Anders Carlsson.
    41456 
    41457         We can cancel the plugin load and fail with error before m_manualStream
    41458         got a chance to initialize in PluginView::didReceiveResponse. This can
    41459         happen when we run pending document onload events during plugin load that
    41460         remove the frame from underneath. So, change the assert into a null check.
    41461         https://bugs.webkit.org/show_bug.cgi?id=55307
    41462 
    41463         * plugins/PluginView.cpp:
    41464         (WebCore::PluginView::didFail):
    41465 
    41466 2011-02-28  Alexis Menard  <alexis.menard@openbossa.org>
    41467 
    41468         Reviewed by Alexey Proskuryakov.
    41469 
    41470         Build fix for Intel ICC Compiler.
    41471         https://bugs.webkit.org/show_bug.cgi?id=55221
    41472 
    41473         The virtual inheritance seems to confuse ICC.
    41474         Anything that links with webkit has an undefined reference otherwise.
    41475 
    41476         * svg/SVGTransformable.cpp:
    41477         (WebCore::SVGTransformable::~SVGTransformable):
    41478         * svg/SVGTransformable.h:
    41479 
    41480 2011-02-28  Sergio Villar Senin  <svillar@igalia.com>
    41481 
    41482         Reviewed by Martin Robinson.
    41483 
    41484         [Gtk] Resource size is incorrectly reported to WebCore
    41485         https://bugs.webkit.org/show_bug.cgi?id=53228
    41486 
    41487         When calling didReceiveData we are sending an invalid value for
    41488         lengthReceived. Sometimes we were even passing a boolean value instead of the
    41489         expected integer. We should pass the size of the received data instead of the
    41490         total amount of data received.
    41491 
    41492         * platform/network/ResourceHandleInternal.h:
    41493         (WebCore::ResourceHandleInternal::ResourceHandleInternal):
    41494         * platform/network/soup/ResourceHandleSoup.cpp:
    41495         (WebCore::gotChunkCallback):
    41496         (WebCore::sendRequestCallback):
    41497         (WebCore::readCallback):
    41498 
    41499 2011-02-28  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
    41500 
    41501         Reviewed by Dan Bernstein.
    41502 
    41503         Cleanup the include guard form an Objective-C files
    41504         https://bugs.webkit.org/show_bug.cgi?id=55379
    41505 
    41506         Normally Objective-C files do not need include guard.
    41507         r76916 introduced an include guard in EmptyProtocolDefinitions.h.
    41508         The guard is no longer needed after r76991.
    41509 
    41510         No new tests as there is no new functionality.
    41511 
    41512         * platform/mac/EmptyProtocolDefinitions.h:
    41513 
    41514 2011-02-28  Pavel Podivilov  <podivilov@chromium.org>
    41515 
    41516         Reviewed by Pavel Feldman.
    41517 
    41518         Web Inspector: [REGRESSION] no resources in scripts panel because debugger is enabled too early.
    41519         https://bugs.webkit.org/show_bug.cgi?id=55389
    41520 
    41521         * inspector/InspectorAgent.cpp:
    41522         (WebCore::InspectorAgent::populateScriptObjects):
    41523         * inspector/InspectorDebuggerAgent.cpp:
    41524         (WebCore::InspectorDebuggerAgent::setFrontend):
    41525         (WebCore::InspectorDebuggerAgent::enableDebuggerAfterShown):
    41526         * inspector/InspectorDebuggerAgent.h:
    41527 
    41528 2011-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
    41529 
    41530         Unreviewed, rolling out r79877.
    41531         http://trac.webkit.org/changeset/79877
    41532         https://bugs.webkit.org/show_bug.cgi?id=55388
    41533 
    41534         Breaks chromium build (Requested by antonm_ on #webkit).
    41535 
    41536         * WebCore.gypi:
    41537         * platform/graphics/chromium/ContentLayerChromium.cpp:
    41538         (WebCore::ContentLayerChromium::updateContentsIfDirty):
    41539         (WebCore::ContentLayerChromium::resizeUploadBufferForImage):
    41540         (WebCore::ContentLayerChromium::resizeUploadBuffer):
    41541         (WebCore::SkBitmapConditionalAutoLockerPixels::SkBitmapConditionalAutoLockerPixels):
    41542         (WebCore::SkBitmapConditionalAutoLockerPixels::~SkBitmapConditionalAutoLockerPixels):
    41543         (WebCore::SkBitmapConditionalAutoLockerPixels::lockPixels):
    41544         (WebCore::ContentLayerChromium::updateTextureIfNeeded):
    41545         (WebCore::ContentLayerChromium::draw):
    41546         * platform/graphics/chromium/ContentLayerChromium.h:
    41547         * platform/graphics/chromium/ImageLayerChromium.cpp:
    41548         (WebCore::ImageLayerChromium::updateContentsIfDirty):
    41549         * platform/graphics/chromium/ImageLayerChromium.h:
    41550         * platform/graphics/chromium/LayerTilerChromium.cpp:
    41551         (WebCore::LayerTilerChromium::contentRectToTileIndices):
    41552         (WebCore::LayerTilerChromium::update):
    41553         * platform/graphics/chromium/LayerTilerChromium.h:
    41554         * platform/graphics/chromium/PlatformCanvas.cpp: Removed.
    41555         * platform/graphics/chromium/PlatformCanvas.h: Removed.
    41556         * platform/graphics/chromium/PlatformImage.cpp: Removed.
    41557         * platform/graphics/chromium/PlatformImage.h: Removed.
    41558 
    41559 2011-02-28  Pavel Podivilov  <podivilov@chromium.org>
    41560 
    41561         Reviewed by Pavel Feldman.
    41562 
    41563         Web Inspector: add live edit test.
    41564         https://bugs.webkit.org/show_bug.cgi?id=55360
    41565 
    41566         Test: inspector/debugger/live-edit.html
    41567 
    41568         * inspector/front-end/SourceFrame.js:
    41569         (WebInspector.SourceFrame.prototype._doubleClick):
    41570         (WebInspector.SourceFrame.prototype._didEditLine):
    41571 
    41572 2011-02-28  Pavel Feldman  <pfeldman@chromium.org>
    41573 
    41574         Not reviewed. Follow up to r79858, removing optimistic assertion that fails on debug bot.
    41575 
    41576         * inspector/InspectorBrowserDebuggerAgent.cpp:
    41577         (WebCore::InspectorBrowserDebuggerAgent::inspectedURLChanged):
    41578 
    41579 2011-02-25  Adrienne Walker  <enne@google.com>
    41580 
    41581         Reviewed by James Robinson.
    41582 
    41583         [chromium] Abstract "pixels with a graphics context" into its own class
    41584         https://bugs.webkit.org/show_bug.cgi?id=55259
    41585 
    41586         This creates new PlatformCanvas/PlatformImage classes which wrap
    41587         all of the #ifdef Skia/Cg warts from the compositor.  All classes
    41588         (LayerTilerChromium, ContentLayerChromium, and ImageLayerChromium) are
    41589         modified to use these abstractions.
    41590 
    41591         Tests: LayoutTests/compositing
    41592 
    41593         * WebCore.gypi:
    41594         * platform/graphics/chromium/ContentLayerChromium.cpp:
    41595         (WebCore::ContentLayerChromium::updateContentsIfDirty):
    41596         (WebCore::ContentLayerChromium::resizeUploadBuffer):
    41597         (WebCore::ContentLayerChromium::updateTextureIfNeeded):
    41598         (WebCore::ContentLayerChromium::updateTexture):
    41599         (WebCore::ContentLayerChromium::draw):
    41600         * platform/graphics/chromium/ContentLayerChromium.h:
    41601         * platform/graphics/chromium/ImageLayerChromium.cpp:
    41602         (WebCore::ImageLayerChromium::updateContentsIfDirty):
    41603         (WebCore::ImageLayerChromium::updateTextureIfNeeded):
    41604         * platform/graphics/chromium/ImageLayerChromium.h:
    41605         * platform/graphics/chromium/LayerTilerChromium.cpp:
    41606         (WebCore::LayerTilerChromium::contentRectToTileIndices):
    41607         (WebCore::LayerTilerChromium::update):
    41608         (WebCore::LayerTilerChromium::updateFromPixels):
    41609         * platform/graphics/chromium/LayerTilerChromium.h:
    41610         * platform/graphics/chromium/PlatformCanvas.cpp: Added.
    41611         (WebCore::PlatformCanvas::PlatformCanvas):
    41612         (WebCore::PlatformCanvas::~PlatformCanvas):
    41613         (WebCore::PlatformCanvas::resize):
    41614         (WebCore::PlatformCanvas::AutoLocker::AutoLocker):
    41615         (WebCore::PlatformCanvas::AutoLocker::~AutoLocker):
    41616         (WebCore::PlatformCanvas::Painter::Painter):
    41617         (WebCore::PlatformCanvas::Painter::~Painter):
    41618         * platform/graphics/chromium/PlatformCanvas.h: Added.
    41619         (WebCore::PlatformCanvas::AutoLocker::pixels):
    41620         (WebCore::PlatformCanvas::Painter::context):
    41621         (WebCore::PlatformCanvas::size):
    41622         * platform/graphics/chromium/PlatformImage.cpp: Copied from Source/WebCore/platform/graphics/chromium/ImageLayerChromium.cpp.
    41623         (WebCore::PlatformImage::PlatformImage):
    41624         (WebCore::PlatformImage::updateFromImage):
    41625         * platform/graphics/chromium/PlatformImage.h: Added.
    41626         (WebCore::PlatformImage::pixels):
    41627         (WebCore::PlatformImage::size):
    41628 
    41629 2011-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
    41630 
    41631         Unreviewed, rolling out r79784.
    41632         http://trac.webkit.org/changeset/79784
    41633         https://bugs.webkit.org/show_bug.cgi?id=55386
    41634 
    41635         This change causes lots of assertion failures in Debug builds
    41636         (Requested by aroben on #webkit).
    41637 
    41638         * css/CSSStyleSelector.cpp:
    41639         (WebCore::convertToLength):
    41640         (WebCore::CSSStyleSelector::applyProperty):
    41641         (WebCore::CSSStyleSelector::createTransformOperations):
    41642         * platform/Length.h:
    41643         (WebCore::Length::Length):
    41644         (WebCore::Length::operator==):
    41645         (WebCore::Length::operator!=):
    41646         (WebCore::Length::rawValue):
    41647         (WebCore::Length::type):
    41648         (WebCore::Length::quirk):
    41649         (WebCore::Length::setValue):
    41650         (WebCore::Length::setRawValue):
    41651         (WebCore::Length::calcFloatValue):
    41652         (WebCore::Length::isZero):
    41653         (WebCore::Length::blend):
    41654         * rendering/AutoTableLayout.cpp:
    41655         (WebCore::AutoTableLayout::recalcColumn):
    41656         (WebCore::AutoTableLayout::calcEffectiveLogicalWidth):
    41657         * rendering/FixedTableLayout.cpp:
    41658         (WebCore::FixedTableLayout::calcWidthArray):
    41659 
    41660 2011-02-28  Andreas Kling  <kling@webkit.org>
    41661 
    41662         Reviewed by Darin Adler.
    41663 
    41664         Use Frame::ownerElement() directly where appropriate.
    41665         https://bugs.webkit.org/show_bug.cgi?id=55385
    41666 
    41667         Don't take the roundabout way through frame->document->ownerElement
    41668         which just checks that the document->frame is non-null.
    41669 
    41670         No new test, refactoring only.
    41671 
    41672         * editing/SelectionController.cpp:
    41673         (WebCore::SelectionController::selectFrameElementInParentIfFullySelected):
    41674         * loader/FrameLoader.cpp:
    41675         (WebCore::FrameLoader::loadWithDocumentLoader):
    41676         * page/DOMWindow.cpp:
    41677         (WebCore::DOMWindow::dispatchLoadEvent):
    41678         * page/EventHandler.cpp:
    41679         (WebCore::EventHandler::scrollRecursively):
    41680         (WebCore::EventHandler::logicalScrollRecursively):
    41681         * page/FrameView.cpp:
    41682         (WebCore::FrameView::init):
    41683         (WebCore::FrameView::layout):
    41684         (WebCore::FrameView::repaintContentRectangle):
    41685         (WebCore::FrameView::windowClipRect):
    41686         (WebCore::FrameView::paintContents):
    41687 
    41688 2011-02-28  Pavel Podivilov  <podivilov@chromium.org>
    41689 
    41690         Reviewed by Pavel Feldman.
    41691 
    41692         Web Inspector: [REGRESSION] source frame is recreated for each inlined script in document.
    41693         https://bugs.webkit.org/show_bug.cgi?id=55377
    41694 
    41695         * inspector/front-end/ScriptsPanel.js:
    41696         (WebInspector.ScriptsPanel.prototype._resourceLoadingFinished):
    41697         (WebInspector.ScriptsPanel.prototype._sourceFrameForSourceName):
    41698         (WebInspector.ScriptsPanel.prototype._createSourceFrame):
    41699         (WebInspector.ScriptsPanel.prototype._recreateSourceFrame):
    41700 
    41701 2011-02-28  Patrick Gansterer  <paroga@webkit.org>
    41702 
    41703         Unreviewed build fix for !ENABLE(SVG_ANIMATION) after r79569.
    41704 
    41705         * svg/SVGDocumentExtensions.cpp:
    41706         (WebCore::SVGDocumentExtensions::removeAllAnimationElementsFromTarget):
    41707 
    41708 2011-02-28  Renata Hodovan  <reni@webkit.org>
    41709 
    41710         Reviewed by Andreas Kling.
    41711 
    41712         Optimize parameter transmissions in FEConvolveMatrix.
    41713         https://bugs.webkit.org/show_bug.cgi?id=55381
    41714 
    41715         Parameter transmission via reference is more efficient than with copy. So they are substituted.
    41716 
    41717         No new tests are needed since this is a refactoring.
    41718 
    41719         * platform/graphics/filters/FEConvolveMatrix.cpp:
    41720         (WebCore::FEConvolveMatrix::setKernelSize):
    41721         (WebCore::FEConvolveMatrix::setTargetOffset):
    41722         (WebCore::FEConvolveMatrix::setKernelUnitLength):
    41723         * platform/graphics/filters/FEConvolveMatrix.h:
    41724 
    41725 2011-02-28  Yury Semikhatsky  <yurys@chromium.org>
    41726 
    41727         Unreviewed. Fix Chromium tests failures due to r79858.
    41728 
    41729         * inspector/InspectorAgent.cpp:
    41730         (WebCore::InspectorAgent::inspectedPageDestroyed):
    41731 
    41732 2011-02-28  Vsevolod Vlasov  <vsevik@chromium.org>
    41733 
    41734         Reviewed by Pavel Feldman.
    41735 
    41736         XML without style should render as syntax-highlighted source.
    41737         https://bugs.webkit.org/show_bug.cgi?id=13807
    41738 
    41739         XML tree view mode implemented. If XML does not have any style
    41740         information, it is rendered as highlighted source with collapsable
    41741         elements.
    41742 
    41743         Tests: fast/css/dumpAsText/xml-stylesheet-pi-not-in-prolog.xml
    41744                fast/encoding/dumpAsText/utf-16-no-bom.xml
    41745                http/tests/xmlviewer/dumpAsText/css-stylesheet.xml
    41746                http/tests/xmlviewer/dumpAsText/frames.html
    41747                http/tests/xmlviewer/dumpAsText/mathml.xml
    41748                http/tests/xmlviewer/dumpAsText/svg.xml
    41749                http/tests/xmlviewer/dumpAsText/wml.xml
    41750                http/tests/xmlviewer/dumpAsText/xhtml-tag.xml
    41751                http/tests/xmlviewer/dumpAsText/xlink.xml
    41752                http/tests/xmlviewer/dumpAsText/xmlviewer-charset-cp1251.xml
    41753                http/tests/xmlviewer/dumpAsText/xmlviewer-charset-utf8.xml
    41754                http/tests/xmlviewer/dumpAsText/xmlviewer.xml
    41755                http/tests/xmlviewer/dumpAsText/xsl-stylesheet.xml
    41756                http/tests/xmlviewer/dumpAsText/xul.xml
    41757                svg/hixie/error/dumpAsText/004.xml
    41758                svg/hixie/error/dumpAsText/005.xml
    41759 
    41760         * CMakeLists.txt:
    41761         * DerivedSources.make:
    41762         * GNUmakefile.am:
    41763         * WebCore.gyp/WebCore.gyp:
    41764         * WebCore.gypi:
    41765         * WebCore.vcproj/WebCore.vcproj:
    41766         * WebCore.xcodeproj/project.pbxproj:
    41767         * css/CSSStyleSelector.cpp:
    41768         (WebCore::CSSStyleSelector::matchUARules):
    41769         * dom/Document.cpp:
    41770         (WebCore::Document::Document):
    41771         (WebCore::Document::createElement):
    41772         * dom/Document.h:
    41773         (WebCore::Document::usesViewSourceStyles):
    41774         (WebCore::Document::setUsesViewSourceStyles):
    41775         (WebCore::Document::sawElementsInKnownNamespaces):
    41776         * dom/XMLDocumentParser.h:
    41777         * dom/XMLDocumentParserLibxml2.cpp:
    41778         (WebCore::XMLDocumentParser::XMLDocumentParser):
    41779         (WebCore::XMLDocumentParser::processingInstruction):
    41780         (WebCore::XMLDocumentParser::initializeParserContext):
    41781         (WebCore::XMLDocumentParser::doEnd):
    41782         * dom/XMLDocumentParserQt.cpp:
    41783         (WebCore::XMLDocumentParser::XMLDocumentParser):
    41784         (WebCore::XMLDocumentParser::initializeParserContext):
    41785         (WebCore::XMLDocumentParser::parseProcessingInstruction):
    41786         * html/HTMLViewSourceDocument.cpp:
    41787         (WebCore::HTMLViewSourceDocument::HTMLViewSourceDocument):
    41788         * xml/XMLTreeViewer.cpp: Added.
    41789         (WebCore::XMLTreeViewer::XMLTreeViewer):
    41790         (WebCore::XMLTreeViewer::hasNoStyleInformation):
    41791         (WebCore::XMLTreeViewer::transformDocumentToTreeView):
    41792         * xml/XMLTreeViewer.h: Added.
    41793         (WebCore::XMLTreeViewer::~XMLTreeViewer):
    41794         * xml/XMLViewer.xsl: Added.
    41795         * xml/XSLStyleSheet.h:
    41796         (WebCore::XSLStyleSheet::createForXMLTreeViewer):
    41797 
    41798 2011-02-28  Yury Semikhatsky  <yurys@chromium.org>
    41799 
    41800         Reviewed by Pavel Feldman.
    41801 
    41802         Web Inspector: debugger agents should have same livetime as InspectorAgent
    41803         https://bugs.webkit.org/show_bug.cgi?id=55369
    41804 
    41805         DOM and JS debugger agents are now created in InspectorAgent's constructor and owned
    41806         by the agent. Debugger state is cleared on frontend disconnect.
    41807 
    41808         * inspector/Inspector.idl:
    41809         * inspector/InspectorAgent.cpp:
    41810         (WebCore::InspectorAgent::InspectorAgent):
    41811         (WebCore::InspectorAgent::restoreInspectorStateFromCookie):
    41812         (WebCore::InspectorAgent::setFrontend):
    41813         (WebCore::InspectorAgent::disconnectFrontend):
    41814         (WebCore::InspectorAgent::populateScriptObjects):
    41815         (WebCore::InspectorAgent::didCommitLoad):
    41816         (WebCore::InspectorAgent::showScriptsPanel):
    41817         * inspector/InspectorAgent.h:
    41818         * inspector/InspectorBrowserDebuggerAgent.cpp:
    41819         (WebCore::InspectorBrowserDebuggerAgent::create):
    41820         (WebCore::InspectorBrowserDebuggerAgent::InspectorBrowserDebuggerAgent):
    41821         (WebCore::InspectorBrowserDebuggerAgent::~InspectorBrowserDebuggerAgent):
    41822         (WebCore::InspectorBrowserDebuggerAgent::debuggerWasEnabled):
    41823         (WebCore::InspectorBrowserDebuggerAgent::debuggerWasDisabled):
    41824         (WebCore::InspectorBrowserDebuggerAgent::disable):
    41825         (WebCore::InspectorBrowserDebuggerAgent::setFrontend):
    41826         (WebCore::InspectorBrowserDebuggerAgent::clearFrontend):
    41827         (WebCore::InspectorBrowserDebuggerAgent::setAllBrowserBreakpoints):
    41828         (WebCore::InspectorBrowserDebuggerAgent::inspectedURLChanged):
    41829         (WebCore::InspectorBrowserDebuggerAgent::setDOMBreakpoint):
    41830         (WebCore::InspectorBrowserDebuggerAgent::removeDOMBreakpoint):
    41831         (WebCore::InspectorBrowserDebuggerAgent::willInsertDOMNode):
    41832         (WebCore::InspectorBrowserDebuggerAgent::willRemoveDOMNode):
    41833         (WebCore::InspectorBrowserDebuggerAgent::willModifyDOMAttr):
    41834         (WebCore::InspectorBrowserDebuggerAgent::descriptionForDOMEvent):
    41835         (WebCore::InspectorBrowserDebuggerAgent::pauseOnNativeEventIfNeeded):
    41836         (WebCore::InspectorBrowserDebuggerAgent::willSendXMLHttpRequest):
    41837         (WebCore::InspectorBrowserDebuggerAgent::clear):
    41838         * inspector/InspectorBrowserDebuggerAgent.h:
    41839         * inspector/InspectorController.cpp:
    41840         (WebCore::InspectorController::debuggerEnabled):
    41841         (WebCore::InspectorController::showAndEnableDebugger):
    41842         (WebCore::InspectorController::disableDebugger):
    41843         * inspector/InspectorDebuggerAgent.cpp:
    41844         (WebCore::InspectorDebuggerAgent::create):
    41845         (WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent):
    41846         (WebCore::InspectorDebuggerAgent::~InspectorDebuggerAgent):
    41847         (WebCore::InspectorDebuggerAgent::startUserInitiatedDebugging):
    41848         (WebCore::InspectorDebuggerAgent::enable):
    41849         (WebCore::InspectorDebuggerAgent::disable):
    41850         (WebCore::InspectorDebuggerAgent::enabled):
    41851         (WebCore::InspectorDebuggerAgent::restore):
    41852         (WebCore::InspectorDebuggerAgent::setFrontend):
    41853         (WebCore::InspectorDebuggerAgent::clearFrontend):
    41854         (WebCore::InspectorDebuggerAgent::setJavaScriptBreakpoint):
    41855         (WebCore::InspectorDebuggerAgent::removeJavaScriptBreakpoint):
    41856         (WebCore::InspectorDebuggerAgent::evaluateOnCallFrame):
    41857         (WebCore::InspectorDebuggerAgent::getCompletionsOnCallFrame):
    41858         (WebCore::InspectorDebuggerAgent::currentCallFrames):
    41859         (WebCore::InspectorDebuggerAgent::didParseSource):
    41860         (WebCore::InspectorDebuggerAgent::clear):
    41861         * inspector/InspectorDebuggerAgent.h:
    41862         (WebCore::InspectorDebuggerAgent::enable):
    41863         (WebCore::InspectorDebuggerAgent::disable):
    41864         (WebCore::InspectorDebuggerAgent::Listener::~Listener):
    41865         (WebCore::InspectorDebuggerAgent::setListener):
    41866         * inspector/InspectorInstrumentation.cpp:
    41867         (WebCore::InspectorInstrumentation::willInsertDOMNodeImpl):
    41868         (WebCore::InspectorInstrumentation::didInsertDOMNodeImpl):
    41869         (WebCore::InspectorInstrumentation::willRemoveDOMNodeImpl):
    41870         (WebCore::InspectorInstrumentation::didRemoveDOMNodeImpl):
    41871         (WebCore::InspectorInstrumentation::willModifyDOMAttrImpl):
    41872         (WebCore::InspectorInstrumentation::willSendXMLHttpRequestImpl):
    41873         (WebCore::InspectorInstrumentation::pauseOnNativeEventIfNeeded):
    41874         * inspector/front-end/DebuggerModel.js:
    41875         (WebInspector.DebuggerModel.prototype.enableDebugger):
    41876         (WebInspector.DebuggerModel.prototype.disableDebugger):
    41877 
    41878 2011-02-28  Renata Hodovan  <reni@webkit.org>
    41879 
    41880         Reviewed by Andreas Kling.
    41881 
    41882         FECompositeElement changes doesn't require relayout.
    41883         https://bugs.webkit.org/show_bug.cgi?id=55367
    41884 
    41885         When the FECompositeElement receives an update message but the given value remains the same we don't need
    41886         to relayout the filter.
    41887 
    41888         No new tests are needed because this modification is covered by the dynamic update tests of FEComposite.
    41889 
    41890         * platform/graphics/filters/FEComposite.cpp:
    41891         (WebCore::FEComposite::setOperation):
    41892         (WebCore::FEComposite::setK1):
    41893         (WebCore::FEComposite::setK2):
    41894         (WebCore::FEComposite::setK3):
    41895         (WebCore::FEComposite::setK4):
    41896         * platform/graphics/filters/FEComposite.h:
    41897         * svg/SVGFECompositeElement.cpp:
    41898         (WebCore::SVGFECompositeElement::setFilterEffectAttribute):
    41899         (WebCore::SVGFECompositeElement::svgAttributeChanged):
    41900         * svg/SVGFECompositeElement.h:
    41901 
    41902 2011-02-28  Andreas Kling  <kling@webkit.org>
    41903 
    41904         Reviewed by Kenneth Rohde Christiansen.
    41905 
    41906         FrameLoader: Reorder early-returns in checkCompleted()
    41907         https://bugs.webkit.org/show_bug.cgi?id=55366
    41908 
    41909         Check allChildrenAreComplete() last, since it's the most expensive.
    41910 
    41911         * loader/FrameLoader.cpp:
    41912         (WebCore::FrameLoader::checkCompleted):
    41913 
    41914 2011-02-28  Ryosuke Niwa  <rniwa@webkit.org>
    41915 
    41916         Reviewed by Kent Tamura.
    41917 
    41918         Range::processContents needs cleanup
    41919         https://bugs.webkit.org/show_bug.cgi?id=51006
    41920 
    41921         Refactored Range::processContents.  Extracted childOfCommonRootBeforeOffset from processContents
    41922         which is used to find processStart and processEnd respectively.  In the case of processStart,
    41923         we use the next sibling of the node returned by childOfCommonRootBeforeOffset when m_start is not
    41924         the common root because copying m_start's ancestors will result in processing too much contents.
    41925 
    41926         Also extracted processNodes and deleteCharacterData from processContents and processContentsBetweenOffsets.
    41927 
    41928         In addition, lengthOfContentsInNode was modified to return the correct length instead of
    41929         numeric_limits<unsigned>::max() because the convention that processContentsBetweenOffsets automatically
    41930         corrects the length when endOffset is numeric_limits<unsigned>::max() seemed more confusing than
    41931         having two switch statements that need to be consistent.
    41932 
    41933         Historically, lengthOfContentsInNode was introduced in r78413 as a build fix because unsigned const
    41934         LengthOfContentsInNode added in r78409 violated WebKit C++ rules and caused build failures on Mac and
    41935         other ports.
    41936 
    41937         * dom/Range.cpp:
    41938         (WebCore::childOfCommonRootBeforeOffset): Extracted from processContents.
    41939         (WebCore::lengthOfContentsInNode): Added.
    41940         (WebCore::Range::processContents): Calls childOfCommonRootBeforeOffset, lengthOfContentsInNode,
    41941         and processNodes.
    41942         (WebCore::deleteCharacterData): Added.
    41943         (WebCore::Range::processContentsBetweenOffsets): Calls deleteCharacterData and processNodes.
    41944         (WebCore::Range::processNodes): Extracted from processContents and processContentsBetweenOffsets.
    41945         (WebCore::Range::processAncestorsAndTheirSiblings):
    41946         * dom/Range.h:
    41947 
    41948 2011-02-28  Pavel Feldman  <pfeldman@chromium.org>
    41949 
    41950         Not reviewed. Test harness change follow up.
    41951         Consider missing localized string a warning, not an error in the front-end.
    41952 
    41953         * inspector/front-end/inspector.js:
    41954         (WebInspector.UIString):
    41955 
    41956 2011-02-28  Steve Block  <steveblock@google.com>
    41957 
    41958         Reviewed by Jeremy Orlow.
    41959 
    41960         getJNIEnv() passes wrong type to AttachCurrentThread() for JNIEnv argument on Android
    41961         https://bugs.webkit.org/show_bug.cgi?id=55218
    41962 
    41963         AttachCurrentThread() in Android's JVM takes a JINEnv**
    41964         argument.
    41965 
    41966         No new tests, build fix only.
    41967 
    41968         * bridge/jni/JNIUtility.cpp:
    41969         (JSC::Bindings::getJNIEnv):
    41970 
    41971 2011-02-28  Renata Hodovan  <reni@webkit.org>
    41972 
    41973         Reviewed by Andreas Kling.
    41974 
    41975         FETurbulenceElement changes doesn't require relayout
    41976         https://bugs.webkit.org/show_bug.cgi?id=55141
    41977 
    41978         When the FETurbulenceElement receives an update message but the given value remains the same we don't need
    41979         to relayout the filter.
    41980         Besides fix a typo in FETurbulence and change the paramterer type of FETurbulence::setNumOctaves from bool
    41981         to int according to the spec.
    41982 
    41983         No new tests are needed because this modification is covered by the dynamic update tests of FETurbulence.
    41984 
    41985         * platform/graphics/filters/FETurbulence.cpp:
    41986         (WebCore::FETurbulence::FETurbulence):
    41987         (WebCore::FETurbulence::create):
    41988         (WebCore::FETurbulence::type):
    41989         (WebCore::FETurbulence::setType):
    41990         (WebCore::FETurbulence::setBaseFrequencyY):
    41991         (WebCore::FETurbulence::setBaseFrequencyX):
    41992         (WebCore::FETurbulence::setSeed):
    41993         (WebCore::FETurbulence::setNumOctaves):
    41994         (WebCore::FETurbulence::setStitchTiles):
    41995         (WebCore::operator<<):
    41996         * platform/graphics/filters/FETurbulence.h:
    41997         * svg/SVGFETurbulenceElement.cpp:
    41998         (WebCore::SVGFETurbulenceElement::setFilterEffectAttribute):
    41999         (WebCore::SVGFETurbulenceElement::svgAttributeChanged):
    42000         (WebCore::SVGFETurbulenceElement::build):
    42001         * svg/SVGFETurbulenceElement.h:
    42002 
    42003 2011-02-28  Pavel Feldman  <pfeldman@chromium.org>
    42004 
    42005         Reviewed by Yury Semikhatsky.
    42006 
    42007         WebInspector: InspectorAgent calls offsetWidth in the middle of painting
    42008         https://bugs.webkit.org/show_bug.cgi?id=54597
    42009 
    42010         * inspector/InspectorAgent.cpp:
    42011         (WebCore::InspectorAgent::drawElementTitle):
    42012 
    42013 2011-02-28  Roland Steiner  <rolandsteiner@chromium.org>
    42014 
    42015         Reviewed by Kent Tamura.
    42016 
    42017         Bug 55355 - TextIterator should not be a friend of RenderTextControl
    42018         https://bugs.webkit.org/show_bug.cgi?id=55355
    42019 
    42020         Remove need for 'friend' clause by making innerTextElement() public.
    42021 
    42022         No new tests. (simple refactoring)
    42023 
    42024         * rendering/RenderTextControl.h:
    42025 
    42026 2011-02-27  Patrick Gansterer  <paroga@webkit.org>
    42027 
    42028         Reviewed by Darin Adler.
    42029 
    42030         Remove registerBaseEncodingNames and registerBaseCodecs from TextCodecWinCE
    42031         https://bugs.webkit.org/show_bug.cgi?id=55317
    42032 
    42033         This functions are obsolete, since r78499 added TextCodecUTF8.
    42034         Also remove the "fast path" for UTF-8 data, because we now have a separate TextCodec.
    42035 
    42036         * platform/text/TextEncodingRegistry.cpp:
    42037         (WebCore::buildBaseTextCodecMaps):
    42038         * platform/text/wince/TextCodecWinCE.cpp:
    42039         * platform/text/wince/TextCodecWinCE.h:
    42040 
    42041 2011-02-27  Benjamin Poulain  <benjamin.poulain@nokia.com>
    42042 
    42043         Reviewed by Sam Weinig.
    42044 
    42045         Use OwnPtr to handle the memory of RenderBlock::m_floatingObjects and RenderBlock::m_positionedObjects
    42046         https://bugs.webkit.org/show_bug.cgi?id=55327
    42047 
    42048         Refactor RenderBlock to use OwnPtr for m_floatingObjects and m_positionedObjects so we do not have
    42049         to release the memory manually.
    42050 
    42051         * rendering/RenderBlock.cpp:
    42052         (WebCore::RenderBlock::~RenderBlock):
    42053         (WebCore::RenderBlock::selectionGaps):
    42054         (WebCore::RenderBlock::insertPositionedObject):
    42055         (WebCore::RenderBlock::insertFloatingObject):
    42056         (WebCore::RenderBlock::addOverhangingFloats):
    42057         (WebCore::RenderBlock::addIntrudingFloats):
    42058         * rendering/RenderBlock.h:
    42059         (WebCore::RenderBlock::positionedObjects):
    42060 
    42061 2011-02-27  Benjamin Poulain  <benjamin.poulain@nokia.com>
    42062 
    42063         Reviewed by Andreas Kling.
    42064 
    42065         Eliminate DeprecatedPtrList
    42066         https://bugs.webkit.org/show_bug.cgi?id=17425
    42067 
    42068         Remove the implementation of DeprecatedPtrList and all its references
    42069         from the build systems.
    42070 
    42071         * Android.mk:
    42072         * CMakeLists.txt:
    42073         * GNUmakefile.am:
    42074         * WebCore.gypi:
    42075         * WebCore.order:
    42076         * WebCore.pro:
    42077         * WebCore.vcproj/WebCore.vcproj:
    42078         * WebCore.xcodeproj/project.pbxproj:
    42079         * platform/DeprecatedPtrList.h: Removed.
    42080         * platform/DeprecatedPtrListImpl.cpp: Removed.
    42081         * platform/DeprecatedPtrListImpl.h: Removed.
    42082 
    42083 2011-02-27  Andreas Kling  <kling@webkit.org>
    42084 
    42085         Reviewed by Kenneth Rohde Christiansen.
    42086 
    42087         [Qt] Use WTF ref counting for FontPlatformDataPrivate
    42088         https://bugs.webkit.org/show_bug.cgi?id=55303
    42089 
    42090         Make FontPlatformDataPrivate a RefCounted<FPDP>.
    42091         Incidentally fixes an uninitialized member bug in FontPlatformData().
    42092 
    42093         * platform/graphics/qt/FontPlatformData.h:
    42094         (WebCore::FontPlatformDataPrivate::FontPlatformDataPrivate):
    42095         (WebCore::FontPlatformData::FontPlatformData):
    42096         (WebCore::FontPlatformData::isHashTableDeletedValue):
    42097         (WebCore::FontPlatformData::font):
    42098         (WebCore::FontPlatformData::size):
    42099         (WebCore::FontPlatformData::family):
    42100         (WebCore::FontPlatformData::bold):
    42101         (WebCore::FontPlatformData::italic):
    42102         (WebCore::FontPlatformData::smallCaps):
    42103         (WebCore::FontPlatformData::pixelSize):
    42104         * platform/graphics/qt/FontPlatformDataQt.cpp:
    42105         (WebCore::toQFontWeight):
    42106         (WebCore::FontPlatformData::operator==):
    42107         (WebCore::FontPlatformData::hash):
    42108 
    42109 2011-02-27  Benjamin Poulain  <ikipou@gmail.com>
    42110 
    42111         Reviewed by Darin Adler.
    42112 
    42113         Eliminate DeprecatedPtrList from RenderBlock
    42114         https://bugs.webkit.org/show_bug.cgi?id=54972
    42115 
    42116         Refactor RenderBlock to get rid of the DeprecatedPtrList.
    42117         The floating objects are stored in a ListHashSet.
    42118 
    42119         Refactoring covered by existing test.
    42120 
    42121         * rendering/RenderBlock.cpp:
    42122         (WebCore::RenderBlock::~RenderBlock):
    42123         (WebCore::RenderBlock::addOverflowFromFloats):
    42124         (WebCore::RenderBlock::repaintOverhangingFloats):
    42125         (WebCore::RenderBlock::paintFloats):
    42126         (WebCore::RenderBlock::selectionGaps):
    42127         (WebCore::RenderBlock::insertFloatingObject):
    42128         (WebCore::RenderBlock::removeFloatingObject):
    42129         (WebCore::RenderBlock::removeFloatingObjectsBelow):
    42130         (WebCore::RenderBlock::positionNewFloats):
    42131         (WebCore::RenderBlock::positionNewFloatOnLine):
    42132         (WebCore::RenderBlock::logicalLeftOffsetForLine):
    42133         (WebCore::RenderBlock::logicalRightOffsetForLine):
    42134         (WebCore::RenderBlock::nextFloatLogicalBottomBelow):
    42135         (WebCore::RenderBlock::lowestFloatLogicalBottom):
    42136         (WebCore::RenderBlock::clearFloats):
    42137         (WebCore::RenderBlock::addOverhangingFloats):
    42138         (WebCore::RenderBlock::addIntrudingFloats):
    42139         (WebCore::RenderBlock::containsFloat):
    42140         (WebCore::RenderBlock::hitTestFloats):
    42141         (WebCore::RenderBlock::adjustForBorderFit):
    42142         * rendering/RenderBlock.h:
    42143         (WebCore::RenderBlock::FloatingObjectHashFunctions::hash):
    42144         (WebCore::RenderBlock::FloatingObjectHashFunctions::equal):
    42145         (WebCore::RenderBlock::FloatingObjectHashTranslator::hash):
    42146         (WebCore::RenderBlock::FloatingObjectHashTranslator::equal):
    42147         * rendering/RenderBlockLineLayout.cpp:
    42148         (WebCore::RenderBlock::layoutInlineChildren):
    42149         (WebCore::RenderBlock::matchedEndLine):
    42150 
    42151 2011-02-26  Adam Barth  <abarth@webkit.org>
    42152 
    42153         Reviewed by Eric Seidel.
    42154 
    42155         <input value="type=submit"> throws a warning (“HTML parse error”)
    42156         https://bugs.webkit.org/show_bug.cgi?id=55120
    42157 
    42158         This patch removes parse error messages from the HTML parser.  These
    42159         messages are displayed at the wrong times, aren't tested, and aren't
    42160         helpful.  We'll try again with some more informative messages and
    42161         better testing.
    42162 
    42163         * html/parser/HTMLTreeBuilder.cpp:
    42164         (WebCore::HTMLTreeBuilder::parseError):
    42165 
    42166 2011-02-26  Patrick Gansterer  <paroga@webkit.org>
    42167 
    42168         Reviewed by Alexey Proskuryakov.
    42169 
    42170         Remove registerBaseEncodingNames and registerBaseCodecs from TextCodecBrew
    42171         https://bugs.webkit.org/show_bug.cgi?id=55309
    42172 
    42173         This functions are obsolete, since r78499 added TextCodecUTF8.
    42174 
    42175         * platform/text/TextEncodingRegistry.cpp:
    42176         (WebCore::buildBaseTextCodecMaps):
    42177         * platform/text/brew/TextCodecBrew.cpp:
    42178         * platform/text/brew/TextCodecBrew.h:
    42179 
    42180 2011-02-26  Justin Schuh  <jschuh@chromium.org>
    42181 
    42182         Reviewed by Darin Adler.
    42183 
    42184         Delay firing of mutation events while setting attribute values
    42185         https://bugs.webkit.org/show_bug.cgi?id=55199
    42186 
    42187         Test: fast/dom/attribute-change-on-mutate.html
    42188 
    42189         * dom/Attr.cpp:
    42190         (WebCore::Attr::setValue):
    42191 
    42192 2011-02-26  Yi Shen  <yi.4.shen@nokia.com>
    42193 
    42194         Reviewed by Andreas Kling.
    42195 
    42196         [Qt] Notify HTMLMediaElement when MediaPlayerPrivateQt's playback state gets changed
    42197         https://bugs.webkit.org/show_bug.cgi?id=55252
    42198 
    42199         Need to invoke a callback function to notify the HTMLMediaElement
    42200         when MediaPlayerPrivateQt's playback state gets changed.
    42201 
    42202         * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
    42203         (WebCore::MediaPlayerPrivateQt::MediaPlayerPrivateQt): Set a flag to ignore the playback state change for pre-roll
    42204         (WebCore::MediaPlayerPrivateQt::commitLoad): Call playbackStateChanged() to notify HTMLMediaElement
    42205         (WebCore::MediaPlayerPrivateQt::stateChanged):
    42206         * platform/graphics/qt/MediaPlayerPrivateQt.h:
    42207 
    42208 2011-02-25  Abhishek Arya  <inferno@chromium.org>
    42209 
    42210         Reviewed by Adam Barth.
    42211 
    42212         When plugin document parser finishes parsing, it runs the raw
    42213         document's parser finish functions which call the pending document
    42214         onload events that removes the frame from underneath. So, we protect
    42215         frame (and hence frameloader) in DocumentLoader::commitLoad.
    42216         https://bugs.webkit.org/show_bug.cgi?id=55289
    42217 
    42218         Test: fast/frames/iframe-plugin-load-remove-document-crash.html
    42219 
    42220         * loader/DocumentLoader.cpp:
    42221         (WebCore::DocumentLoader::commitLoad):
    42222 
    42223 2011-02-26  Pavel Feldman  <pfeldman@chromium.org>
    42224 
    42225         Not reviewed: rolling out 79799 and 79804 for breaking xml tests on mac.
    42226 
    42227 2011-02-26  Pavel Feldman  <pfeldman@chromium.org>
    42228 
    42229         Not reviewed: follow up to r79799. Fixing WinCE+Efl, mute new tests on Qt.
    42230         https://bugs.webkit.org/show_bug.cgi?id=55302
    42231 
    42232         * CMakeLists.txt:
    42233 
    42234 2011-02-25  Vsevolod Vlasov  <vsevik@chromium.org>
    42235 
    42236         Reviewed by Pavel Feldman.
    42237 
    42238         XML without style should render as syntax-highlighted source.
    42239         https://bugs.webkit.org/show_bug.cgi?id=13807
    42240 
    42241         XML tree view mode implemented. If XML does not have any style
    42242         information, it is rendered as highlighted source with collapsable
    42243         elements.
    42244 
    42245         Tests: http/tests/xmlviewer/dumpAsText/css-stylesheet.xml
    42246                http/tests/xmlviewer/dumpAsText/frames.html
    42247                http/tests/xmlviewer/dumpAsText/mathml.xml
    42248                http/tests/xmlviewer/dumpAsText/svg.xml
    42249                http/tests/xmlviewer/dumpAsText/wml.xml
    42250                http/tests/xmlviewer/dumpAsText/xhtml-tag.xml
    42251                http/tests/xmlviewer/dumpAsText/xlink.xml
    42252                http/tests/xmlviewer/dumpAsText/xmlviewer-charset-cp1251.xml
    42253                http/tests/xmlviewer/dumpAsText/xmlviewer-charset-utf8.xml
    42254                http/tests/xmlviewer/dumpAsText/xmlviewer.xml
    42255                http/tests/xmlviewer/dumpAsText/xsl-stylesheet.xml
    42256                http/tests/xmlviewer/dumpAsText/xul.xml
    42257 
    42258         * CMakeLists.txt:
    42259         * DerivedSources.make:
    42260         * GNUmakefile.am:
    42261         * WebCore.gyp/WebCore.gyp:
    42262         * WebCore.gypi:
    42263         * WebCore.vcproj/WebCore.vcproj:
    42264         * WebCore.xcodeproj/project.pbxproj:
    42265         * css/CSSStyleSelector.cpp:
    42266         (WebCore::CSSStyleSelector::matchUARules):
    42267         * dom/Document.cpp:
    42268         (WebCore::Document::Document):
    42269         (WebCore::Document::createElement):
    42270         * dom/Document.h:
    42271         (WebCore::Document::usesViewSourceStyles):
    42272         (WebCore::Document::setUsesViewSourceStyles):
    42273         (WebCore::Document::sawElementsInKnownNamespaces):
    42274         * dom/XMLDocumentParser.h:
    42275         * dom/XMLDocumentParserLibxml2.cpp:
    42276         (WebCore::XMLDocumentParser::XMLDocumentParser):
    42277         (WebCore::XMLDocumentParser::processingInstruction):
    42278         (WebCore::XMLDocumentParser::initializeParserContext):
    42279         (WebCore::XMLDocumentParser::doEnd):
    42280         * dom/XMLDocumentParserQt.cpp:
    42281         (WebCore::XMLDocumentParser::XMLDocumentParser):
    42282         (WebCore::XMLDocumentParser::initializeParserContext):
    42283         (WebCore::XMLDocumentParser::parseProcessingInstruction):
    42284         * html/HTMLViewSourceDocument.cpp:
    42285         (WebCore::HTMLViewSourceDocument::HTMLViewSourceDocument):
    42286         * xml/XMLTreeViewer.cpp: Added.
    42287         (WebCore::XMLTreeViewer::XMLTreeViewer):
    42288         (WebCore::XMLTreeViewer::hasNoStyleInformation):
    42289         (WebCore::XMLTreeViewer::transformDocumentToTreeView):
    42290         * xml/XMLTreeViewer.h: Added.
    42291         (WebCore::XMLTreeViewer::~XMLTreeViewer):
    42292         * xml/XMLViewer.xsl: Added.
    42293         * xml/XSLStyleSheet.h:
    42294         (WebCore::XSLStyleSheet::createFromString):
    42295 
    42296 2011-02-26  Andreas Kling  <kling@webkit.org>
    42297 
    42298         Reviewed by Kenneth Rohde Christiansen.
    42299 
    42300         [Qt] Enable usage of synchronous HTTP feature in Qt
    42301         https://bugs.webkit.org/show_bug.cgi?id=37191
    42302 
    42303         Currently, we spin an event loop when doing synchronous calls to
    42304         wait for completion. This patch uses synchronous requests in Qt,
    42305         if available, and spins the event loop as a fallback solution.
    42306 
    42307         Based on work by Simon Hausmann and Peter Hartmann.
    42308 
    42309         * platform/network/qt/QNetworkReplyHandler.cpp:
    42310         (WebCore::QNetworkReplyHandler::QNetworkReplyHandler):
    42311         (WebCore::QNetworkReplyHandler::start):
    42312         * platform/network/qt/QNetworkReplyHandler.h:
    42313         * platform/network/qt/ResourceHandleQt.cpp:
    42314         (WebCore::WebCoreSynchronousLoader::setReplyFinished):
    42315         (WebCore::WebCoreSynchronousLoader::WebCoreSynchronousLoader):
    42316         (WebCore::WebCoreSynchronousLoader::didFinishLoading):
    42317         (WebCore::WebCoreSynchronousLoader::didFail):
    42318         (WebCore::ResourceHandle::loadResourceSynchronously):
    42319 
    42320 2011-02-26  Ryosuke Niwa  <rniwa@webkit.org>
    42321 
    42322         Reviewed by Kent Tamura.
    42323 
    42324         REGRESSION(r79398): Webkit crash on dojo theme tester page
    42325         https://bugs.webkit.org/show_bug.cgi?id=55290
    42326 
    42327         The bug was caused by selectionStartCSSPropertyValue's not considering the possibility
    42328         of selectionStartStyle() returning a null pointer. Fixed it by adding a null check.
    42329 
    42330         Test: editing/execCommand/value-without-selection-crash.html
    42331 
    42332         * editing/Editor.cpp:
    42333         (WebCore::Editor::selectionStartCSSPropertyValue):
    42334 
    42335 2011-02-26  Vsevolod Vlasov  <vsevik@chromium.org>
    42336 
    42337         Reviewed by Pavel Feldman.
    42338 
    42339         DumpRenderTree should reset frame opener between tests.
    42340         https://bugs.webkit.org/show_bug.cgi?id=54874
    42341 
    42342         No new tests. (no code affected, just exporting a method for DumpRenderTree use)
    42343 
    42344         * WebCore.exp.in:
    42345 
    42346 2011-02-26  Jia Pu  <jpu@apple.com>
    42347 
    42348         Reviewed by Dan Bernstein.
    42349 
    42350         On Mac, need to remove misspell underline in Editor::learnSpelling().
    42351         https://bugs.webkit.org/show_bug.cgi?id=55251
    42352 
    42353         This change makes sure that the misspelling markers are removed after the word is learned.
    42354 
    42355         * editing/Editor.cpp:
    42356         (WebCore::Editor::learnSpelling):
    42357 
    42358 2011-02-26  Rik Cabanier  <cabanier@adobe.com>
    42359 
    42360         Reviewed by David Hyatt.
    42361 
    42362         Fix that allows fixed length values to be floating point
    42363         https://bugs.webkit.org/show_bug.cgi?id=52699
    42364 
    42365         Transitions now return matrices in floating point. 2 of the transition tests were failing
    42366         because they expected integer values.
    42367 
    42368         * WebCore.xcodeproj/project.pbxproj:
    42369         * css/CSSStyleSelector.cpp:
    42370         (WebCore::convertToLength):
    42371         (WebCore::convertToIntLength):
    42372         (WebCore::convertToFloatLength):
    42373         (WebCore::CSSStyleSelector::applyProperty):
    42374         (WebCore::CSSStyleSelector::createTransformOperations):
    42375         * platform/Length.h:
    42376         (WebCore::Length::Length):
    42377         (WebCore::Length::operator==):
    42378         (WebCore::Length::operator!=):
    42379         (WebCore::Length::rawValue):
    42380         (WebCore::Length::type):
    42381         (WebCore::Length::quirk):
    42382         (WebCore::Length::setValue):
    42383         (WebCore::Length::calcFloatValue):
    42384         (WebCore::Length::isZero):
    42385         (WebCore::Length::blend):
    42386         (WebCore::Length::getIntValue):
    42387         (WebCore::Length::getFloatValue):
    42388         * rendering/AutoTableLayout.cpp:
    42389         (WebCore::AutoTableLayout::recalcColumn):
    42390         (WebCore::AutoTableLayout::calcEffectiveLogicalWidth):
    42391         * rendering/FixedTableLayout.cpp:
    42392         (WebCore::FixedTableLayout::calcWidthArray):
    42393 
    42394 2011-02-26  Eric Seidel  <eric@webkit.org>
    42395 
    42396         Reviewed by Maciej Stachowiak.
    42397 
    42398         malloc in removeChildren shows up on profile of peacekeeper domDynamicCreationCreateElement
    42399         https://bugs.webkit.org/show_bug.cgi?id=55204
    42400 
    42401         * dom/ContainerNode.cpp:
    42402         (WebCore::ContainerNode::removeChildren):
    42403          - Using an inlineCapacity of 10 for now. We may want to tweak it later.
    42404          - This removes yet another malloc from code which removes nodes (which is rather common).
    42405 
    42406 2011-02-26  Eric Seidel  <eric@webkit.org>
    42407 
    42408         Reviewed by Maciej Stachowiak.
    42409 
    42410         HashSet<T>::end() creation is expensive and should be avoided
    42411         https://bugs.webkit.org/show_bug.cgi?id=55205
    42412 
    42413         In the common case, m_ranges is an empty set.  When that's
    42414         the case, we spend all our time in skipEmptyBuckets, walking
    42415         the hash storage skipping over empty buckets.
    42416        
    42417         This looks to be at least a 5% speedup on (my local version of) peacekeeper's domDynamicCreationCreateElement.
    42418 
    42419         Before:
    42420         avg 383.6666666666667
    42421         median 386
    42422         stdev 7.152311203768722
    42423         min 360
    42424         max 391
    42425 
    42426         After:
    42427         avg 366.3333333333333
    42428         median 366
    42429         stdev 2.712112747574399
    42430         min 362
    42431         max 377
    42432 
    42433         * dom/Document.cpp:
    42434         (WebCore::Document::nodeChildrenChanged):
    42435         (WebCore::Document::nodeChildrenWillBeRemoved):
    42436         (WebCore::Document::nodeWillBeRemoved):
    42437         (WebCore::Document::textInserted):
    42438         (WebCore::Document::textRemoved):
    42439         (WebCore::Document::textNodesMerged):
    42440         (WebCore::Document::textNodeSplit):
    42441 
    42442 2011-02-26  Sheriff Bot  <webkit.review.bot@gmail.com>
    42443 
    42444         Unreviewed, rolling out r79764.
    42445         http://trac.webkit.org/changeset/79764
    42446         https://bugs.webkit.org/show_bug.cgi?id=55295
    42447 
    42448         "broke Chromium builds" (Requested by rniwa on #webkit).
    42449 
    42450         * WebCore.exp.in:
    42451 
    42452 2011-02-26  Adam Klein  <adamk@chromium.org>
    42453 
    42454         Reviewed by Adam Barth.
    42455 
    42456         [fileapi] Implement EntrySync.toURI by moving Entry::toURI to EntryBase
    42457         https://bugs.webkit.org/show_bug.cgi?id=54585
    42458 
    42459         In order to move toURI to EntryBase, it needed access to
    42460         SecurityOrigin. Most of the changes below were to pass a
    42461         ScriptExecutionContext to DOMFileSystemBase to enable this.
    42462 
    42463         Test: fast/filesystem/workers/file-entry-to-uri-sync.html
    42464 
    42465         * WebCore.gypi:
    42466         * WebCore.xcodeproj/project.pbxproj:
    42467         * fileapi/DOMFileSystem.cpp:
    42468         (WebCore::DOMFileSystem::DOMFileSystem):
    42469         * fileapi/DOMFileSystemBase.cpp:
    42470         (WebCore::DOMFileSystemBase::DOMFileSystemBase):
    42471         (WebCore::DOMFileSystemBase::securityOrigin):
    42472         * fileapi/DOMFileSystemBase.h:
    42473         (WebCore::DOMFileSystemBase::create):
    42474         * fileapi/DOMFileSystemSync.cpp:
    42475         (WebCore::DOMFileSystemSync::create):
    42476         (WebCore::DOMFileSystemSync::DOMFileSystemSync):
    42477         * fileapi/DOMFileSystemSync.h:
    42478         (WebCore::DOMFileSystemSync::create):
    42479         * fileapi/Entry.cpp:
    42480         * fileapi/Entry.h:
    42481         * fileapi/EntryBase.cpp: Added.
    42482         (WebCore::EntryBase::EntryBase):
    42483         (WebCore::EntryBase::~EntryBase):
    42484         (WebCore::EntryBase::toURI):
    42485         * fileapi/EntryBase.h:
    42486         * fileapi/EntrySync.idl:
    42487 
    42488 2011-02-26  Alice Boxhall  <aboxhall@chromium.org>
    42489 
    42490         Reviewed by Ojan Vafai.
    42491 
    42492         typing enter in the input element should not fire textInput
    42493         https://bugs.webkit.org/show_bug.cgi?id=54152
    42494 
    42495         Stop textInput event propagation in HTMLInputElement::preDispatchEventHandler if the event target should submit implicitly.
    42496 
    42497         Test: fast/forms/textinput-not-fired-on-enter-in-input.html
    42498 
    42499         * html/HTMLInputElement.cpp:
    42500         (WebCore::HTMLInputElement::preDispatchEventHandler): Check m_inputType->shouldSubmitImplicitly for textInputEvents and stop propagation if true.
    42501 
    42502 2011-02-26  James Simonsen  <simonjam@chromium.org>
    42503 
    42504         Reviewed by Tony Gentilcore.
    42505 
    42506         [Web Timing] loadEvent timing should refer to first load event if there are many
    42507         https://bugs.webkit.org/show_bug.cgi?id=55201
    42508 
    42509         Test: fast/dom/webtiming-document-open.html
    42510 
    42511         * page/DOMWindow.cpp:
    42512         (WebCore::DOMWindow::dispatchLoadEvent):
    42513 
    42514 2011-02-26  Tony Gentilcore  <tonyg@chromium.org>
    42515 
    42516         Reviewed by Adam Barth.
    42517 
    42518         Fix isLayoutTimerActive for ports that set a minimumLayoutDelay
    42519         https://bugs.webkit.org/show_bug.cgi?id=54810
    42520 
    42521         No new tests because no new functionality.
    42522 
    42523         * dom/Document.cpp:
    42524         (WebCore::Document::isLayoutTimerActive): Moved from HTMLParserScheduler per FIXME. Compare
    42525         minimumLayoutDelay() to m_extraLayoutDelay instead of 0. This spirit of this comparison was
    42526         broken by r52919. The effect would be that ports that set an extra layout delay can't yield
    42527         between tokens. Note: can't be const because minimumLayoutDelay sets a member.
    42528         * dom/Document.h:
    42529         * html/parser/HTMLParserScheduler.cpp:
    42530         (WebCore::HTMLParserScheduler::continueNextChunkTimerFired):
    42531         (WebCore::HTMLParserScheduler::checkForYieldBeforeScript):
    42532 
    42533 2011-02-26  David Dorwin  <ddorwin@chromium.org>
    42534 
    42535         Reviewed by Darin Fisher.
    42536 
    42537         Enable WebKit Full Screen API in Chromium. The element becomes the full size of the window, but the window is not yet full screen. Support is disabled by default.
    42538 
    42539         fullscreen javascript bindings not implemented for v8
    42540         https://bugs.webkit.org/show_bug.cgi?id=44797
    42541 
    42542         Tested by the existing fullscreen Layout Tests.
    42543 
    42544         * WebCore.gyp/WebCore.gyp:
    42545         * WebCore.gypi:
    42546 
    42547 2011-02-26  Tony Gentilcore  <tonyg@chromium.org>
    42548 
    42549         Reviewed by Adam Barth.
    42550 
    42551         Prevent parser yields from triggering early dumpAsText()
    42552         https://bugs.webkit.org/show_bug.cgi?id=55187
    42553 
    42554         DRT's dumpAsText() takes a snapshot when DocumentLoader::isLoadingInAPISense()
    42555         indicates the page is done. isLoadingInAPISense depends on
    42556         HTMLDocumentParser::isProcessingData(), which just checks if the parser is in an
    42557         insert() or append().
    42558 
    42559         This means that if the parser is pumping in a resumeParsingAfterScriptExecution() or
    42560         resumeParsingAfterYield(), isLoadingInAPISense() may not be blocked. This patch
    42561         fixes that by repurposing m_writeNestingLevel as m_pumpSessionNestingLevel and
    42562         incrementing it in pumpTokenizer().
    42563 
    42564         When I locally cause the parser to yield after every token, a lot of tests fail
    42565         because DRT snapshots too early. This patch fixes those tests, however I'm having
    42566         trouble writing a test case that reliably reproduces the problem without this patch
    42567         and passes with it (without changing yield constants). This is because it requires
    42568         4,096 tokens in a single pump session to yield and (len('<b>' * 4096 = 12k, which
    42569         doesn't always happen).
    42570 
    42571         * html/parser/HTMLDocumentParser.cpp:
    42572         (WebCore::HTMLDocumentParser::HTMLDocumentParser):
    42573         (WebCore::HTMLDocumentParser::~HTMLDocumentParser):
    42574         (WebCore::HTMLDocumentParser::processingData):
    42575         (WebCore::HTMLDocumentParser::pumpTokenizer):
    42576         (WebCore::HTMLDocumentParser::insert):
    42577         (WebCore::HTMLDocumentParser::append):
    42578         * html/parser/HTMLDocumentParser.h:
    42579         (WebCore::HTMLDocumentParser::inPumpSession):
    42580         (WebCore::HTMLDocumentParser::shouldDelayEnd):
    42581         * html/parser/HTMLParserScheduler.h:
    42582         (WebCore::PumpSession::PumpSession):
    42583         * html/parser/NestingLevelIncrementer.h:
    42584 
    42585 2011-02-26  Yongjun Zhang  <yongjun_zhang@apple.com>
    42586 
    42587         Reviewed by David Kilzer.
    42588 
    42589         https://bugs.webkit.org/show_bug.cgi?id=48781
    42590 
    42591         Add a resource load delegate method to query if WebCore should paint the default broken image for failed images.
    42592 
    42593         Add a new resource load client method (shouldPaintBrokenImage).  WebKit client can decide if WebCore
    42594         should paint the default broken image when an image fails to load or decode.  The method also passes the
    42595         URL of the failed image.
    42596 
    42597         Test: fast/images/support-broken-image-delegate.html
    42598 
    42599         * loader/FrameLoaderClient.h:
    42600         (WebCore::FrameLoaderClient::shouldPaintBrokenImage):
    42601         * loader/cache/CachedImage.cpp:
    42602         (WebCore::CachedImage::CachedImage):
    42603         (WebCore::CachedImage::image):
    42604         (WebCore::CachedImage::checkShouldPaintBrokenImage):
    42605         (WebCore::CachedImage::error):
    42606         * loader/cache/CachedImage.h:
    42607 
    42608 2011-02-26  Chris Evans  <cevans@chromium.org>
    42609 
    42610         Reviewed by Adam Barth.
    42611 
    42612         Database: Data race: should only touch the transaction queue inside the
    42613         lock.
    42614         https://bugs.webkit.org/show_bug.cgi?id=55031
    42615 
    42616         * storage/Database.cpp:
    42617         (WebCore::Database::changeVersion): only touch queue inside lock.
    42618         (WebCore::Database::runTransaction): only touch queue inside lock.
    42619 
    42620 2011-02-26  Yi Shen  <yi.4.shen@nokia.com>
    42621 
    42622         Reviewed by Eric Carlson.
    42623 
    42624         Missing volumechangeEvent in case of mediaPlayerVolumeChanged gets callback
    42625         https://bugs.webkit.org/show_bug.cgi?id=55147
    42626 
    42627         When HTMLMediaElement::mediaPlayerVolumeChanged() gets callback,
    42628         a volumechangeEvent event should be fired if the volume gets changed.
    42629 
    42630         Test: media/event-attributes.html
    42631 
    42632         * html/HTMLMediaElement.cpp:
    42633         (WebCore::HTMLMediaElement::setMuted): Remove updateVolume() since it does nothing when m_player is 0.
    42634         (WebCore::HTMLMediaElement::mediaPlayerVolumeChanged): Fire a volumechangeEvent when the volume is changed.
    42635 
    42636 2011-02-26  Eric Seidel  <eric@webkit.org>
    42637 
    42638         Reviewed by Maciej Stachowiak.
    42639 
    42640         disableRangeMutation quirk for mail slows down peacekeeper domDynamicCreationCreateElement
    42641         https://bugs.webkit.org/show_bug.cgi?id=55127
    42642 
    42643         Before:
    42644         avg 513.4
    42645         median 515
    42646         stdev 7.234638899074368
    42647         min 490
    42648         max 528
    42649 
    42650         After:
    42651         avg 508.15
    42652         median 510
    42653         stdev 6.966168243733426
    42654         min 485
    42655         max 515
    42656 
    42657         Yes, the stdev is a bit high to actually support my conclusions.  But looking
    42658         at the profile, this change makes a lot of sense.  I'll up the iterations
    42659         for future testing.
    42660 
    42661         * dom/Document.cpp:
    42662         (WebCore::disableRangeMutation):
    42663          - This check should only be compiled in if we're planning to run on Tiger or Leopard.
    42664 
    42665 2011-02-26  Vsevolod Vlasov  <vsevik@chromium.org>
    42666 
    42667         Reviewed by Pavel Feldman.
    42668 
    42669         DumpRenderTree should reset frame opener between tests.
    42670         https://bugs.webkit.org/show_bug.cgi?id=54874
    42671 
    42672         No new tests. (no code affected, just exporting a method for DumpRenderTree use)
    42673 
    42674         * WebCore.exp.in:
    42675 
    42676 2011-02-26  Chang Shu  <chang.shu@nokia.com>
    42677 
    42678         Reviewed by Antonio Gomes.
    42679 
    42680         Based on patch by Carlos Garcia Campos  <cgarcia@igalia.com>.
    42681 
    42682         Spatial Navigation: Add support for <select> element in multiple selection mode
    42683         https://bugs.webkit.org/show_bug.cgi?id=49261
    42684 
    42685         When spatial navigation is enabled, use space key to toggle select
    42686         items. And the up and down keys should not affect selection but just
    42687         navigate through items, which is indicated visually by a focus ring.
    42688 
    42689         New Test: fast/spatial-navigation/snav-single-select-list.html
    42690         Enhanced Test: fast/spatial-navigation/snav-multiple-select.html
    42691 
    42692         * dom/SelectElement.cpp:
    42693         (WebCore::SelectElement::listBoxDefaultEventHandler):
    42694         * rendering/RenderListBox.cpp:
    42695         (WebCore::RenderListBox::addFocusRingRects):
    42696         * rendering/RenderListBox.h:
    42697 
    42698 2011-02-25  Ryosuke Niwa  <rniwa@webkit.org>
    42699 
    42700         Unreviewed Qt build fix; included CSSValueList.h in EditingStyle.cpp.
    42701 
    42702         * editing/EditingStyle.cpp:
    42703 
    42704 2011-02-25  Ryosuke Niwa  <rniwa@webkit.org>
    42705 
    42706         Reviewed by Darin Adler.
    42707 
    42708         Move HTMLEquivalent and its subclasses to EditingStyle
    42709         https://bugs.webkit.org/show_bug.cgi?id=55207
    42710 
    42711         Moved HTMLEquivalent and its subclasses from ApplyStyleCommand to EditingStyle,
    42712         and renamed HTMLEquivalent, HTMLEquivalentValueList, HTMLAttributeEquivalent,
    42713         and HTMLEquivalentFontSizeAttribute to HTMLElementEquivalent, HTMLTextDecorationEquivalent,
    42714         HTMLAttributeEquivalent, and HTMLFontSizeEquivalent respectively.
    42715 
    42716         Also extracted the logic to determine which element and attribute are removed
    42717         as conflictsWithImplicitStyleOfElement, conflictsWithImplicitStyleOfAttributes,
    42718         and extractConflictingImplicitStyleOfAttributes.
    42719 
    42720         * editing/ApplyStyleCommand.cpp:
    42721         (WebCore::ApplyStyleCommand::removeInlineStyleFromElement):
    42722         (WebCore::ApplyStyleCommand::removeImplicitlyStyledElement):
    42723         * editing/ApplyStyleCommand.h:
    42724         * editing/EditingStyle.cpp:
    42725         (WebCore::HTMLElementEquivalent::create): Moved from ApplyStyleCommand.cpp.
    42726         (WebCore::HTMLElementEquivalent::~HTMLElementEquivalent): Ditto.
    42727         (WebCore::HTMLElementEquivalent::matches): Ditto.
    42728         (WebCore::HTMLElementEquivalent::hasAttribute): Ditto.
    42729         (WebCore::HTMLElementEquivalent::propertyExistsInStyle): Ditto.
    42730         (WebCore::HTMLElementEquivalent::HTMLElementEquivalent): Ditto.
    42731         (WebCore::HTMLElementEquivalent::valueIsPresentInStyle): Ditto.
    42732         (WebCore::HTMLElementEquivalent::addToStyle): Ditto.
    42733         (WebCore::HTMLTextDecorationEquivalent::create): Ditto.
    42734         (WebCore::HTMLTextDecorationEquivalent::HTMLTextDecorationEquivalent): Ditto.
    42735         (WebCore::HTMLTextDecorationEquivalent::valueIsPresentInStyle): Ditto.
    42736         (WebCore::HTMLAttributeEquivalent::create): Ditto.
    42737         (WebCore::HTMLAttributeEquivalent::matches): Ditto.
    42738         (WebCore::HTMLAttributeEquivalent::hasAttribute): Ditto.
    42739         (WebCore::HTMLAttributeEquivalent::attributeName): Ditto.
    42740         (WebCore::HTMLAttributeEquivalent::HTMLAttributeEquivalent): Ditto.
    42741         (WebCore::HTMLAttributeEquivalent::valueIsPresentInStyle): Ditto.
    42742         (WebCore::HTMLAttributeEquivalent::addToStyle): Ditto.
    42743         (WebCore::HTMLAttributeEquivalent::attributeValueAsCSSValue): Ditto.
    42744         (WebCore::HTMLFontSizeEquivalent::create): Ditto.
    42745         (WebCore::HTMLFontSizeEquivalent::HTMLFontSizeEquivalent): Ditto.
    42746         (WebCore::HTMLFontSizeEquivalent::attributeValueAsCSSValue): Ditto.
    42747         (WebCore::EditingStyle::conflictsWithImplicitStyleOfElement): Added.
    42748         (WebCore::htmlAttributeEquivalents): Added.
    42749         (WebCore::EditingStyle::conflictsWithImplicitStyleOfAttributes): Added.
    42750         (WebCore::EditingStyle::extractConflictingImplicitStyleOfAttributes): Added.
    42751         * editing/EditingStyle.h:
    42752 
    42753 2011-02-25  Chris Fleizach  <cfleizach@apple.com>
    42754 
    42755         Reviewed by Anders Carlsson.
    42756 
    42757         AX: Add Xcode entries back to the navigator list for Accessibility cpp files
    42758         https://bugs.webkit.org/show_bug.cgi?id=55280
    42759 
    42760         * WebCore.xcodeproj/project.pbxproj:
    42761 
    42762 2011-02-25  Fumitoshi Ukai  <ukai@chromium.org>
    42763 
    42764         Reviewed by Adam Barth.
    42765 
    42766         WebSocket uses insecure random numbers
    42767         https://bugs.webkit.org/show_bug.cgi?id=54714
    42768 
    42769         * websockets/WebSocketHandshake.cpp:
    42770         (WebCore::randomNumberLessThan):
    42771         (WebCore::generateSecWebSocketKey):
    42772         (WebCore::generateKey3):
    42773 
    42774 2011-02-25  Eric Carlson  <eric.carlson@apple.com>
    42775 
    42776         Reviewed by Darin Adler.
    42777 
    42778         Add API to enumerate/delete files downloaded for <audio> and <video>
    42779         https://bugs.webkit.org/show_bug.cgi?id=55267
    42780 
    42781         Add review changes missed in r79737.
    42782 
    42783         * html/HTMLMediaElement.cpp:
    42784         (WebCore::HTMLMediaElement::clearMediaCacheForSite): Pass string by reference.
    42785         * html/HTMLMediaElement.h:
    42786         * platform/graphics/MediaPlayer.cpp:
    42787         (WebCore::MediaPlayer::clearMediaCacheForSite): Ditto.
    42788         * platform/graphics/MediaPlayer.h:
    42789         * platform/graphics/MediaPlayerPrivate.h:
    42790         (WebCore::MediaPlayerPrivateInterface::clearMediaCacheForSite): Ditto.
    42791 
    42792 2011-02-25  Eric Carlson  <eric.carlson@apple.com>
    42793 
    42794         Reviewed by Darin Adler.
    42795 
    42796         Add API to enumerate/delete files downloaded for <audio> and <video>
    42797         https://bugs.webkit.org/show_bug.cgi?id=55267
    42798         <rdar://problem/9049280>
    42799 
    42800         No new tests, this is just the plumbing.
    42801 
    42802         * html/HTMLMediaElement.cpp:
    42803         (WebCore::HTMLMediaElement::getSitesInMediaCache): New, call through to MediaPlayer.
    42804         (WebCore::HTMLMediaElement::clearMediaCache): Ditto.
    42805         (WebCore::HTMLMediaElement::clearMediaCacheForSite): Ditto.
    42806         * html/HTMLMediaElement.h:
    42807 
    42808         * platform/graphics/MediaPlayer.cpp:
    42809         (WebCore::MediaPlayer::getSitesInMediaCache): New, call through to media engine.
    42810         (WebCore::MediaPlayer::clearMediaCache): Ditto.
    42811         (WebCore::MediaPlayer::clearMediaCacheForSite): Ditto.
    42812         * platform/graphics/MediaPlayer.h:
    42813 
    42814         * platform/graphics/MediaPlayerPrivate.h:
    42815         (WebCore::MediaPlayerPrivateInterface::getSitesInMediaCache): Declare new interface.
    42816         (WebCore::MediaPlayerPrivateInterface::clearMediaCache): Ditto.
    42817         (WebCore::MediaPlayerPrivateInterface::clearMediaCacheForSite): Ditto.
    42818 
    42819 2011-02-25  Abhishek Arya  <inferno@chromium.org>
    42820 
    42821         Reviewed by Dave Hyatt.
    42822 
    42823         Don't add inline continuation outline to the containing block's
    42824         continuationOutlineTable list if it is not enclosed by an anonymous block.
    42825         https://bugs.webkit.org/show_bug.cgi?id=54690
    42826 
    42827         We currently don't reconnect inline continuations after a child removal.
    42828         As a result, those merged inlines do not get seperated and hence not get enclosed
    42829         by anonymous blocks. In this case, it is better to bail out and paint it ourself.
    42830 
    42831         Test: fast/table/table-continuation-outline-paint-crash.html
    42832 
    42833         * rendering/InlineFlowBox.cpp:
    42834         (WebCore::InlineFlowBox::paint):
    42835         * rendering/RenderBlock.cpp:
    42836         (WebCore::RenderBlock::paintsContinuationOutline): helper function to tell
    42837         if this containing block has the continuation flow in its continuations list.
    42838         * rendering/RenderBlock.h: helper function definition.
    42839         * rendering/RenderInline.cpp:
    42840         (WebCore::RenderInline::destroy): debug only code that asserts if we leave
    42841         behind a continuation in the containing block's continuation list when it is
    42842         getting destroyed.
    42843 
    42844 2011-02-25  David Hyatt  <hyatt@apple.com>
    42845 
    42846         Reviewed by Adam Roben.
    42847 
    42848         https://bugs.webkit.org/show_bug.cgi?id=55265, remove the unused "Static" type
    42849         from Length.
    42850 
    42851         * css/CSSPrimitiveValue.cpp:
    42852         (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
    42853         * platform/Length.h:
    42854         (WebCore::Length::isFixed):
    42855         * rendering/AutoTableLayout.cpp:
    42856         (WebCore::AutoTableLayout::layout):
    42857         * rendering/RenderImage.cpp:
    42858         (WebCore::RenderImage::isLogicalWidthSpecified):
    42859         (WebCore::RenderImage::isLogicalHeightSpecified):
    42860         * rendering/RenderObject.h:
    42861         (WebCore::RenderObject::markContainingBlocksForLayout):
    42862         * rendering/style/RenderStyle.h:
    42863         (WebCore::InheritedFlags::hasStaticX):
    42864         (WebCore::InheritedFlags::hasStaticY):
    42865 
    42866 2011-02-25  Brian Weinstein  <bweinstein@apple.com>
    42867 
    42868         Windows build fix.
    42869 
    42870         * platform/network/cf/CookieJarCFNet.cpp:
    42871         (WebCore::getHostnamesWithCookies): Add a const_cast.
    42872         (WebCore::deleteCookiesForHostname): Ditto.
    42873 
    42874 2011-02-25  Pavel Feldman  <pfeldman@chromium.org>
    42875 
    42876         Reviewed by Timothy Hatcher.
    42877 
    42878         Web Inspector: Empty Elements panel after closing and reopening Inspector
    42879         https://bugs.webkit.org/show_bug.cgi?id=55248
    42880 
    42881         Fixing regression real quick. Test to follow.
    42882 
    42883         * inspector/InspectorDOMAgent.cpp:
    42884         (WebCore::InspectorDOMAgent::reset):
    42885 
    42886 2011-02-25  Pavel Feldman  <pfeldman@chromium.org>
    42887 
    42888         Not reviewed: added missing handle scope into V8InjectedScriptHostCustom.
    42889         https://bugs.webkit.org/show_bug.cgi?id=55256
    42890 
    42891         * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
    42892         (WebCore::InjectedScriptHost::nodeAsScriptValue):
    42893         (WebCore::V8InjectedScriptHost::currentCallFrameCallback):
    42894 
    42895 2011-02-25  David Hyatt  <hyatt@apple.com>
    42896 
    42897         Reviewed by Sam Weinig.
    42898 
    42899         https://bugs.webkit.org/show_bug.cgi?id=46500, make positioned elements work with vertical text.
    42900        
    42901         Make positioned objects work with all possible crazy combinations of mixed writing modes.  Added new helper
    42902         functions that flip around the padding box of the containing block and then add in the appropriate border
    42903         side to ensure that the offset of the positioned object is actually correctly placed in the containing block's
    42904         local coordinate space.
    42905 
    42906         Added two new tests of both replaced and non-replaced positioned elements in mixed writing mode environments.
    42907 
    42908         * rendering/RenderBox.cpp:
    42909         (WebCore::computeLogicalLeftPositionedOffset):
    42910         (WebCore::RenderBox::computePositionedLogicalWidthUsing):
    42911         (WebCore::computeLogicalTopPositionedOffset):
    42912         (WebCore::RenderBox::computePositionedLogicalHeightUsing):
    42913         (WebCore::RenderBox::computePositionedLogicalWidthReplaced):
    42914         (WebCore::RenderBox::computePositionedLogicalHeightReplaced):
    42915 
    42916 2011-02-25  Brian Weinstein  <bweinstein@apple.com>
    42917 
    42918         Reviewed by Brady Eidson and looked over by Jessie Berlin.
    42919 
    42920         WebKit2: Need a way to manage cookies from the web process
    42921         https://bugs.webkit.org/show_bug.cgi?id=55086
    42922        
    42923         Implement the functions needed to manage cookies in CookieJar (getHostnamesWithCookies,
    42924         deleteCookiesWithHostname, and deleteAllCookies) for Mac and CFNetwork (stub out the rest),
    42925         and call them from WebKit2's WebCookieManager.
    42926 
    42927         No change in behavior needing tests.
    42928 
    42929         * WebCore.exp.in: Added needed functions to export.
    42930         * platform/CookieJar.h:
    42931 
    42932         * platform/mac/CookieJar.mm:
    42933         (WebCore::getHostnamesWithCookies): Gets all hostnames with cookies from NSHTTPCookieStorage.
    42934         (WebCore::deleteCookiesForHostname): Deletes all cookies with a given hostname from
    42935             NSHTTPCookieStorage.
    42936         (WebCore::deleteAllCookies): Deletes all cookies from NSHTTPCookieStorage.
    42937        
    42938         * platform/network/cf/CookieJarCFNet.cpp:
    42939         (WebCore::getHostnamesWithCookies): Implement using CFNetwork cookie APIs.
    42940         (WebCore::deleteCookiesForHostname): Ditto.
    42941         (WebCore::deleteAllCookies): Ditto.
    42942 
    42943         * platform/efl/CookieJarEfl.cpp: Added stub functions.
    42944         * platform/haiku/CookieJarHaiku.cpp: Ditto.
    42945         * platform/network/android/CookieJarAndroid.cpp: Ditto.
    42946         * platform/network/chromium/CookieJarChromium.cpp: Ditto.
    42947         * platform/network/curl/CookieJarCurl.cpp: Ditto.
    42948         * platform/network/soup/CookieJarSoup.cpp: Ditto.
    42949         * platform/network/win/CookieJarWin.cpp: Ditto.
    42950         * platform/qt/CookieJarQt.cpp: Ditto.
    42951 
    42952 2011-02-25  Eric Carlson  <eric.carlson@apple.com>
    42953 
    42954         Reviewed by Eric Seidel.
    42955 
    42956         'load' and 'error' events fired for @poster
    42957         https://bugs.webkit.org/show_bug.cgi?id=54908
    42958 
    42959         * html/HTMLImageLoader.cpp:
    42960         (WebCore::HTMLImageLoader::dispatchLoadEvent): Don't fire events when being used
    42961         by a video element.
    42962 
    42963 2011-02-25  David Hyatt  <hyatt@apple.com>
    42964 
    42965         Reviewed by Sam Weinig.
    42966 
    42967         https://bugs.webkit.org/show_bug.cgi?id=46500, make positioned elements work with vertical text.
    42968        
    42969         Patch computePositionedLogicalHeightReplaced to be writing-mode aware.
    42970        
    42971         Added six new tests in fast/replaced.
    42972 
    42973         * rendering/RenderBox.cpp:
    42974         (WebCore::RenderBox::computePositionedLogicalHeightReplaced):
    42975 
    42976 2011-02-25  Patrick Gansterer  <paroga@webkit.org>
    42977 
    42978         Unreviewed build fix.
    42979 
    42980         * platform/text/brew/TextBreakIteratorBrew.cpp:
    42981         (WebCore::acquireLineBreakIterator):
    42982         * platform/text/wince/TextBreakIteratorWinCE.cpp:
    42983         (WebCore::acquireLineBreakIterator):
    42984 
    42985 2011-02-25  Vangelis Kokkevis  <vangelis@chromium.org>
    42986 
    42987         Reviewed by Simon Fraser.
    42988 
    42989         Update the clip layer size whenever the root layer's size and position
    42990         is updated. This only affects the accelerated compositing path.
    42991         https://bugs.webkit.org/show_bug.cgi?id=55103
    42992 
    42993         * rendering/RenderLayerCompositor.cpp:
    42994         (WebCore::RenderLayerCompositor::updateRootLayerPosition):
    42995 
    42996         Test: platform/chromium/compositing/layout-width-change.html
    42997 
    42998         * rendering/RenderLayerCompositor.cpp:
    42999         (WebCore::RenderLayerCompositor::updateRootLayerPosition):
    43000 
    43001 2011-02-25  Ned Holbrook  <nholbrook@apple.com>
    43002 
    43003         Reviewed by Dan Bernstein.
    43004 
    43005         Minimize calls to ubrk_setText()
    43006         https://bugs.webkit.org/show_bug.cgi?id=54912
    43007         <rdar://problem/9032774>
    43008 
    43009         Avoid calling ubrk_setText() once per call to isBreakable() by using a LazyLineBreakIterator, which defers
    43010         break iterator creation until needed. This requires replacing the global line break iterator primitive with a
    43011         version that can be nested, since in some cases two iterators may need to be outstanding. In particular,
    43012         layoutInlineChildren() may indirectly call computePreferredLogicalWidths() and each may need an iterator.
    43013         In a test with a paragraph of Japanese text, this reduced the number of ubrk_setText() calls from 164 to 1.
    43014 
    43015         * platform/text/TextBreakIterator.h: Add LazyLineBreakIterator.
    43016         (WebCore::LazyLineBreakIterator::LazyLineBreakIterator):
    43017         (WebCore::LazyLineBreakIterator::~LazyLineBreakIterator):
    43018         (WebCore::LazyLineBreakIterator::string):
    43019         (WebCore::LazyLineBreakIterator::length):
    43020         (WebCore::LazyLineBreakIterator::get):
    43021         (WebCore::LazyLineBreakIterator::reset):
    43022         * platform/text/TextBreakIteratorICU.cpp: Replace lineBreakIterator() primitive with acquireLineBreakIterator()/releaseLineBreakIterator().
    43023         (WebCore::acquireLineBreakIterator):
    43024         (WebCore::releaseLineBreakIterator):
    43025         * platform/text/brew/TextBreakIteratorBrew.cpp: Ditto.
    43026         (WebCore::acquireLineBreakIterator):
    43027         (WebCore::releaseLineBreakIterator):
    43028         * platform/text/gtk/TextBreakIteratorGtk.cpp: Ditto.
    43029         (WebCore::acquireLineBreakIterator):
    43030         (WebCore::releaseLineBreakIterator):
    43031         * platform/text/qt/TextBreakIteratorQt.cpp: Ditto.
    43032         (WebCore::acquireLineBreakIterator):
    43033         (WebCore::releaseLineBreakIterator):
    43034         * platform/text/wince/TextBreakIteratorWinCE.cpp: Ditto.
    43035         (WebCore::acquireLineBreakIterator):
    43036         (WebCore::releaseLineBreakIterator):
    43037         * rendering/RenderBlock.h:
    43038         * rendering/RenderBlockLineLayout.cpp:
    43039         (WebCore::RenderBlock::layoutInlineChildren): Pass a mapping of RenderText to LazyLineBreakIterator from one call of findNextLineBreak() to the next.
    43040         (WebCore::RenderBlock::findNextLineBreak): Use said mapping, resetting LazyLineBreakIterator for any newly-encountered RenderText.
    43041         * rendering/RenderText.cpp: Use a local LazyLineBreakIterator.
    43042         (WebCore::RenderText::computePreferredLogicalWidths):
    43043         * rendering/break_lines.cpp: Accept LazyLineBreakIterator rather than UniChar buffer.
    43044         (WebCore::nextBreakablePosition):
    43045         * rendering/break_lines.h: Accept LazyLineBreakIterator rather than UniChar buffer.
    43046         (WebCore::isBreakable):
    43047 
    43048 2011-02-25  David Hyatt  <hyatt@apple.com>
    43049 
    43050         Reviewed by Sam Weinig.
    43051 
    43052         https://bugs.webkit.org/show_bug.cgi?id=46500, make positioned elements work with vertical text.
    43053        
    43054         Patch computePositionedLogicalWidthReplaced to be writing-mode aware.  Not testable yet, since the height function overwrites the values
    43055         in a vertical text environment.
    43056 
    43057         * rendering/RenderBox.cpp:
    43058         (WebCore::RenderBox::computePositionedLogicalWidthReplaced):
    43059 
    43060 2011-02-25  Abhishek Arya  <inferno@chromium.org>
    43061 
    43062         Reviewed by Dave Hyatt.
    43063 
    43064         When trying to find which lines to dirty for a changed child, make sure
    43065         that we do test if the adjacent next linebox contains that changed child
    43066         and if yes, dirty it. This can happen in cases when we have a word break
    43067         between text nodes.
    43068         https://bugs.webkit.org/show_bug.cgi?id=55206
    43069 
    43070         Test: fast/text/word-break-next-linebox-not-dirty-crash-main.html
    43071 
    43072         * rendering/RenderLineBoxList.cpp:
    43073         (WebCore::RenderLineBoxList::dirtyLinesFromChangedChild):
    43074 
    43075 2011-02-25  Andrey Adaikin  <aandrey@google.com>
    43076 
    43077         Reviewed by Pavel Feldman.
    43078 
    43079         Web Inspector: [Text editor] Add basic layout tests for the highlighter
    43080         https://bugs.webkit.org/show_bug.cgi?id=54751
    43081 
    43082         Test: inspector/editor/highlighter-basics.html
    43083 
    43084         * inspector/front-end/TextEditorHighlighter.js:
    43085         (WebInspector.TextEditorHighlighter.prototype.highlight):
    43086 
    43087 2011-02-24  Alexander Pavlov  <apavlov@chromium.org>
    43088 
    43089         Reviewed by Pavel Feldman.
    43090 
    43091         Web Inspector: Huge fonts in font preview
    43092         https://bugs.webkit.org/show_bug.cgi?id=55143
    43093 
    43094         * inspector/front-end/FontView.js:
    43095         (WebInspector.FontView.prototype._createContentIfNeeded):
    43096         (WebInspector.FontView.prototype.show):
    43097         (WebInspector.FontView.prototype.resize):
    43098         (WebInspector.FontView.prototype._measureElement):
    43099         (WebInspector.FontView.prototype.updateFontPreviewSize):
    43100 
    43101 2011-02-25  Nikolas Zimmermann  <nzimmermann@rim.com>
    43102 
    43103         Reviewed by Dirk Schulze.
    43104 
    43105         Implement SVGColor/SVGPaint API
    43106         https://bugs.webkit.org/show_bug.cgi?id=55119
    43107 
    43108         SVGColor::cssText() shouldn't return #RRGGBBAA colors
    43109         https://bugs.webkit.org/show_bug.cgi?id=48120
    43110 
    43111         Rewrite SVGColor/SVGPaint to actually implement their desired setPaint/setColor/setURI APIs.
    43112         SVGPaint is a CSSValue, and its setPaint() function allows to switch to an arbitary paint type.
    43113         That means, unlike all other CSSValues, SVGColor/SVGPaint are mutable. That means changes to
    43114         their CSSValues should be reflected in the elements style as well as in the computed style.
    43115         This patch doesn't yet implement that, the stubbed-out method valueChanged() is what
    43116         needs to be implemented. For now you can grab a SVGColor/SVGPaint object through getCSSPropertyValue
    43117         and manipulate it, in every possible way (SVPaint.uri/paintType/colorType/color attributes are all sync'ed).
    43118         Switch to strict JS bindings (RequiresAllArguments=Raise, StrictTypeChecking) for both objects.
    43119 
    43120         Enable proper serialization of colors through Color::serialized(), affects some testcases (#FF.. -> #ff..)
    43121         Add extensive tests of all SVGColor/SVGPaint API, currently shows some FAIL messages, as element style
    43122         <-> computed style is not live, after mutating SVGColor/SVGPaint. That will be implemented in a follow-up patch.
    43123 
    43124         Tests: svg/dom/SVGColor.html
    43125                svg/dom/SVGPaint.html
    43126 
    43127         * bindings/scripts/CodeGenerator.pm: Remove obsolete handling of "SVGPaintType", take ushort for paintType, as specified in the SVG 1.1 IDLs.
    43128         * bindings/scripts/CodeGeneratorJS.pm: Ditto.
    43129         * bindings/scripts/CodeGeneratorObjC.pm: Ditto.
    43130         * bindings/scripts/CodeGeneratorV8.pm: Ditto.
    43131         * css/SVGCSSParser.cpp: Adapt to SVGPaint/SVGColor create() naming convention changes.
    43132         (WebCore::CSSParser::parseSVGValue):
    43133         (WebCore::CSSParser::parseSVGPaint):
    43134         (WebCore::CSSParser::parseSVGColor):
    43135         * svg/SVGColor.cpp: Rewrite to fully implement the SVGColor API, merge all constructors into one, use more descriptable create() naming convention.
    43136         (WebCore::valueChanged): Stub implementation, will land in a follow-up patch.
    43137         (WebCore::SVGColor::SVGColor):
    43138         (WebCore::SVGColor::setRGBColor):
    43139         (WebCore::SVGColor::colorFromRGBColorString):
    43140         (WebCore::SVGColor::setRGBColorICCColor):
    43141         (WebCore::SVGColor::setColor):
    43142         (WebCore::SVGColor::cssText):
    43143         * svg/SVGColor.h:
    43144         (WebCore::SVGColor::createFromString):
    43145         (WebCore::SVGColor::createFromColor):
    43146         (WebCore::SVGColor::color):
    43147         (WebCore::SVGColor::colorType):
    43148         (WebCore::SVGColor::~SVGColor):
    43149         (WebCore::SVGColor::setColor):
    43150         (WebCore::SVGColor::setColorType):
    43151         * svg/SVGColor.idl: Enable strict type checking.
    43152         * svg/SVGPaint.cpp: Rewrite to fully implement the SVGPaint API, merge all constructors into one, use more descriptable create() naming convention.
    43153         (WebCore::valueChanged): Stub implementation, will land in a follow-up patch.
    43154         (WebCore::colorTypeForPaintType):
    43155         (WebCore::SVGPaint::SVGPaint):
    43156         (WebCore::SVGPaint::setUri):
    43157         (WebCore::SVGPaint::defaultFill):
    43158         (WebCore::SVGPaint::defaultStroke):
    43159         (WebCore::SVGPaint::setPaint):
    43160         (WebCore::SVGPaint::cssText):
    43161         (WebCore::SVGPaint::matchesTargetURI):
    43162         * svg/SVGPaint.h:
    43163         (WebCore::SVGPaint::createUnknown):
    43164         (WebCore::SVGPaint::createNone):
    43165         (WebCore::SVGPaint::createCurrentColor):
    43166         (WebCore::SVGPaint::createColor):
    43167         (WebCore::SVGPaint::createURI):
    43168         (WebCore::SVGPaint::createURIAndColor):
    43169         (WebCore::SVGPaint::paintType):
    43170         (WebCore::SVGPaint::uri):
    43171         (WebCore::SVGPaint::create):
    43172         (WebCore::SVGPaint::isSVGPaint):
    43173         * svg/SVGPaint.idl: Enable strict type checking.
    43174 
    43175 2011-02-25  Renata Hodovan  <reni@webkit.org>
    43176 
    43177         Reviewed by Nikolas Zimmermann.
    43178 
    43179         FESpecularLightingElement changes doesn't require relayout.
    43180         https://bugs.webkit.org/show_bug.cgi?id=54451
    43181 
    43182         When the FESpecularLightingElement receives an update message but the given value remains the same we don't need
    43183         to relayout the filter. Otherwise, the light source requests a repaint on the specular lighting filter.
    43184         Besides add ASSERTs to DiffuseLightElement::setFilterEffectAttribute as well to avoid lightSources being null.
    43185 
    43186         No new tests are needed to check the repaint because it is covered by the dynamic update tests of FESpecularLighting.
    43187         We only test what happens if we remove the light source of specularLight.
    43188 
    43189         Test: svg/dynamic-updates/SVGFESpecularLightingElement-remove-lightSource.html
    43190 
    43191         * platform/graphics/filters/FESpecularLighting.cpp:
    43192         (WebCore::FESpecularLighting::setSurfaceScale):
    43193         (WebCore::FESpecularLighting::setSpecularConstant):
    43194         (WebCore::FESpecularLighting::setSpecularExponent):
    43195         (WebCore::FESpecularLighting::setKernelUnitLengthX):
    43196         (WebCore::FESpecularLighting::setKernelUnitLengthY):
    43197         * platform/graphics/filters/FESpecularLighting.h:
    43198         * rendering/svg/RenderSVGResourceFilter.cpp:
    43199         (WebCore::RenderSVGResourceFilter::postApplyResource):
    43200         * svg/SVGFEDiffuseLightingElement.cpp:
    43201         (WebCore::SVGFEDiffuseLightingElement::setFilterEffectAttribute):
    43202         (WebCore::SVGFEDiffuseLightingElement::lightElementAttributeChanged):
    43203         (WebCore::SVGFEDiffuseLightingElement::build):
    43204         * svg/SVGFEDiffuseLightingElement.h:
    43205         * svg/SVGFELightElement.cpp:
    43206         (WebCore::SVGFELightElement::findLightElement):
    43207         (WebCore::SVGFELightElement::findLight):
    43208         (WebCore::SVGFELightElement::svgAttributeChanged):
    43209         * svg/SVGFELightElement.h:
    43210         * svg/SVGFESpecularLightingElement.cpp:
    43211         (WebCore::SVGFESpecularLightingElement::setFilterEffectAttribute):
    43212         (WebCore::SVGFESpecularLightingElement::svgAttributeChanged):
    43213         (WebCore::SVGFESpecularLightingElement::lightElementAttributeChanged):
    43214         (WebCore::SVGFESpecularLightingElement::build):
    43215         * svg/SVGFESpecularLightingElement.h:
    43216 
    43217 2011-02-24  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
    43218 
    43219         Reviewed by Andreas Kling.
    43220 
    43221         [Qt] Revert the support for QNAM affined to a different thread.
    43222         https://bugs.webkit.org/show_bug.cgi?id=55149
    43223 
    43224         Qt 4.8 will have QNAM use its own thread internally by default,
    43225         no need to keep this complexity in WebKit.
    43226 
    43227         This mainly reverts:
    43228         http://trac.webkit.org/changeset/73710
    43229         http://trac.webkit.org/changeset/73712
    43230 
    43231         * WebCore.pro:
    43232         * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
    43233         (WebCore::MediaPlayerPrivateQt::commitLoad):
    43234         * platform/network/qt/QNetworkReplyHandler.cpp:
    43235         (WebCore::FormDataIODevice::FormDataIODevice):
    43236         (WebCore::QNetworkReplyHandler::QNetworkReplyHandler):
    43237         (WebCore::QNetworkReplyHandler::setLoadMode):
    43238         (WebCore::QNetworkReplyHandler::abort):
    43239         (WebCore::QNetworkReplyHandler::release):
    43240         (WebCore::ignoreHttpError):
    43241         (WebCore::QNetworkReplyHandler::finish):
    43242         (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
    43243         (WebCore::QNetworkReplyHandler::forwardData):
    43244         (WebCore::QNetworkReplyHandler::start):
    43245         (WebCore::QNetworkReplyHandler::sendQueuedItems):
    43246         * platform/network/qt/QNetworkReplyHandler.h:
    43247         (WebCore::QNetworkReplyHandler::reply):
    43248         * platform/network/qt/QtNAMThreadSafeProxy.cpp: Removed.
    43249         * platform/network/qt/QtNAMThreadSafeProxy.h: Removed.
    43250         * platform/network/qt/ResourceHandleQt.cpp:
    43251         (WebCore::ResourceHandle::willLoadFromCache):
    43252         * platform/qt/CookieJarQt.cpp:
    43253         (WebCore::cookieJar):
    43254         (WebCore::setCookies):
    43255         (WebCore::cookies):
    43256         (WebCore::cookieRequestHeaderFieldValue):
    43257         (WebCore::cookiesEnabled):
    43258 
    43259 2011-02-25  Renata Hodovan  <reni@webkit.org>
    43260 
    43261         Reviewed by Andreas Kling.
    43262 
    43263         FEBlendElement changes doesn't require relayout
    43264         https://bugs.webkit.org/show_bug.cgi?id=55138
    43265 
    43266         When the FEBlendElement receives an update message but the given value remains the same we don't need
    43267         to relayout the filter.
    43268 
    43269         No new tests are needed because this modificiation is covered by the dynamic update tests of FEBlend.
    43270 
    43271         * platform/graphics/filters/FEBlend.cpp:
    43272         (WebCore::FEBlend::setBlendMode):
    43273         * platform/graphics/filters/FEBlend.h:
    43274         * svg/SVGFEBlendElement.cpp:
    43275         (WebCore::SVGFEBlendElement::setFilterEffectAttribute):
    43276         (WebCore::SVGFEBlendElement::svgAttributeChanged):
    43277         (WebCore::SVGFEBlendElement::synchronizeProperty):
    43278         * svg/SVGFEBlendElement.h:
    43279 
    43280 2011-02-24  Daniel Bates  <dbates@rim.com>
    43281 
    43282         Reviewed by Antonio Gomes.
    43283 
    43284         Clean up: Extract table height adjustment for <caption> into common function
    43285         https://bugs.webkit.org/show_bug.cgi?id=54936
    43286 
    43287         We use similar logic for adjusting the height of a table with respect
    43288         to a top- and bottom-positioned <caption>. Instead, we should extract
    43289         the common code into a shared function.
    43290 
    43291         No functionality changed. So no new tests.
    43292 
    43293         * rendering/RenderTable.cpp:
    43294         (WebCore::RenderTable::adjustLogicalHeightForCaption): Added.
    43295         (WebCore::RenderTable::layout): Extracted common code to adjust table height
    43296         with respect to the <caption> into RenderTable::adjustLogicalHeightForCaption().
    43297         * rendering/RenderTable.h:
    43298 
    43299 2011-02-24  James Robinson  <jamesr@chromium.org>
    43300 
    43301         Reviewed by Kenneth Russell.
    43302 
    43303         [chromium] Move draw time properties out of *LayerChromium to CCLayerImpl
    43304         https://bugs.webkit.org/show_bug.cgi?id=55013
    43305 
    43306         This adds a new type (tentatively named CCLayerImpl) responsible for drawing/compositing layers.
    43307         Currently LayerChromiums know about their CCLayerImpls and CCLayerImpls rely on the LayerChromium
    43308         tree for structure.  In theory updates are a LayerChromium-only concept and draw is a CCLayerImpl-only
    43309         concept, but this patch doesn't go all there yet in the interest of keeping the patch small-ish.
    43310 
    43311         RenderSurfaces are a CCLayerImpl-only concepts and no longer have any direct LayerChromium dependencies.
    43312 
    43313         Note: I've put CCLayerImpl into a new 'cc' directory under platform/graphics/chromium/ and intentionally
    43314         not added it to the include path.  We plan to add more compositor implementation details to this directory
    43315         and we want to keep accidental dependencies on these files to a minimum.
    43316 
    43317         See https://bugs.webkit.org/show_bug.cgi?id=54047 for the big picture.
    43318 
    43319         Refactor only, compositing/ tests cover these codepaths.
    43320 
    43321         * WebCore.gypi:
    43322         * platform/graphics/chromium/CanvasLayerChromium.cpp:
    43323         (WebCore::CanvasLayerChromium::draw):
    43324         * platform/graphics/chromium/ContentLayerChromium.cpp:
    43325         (WebCore::ContentLayerChromium::requiresClippedUpdateRect):
    43326         (WebCore::ContentLayerChromium::updateContentsIfDirty):
    43327         (WebCore::ContentLayerChromium::draw):
    43328         * platform/graphics/chromium/LayerChromium.cpp:
    43329         (WebCore::LayerChromium::LayerChromium):
    43330         (WebCore::LayerChromium::cleanupResources):
    43331         (WebCore::LayerChromium::setLayerRenderer):
    43332         (WebCore::LayerChromium::setBounds):
    43333         (WebCore::LayerChromium::setFrame):
    43334         (WebCore::LayerChromium::setNeedsDisplay):
    43335         (WebCore::LayerChromium::setBorderColor):
    43336         (WebCore::LayerChromium::borderColor):
    43337         (WebCore::LayerChromium::setBorderWidth):
    43338         (WebCore::LayerChromium::borderWidth):
    43339         (WebCore::LayerChromium::layerRenderer):
    43340         (WebCore::LayerChromium::setDoubleSided):
    43341         (WebCore::LayerChromium::bounds):
    43342         * platform/graphics/chromium/LayerChromium.h:
    43343         (WebCore::LayerChromium::maskDrawLayer):
    43344         (WebCore::LayerChromium::ccLayerImpl):
    43345         * platform/graphics/chromium/LayerRendererChromium.cpp:
    43346         (WebCore::LayerRendererChromium::compareLayerZ):
    43347         (WebCore::LayerRendererChromium::drawLayers):
    43348         (WebCore::LayerRendererChromium::updateLayersRecursive):
    43349         (WebCore::LayerRendererChromium::setCompositeOffscreen):
    43350         (WebCore::LayerRendererChromium::getOffscreenLayerTexture):
    43351         (WebCore::LayerRendererChromium::drawLayer):
    43352         * platform/graphics/chromium/LayerRendererChromium.h:
    43353         * platform/graphics/chromium/PluginLayerChromium.cpp:
    43354         (WebCore::PluginLayerChromium::draw):
    43355         * platform/graphics/chromium/RenderSurfaceChromium.cpp:
    43356         (WebCore::RenderSurfaceChromium::RenderSurfaceChromium):
    43357         (WebCore::RenderSurfaceChromium::drawSurface):
    43358         (WebCore::RenderSurfaceChromium::draw):
    43359         * platform/graphics/chromium/RenderSurfaceChromium.h:
    43360         * platform/graphics/chromium/VideoLayerChromium.cpp:
    43361         (WebCore::VideoLayerChromium::drawYUV):
    43362         (WebCore::VideoLayerChromium::drawRGBA):
    43363         * platform/graphics/chromium/cc/CCLayerImpl.cpp: Added.
    43364         (WebCore::CCLayerImpl::CCLayerImpl):
    43365         (WebCore::CCLayerImpl::~CCLayerImpl):
    43366         (WebCore::CCLayerImpl::superlayer):
    43367         (WebCore::CCLayerImpl::maskLayer):
    43368         (WebCore::CCLayerImpl::replicaLayer):
    43369         (WebCore::CCLayerImpl::setLayerRenderer):
    43370         (WebCore::CCLayerImpl::createRenderSurface):
    43371         (WebCore::CCLayerImpl::updateContentsIfDirty):
    43372         (WebCore::CCLayerImpl::drawsContent):
    43373         (WebCore::CCLayerImpl::draw):
    43374         (WebCore::CCLayerImpl::unreserveContentsTexture):
    43375         (WebCore::CCLayerImpl::bindContentsTexture):
    43376         (WebCore::CCLayerImpl::cleanupResources):
    43377         (WebCore::CCLayerImpl::getDrawRect):
    43378         (WebCore::CCLayerImpl::drawDebugBorder):
    43379         * platform/graphics/chromium/cc/CCLayerImpl.h: Added.
    43380         (WebCore::CCLayerImpl::create):
    43381         (WebCore::CCLayerImpl::setDebugBorderColor):
    43382         (WebCore::CCLayerImpl::debugBorderColor):
    43383         (WebCore::CCLayerImpl::setDebugBorderWidth):
    43384         (WebCore::CCLayerImpl::debugBorderWidth):
    43385         (WebCore::CCLayerImpl::layerRenderer):
    43386         (WebCore::CCLayerImpl::renderSurface):
    43387         (WebCore::CCLayerImpl::clearRenderSurface):
    43388         (WebCore::CCLayerImpl::drawDepth):
    43389         (WebCore::CCLayerImpl::setDrawDepth):
    43390         (WebCore::CCLayerImpl::drawOpacity):
    43391         (WebCore::CCLayerImpl::setDrawOpacity):
    43392         (WebCore::CCLayerImpl::scissorRect):
    43393         (WebCore::CCLayerImpl::setScissorRect):
    43394         (WebCore::CCLayerImpl::targetRenderSurface):
    43395         (WebCore::CCLayerImpl::setTargetRenderSurface):
    43396         (WebCore::CCLayerImpl::doubleSided):
    43397         (WebCore::CCLayerImpl::setDoubleSided):
    43398         (WebCore::CCLayerImpl::bounds):
    43399         (WebCore::CCLayerImpl::setBounds):
    43400         (WebCore::CCLayerImpl::drawTransform):
    43401         (WebCore::CCLayerImpl::setDrawTransform):
    43402         (WebCore::CCLayerImpl::drawableContentRect):
    43403         (WebCore::CCLayerImpl::setDrawableContentRect):
    43404 
    43405 2011-02-24  Dan Bernstein  <mitz@apple.com>
    43406 
    43407         Reviewed by Simon Fraser.
    43408 
    43409         REGRESSION (r79629): Non-expanding ruby base is start-aligned rather than centered
    43410         https://bugs.webkit.org/show_bug.cgi?id=55197
    43411 
    43412         * rendering/RenderBlockLineLayout.cpp:
    43413         (WebCore::RenderBlock::computeInlineDirectionPositionsForLine): Adjust the line boundaries even
    43414         if there are no expansion opportunities. This allows RenderRubyBase to center itself.
    43415 
    43416 2011-02-24  Darin Adler  <darin@apple.com>
    43417 
    43418         Reviewed by Alexey Proskuryakov.
    43419 
    43420         REGRESSION (r79466): http/tests/incremental/slow-utf8-html.pl flaky due to incorrect assertions
    43421         https://bugs.webkit.org/show_bug.cgi?id=55135
    43422 
    43423         * platform/text/TextCodecUTF8.cpp:
    43424         (WebCore::TextCodecUTF8::decode): Removed incorrect assertions.
    43425 
    43426 2011-02-24  Darin Adler  <darin@apple.com>
    43427 
    43428         Reviewed by Anders Carlsson.
    43429 
    43430         WebKit2: Image-based cursors do not work
    43431         https://bugs.webkit.org/show_bug.cgi?id=55184
    43432 
    43433         * WebCore.exp.in: Exported new entry points now used by WebKit2.
    43434 
    43435 2011-02-24  Matthew Delaney  <mdelaney@apple.com>
    43436 
    43437         Reviewed by Simon Fraser.
    43438 
    43439         ImageBuffer::clip creates an image of the incorrect context in IOSurface case
    43440         https://bugs.webkit.org/show_bug.cgi?id=55170
    43441 
    43442         Test: fast/canvas/2d.fillText.gradient.html
    43443 
    43444         * platform/graphics/cg/ImageBufferCG.cpp: Clipping against ImageBuffer's context
    43445         instead of ourself (the passed in context).
    43446 
    43447 2011-02-24  Simon Fraser  <simon.fraser@apple.com>
    43448 
    43449         Reviewed by Dan Bernstein.
    43450 
    43451         RenderBoxModelObject::paintBoxShadow should bail earlier
    43452         https://bugs.webkit.org/show_bug.cgi?id=55186
    43453 
    43454         Make paintBoxShadow() bail early if there is no shadow, and make
    43455         callers consistent in not checking for box-shadow before calling it.
    43456 
    43457         * rendering/InlineFlowBox.cpp:
    43458         (WebCore::InlineFlowBox::paintBoxDecorations):
    43459         * rendering/RenderBoxModelObject.cpp:
    43460         (WebCore::RenderBoxModelObject::paintBoxShadow):
    43461         * rendering/RenderTableCell.cpp:
    43462         (WebCore::RenderTableCell::paintBoxDecorations):
    43463 
    43464 2011-02-24  James Robinson  <jamesr@chromium.org>
    43465 
    43466         Reviewed by Darin Fisher.
    43467 
    43468         Add a USE() macro to control use of the built-in UTF8 codec
    43469         https://bugs.webkit.org/show_bug.cgi?id=55189
    43470 
    43471         Guards the built in UTF8 codec registration with USE(BUILTIN_UTF8_CODEC). ICU is used if the USE() is not set.
    43472 
    43473         * platform/text/TextCodecICU.cpp:
    43474         (WebCore::TextCodecICU::registerEncodingNames):
    43475         * platform/text/TextEncodingRegistry.cpp:
    43476         (WebCore::buildBaseTextCodecMaps):
    43477 
    43478 2011-02-24  Dan Bernstein  <mitz@apple.com>
    43479 
    43480         Reviewed by Dave Hyatt.
    43481 
    43482         <rdar://problem/8902740> Expand ruby base when it is shorter than the ruby text
    43483         https://bugs.webkit.org/show_bug.cgi?id=55183
    43484 
    43485         Test: fast/ruby/base-shorter-than-text.html
    43486 
    43487         * rendering/RenderBlock.cpp:
    43488         (WebCore::RenderBlock::availableLogicalWidthForLine):
    43489         * rendering/RenderBlock.h:
    43490         (WebCore::RenderBlock::adjustInlineDirectionLineBounds): Added. The base clase implementation does nothing.
    43491         * rendering/RenderBlockLineLayout.cpp:
    43492         (WebCore::RenderBlock::textAlignmentForLine): Added. Implements the logic that changes "justify" to "auto" for
    43493         the last line or a line that ends with a hard break.
    43494         (WebCore::RenderBlock::computeInlineDirectionPositionsForLine): Use textAlignmentForLine(), compute the available
    43495         width more efficiently, and call adjustInlineDirectionLineBounds() for justified lines.
    43496         * rendering/RenderRubyBase.cpp:
    43497         (WebCore::RenderRubyBase::rubyRun): Added.
    43498         (WebCore::RenderRubyBase::textAlignmentForLine): Added. Alwyas returns "justify".
    43499         (WebCore::RenderRubyBase::adjustInlineDirectionLineBounds): Added. Insets the line such that the inset is
    43500         half the width of a single intra-line expansion.
    43501         * rendering/RenderRubyBase.h:
    43502         * rendering/RenderRubyRun.cpp:
    43503         (WebCore::RenderRubyRun::addChild):
    43504 
    43505 2011-02-24  James Robinson  <jamesr@chromium.org>
    43506 
    43507         Unreviewed, rolling out r79604.
    43508         http://trac.webkit.org/changeset/79604
    43509         https://bugs.webkit.org/show_bug.cgi?id=55017
    43510 
    43511         Causes assertions to fail on some SVG tests
    43512 
    43513         * svg/graphics/SVGImage.cpp:
    43514         (WebCore::SVGImage::dataChanged):
    43515 
    43516 2011-02-24  Oliver Hunt  <oliver@apple.com>
    43517 
    43518         Build fix
    43519 
    43520         * bindings/js/JSBindingsAllInOne.cpp:
    43521 
    43522 2011-02-24  David Hyatt  <hyatt@apple.com>
    43523 
    43524         Reviewed by Simon Fraser.
    43525 
    43526         https://bugs.webkit.org/show_bug.cgi?id=46500, make positioned elements work with vertical text.
    43527 
    43528         Rework the logical height computation for positioned elements to work in terms of before and after.  That way the offset is determined from
    43529         the correct container side in flipped block writing modes (e.g., vertical-rl).
    43530        
    43531         Patch locationOffsetIncludingFlipping to use the containing block to flip so that it will behave correctly with absolute/fixed positioned
    43532         elements.
    43533        
    43534         Patch offsetFromContainer to use the flipped location offset for absolute/fixed positioned elements so that localToAbsolute works properly.
    43535 
    43536         Added twelve tests in fast/block/positioning/vertical-rl and fast/block/positioning/vertical-lr.
    43537 
    43538         * rendering/RenderBox.cpp:
    43539         (WebCore::RenderBox::offsetFromContainer):
    43540         (WebCore::RenderBox::computePositionedLogicalHeight):
    43541         (WebCore::RenderBox::computePositionedLogicalHeightUsing):
    43542         (WebCore::RenderBox::locationOffsetIncludingFlipping):
    43543         * rendering/style/RenderStyle.h:
    43544         (WebCore::InheritedFlags::logicalTop):
    43545         (WebCore::InheritedFlags::logicalBottom):
    43546 
    43547 2011-02-23  Oliver Hunt  <oliver@apple.com>
    43548 
    43549         Reviewed by Geoffrey Garen.
    43550 
    43551         Make WeakGCMap use new handle infrastructure
    43552         https://bugs.webkit.org/show_bug.cgi?id=55100
    43553 
    43554         Update to new WeakGCMap APIs, this requires threading global
    43555         data to a few functions that did not need it in the past, but
    43556         also gets rid of a large number of destructors, as well as the
    43557         forgetDOMNode, etc APIs.
    43558 
    43559         We can also drop the JSDebugWrapperSet as its only purpose was
    43560         to ensure that we retained correct semantics in the old WeakGCMap,
    43561         but happilly these semantics are now guaranteed by the map itself.
    43562 
    43563         * CMakeLists.txt:
    43564         * GNUmakefile.am:
    43565         * WebCore.gypi:
    43566         * WebCore.pro:
    43567         * WebCore.vcproj/WebCore.vcproj:
    43568         * WebCore.xcodeproj/project.pbxproj:
    43569         * bindings/js/JSDOMBinding.cpp:
    43570         (WebCore::hasCachedDOMObjectWrapperUnchecked):
    43571         (WebCore::cacheDOMObjectWrapper):
    43572         (WebCore::hasCachedDOMNodeWrapperUnchecked):
    43573         (WebCore::cacheDOMNodeWrapper):
    43574         (WebCore::isObservableThroughDOM):
    43575         (WebCore::markDOMNodesForDocument):
    43576         (WebCore::takeWrappers):
    43577         (WebCore::updateDOMNodeDocument):
    43578         (WebCore::markDOMObjectWrapper):
    43579         (WebCore::markDOMNodeWrapper):
    43580         (WebCore::stringWrapperDestroyed):
    43581         (WebCore::jsStringSlowCase):
    43582         * bindings/js/JSDOMBinding.h:
    43583         * bindings/js/JSDOMWrapper.cpp:
    43584         (WebCore::DOMObject::~DOMObject):
    43585         * bindings/js/JSDebugWrapperSet.cpp: Removed.
    43586         * bindings/js/JSDebugWrapperSet.h: Removed.
    43587         * bindings/scripts/CodeGeneratorJS.pm:
    43588         * bridge/jsc/BridgeJSC.cpp:
    43589         (JSC::Bindings::Instance::createRuntimeObject):
    43590         * bridge/jsc/BridgeJSC.h:
    43591         * bridge/runtime_object.cpp:
    43592         (JSC::Bindings::RuntimeObject::~RuntimeObject):
    43593         * bridge/runtime_root.cpp:
    43594         (JSC::Bindings::RootObject::invalidate):
    43595         (JSC::Bindings::RootObject::addRuntimeObject):
    43596         (JSC::Bindings::RootObject::removeRuntimeObject):
    43597         * bridge/runtime_root.h:
    43598 
    43599 2011-02-24  James Robinson  <jamesr@chromium.org>
    43600 
    43601         Fix chromium compile.
    43602 
    43603         * bindings/v8/custom/V8LocationCustom.cpp:
    43604         (WebCore::V8Location::toStringCallback):
    43605 
    43606 2011-02-24  Dimitri Glazkov  <dglazkov@chromium.org>
    43607 
    43608         Unreviewed, rolling out r79607.
    43609         http://trac.webkit.org/changeset/79607
    43610         https://bugs.webkit.org/show_bug.cgi?id=55157
    43611 
    43612         Broke Chromium layout tests.
    43613 
    43614         * html/shadow/MediaControls.cpp:
    43615         (WebCore::MediaControls::updateVolumeSliderContainer):
    43616         * rendering/RenderMediaControls.cpp:
    43617         (WebCore::RenderMediaControls::volumeSliderOffsetFromMuteButton):
    43618         * rendering/RenderMediaControls.h:
    43619         * rendering/RenderTheme.cpp:
    43620         (WebCore::RenderTheme::volumeSliderOffsetFromMuteButton):
    43621         * rendering/RenderTheme.h:
    43622         * rendering/RenderThemeChromiumMac.h:
    43623         * rendering/RenderThemeChromiumMac.mm:
    43624         (WebCore::RenderThemeChromiumMac::volumeSliderOffsetFromMuteButton):
    43625         * rendering/RenderThemeMac.h:
    43626         * rendering/RenderThemeMac.mm:
    43627         (WebCore::RenderThemeMac::volumeSliderOffsetFromMuteButton):
    43628         * rendering/RenderThemeWin.cpp:
    43629         (WebCore::RenderThemeWin::volumeSliderOffsetFromMuteButton):
    43630         * rendering/RenderThemeWin.h:
    43631 
    43632 2011-02-24  Anders Carlsson  <andersca@apple.com>
    43633 
    43634         Reviewed by Sam Weinig.
    43635 
    43636         Fix the clang -Woverloaded-virtual build.
    43637 
    43638         JSLocation has a toString function which conflicts with the virtual JSObject::toString  member function.
    43639         Fix this by renaming the implementation function from JSLocation::toString to JSLocation::toStringFunction.
    43640 
    43641         * bindings/js/JSLocationCustom.cpp:
    43642         (WebCore::JSLocation::toStringFunction):
    43643         * bindings/v8/custom/V8LocationCustom.cpp:
    43644         (WebCore::V8Location::toStringFunctionCallback):
    43645         * page/Location.idl:
    43646 
    43647 2011-02-24  Anders Carlsson  <andersca@apple.com>
    43648 
    43649         Fix clang build.
    43650 
    43651         * bindings/objc/WebScriptObject.mm:
    43652         (-[WebUndefined release]):
    43653         Release should be "oneway void".
    43654 
    43655         (-[WebUndefined retainCount]):
    43656         Return NSUIntegerMax instead of UINT_MAX.
    43657 
    43658 2011-02-24  Dimitri Glazkov  <dglazkov@chromium.org>
    43659 
    43660         Reviewed by Darin Adler.
    43661 
    43662         Simplify RenderTheme::volumeSliderOffsetFromMuteButton, unduplicate code.
    43663         https://bugs.webkit.org/show_bug.cgi?id=55157
    43664 
    43665         Refactoring, no functional changes. Covered by existing tests.
    43666 
    43667         RenderTheme::volumeSliderOffsetFromMuteButton has the same duplicated
    43668         logic for all platforms. This patch:
    43669         a) moves the common logic of determining absolute positioning to a
    43670            platform-agnostic place;
    43671         b) simplifies the method to return constant offset.
    43672 
    43673         * html/shadow/MediaControls.cpp:
    43674         (WebCore::volumeSliderOffset): Added new helper function,
    43675             capturing common logic of finding the absolute position of the volume slider.
    43676         (WebCore::MediaControls::updateVolumeSliderContainer): Changed to use the
    43677             new helper.
    43678         * rendering/RenderMediaControls.cpp:
    43679         (WebCore::RenderMediaControls::volumeSliderOffsetRelativeToMuteButton): Simplified.
    43680         * rendering/RenderMediaControls.h: Ditto.
    43681         * rendering/RenderTheme.cpp:
    43682         (WebCore::RenderTheme::volumeSliderOffsetRelativeToMuteButton): Ditto.
    43683         * rendering/RenderTheme.h: Ditto.
    43684         * rendering/RenderThemeChromiumMac.h: Ditto.
    43685         * rendering/RenderThemeChromiumMac.mm: Ditto.
    43686         (WebCore::RenderThemeChromiumMac::volumeSliderOffsetRelativeToMuteButton): Ditto.
    43687         * rendering/RenderThemeMac.h: Ditto.
    43688         * rendering/RenderThemeMac.mm: Ditto.
    43689         (WebCore::RenderThemeMac::volumeSliderOffsetRelativeToMuteButton): Ditto.
    43690         * rendering/RenderThemeWin.cpp: Ditto.
    43691         (WebCore::RenderThemeWin::volumeSliderOffsetRelativeToMuteButton): Ditto.
    43692         * rendering/RenderThemeWin.h: Ditto.
    43693 
    43694 2011-02-24  Tom Sepez  <tsepez@chromium.org>
    43695 
    43696         Reviewed by Darin Fisher.
    43697 
    43698         Make frameview resized event dispatch async so that it occurs
    43699         after layout has completed.
    43700        
    43701         https://bugs.webkit.org/show_bug.cgi?id=54467
    43702         Test: fast/replaced/frame-removed-during-resize-smaller.html
    43703 
    43704         * page/EventHandler.cpp:
    43705         (WebCore::EventHandler::sendResizeEvent):
    43706 
    43707 2011-02-24  Xianzhu Wang  <wangxianzhu@google.com>
    43708 
    43709         Reviewed by Adam Barth.
    43710 
    43711         Use loader->init() instead of loader->load() to avoid complex fake
    43712         request loading and cleanup logic, and also avoid ResourceLoader leaks.
    43713 
    43714         https://bugs.webkit.org/show_bug.cgi?id=55017
    43715 
    43716         Test: svg/misc/SVGImage-leak-ResourceLoader.html
    43717 
    43718         * svg/graphics/SVGImage.cpp:
    43719         (WebCore::SVGImage::dataChanged):
    43720 
    43721 2011-02-24  Dimitri Glazkov  <dglazkov@chromium.org>
    43722 
    43723         Chromium Mac build fix after r79591.
    43724 
    43725         * WebCore.gypi: Added RenderMediaControls to WebCore.gypi.
    43726 
    43727 2011-02-24  Misha Tyutyunik  <michael.tyutyunik@nokia.com>
    43728 
    43729         Reviewed by Andreas Kling.
    43730 
    43731         [Qt] Dont use QPixmapCache if QPixmapCache::cacheLimit() is too small
    43732         (2048Kb for now).
    43733         https://bugs.webkit.org/show_bug.cgi?id=54887
    43734 
    43735         No new tests required.
    43736 
    43737         * platform/graphics/qt/GraphicsLayerQt.cpp:
    43738         (WebCore::GraphicsLayerQtImpl::allowAcceleratedCompositingCache):
    43739         (WebCore::GraphicsLayerQtImpl::drawLayerContent):
    43740         (WebCore::GraphicsLayerQtImpl::paint):
    43741         (WebCore::GraphicsLayerQtImpl::flushChanges):
    43742 
    43743 2011-02-20  Martin Robinson  <mrobinson@igalia.com>
    43744 
    43745         Reviewed by Nikolas Zimmermann.
    43746 
    43747         [CAIRO] Support ImageBuffers clip operation on all Cairo ports
    43748         https://bugs.webkit.org/show_bug.cgi?id=23526
    43749 
    43750         Add support for ImageBuffer clipping on Cairo by emulating them with image
    43751         masks. Since masking is immediate on Cairo, we must store the mask surfaces
    43752         on a stack and apply them during restorePlatformState.
    43753 
    43754         * platform/graphics/GraphicsContext.h: Add pushImageMask.
    43755         * platform/graphics/cairo/GraphicsContextCairo.cpp:
    43756         (WebCore::GraphicsContext::savePlatformState): Push an empty mask onto the
    43757         stack, so we can keep track of when to actually apply the image mask.
    43758         (WebCore::GraphicsContext::restorePlatformState): When we are ready to apply
    43759         an image mask, use cairo_mask_surface to mask the group that we pushed onto
    43760         our surface.
    43761         (WebCore::GraphicsContext::pushImageMask): Added. This method will push a surface
    43762         onto the image mask stack and push a group onto the Cairo state, so that the masking
    43763         only affects what we paint after this point.
    43764         * platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h: Added a class to keep
    43765         track of image masking information after calls to pushImageMask.
    43766         (WebCore::ImageMaskInformation::update): Added
    43767         (WebCore::ImageMaskInformation::valid): Added
    43768         (WebCore::ImageMaskInformation::maskSurface): Added
    43769         (WebCore::ImageMaskInformation::maskRect): Added
    43770         * platform/graphics/cairo/ImageBufferCairo.cpp:
    43771         (WebCore::ImageBuffer::clip): Call GraphicsContext::pushImageMask.
    43772 
    43773 2011-02-24  Dimitri Glazkov  <dglazkov@chromium.org>
    43774 
    43775         Reviewed by Eric Carlson.
    43776 
    43777         Add RenderMediaControls to Mac build, unduplicate one method.
    43778         https://bugs.webkit.org/show_bug.cgi?id=55152
    43779 
    43780         Refactoring, no functional changes.
    43781 
    43782         * WebCore.xcodeproj/project.pbxproj: Added RenderMediaControls to project,
    43783             ran sort-XCode-project-file.
    43784         * rendering/RenderMediaControls.cpp: Moved ENABLE(VIDEO) and PLATFORM(WIN)
    43785             defines to allow building on Mac.
    43786         * rendering/RenderMediaControls.h: Ditto.
    43787         * rendering/RenderThemeMac.mm:
    43788         (WebCore::RenderThemeMac::volumeSliderOffsetFromMuteButton): Replaced guts
    43789             with a call to RenderMediaControls function.
    43790 
    43791 2011-02-24  James Robinson  <jamesr@chromium.org>
    43792 
    43793         Unreviewed, rolling out r79584.
    43794         http://trac.webkit.org/changeset/79584
    43795         https://bugs.webkit.org/show_bug.cgi?id=44797
    43796 
    43797         [chromium] Patch does not compile if ENABLE_FULLSCREEN_API is
    43798         not set
    43799 
    43800         * WebCore.gyp/WebCore.gyp:
    43801         * WebCore.gypi:
    43802 
    43803 2011-02-24  Carlos Garcia Campos  <cgarcia@igalia.com>
    43804 
    43805         Reviewed by Martin Robinson.
    43806 
    43807         Do not cache the default cairo font options using a static
    43808         variable. It fixes a memory leak reported by valgrind.
    43809 
    43810         * platform/graphics/freetype/FontPlatformDataFreeType.cpp:
    43811         (WebCore::getDefaultFontOptions):
    43812         (WebCore::FontPlatformData::initializeWithFontFace):
    43813 
    43814 2011-02-24  Andrew Wilson  <atwilson@chromium.org>
    43815 
    43816         Unreviewed, rolling out r79570.
    43817         http://trac.webkit.org/changeset/79570
    43818         https://bugs.webkit.org/show_bug.cgi?id=54874
    43819 
    43820         Breaks chromium build because glue/mocks/mock_web_frame.h/cc
    43821         was not updated
    43822 
    43823         * WebCore.exp.in:
    43824 
    43825 2011-02-24  David Dorwin  <ddorwin@chromium.org>
    43826 
    43827         Reviewed by Eric Seidel.
    43828 
    43829         Enable WebKit Full Screen API in Chromium. The element becomes the full size of the window, but the window is not yet full screen. Support is disabled by default.
    43830 
    43831         fullscreen javascript bindings not implemented for v8
    43832         https://bugs.webkit.org/show_bug.cgi?id=44797
    43833 
    43834         Tested by the existing fullscreen Layout Tests.
    43835 
    43836         * WebCore.gyp/WebCore.gyp:
    43837         * WebCore.gypi:
    43838 
    43839 2011-02-24  Pavel Feldman  <pfeldman@chromium.org>
    43840 
    43841         Reviewed by Yury Semikhatsky.
    43842 
    43843         Web Inspector: move querySelectorAll from CSS agent to DOM agent where it belongs.
    43844         https://bugs.webkit.org/show_bug.cgi?id=55131
    43845 
    43846         Test: inspector/elements/dom-agent-query-selector.html
    43847 
    43848         * inspector/Inspector.idl:
    43849         * inspector/InspectorCSSAgent.cpp:
    43850         * inspector/InspectorCSSAgent.h:
    43851         * inspector/InspectorDOMAgent.cpp:
    43852         (WebCore::InspectorDOMAgent::nodeToSelectOn):
    43853         (WebCore::InspectorDOMAgent::querySelector):
    43854         (WebCore::InspectorDOMAgent::querySelectorAll):
    43855         * inspector/InspectorDOMAgent.h:
    43856         * inspector/front-end/AuditRules.js:
    43857         (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun):
    43858         * inspector/front-end/CSSStyleModel.js:
    43859         (WebInspector.CSSStyleModel.prototype.setRuleSelector.callback):
    43860         (WebInspector.CSSStyleModel.prototype.setRuleSelector):
    43861         (WebInspector.CSSStyleModel.prototype.addRule.callback):
    43862         (WebInspector.CSSStyleModel.prototype.addRule):
    43863 
    43864 2011-02-24  Eric Seidel  <eric@webkit.org>
    43865 
    43866         Reviewed by Adam Barth.
    43867 
    43868         Fragment parsing does not need to use HTMLSourceTracker
    43869         https://bugs.webkit.org/show_bug.cgi?id=55011
    43870 
    43871         Any performance gains from this patch are likely
    43872         the result of working around:
    43873         https://bugs.webkit.org/show_bug.cgi?id=55005
    43874         (Which suggests that fixing bug 55005 will speed
    43875         up normal HTML parsing substantially.)
    43876 
    43877         Assuming I ran the numbers correct, here is the
    43878         change from PerformanceTests/Parser/tiny-innerHTML:
    43879         Before patch:
    43880         avg 5586.1
    43881         median 5594
    43882         stdev 41.295157101045135
    43883         min 5425
    43884         max 5633
    43885 
    43886         After Patch:
    43887         avg 2603.9
    43888         median 2609.5
    43889         stdev 32.500615378789355
    43890         min 2475
    43891         max 2649
    43892 
    43893         Removing just the HTMLSourceTracker calls brought our
    43894         score from 5500 to 5200, removing the XSSFilter as well
    43895         brought it to 2600 on my machine.
    43896 
    43897         * html/parser/HTMLDocumentParser.cpp:
    43898         (WebCore::HTMLDocumentParser::HTMLDocumentParser):
    43899         (WebCore::HTMLDocumentParser::pumpTokenizer):
    43900         * html/parser/HTMLDocumentParser.h:
    43901 
    43902 2011-02-24   Amruth Raj  <amruthraj@motorola.com> and Ravi Phaneendra Kasibhatla  <ravi.kasibhatla@motorola.com> and Alejandro G. Castro  <alex@igalia.com>
    43903 
    43904         Reviewed by Martin Robinson.
    43905 
    43906         [GTK] Implement WebEventFactory, WebErrors classes for WebKit2
    43907         https://bugs.webkit.org/show_bug.cgi?id=48510
    43908 
    43909         Exported static functions for GTK, we need them to create events
    43910         in WebKit2.
    43911 
    43912         * platform/PlatformKeyboardEvent.h:
    43913         * platform/gtk/KeyEventGtk.cpp:
    43914         (WebCore::PlatformKeyboardEvent::keyIdentifierForGdkKeyCode):
    43915         (WebCore::PlatformKeyboardEvent::windowsKeyCodeForGdkKeyCode):
    43916         (WebCore::PlatformKeyboardEvent::singleCharacterString):
    43917 
    43918 2011-02-24  Martin Robinson  <mrobinson@igalia.com>
    43919 
    43920         Reviewed by Xan Lopez.
    43921 
    43922         [GTK] Remove the GFile GOwnPtr specialization
    43923         https://bugs.webkit.org/show_bug.cgi?id=55154
    43924 
    43925         Convert uses of GOwnPtr<GFile> to GRefPtr<GFile>.
    43926 
    43927         No new tests. This should not change behavior.
    43928 
    43929         * plugins/gtk/PluginPackageGtk.cpp: Fix include order and remove unnecessary include.
    43930         (WebCore::PluginPackage::load): Use GRefPtr for GFile instead of GOwnPtr.
    43931 
    43932 2011-02-24  Patrick Gansterer  <paroga@webkit.org>
    43933 
    43934         Reviewed by Eric Seidel.
    43935 
    43936         Rename PLATFORM(SKIA) to USE(SKIA)
    43937         https://bugs.webkit.org/show_bug.cgi?id=55090
    43938 
    43939         * config.h: Removed second define of PLATFORM(SKIA).
    43940         * html/HTMLCanvasElement.cpp:
    43941         * platform/graphics/FloatPoint.h:
    43942         * platform/graphics/FloatRect.h:
    43943         * platform/graphics/Gradient.cpp:
    43944         * platform/graphics/Gradient.h:
    43945         * platform/graphics/GraphicsContext.cpp:
    43946         * platform/graphics/GraphicsContext.h:
    43947         * platform/graphics/ImageSource.h:
    43948         * platform/graphics/IntPoint.h:
    43949         * platform/graphics/IntRect.h:
    43950         * platform/graphics/Path.h:
    43951         * platform/graphics/Pattern.cpp:
    43952         * platform/graphics/Pattern.h:
    43953         * platform/graphics/chromium/ContentLayerChromium.cpp:
    43954         * platform/graphics/chromium/ContentLayerChromium.h:
    43955         * platform/graphics/chromium/GLES2Canvas.cpp:
    43956         * platform/graphics/chromium/ImageLayerChromium.cpp:
    43957         * platform/graphics/chromium/LayerChromium.cpp:
    43958         * platform/graphics/chromium/LayerRendererChromium.cpp:
    43959         * platform/graphics/chromium/LayerRendererChromium.h:
    43960         * platform/graphics/chromium/LayerTilerChromium.cpp:
    43961         * platform/graphics/chromium/ShaderChromium.h:
    43962         * platform/graphics/gpu/LoopBlinnPathProcessor.cpp:
    43963         * platform/graphics/transforms/AffineTransform.h:
    43964         * platform/graphics/transforms/TransformationMatrix.h:
    43965         * platform/image-decoders/ImageDecoder.cpp:
    43966         * platform/image-decoders/ImageDecoder.h:
    43967         * rendering/svg/RenderSVGResourceSolidColor.cpp:
    43968 
    43969 2011-02-24  Pavel Feldman  <pfeldman@chromium.org>
    43970 
    43971         Reviewed by Yury Semikhatsky.
    43972 
    43973         Web Inspector: follow up to 79566. USE_PARAM not declared
    43974         https://bugs.webkit.org/show_bug.cgi?id=55155
    43975 
    43976         * bindings/js/JSInjectedScriptHostCustom.cpp:
    43977         (WebCore::JSInjectedScriptHost::currentCallFrame):
    43978         * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
    43979         (WebCore::V8InjectedScriptHost::currentCallFrameCallback):
    43980 
    43981 2011-02-24  Emil A Eklund  <eae@chromium.org>
    43982 
    43983         Reviewed by Simon Fraser.
    43984 
    43985         Add support for missing properties to getComputedStyle
    43986         https://bugs.webkit.org/show_bug.cgi?id=23668
    43987 
    43988         Implement getComputedStyle for the content, counter and outline-offset
    43989         properties.
    43990 
    43991         Test: fast/css/getComputedStyle/computed-style-properties.html
    43992 
    43993         * css/CSSComputedStyleDeclaration.cpp:
    43994         (WebCore::contentToCSSValue):
    43995         (WebCore::counterToCSSValue):
    43996         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
    43997         * css/CSSPrimitiveValue.cpp:
    43998         (WebCore::CSSPrimitiveValue::cssText):
    43999         * css/CSSPrimitiveValue.h:
    44000 
    44001 2011-02-24  Eric Seidel  <eric@webkit.org>
    44002 
    44003         Reviewed by Adam Barth.
    44004 
    44005         SegmentedString does not need an m_composite member
    44006         https://bugs.webkit.org/show_bug.cgi?id=55083
    44007 
    44008         Storing m_composite as distinct from m_substrings.isEmpty()
    44009         was just error prone and eventually going to get us in trouble.
    44010 
    44011         I also cleaned up some of the style in SegementedString.*
    44012         since this file long predates check-webkit-style.
    44013 
    44014         * platform/text/SegmentedString.cpp:
    44015         (WebCore::SegmentedString::SegmentedString):
    44016         (WebCore::SegmentedString::operator=):
    44017         (WebCore::SegmentedString::length):
    44018         (WebCore::SegmentedString::setExcludeLineNumbers):
    44019         (WebCore::SegmentedString::clear):
    44020         (WebCore::SegmentedString::append):
    44021         (WebCore::SegmentedString::prepend):
    44022         (WebCore::SegmentedString::advanceSubstring):
    44023         (WebCore::SegmentedString::toString):
    44024         * platform/text/SegmentedString.h:
    44025         (WebCore::SegmentedSubstring::SegmentedSubstring):
    44026         (WebCore::SegmentedSubstring::appendTo):
    44027         (WebCore::SegmentedString::SegmentedString):
    44028         (WebCore::SegmentedString::isComposite):
    44029 
    44030 2011-02-24  David Kilzer  <ddkilzer@apple.com>
    44031 
    44032         BUILD FIX: Add missing include for UnusedParam.h
    44033 
    44034         Not reviewed.
    44035 
    44036         * platform/mac/FileSystemMac.mm: Add include.  It should have
    44037         originally been added with r76614.
    44038 
    44039 2011-02-24  Vsevolod Vlasov  <vsevik@chromium.org>
    44040 
    44041         Reviewed by Alexey Proskuryakov.
    44042 
    44043         DumpRenderTree should reset frame opener between tests.
    44044         https://bugs.webkit.org/show_bug.cgi?id=54874
    44045 
    44046         No new tests. (no code affected, just exporting a method for DumpRenderTree use)
    44047 
    44048         * WebCore.exp.in:
    44049 
    44050 2011-02-24  Dirk Schulze  <krit@webkit.org>
    44051 
    44052         Reviewed by Darin Adler.
    44053 
    44054         Removing a SVG animation target during animation crashes WebKit
    44055         https://bugs.webkit.org/show_bug.cgi?id=12065
    44056 
    44057         SVGAnimations with IRI references via 'xlink:href' are slow
    44058         https://bugs.webkit.org/show_bug.cgi?id=49437
    44059 
    44060         Store reference to target element for SVG animation elements. This is important if the
    44061         target gets referenced via 'xlink:href'. At the moment we would call getElementById() multiple
    44062         times on every animation step. A very expensive operation. This will be avoided with this patch.
    44063         On the other hand, we need to be sure that the target element is always valid. The reference is
    44064         reset, if the target was removed from document or its destructor was called. A HashMap in
    44065         SVGDocumentExtensions stores all mappings from target element to all current animation elements.
    44066 
    44067         Tests: svg/custom/animate-target-id-changed.svg
    44068                svg/custom/animate-target-removed-from-document.svg
    44069 
    44070         * svg/SVGDocumentExtensions.cpp:
    44071         (WebCore::SVGDocumentExtensions::~SVGDocumentExtensions):
    44072         (WebCore::SVGDocumentExtensions::addAnimationElementToTarget): New animation gets applied to target.
    44073         (WebCore::SVGDocumentExtensions::removeAnimationElementFromTarget): Animation stoped, remove it from HashMap.
    44074         (WebCore::SVGDocumentExtensions::removeAllAnimationElementsFromTarget): Target no longer in document, reset all
    44075         references in SVG animation elements.
    44076         * svg/SVGDocumentExtensions.h:
    44077         * svg/SVGElement.cpp:
    44078         (WebCore::SVGElement::~SVGElement):
    44079         (WebCore::SVGElement::removedFromDocument):
    44080         (WebCore::SVGElement::attributeChanged):
    44081         * svg/SVGElement.h:
    44082         * svg/SVGHKernElement.cpp:
    44083         (WebCore::SVGHKernElement::removedFromDocument):
    44084         * svg/SVGVKernElement.cpp:
    44085         (WebCore::SVGVKernElement::removedFromDocument):
    44086         * svg/animation/SVGSMILElement.cpp:
    44087         (WebCore::SVGSMILElement::SVGSMILElement):
    44088         (WebCore::SVGSMILElement::removedFromDocument):
    44089         (WebCore::SVGSMILElement::eventBaseFor):
    44090         (WebCore::SVGSMILElement::targetElement):
    44091         * svg/animation/SVGSMILElement.h:
    44092         (WebCore::SVGSMILElement::resetTargetElement):
    44093 
    44094 2011-02-24  Simon Fraser  <simon.fraser@apple.com>
    44095 
    44096         Reviewed by Eric Seidel.
    44097 
    44098         REGRESSION: Accelerated transitions are jumpy
    44099         https://bugs.webkit.org/show_bug.cgi?id=55022
    44100        
    44101         When an accelerated transition used the default timing function,
    44102         a typo in toCAMediaTimingFunction() resulting in the incorrect
    44103         timing function being used.
    44104 
    44105         Test: transitions/default-timing-function.html
    44106 
    44107         * platform/graphics/ca/mac/PlatformCAAnimationMac.mm:
    44108         (toCAMediaTimingFunction):
    44109 
    44110 2011-02-24  Andreas Kling  <kling@webkit.org>
    44111 
    44112         Reviewed by Kenneth Rohde Christiansen.
    44113 
    44114         [Qt] Remove bogus optimizations in TextBreakIteratorQt
    44115         https://bugs.webkit.org/show_bug.cgi?id=55139
    44116 
    44117         Let QTextBoundaryFinder hold a deep copy of the string data it's
    44118         operating on, and don't use the same working buffer for all iterators.
    44119 
    44120         * platform/text/qt/TextBreakIteratorQt.cpp:
    44121         (WebCore::TextBreakIterator::TextBreakIterator):
    44122         (WebCore::setUpIterator):
    44123 
    44124 2011-02-24  Andrey Adaikin  <aandrey@google.com>
    44125 
    44126         Reviewed by Pavel Feldman.
    44127 
    44128         Web Inspector: [Text editor] Bug in the highlighter
    44129         https://bugs.webkit.org/show_bug.cgi?id=54876
    44130 
    44131         Tests: inspector/editor/highlighter-long-line.html
    44132                inspector/editor/highlighter-paste-in-comment.html
    44133 
    44134         * inspector/front-end/TextEditorHighlighter.js:
    44135         (WebInspector.TextEditorHighlighter):
    44136         (WebInspector.TextEditorHighlighter.prototype.set highlightChunkLimit):
    44137         (WebInspector.TextEditorHighlighter.prototype.updateHighlight):
    44138         (WebInspector.TextEditorHighlighter.prototype._highlightLines):
    44139 
    44140 2011-02-24  James Simonsen  <simonjam@chromium.org>
    44141 
    44142         Reviewed by Tony Gentilcore.
    44143 
    44144         [Web Timing] Zero out navigationStart and unloadEvent on cross-origin redirect
    44145         https://bugs.webkit.org/show_bug.cgi?id=55068
    44146 
    44147         Test: http/tests/misc/webtiming-origins.html
    44148 
    44149         * page/PerformanceTiming.cpp:
    44150         (WebCore::PerformanceTiming::navigationStart): Zero out on cross origin redirect.
    44151         (WebCore::PerformanceTiming::unloadEventStart): Ditto.
    44152         (WebCore::PerformanceTiming::unloadEventEnd): Ditto.
    44153 
    44154 2011-02-24  Adam Klein  <adamk@chromium.org>
    44155 
    44156         Reviewed by Darin Fisher.
    44157 
    44158         [chromium] Add code to WebKit Chromium to allow access to NetworkStateNotifier
    44159         https://bugs.webkit.org/show_bug.cgi?id=54516
    44160 
    44161         Give Chromium's NetworkStateNotifier the ability to change the value
    44162         of m_isOnLine, rather than making it always true.
    44163 
    44164         No new tests, not sure how to test this. No other LayoutTests seem
    44165         to exercise navigator.onLine.
    44166 
    44167         * WebCore.gypi:
    44168         * platform/network/NetworkStateNotifier.cpp:
    44169         (WebCore::NetworkStateNotifier::setOnLine): Moved and renamed from NetworkStateNotifierAndroid.
    44170         * platform/network/NetworkStateNotifier.h:
    44171         (WebCore::NetworkStateNotifier::networkStateChange): Forward to setOnLine.
    44172         * platform/network/android/NetworkStateNotifierAndroid.cpp: Removed.
    44173         * platform/network/chromium/NetworkStateNotifierChromium.cpp: Removed.
    44174         * platform/network/chromium/NetworkStateNotifierPrivate.h: Removed.
    44175 
    44176 2011-02-24  Benjamin Poulain  <benjamin.poulain@nokia.com>
    44177 
    44178         Reviewed by Eric Seidel.
    44179 
    44180         Support building WebKit with Python 3
    44181         https://bugs.webkit.org/show_bug.cgi?id=55038
    44182 
    44183         Add support for Python 3 without breaking support for Python 2.
    44184 
    44185         Main issues:
    44186         -print is a function in Python 3
    44187         -list.sort() no longer have the cmp parameter
    44188         -string.uppercase and string.lowercase have been removed
    44189 
    44190         * html/parser/create-html-entity-table:
    44191 
    44192 2011-02-24  Chris Fleizach  <cfleizach@apple.com>
    44193 
    44194         Reviewed by Eric Seidel.
    44195 
    44196         AX: WebKit should expose MathML at least as well as it exposes ARIA role="math"
    44197         https://bugs.webkit.org/show_bug.cgi?id=55049
    44198 
    44199         Make <math> elements behave as ARIA math roles and use MathML::alttext as a
    44200         possible accessible label.
    44201  
    44202         Test: platform/mac/accessibility/math-alttext.html
    44203 
    44204         * accessibility/AccessibilityRenderObject.cpp:
    44205         (WebCore::AccessibilityRenderObject::accessibilityDescription):
    44206         (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
    44207         * mathml/mathattrs.in:
    44208 
    44209 2011-02-24  Ilya Tikhonovsky  <loislo@chromium.org>
    44210 
    44211         Reviewed by Pavel Feldman.
    44212 
    44213         Web Inspector: adjust protocol message format according to spec.
    44214         https://bugs.webkit.org/show_bug.cgi?id=55140
    44215 
    44216         * inspector/CodeGeneratorInspector.pm:
    44217 
    44218 2011-02-24  Adam Roben  <aroben@apple.com>
    44219 
    44220         Windows Production build fix
    44221 
    44222         * platform/network/cf/AuthenticationCF.cpp: Add an extra #include as a workaround for
    44223         <rdar://problem/9042114>.
    44224 
    44225 2011-02-23  Pavel Feldman  <pfeldman@chromium.org>
    44226 
    44227         Reviewed by Yury Semikhatsky.
    44228 
    44229         Web Inspector: refactor inspect() workflow so that it did not push dom nodes.
    44230         https://bugs.webkit.org/show_bug.cgi?id=55057
    44231 
    44232         Test: inspector/console/command-line-api-inspect.html
    44233 
    44234         I am working on getting rid of DOM agent pushes - everything should happen upon
    44235         front-end request. This patch changes the way we handle inspect() command line
    44236         api: instead of pushing nodes, we are telling front-end that inspect(object) has
    44237         been requested. It is then up to front-end to request dom nodes and focus them in
    44238         the tree. I also made inspect() work in a generic manner, using same routines for
    44239         nodes, databases, storages and potentially new elements.
    44240 
    44241         As a side-effect, we don't do console.log from within inspect() anymore, but dump
    44242         inspected value as inspect's result.
    44243 
    44244         Also, I added individual object release method and made object groups optional.
    44245 
    44246         * bindings/js/JSInjectedScriptHostCustom.cpp:
    44247         (WebCore::InjectedScriptHost::scriptValueAsNode):
    44248         (WebCore::InjectedScriptHost::nodeAsScriptValue):
    44249         (WebCore::JSInjectedScriptHost::inspect):
    44250         (WebCore::JSInjectedScriptHost::databaseId):
    44251         (WebCore::JSInjectedScriptHost::storageId):
    44252         * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
    44253         (WebCore::InjectedScriptHost::scriptValueAsNode):
    44254         (WebCore::InjectedScriptHost::nodeAsScriptValue):
    44255         (WebCore::V8InjectedScriptHost::inspectCallback):
    44256         (WebCore::V8InjectedScriptHost::databaseIdCallback):
    44257         (WebCore::V8InjectedScriptHost::storageIdCallback):
    44258         * inspector/InjectedScript.cpp:
    44259         (WebCore::InjectedScript::nodeForObjectId):
    44260         (WebCore::InjectedScript::releaseObject):
    44261         (WebCore::InjectedScript::wrapForConsole):
    44262         (WebCore::InjectedScript::inspectNode):
    44263         * inspector/InjectedScript.h:
    44264         * inspector/InjectedScriptHost.cpp:
    44265         (WebCore::InjectedScriptHost::inspectImpl):
    44266         (WebCore::InjectedScriptHost::databaseIdImpl):
    44267         (WebCore::InjectedScriptHost::storageIdImpl):
    44268         * inspector/InjectedScriptHost.h:
    44269         * inspector/InjectedScriptHost.idl:
    44270         * inspector/InjectedScriptSource.js:
    44271         * inspector/Inspector.idl:
    44272         * inspector/InspectorAgent.cpp:
    44273         (WebCore::InspectorAgent::focusNode):
    44274         * inspector/InspectorDOMAgent.cpp:
    44275         * inspector/InspectorDOMAgent.h:
    44276         * inspector/InspectorDOMStorageAgent.cpp:
    44277         (WebCore::InspectorDOMStorageAgent::storageId):
    44278         (WebCore::InspectorDOMStorageAgent::didUseDOMStorage):
    44279         * inspector/InspectorDOMStorageAgent.h:
    44280         * inspector/InspectorDOMStorageResource.cpp:
    44281         * inspector/InspectorDOMStorageResource.h:
    44282         * inspector/InspectorDatabaseAgent.cpp:
    44283         (WebCore::InspectorDatabaseAgent::databaseId):
    44284         * inspector/InspectorDatabaseAgent.h:
    44285         * inspector/InspectorDatabaseResource.cpp:
    44286         * inspector/InspectorDatabaseResource.h:
    44287         * inspector/InspectorRuntimeAgent.cpp:
    44288         (WebCore::InspectorRuntimeAgent::releaseObject):
    44289         * inspector/InspectorRuntimeAgent.h:
    44290         * inspector/front-end/AuditRules.js:
    44291         (WebInspector.AuditRules.evaluateInTargetWindow):
    44292         (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun):
    44293         * inspector/front-end/DOMStorage.js:
    44294         * inspector/front-end/Database.js:
    44295         * inspector/front-end/ExtensionServer.js:
    44296         (WebInspector.ExtensionServer.prototype._onEvaluateOnInspectedPage):
    44297         * inspector/front-end/inspector.js:
    44298         (WebInspector.inspect):
    44299 
    44300 2011-02-22  Pavel Podivilov  <podivilov@chromium.org>
    44301 
    44302         Reviewed by Pavel Feldman.
    44303 
    44304         Web Inspector: refactor "script or resource" mess in scripts panel.
    44305         https://bugs.webkit.org/show_bug.cgi?id=54961
    44306 
    44307         - Use sourceName instead of scriptOrResource
    44308         - Replace two huge functions _addScriptToFilesMenu and _showScriptOrResource that are
    44309           calling each other recursively with small one-purpose non-recursive functions
    44310 
    44311         Test: inspector/debugger/scripts-panel.html
    44312 
    44313         * inspector/front-end/ScriptsPanel.js:
    44314         (WebInspector.ScriptsPanel):
    44315         (WebInspector.ScriptsPanel.prototype.get defaultFocusedElement):
    44316         (WebInspector.ScriptsPanel.prototype._scriptSourceChanged):
    44317         (WebInspector.ScriptsPanel.prototype._addScript):
    44318         (WebInspector.ScriptsPanel.prototype._resourceLoadingFinished):
    44319         (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelectAndShowSourceFrameIfNeeded):
    44320         (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelect.optionCompare):
    44321         (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelect):
    44322         (WebInspector.ScriptsPanel.prototype.reset):
    44323         (WebInspector.ScriptsPanel.prototype.canShowSourceLine):
    44324         (WebInspector.ScriptsPanel.prototype.showSourceLine):
    44325         (WebInspector.ScriptsPanel.prototype._showSourceFrame):
    44326         (WebInspector.ScriptsPanel.prototype._sourceFrameForSourceName):
    44327         (WebInspector.ScriptsPanel.prototype._recreateSourceFrame):
    44328         (WebInspector.ScriptsPanel.prototype._sourceFrameLoaded):
    44329         (WebInspector.ScriptsPanel.prototype._addItemToBackForwardList):
    44330         (WebInspector.ScriptsPanel.prototype._sourceNameForScript):
    44331         (WebInspector.ScriptsPanel.prototype._scriptForSourceName):
    44332         (WebInspector.ScriptsPanel.prototype._callFrameSelected):
    44333         (WebInspector.ScriptsPanel.prototype._filesSelectChanged):
    44334         (WebInspector.ScriptsPanel.prototype._goBack):
    44335         (WebInspector.ScriptsPanel.prototype._goForward):
    44336         * inspector/front-end/SourceFrame.js:
    44337         (WebInspector.SourceFrame.prototype.setExecutionLine):
    44338 
    44339 2011-02-24  Eric Seidel  <eric@webkit.org>
    44340 
    44341         Reviewed by Adam Barth.
    44342 
    44343         Fragment parsing does not need to use HTMLSourceTracker
    44344         https://bugs.webkit.org/show_bug.cgi?id=55011
    44345 
    44346         Any performance gains from this patch are likely
    44347         the result of working around:
    44348         https://bugs.webkit.org/show_bug.cgi?id=55005
    44349         (Which suggests that fixing bug 55005 will speed
    44350         up normal HTML parsing substantially.)
    44351 
    44352         Assuming I ran the numbers correct, here is the
    44353         change from PerformanceTests/Parser/tiny-innerHTML:
    44354         Before patch:
    44355         avg 5586.1
    44356         median 5594
    44357         stdev 41.295157101045135
    44358         min 5425
    44359         max 5633
    44360 
    44361         After Patch:
    44362         avg 2603.9
    44363         median 2609.5
    44364         stdev 32.500615378789355
    44365         min 2475
    44366         max 2649
    44367 
    44368         Removing just the HTMLSourceTracker calls brought our
    44369         score from 5500 to 5200, removing the XSSFilter as well
    44370         brought it to 2600 on my machine.
    44371 
    44372         * html/parser/HTMLDocumentParser.cpp:
    44373         (WebCore::HTMLDocumentParser::HTMLDocumentParser):
    44374         (WebCore::HTMLDocumentParser::pumpTokenizer):
    44375         * html/parser/HTMLDocumentParser.h:
    44376 
    44377 2011-02-24  Andras Becsi  <abecsi@webkit.org>
    44378 
    44379         Reviewed by Laszlo Gombos.
    44380 
    44381         [Qt] MinGW build fails to link
    44382         https://bugs.webkit.org/show_bug.cgi?id=55050
    44383 
    44384         Prepend the libraries of subcomponents instead of appending them
    44385         to fix the library order according to the dependency of the libraries
    44386 
    44387         No new tests needed.
    44388 
    44389         * WebCore.pri:
    44390 
    44391 2011-02-24  Adam Barth  <abarth@webkit.org>
    44392 
    44393         Reviewed by Eric Seidel.
    44394 
    44395         CSP's script-src should block JavaScript URLs
    44396         https://bugs.webkit.org/show_bug.cgi?id=54787
    44397 
    44398         Blocking JavaScript URLs required some re-architecting of the lifetime
    44399         of the ContentSecurityPolicy object.  We now manage the lifetime the
    44400         same way we manage the lifetime of the SecurityOrigin object.  In
    44401         particular, when SecurityOrigin inherits into an about:blank iframe, we
    44402         inherit the CSP object as well.  (This is covered by the test added in
    44403         this patch.) In the future, we might consider making
    44404         ContentSecurityPolicy a component of SecurityOrigin instead of a
    44405         component of Document.
    44406 
    44407         I noted the trickiness in
    44408         http://www.w3.org/Security/wiki/Content_Security_Policies so that we'll
    44409         make sure it gets defined properly in the spec.
    44410 
    44411         Test: http/tests/security/contentSecurityPolicy/javascript-url.html
    44412 
    44413         * bindings/ScriptControllerBase.cpp:
    44414         (WebCore::ScriptController::executeIfJavaScriptURL):
    44415         * dom/Document.cpp:
    44416         (WebCore::Document::initSecurityContext):
    44417         * dom/Document.h:
    44418         (WebCore::Document::contentSecurityPolicy):
    44419         * page/ContentSecurityPolicy.cpp:
    44420         (WebCore::ContentSecurityPolicy::allowJavaScriptURLs):
    44421         * page/ContentSecurityPolicy.h:
    44422         (WebCore::ContentSecurityPolicy::create):
    44423 
    44424 2011-02-21  Philippe Normand  <pnormand@igalia.com>
    44425 
    44426         Reviewed by Martin Robinson.
    44427 
    44428         [GStreamer] GRefPtr support for GstElement
    44429         https://bugs.webkit.org/show_bug.cgi?id=54870
    44430 
    44431         * CMakeListsEfl.txt:
    44432         * GNUmakefile.am:
    44433         * platform/graphics/gstreamer/GRefPtrGStreamer.cpp: Added.
    44434         (WTF::GstElement):
    44435         * platform/graphics/gstreamer/GRefPtrGStreamer.h: Added.
    44436         * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
    44437         (webKitWebSrcQuery):
    44438 
    44439 2011-02-24  Emil A Eklund  <eae@chromium.org>
    44440 
    44441         Reviewed by Eric Seidel.
    44442 
    44443         Share code between elementFromPoint and caretRangeFromPoint in Document.
    44444         https://bugs.webkit.org/show_bug.cgi?id=54610
    44445 
    44446         Eliminate duplicate code by moving shared logic from elementFromPoint and
    44447         caretRangeFromPoint into helper function.
    44448 
    44449         * dom/Document.cpp:
    44450         (WebCore::nodeFromPoint):
    44451         (WebCore::Document::elementFromPoint):
    44452         (WebCore::Document::caretRangeFromPoint):
    44453 
    44454 2011-02-24  Ilya Tikhonovsky  <loislo@chromium.org>
    44455 
    44456         Unreviewed build fix.
    44457 
    44458         * inspector/InspectorDOMAgent.cpp:
    44459         (WebCore::InspectorDOMAgent::removeAttribute):
    44460         * inspector/InspectorResourceAgent.cpp:
    44461         (WebCore::InspectorResourceAgent::cachedResources):
    44462         * inspector/InspectorRuntimeAgent.cpp:
    44463         (WebCore::InspectorRuntimeAgent::evaluate):
    44464 
    44465 2011-02-24  Zan Dobersek  <zandobersek@gmail.com>
    44466 
    44467         Reviewed by Eric Seidel.
    44468 
    44469         [gtk] Failing collinear arcTo canvas tests
    44470         https://bugs.webkit.org/show_bug.cgi?id=54658
    44471 
    44472         Check for collinearity of the three points that affect how arcTo call
    44473         results. This behavior is in accordance with the HTML standard.
    44474 
    44475         No new tests added as this is already covered by at least two tests.
    44476 
    44477         * platform/graphics/cairo/PathCairo.cpp:
    44478         (WebCore::areaOfTriangleFormedByPoints):
    44479         (WebCore::Path::addArcTo):
    44480 
    44481 2011-02-24  Ilya Tikhonovsky  <loislo@chromium.org>
    44482 
    44483         Reviewed by Pavel Feldman.
    44484 
    44485         Web Inspector: There is a validator of the protocol message format.
    44486 
    44487         It has two parts. InspectorBackendStub.js is the frontend part.
    44488         InspectorBackendDispatcher.cpp is the backend part.
    44489         Both parts are checking protocol message format and report the error if
    44490         the message has not enough fields or the types of fields do not match with
    44491         Inspector.idl specification. These validators are generated automatically.
    44492 
    44493         In addition, we have a number of places at the backend where we check the
    44494         function arguments and do nothing if the arguments are invalid
    44495         from the business logic point of view.
    44496 
    44497         This patch bring us an ability to report a custom error from such function to the frontend.
    44498 
    44499         https://bugs.webkit.org/show_bug.cgi?id=54971
    44500 
    44501         * inspector/CodeGeneratorInspector.pm:
    44502         * inspector/InjectedScriptHost.cpp:
    44503         * inspector/InspectorAgent.cpp:
    44504         * inspector/InspectorAgent.h:
    44505         * inspector/InspectorApplicationCacheAgent.cpp:
    44506         * inspector/InspectorApplicationCacheAgent.h:
    44507         * inspector/InspectorBrowserDebuggerAgent.cpp:
    44508         * inspector/InspectorBrowserDebuggerAgent.h:
    44509         * inspector/InspectorCSSAgent.cpp:
    44510         * inspector/InspectorCSSAgent.h:
    44511         * inspector/InspectorConsoleAgent.cpp:
    44512         * inspector/InspectorConsoleAgent.h:
    44513         * inspector/InspectorController.cpp:
    44514         * inspector/InspectorDOMAgent.cpp:
    44515         * inspector/InspectorDOMAgent.h:
    44516         * inspector/InspectorDOMStorageAgent.cpp:
    44517         * inspector/InspectorDOMStorageAgent.h:
    44518         * inspector/InspectorDatabaseAgent.cpp:
    44519         * inspector/InspectorDatabaseAgent.h:
    44520         * inspector/InspectorDebuggerAgent.cpp:
    44521         * inspector/InspectorDebuggerAgent.h:
    44522         * inspector/InspectorProfilerAgent.cpp:
    44523         * inspector/InspectorProfilerAgent.h:
    44524         * inspector/InspectorResourceAgent.cpp:
    44525         * inspector/InspectorResourceAgent.h:
    44526         * inspector/InspectorRuntimeAgent.cpp:
    44527         * inspector/InspectorRuntimeAgent.h:
    44528         * inspector/InspectorTimelineAgent.cpp:
    44529         * inspector/InspectorTimelineAgent.h:
    44530 
    44531 2011-02-24  Ryosuke Niwa  <rniwa@webkit.org>
    44532 
    44533         Reviewed by Ojan Vafai.
    44534 
    44535         Crash when deleting inside a blockquote with a large offset
    44536         https://bugs.webkit.org/show_bug.cgi?id=55098
    44537 
    44538         The bug was caused by inconsistency in lineBreakExistsAtPosition and breakOutOfEmptyMailBlockquotedParagraph.
    44539         While lineBreakExistsAtPosition was checking that a line break exists at the downstream of the given position,
    44540         breakOutOfEmptyMailBlockquotedParagraph wasn't using the downstream for caretPos. Fixed the bug by using
    44541         the downstream position to instantiate caretPos.
    44542 
    44543         Co-author: Abhishek Arya <inferno@chromium.org>.
    44544 
    44545         Test: editing/deleting/delete-blockquote-large-offsets.html
    44546 
    44547         * editing/CompositeEditCommand.cpp:
    44548         (WebCore::CompositeEditCommand::breakOutOfEmptyMailBlockquotedParagraph):
    44549 
    44550 2011-02-24  Robert Kroeger  <rjkroege@chromium.org>
    44551 
    44552         Reviewed by Darin Fisher.
    44553 
    44554         Added timestamps to PlatformTouchEvent etc.
    44555 
    44556         PlatformTouchEvent doesn't have a timestamp and so
    44557         eventSender.leapForward cannot be used for touchevent based tests.
    44558         This change adds a timestamp to PlatformTouchEvent and initializes
    44559         it in a reasonable manner on Android and Qt platforms.
    44560 
    44561         [chromium] [WebCore] [android] Touch events are missing time stamps
    44562         https://bugs.webkit.org/show_bug.cgi?id=53510
    44563 
    44564         * platform/PlatformTouchEvent.h:
    44565         (WebCore::PlatformTouchEvent::PlatformTouchEvent):
    44566         (WebCore::PlatformTouchEvent::timestamp):
    44567         * platform/android/PlatformTouchEventAndroid.cpp:
    44568         (WebCore::PlatformTouchEvent::PlatformTouchEvent):
    44569         * platform/qt/PlatformTouchEventQt.cpp:
    44570         (WebCore::PlatformTouchEvent::PlatformTouchEvent):
    44571 
    44572 2011-02-24  Renata Hodovan  <reni@webkit.org>
    44573 
    44574         Unreviewed GTK, Snow Leopard build fix for r79474.
    44575 
    44576         * platform/graphics/filters/FEConvolveMatrix.cpp:
    44577         (WebCore::FEConvolveMatrix::setKernelUnitLength):
    44578         * platform/graphics/filters/FEConvolveMatrix.h:
    44579 
    44580 2011-02-24  Carlos Garcia Campos  <cgarcia@igalia.com>
    44581 
    44582         Reviewed by Xan Lopez.
    44583 
    44584         Use IntRect instead of a pointer to a GtkAllocation struct to avoid
    44585         unnecessary memory allocations.
    44586 
    44587         * plugins/PluginView.h:
    44588         * plugins/gtk/PluginViewGtk.cpp:
    44589         (WebCore::PluginView::setNPWindowIfNeeded):
    44590         (WebCore::PluginView::plugAddedCallback):
    44591 
    44592 2011-02-24  Carlos Garcia Campos  <cgarcia@igalia.com>
    44593 
    44594         Unreviewed. Fix the build with GTK+ 3.
    44595 
    44596         * plugins/PluginView.h:
    44597 
    44598 2011-02-23  Ryosuke Niwa  <rniwa@webkit.org>
    44599 
    44600         Reviewed by Darin Adler.
    44601 
    44602         Refactor HTMLEquivalent into a hierachy of classes
    44603         https://bugs.webkit.org/show_bug.cgi?id=55025
    44604 
    44605         Converted HTMLEquivalent into a class.  Some logic in removeImplicitlyStyledElement is
    44606         extracted as member functions of HTMLEquivalent and its subclasses.
    44607 
    44608         * editing/ApplyStyleCommand.cpp:
    44609         (WebCore::HTMLEquivalent::create): Added.
    44610         (WebCore::HTMLEquivalent::~HTMLEquivalent): Added.
    44611         (WebCore::HTMLEquivalent::matches): Returns true if the element is an equivalent, meaning that
    44612         the element's implicit style affects the property of this equivalence.
    44613         (WebCore::HTMLEquivalent::hasAttribute): Returns true if this equivalence requires attributes;
    44614         e.g. color, size, dir.
    44615         (WebCore::HTMLEquivalent::propertyExistsInStyle): Returns true if the property of this equivalence
    44616         exists in the specified style. e.g. if this equivalence is for size attribute and font-size property,
    44617         this function returns true if the specified style has font-size property set.
    44618         (WebCore::HTMLEquivalent::HTMLEquivalent): Added.
    44619         (WebCore::HTMLEquivalent::valueIsPresentInStyle): Returns true if the specified style has the
    44620         implicit style of the specified element of this equivalence.
    44621         (WebCore::HTMLEquivalent::addToStyle): Adds the implicit style of the element of this equivalence
    44622         to the specified mutable style.
    44623         (WebCore::HTMLEquivalentValueList::create): Added.
    44624         (WebCore::HTMLEquivalentValueList::HTMLEquivalentValueList): Added.
    44625         (WebCore::HTMLEquivalentValueList::valueIsPresentInStyle): Added.
    44626         (WebCore::HTMLEquivalentAttribute::create): Added.
    44627         (WebCore::HTMLEquivalentAttribute::matches): Added.
    44628         (WebCore::HTMLEquivalentAttribute::hasAttribute): Added.
    44629         (WebCore::HTMLEquivalentAttribute::attributeName): Added.
    44630         (WebCore::HTMLEquivalentAttribute::HTMLEquivalentAttribute): Added.
    44631         (WebCore::HTMLEquivalentAttribute::valueIsPresentInStyle): Added.
    44632         (WebCore::HTMLEquivalentAttribute::addToStyle): Added.
    44633         (WebCore::HTMLEquivalentAttribute::attributeValueAsCSSValue): Added.
    44634         (WebCore::HTMLEquivalentFontSizeAttribute::create): Added.
    44635         (WebCore::HTMLEquivalentFontSizeAttribute::HTMLEquivalentFontSizeAttribute): Added.
    44636         (WebCore::HTMLEquivalentFontSizeAttribute::attributeValueAsCSSValue): Added.
    44637         (WebCore::ApplyStyleCommand::removeImplicitlyStyledElement): Uses new classes.
    44638 
    44639 2011-02-23  Sheriff Bot  <webkit.review.bot@gmail.com>
    44640 
    44641         Unreviewed, rolling out r79510.
    44642         http://trac.webkit.org/changeset/79510
    44643         https://bugs.webkit.org/show_bug.cgi?id=55114
    44644 
    44645         It made ~200 tests crash on Qt bot (Requested by Ossy_ on
    44646         #webkit).
    44647 
    44648         * platform/text/TextBreakIterator.h:
    44649         * platform/text/TextBreakIteratorICU.cpp:
    44650         (WebCore::lineBreakIterator):
    44651         * platform/text/qt/TextBreakIteratorQt.cpp:
    44652         (WebCore::lineBreakIterator):
    44653         * rendering/RenderBlock.h:
    44654         * rendering/RenderBlockLineLayout.cpp:
    44655         (WebCore::RenderBlock::layoutInlineChildren):
    44656         (WebCore::RenderBlock::findNextLineBreak):
    44657         * rendering/RenderText.cpp:
    44658         (WebCore::RenderText::computePreferredLogicalWidths):
    44659         * rendering/break_lines.cpp:
    44660         (WebCore::nextBreakablePosition):
    44661         * rendering/break_lines.h:
    44662         (WebCore::isBreakable):
    44663 
    44664 2011-02-23  Geoffrey Garen  <ggaren@apple.com>
    44665 
    44666         Reviewed by Mark Rowe.
    44667        
    44668         Used svn merge -r79502:79501 to roll out r79502 because it broke the
    44669         SnowLeopard and Leopard builds.
    44670 
    44671         * WebCore.xcodeproj/project.pbxproj:
    44672         * platform/mac/HTMLConverter.h: Removed.
    44673         * platform/mac/HTMLConverter.mm: Removed.
    44674         * platform/mac/PasteboardMac.mm:
    44675         (WebCore::Pasteboard::writeSelection):
    44676 
    44677 2011-02-23  Beth Dakin  <bdakin@apple.com>
    44678 
    44679         Reviewed by Dan Bernstein.
    44680 
    44681         Fix for <rdar://problem/9002157> Garbage in the bottom right corner of the window
    44682         when scrolling
    44683 
    44684         When there is both a horizontal and a vertical scrollbar, it is necessary to
    44685         include the space between them in the invalidation.
    44686         * platform/ScrollableArea.cpp:
    44687         (WebCore::ScrollableArea::setScrollOffsetFromAnimation):
    44688 
    44689 2011-02-23  Ned Holbrook  <nholbrook@apple.com>
    44690 
    44691         Reviewed by Dan Bernstein.
    44692 
    44693         Minimize calls to ubrk_setText()
    44694         https://bugs.webkit.org/show_bug.cgi?id=54912
    44695         <rdar://problem/9032774>
    44696 
    44697         Avoid calling ubrk_setText() once per call to isBreakable() by using a LazyLineBreakIterator, which defers
    44698         break iterator creation until needed. This requires replacing the global line break iterator primitive with a
    44699         version that can be nested, since in some cases two iterators may need to be outstanding. In particular,
    44700         layoutInlineChildren() may indirectly call computePreferredLogicalWidths() and each may need an iterator.
    44701         In a test with a paragraph of Japanese text, this reduced the number of ubrk_setText() calls from 164 to 1.
    44702 
    44703         * platform/text/TextBreakIterator.h: Add LazyLineBreakIterator.
    44704         (WebCore::LazyLineBreakIterator::LazyLineBreakIterator):
    44705         (WebCore::LazyLineBreakIterator::~LazyLineBreakIterator):
    44706         (WebCore::LazyLineBreakIterator::string):
    44707         (WebCore::LazyLineBreakIterator::length):
    44708         (WebCore::LazyLineBreakIterator::get):
    44709         (WebCore::LazyLineBreakIterator::reset):
    44710         * platform/text/TextBreakIteratorICU.cpp: Replace lineBreakIterator() primitive with acquireLineBreakIterator()/releaseLineBreakIterator().
    44711         (WebCore::acquireLineBreakIterator):
    44712         (WebCore::releaseLineBreakIterator):
    44713         * platform/text/qt/TextBreakIteratorQt.cpp: Ditto TextBreakIteratorICU.cpp.
    44714         (WebCore::acquireLineBreakIterator):
    44715         (WebCore::releaseLineBreakIterator):
    44716         * rendering/RenderBlock.h:
    44717         * rendering/RenderBlockLineLayout.cpp:
    44718         (WebCore::RenderBlock::layoutInlineChildren): Pass a mapping of RenderText to LazyLineBreakIterator from one call of findNextLineBreak() to the next.
    44719         (WebCore::RenderBlock::findNextLineBreak): Use said mapping, resetting LazyLineBreakIterator for any newly-encountered RenderText.
    44720         * rendering/RenderText.cpp: Use a local LazyLineBreakIterator.
    44721         (WebCore::RenderText::computePreferredLogicalWidths):
    44722         * rendering/break_lines.cpp: Accept LazyLineBreakIterator rather than TextBreakIterator.
    44723         (WebCore::nextBreakablePosition):
    44724         * rendering/break_lines.h: Accept LazyLineBreakIterator rather than TextBreakIterator.
    44725         (WebCore::isBreakable):
    44726 
    44727 2011-02-23  Anders Carlsson  <andersca@apple.com>
    44728 
    44729         Fix build.
    44730 
    44731         * platform/mac/HTMLConverter.h:
    44732 
    44733 2011-02-17  Enrica Casucci  <enrica@apple.com>
    44734 
    44735         Reviewed by Darin Adler.
    44736 
    44737         REGRESSION: Copied content loses formatting on paste to external apps.
    44738         https://bugs.webkit.org/show_bug.cgi?id=47615
    44739         <rdar://problem/9001214>
    44740 
    44741         This patch adds a way for WebKit2 to create NSAttributedStrings from
    44742         a DOM range without using the AppKit api initWithDOMRange that internally
    44743         needs to access the WebView. The NSAttributedString is needed to create
    44744         RTF formats in the pasteboard.
    44745         This is to be considered a first step, since in the future we want to have
    44746         an implementation based on the TextIterator.
    44747        
    44748         * WebCore.xcodeproj/project.pbxproj: Added new file.
    44749         * platform/mac/HTMLConverter.h: Added.
    44750         * platform/mac/HTMLConverter.mm: Added.
    44751         * platform/mac/PasteboardMac.mm:
    44752         (WebCore::Pasteboard::writeSelection): We now use WebHTMLConverter
    44753         class for WebKit2 to create the NSAttributedString from the DOM range.
    44754 
    44755 2011-02-23  David Hyatt  <hyatt@apple.com>
    44756 
    44757         Reviewed by Sam Weinig.
    44758 
    44759         https://bugs.webkit.org/show_bug.cgi?id=46500, make positioned elements work with vertical text.
    44760 
    44761         Patch computePositionedLogicalHeightUsing to be writing-mode-aware.
    44762 
    44763         * rendering/RenderBox.cpp:
    44764         (WebCore::RenderBox::computePositionedLogicalWidthUsing):
    44765         (WebCore::RenderBox::computePositionedLogicalHeightUsing):
    44766         * rendering/RenderBox.h:
    44767 
    44768 2011-02-23  Martin Robinson  <mrobinson@igalia.com>
    44769 
    44770         Reviewed by Xan Lopez.
    44771 
    44772         [Gtk] Flash item placed on wrong location right after load
    44773         https://bugs.webkit.org/show_bug.cgi?id=37769
    44774 
    44775         If a plugin is GtkSocket based, do not set the widget allocation until the
    44776         window is actually embedded in the parent. When the window is embedded, use
    44777         any pending allocation for the call to gtk_widget_size_allocate. This bug
    44778         seems to only appear with Flash movies loaded as the src of an iframe.
    44779 
    44780         * manual-tests/plugins/windowed-in-iframe.html: Added.
    44781         * plugins/PluginView.h: Add a few new members to track window embedding state.
    44782         * plugins/gtk/PluginViewGtk.cpp:
    44783         (WebCore::PluginView::setNPWindowIfNeeded): If this is a GtkSocket-based plugin
    44784         wait until the plug-added signal fires to set the widget allocation.
    44785         (WebCore::PluginView::plugAddedCallback): Updated to be a static method, so that
    44786         we can access private members. If there is a pending allocation, call gtk_widget_size_allocate
    44787         with it.
    44788         (WebCore::PluginView::platformStart): Update the plugin state, so that we do not
    44789         call gtk_widget_size_allocate if the window isn't embedded.
    44790 
    44791 2011-02-18  Enrica Casucci  <enrica@apple.com>
    44792 
    44793         Reviewed by Adam Roben.
    44794 
    44795         Mac OS X Services are not available for selected text in WebKit2 windows.
    44796         https://bugs.webkit.org/show_bug.cgi?id=54777
    44797         <rdar://problem/8666428>
    44798 
    44799         The changes to WebCore for this bug are limited to exposing a new
    44800         entry point in the Editor class to write to the pasteboard and
    44801         changes to the Pasteboard class to write the selection with
    44802         a given set of pasteboard types. The majority of the work
    44803         is done in WebKit2.
    44804        
    44805         * WebCore.exp.in:
    44806         * editing/Editor.h:
    44807         * editing/mac/EditorMac.mm: Added entrypoint to write the
    44808         selection to the pasteboard.
    44809         (WebCore::Editor::writeSelectionToPasteboard):
    44810         * platform/Pasteboard.h:
    44811         * platform/mac/ClipboardMac.mm:
    44812         (WebCore::ClipboardMac::writeRange):
    44813         * platform/mac/PasteboardMac.mm:
    44814         (WebCore::Pasteboard::writeSelection):
    44815 
    44816 2011-02-23  David Hyatt  <hyatt@apple.com>
    44817 
    44818         Reviewed by Simon Fraser.
    44819 
    44820         https://bugs.webkit.org/show_bug.cgi?id=46500, make positioned elements work with vertical text.
    44821 
    44822         Patch computePositionedLogicalHeight to be writing-mode-aware.  Functions it calls have not been
    44823         patched yet, so still not testable in a vertical text environment.
    44824 
    44825         * rendering/RenderBox.cpp:
    44826         (WebCore::RenderBox::computePositionedLogicalHeight):
    44827 
    44828 2011-02-23  David Hyatt  <hyatt@apple.com>
    44829 
    44830         Reviewed by Sam Weinig.
    44831 
    44832         https://bugs.webkit.org/show_bug.cgi?id=46500, make positioned elements work with vertical text.
    44833 
    44834         Patch computePositionedLogicalWidthUsing to be writing-mode-aware. Still not testable in a vertical text
    44835         environment, since height computations will overwrite all values computed here until they are patched as well.
    44836 
    44837         * rendering/RenderBox.cpp:
    44838         (WebCore::RenderBox::computePositionedLogicalWidthUsing):
    44839         * rendering/RenderBox.h:
    44840 
    44841 2011-02-23  Renata Hodovan  <reni@webkit.org>
    44842 
    44843         Reviewed by Nikolas Zimmermann.
    44844 
    44845         FEColorMatrixElement changes doesn't require relayout
    44846         https://bugs.webkit.org/show_bug.cgi?id=54880
    44847 
    44848         When the FEColorMatrixElement receives an update message but the given value remains the same we don't need
    44849         to relayout the filter.
    44850 
    44851         No new tests are needed because this modificiation is covered by the dynamic update tests of FEColorMatrix.
    44852 
    44853         * platform/graphics/filters/FEColorMatrix.cpp:
    44854         (WebCore::FEColorMatrix::setType):
    44855         (WebCore::FEColorMatrix::setValues):
    44856         * platform/graphics/filters/FEColorMatrix.h:
    44857         * svg/SVGFEColorMatrixElement.cpp:
    44858         (WebCore::SVGFEColorMatrixElement::setFilterEffectAttribute):
    44859         (WebCore::SVGFEColorMatrixElement::svgAttributeChanged):
    44860         * svg/SVGFEColorMatrixElement.h:
    44861 
    44862 2011-02-23  James Robinson  <jamesr@chromium.org>
    44863 
    44864         REGRESSION(79466): fast/parser/test-unicode-characters-in-attribute-name.html fails
    44865 
    44866         Reverts TextCodecUTF16.cpp back to pre-79466 state.  The crash fix in 79466 was for UTF-8 only, it also caused the UTF16 path to fail.
    44867 
    44868         * platform/text/TextCodecUTF16.cpp:
    44869         (WebCore::newStreamingTextDecoderUTF16LE):
    44870         (WebCore::newStreamingTextDecoderUTF16BE):
    44871         (WebCore::TextCodecUTF16::decode):
    44872         (WebCore::TextCodecUTF16::encode):
    44873 
    44874 2011-02-23  David Hyatt  <hyatt@apple.com>
    44875 
    44876         Reviewed by Sam Weinig.
    44877 
    44878         https://bugs.webkit.org/show_bug.cgi?id=46500, make positioned elements work with vertical text.
    44879 
    44880         Patch computePositionedLogicalWidth to be writing-mode-aware.  Functions it calls have not been
    44881         patched yet, so still not testable in a vertical text environment.
    44882 
    44883         * rendering/RenderBox.cpp:
    44884         (WebCore::RenderBox::computePositionedLogicalWidth):
    44885 
    44886 2011-02-23  James Robinson  <jamesr@chromium.org>
    44887 
    44888         Unreviewed, rolling out r79428.
    44889         http://trac.webkit.org/changeset/79428
    44890         https://bugs.webkit.org/show_bug.cgi?id=54714
    44891 
    44892         Does not work in the Chromium sandbox
    44893 
    44894         * websockets/WebSocketHandshake.cpp:
    44895         (WebCore::generateSecWebSocketKey):
    44896         (WebCore::generateKey3):
    44897 
    44898 2011-02-23  David Hyatt  <hyatt@apple.com>
    44899 
    44900         Reviewed by Sam Weinig.
    44901 
    44902         https://bugs.webkit.org/show_bug.cgi?id=46500, make positioned elements work with vertical text.
    44903        
    44904         Add logical accessors for the left()/right()/top()/bottom() properties on the RenderStyle.
    44905 
    44906         * rendering/style/RenderStyle.h:
    44907         (WebCore::InheritedFlags::logicalLeft):
    44908         (WebCore::InheritedFlags::logicalRight):
    44909         (WebCore::InheritedFlags::logicalTop):
    44910         (WebCore::InheritedFlags::logicalBottom):
    44911 
    44912 2011-02-23  Darin Adler  <darin@apple.com>
    44913 
    44914         Reviewed by Alexey Proskuryakov.
    44915 
    44916         Fix crash seen in one of the regression tests.
    44917 
    44918         * platform/text/TextCodecUTF16.cpp:
    44919         (WebCore::TextCodecUTF16::decode): Handle case where we did not decode any new data,
    44920         we were not told to flush, and we had a buffered byte. The assertion here was incorrect,
    44921         and the correct thing to do is nothing.
    44922 
    44923 2011-02-23  Sergey Glazunov  <serg.glazunov@gmail.com>
    44924 
    44925         Reviewed by James Robinson.
    44926 
    44927         SVGCursorElement::removeClient() should verify that its argument is connected with
    44928         the proper cursor element.
    44929         https://bugs.webkit.org/show_bug.cgi?id=54979
    44930 
    44931         Test: svg/css/multiple-cursors-crash.html
    44932 
    44933         * svg/SVGCursorElement.cpp:
    44934         (WebCore::SVGCursorElement::removeClient):
    44935 
    44936 2011-02-23  Renata Hodovan  <reni@webkit.org>
    44937 
    44938         Reviewed by Darin Adler.
    44939 
    44940         FEConvolveMatrixElement changes doesn't require relayout
    44941         https://bugs.webkit.org/show_bug.cgi?id=55067
    44942 
    44943         When the FEConvolveMatrixElement receives an update message but the
    44944         given value remains the same we don't need to relayout the filter.
    44945 
    44946         No new tests are needed because this modificiation is covered by the
    44947         dynamic update tests of FEConvolveMatrix.
    44948 
    44949         * platform/graphics/filters/FEConvolveMatrix.cpp:
    44950         (WebCore::FEConvolveMatrix::setDivisor):
    44951         (WebCore::FEConvolveMatrix::setBias):
    44952         (WebCore::FEConvolveMatrix::setTargetOffset):
    44953         (WebCore::FEConvolveMatrix::edgeMode):
    44954         (WebCore::FEConvolveMatrix::setEdgeMode):
    44955         (WebCore::FEConvolveMatrix::setPreserveAlpha):
    44956         * platform/graphics/filters/FEConvolveMatrix.h:
    44957         * svg/SVGFEConvolveMatrixElement.cpp:
    44958         (WebCore::SVGFEConvolveMatrixElement::setFilterEffectAttribute):
    44959         (WebCore::SVGFEConvolveMatrixElement::svgAttributeChanged):
    44960         * svg/SVGFEConvolveMatrixElement.h:
    44961 
    44962 2011-02-23  Geoffrey Garen  <ggaren@apple.com>
    44963 
    44964         Reviewed by Darin Adler.
    44965 
    44966         Rolled back in r79367 with SnowLeopard Release bot crash fixed.
    44967         https://bugs.webkit.org/show_bug.cgi?id=54999
    44968 
    44969         * ForwardingHeaders/wtf/DoublyLinkedList.h: Added.
    44970 
    44971 2011-02-23  Dimitri Glazkov  <dglazkov@chromium.org>
    44972 
    44973         Reviewed by Darin Adler.
    44974 
    44975         Add more thorough manual test coverage for media controls
    44976         https://bugs.webkit.org/show_bug.cgi?id=55006
    44977 
    44978         * manual-tests/media-controls.html: Added.
    44979 
    44980 2011-02-23  Darin Adler  <darin@apple.com>
    44981 
    44982         Fix build.
    44983 
    44984         * platform/text/TextCodecUTF16.cpp:
    44985         (WebCore::TextCodecUTF16::decode): Removed stray unused local variable.
    44986 
    44987 2011-02-23  Dimitri Glazkov  <dglazkov@chromium.org>
    44988 
    44989         Reviewed by Darin Adler.
    44990 
    44991         Setting shadow host should also attach and set inDocument, just like
    44992         appending/inserting a child.
    44993         https://bugs.webkit.org/show_bug.cgi?id=55065
    44994 
    44995         No new tests, because functionality is not yet used.
    44996 
    44997         * dom/Element.cpp:
    44998         (WebCore::Element::setShadowRoot): Add attaching and setting inDocument
    44999             for the shadow DOM subtree, like the host.
    45000 
    45001 2011-02-23  David Hyatt  <hyatt@apple.com>
    45002 
    45003         Reviewed by Darin Adler and Simon Fraser.
    45004 
    45005         https://bugs.webkit.org/show_bug.cgi?id=46500, make positioned elements work with vertical text.
    45006        
    45007         - Add clientLogicalWidth and clientLogicalHeight that call the correct clientWidth or clientHeight based off
    45008         writing-mode.
    45009         - Patch clientLogicalBottom to use clientLogicalHeight.
    45010         - Convert containingBlockWidthForPositioned and containingBlockHeightForPositioned to be logical and to make use of
    45011         clientLogicalHeight/Width.  Also make them able to handle perpendicular writing mode containining blocks.
    45012         - Refine containingBlockLogicalHeightForPositioned to match containingBlockLogicalWidthForPositioned more closely.
    45013        
    45014         * rendering/RenderBox.cpp:
    45015         (WebCore::RenderBox::computeReplacedLogicalWidthUsing):
    45016         (WebCore::RenderBox::computeReplacedLogicalHeightUsing):
    45017         (WebCore::RenderBox::containingBlockLogicalWidthForPositioned):
    45018         (WebCore::RenderBox::containingBlockLogicalHeightForPositioned):
    45019         (WebCore::RenderBox::computePositionedLogicalWidth):
    45020         (WebCore::RenderBox::computePositionedLogicalHeight):
    45021         (WebCore::RenderBox::computePositionedLogicalWidthReplaced):
    45022         (WebCore::RenderBox::computePositionedLogicalHeightReplaced):
    45023         * rendering/RenderBox.h:
    45024         (WebCore::RenderBox::clientLogicalWidth):
    45025         (WebCore::RenderBox::clientLogicalHeight):
    45026         (WebCore::RenderBox::clientLogicalBottom):
    45027 
    45028 2011-02-23  Darin Adler  <darin@apple.com>
    45029 
    45030         Reviewed by Alexey Proskuryakov.
    45031 
    45032         REGRESSION (new UTF-8 decoder): Reproducible crash on alltommac.se
    45033         https://bugs.webkit.org/show_bug.cgi?id=54862
    45034 
    45035         Correct handling of end of buffer partial sequence in UTF-8 and UTF-16 decoders when flushing with zero length
    45036         https://bugs.webkit.org/show_bug.cgi?id=54444
    45037 
    45038         No new tests at this time. I will add some tests later, but since multiple
    45039         people are hitting this I wanted to get it in as quickly as possible.
    45040 
    45041         * platform/text/TextCodecUTF16.cpp:
    45042         (WebCore::TextCodecUTF16::decode): Tweaked coding style quite a bit.
    45043         Removed special case for zero length now that main code handles it
    45044         correctly. Used words instead of abbreviations for local variable names.
    45045         Added error handling for a trailing byte.
    45046 
    45047         * platform/text/TextCodecUTF8.cpp:
    45048         (WebCore::TextCodecUTF8::consumePartialSequenceByte): Added. Helper function
    45049         to make the handleError and handlePartialSequence functions clearer.
    45050         (WebCore::TextCodecUTF8::handleError): Added. Helper function to make the
    45051         handlePartialSequence clearer.
    45052         (WebCore::TextCodecUTF8::handlePartialSequence): Added. Factored out code for
    45053         the partial sequence case. Making this a separate function probably helps make
    45054         the fast case a little faster. This new version handles more cases correctly,
    45055         which is what fixes the crashes we were seeing. In particular, it no longer
    45056         assumes that the partial sequence is truly partial, because there are cases
    45057         where we end up handling complete sequences here, such as when a complete
    45058         sequence is inside a malformed partial sequence.
    45059         (WebCore::TextCodecUTF8::decode): Removed partial sequence code and made this
    45060         call handlePartialSequence instead. Could be streamlined if we double checked
    45061         that passing a reference to "destination" and "source" doesn't harm code
    45062         generation too much, so perhaps someone can do that research on a few compilers
    45063         later and clean this up. Removed special case for zero length now that the
    45064         main code handles that correctly.
    45065 
    45066         * platform/text/TextCodecUTF8.h: Added declarations for new functions.
    45067         Made partial sequence buffer large enough to hold a whole sequence so we can
    45068         use it to complete and decode a sequence in place.
    45069 
    45070 2011-02-23  Abhishek Arya  <inferno@chromium.org>
    45071 
    45072         Reviewed by Dave Hyatt.
    45073 
    45074         Make clear float lineboxes resilient against overflows.       
    45075         https://bugs.webkit.org/show_bug.cgi?id=54995
    45076 
    45077         We try to dirty everthing in block range if we have a negative
    45078         logical bottom, or if our logical bottom is less than our logical
    45079         top, or if our logical top is equal to INT_MAX. Plus, we also dirty
    45080         a linebox if its block logical height is less than zero.
    45081         Tests: fast/overflow/overflow-height-float-not-removed-crash2.html
    45082                fast/overflow/overflow-height-float-not-removed-crash3.html
    45083 
    45084         * rendering/RenderBlock.cpp:
    45085         (WebCore::RenderBlock::removeFloatingObject):
    45086         (WebCore::RenderBlock::markLinesDirtyInBlockRange):
    45087         * rendering/RootInlineBox.cpp:
    45088         (WebCore::RootInlineBox::alignBoxesInBlockDirection): remove the hack
    45089         added in r69735. we don't need this anymore since we are making the
    45090         underlying float dirty logic resilient.
    45091 
    45092 2011-02-22  Kenneth Russell  <kbr@google.com>
    45093 
    45094         Reviewed by Darin Fisher.
    45095 
    45096         Per-page minimum DOMTimer interval broken for repeating timers
    45097         https://bugs.webkit.org/show_bug.cgi?id=55014
    45098 
    45099         When the minimum timer interval is adjusted, if the timer is
    45100         repeating, cause its repeat interval to be set to its original
    45101         timeout clamped to the new minimum interval.
    45102 
    45103         Tests: fast/dom/timer-increase-min-interval-repeating.html
    45104                fast/dom/timer-increase-then-decrease-min-interval-repeating.html
    45105 
    45106         * page/DOMTimer.cpp:
    45107         (WebCore::DOMTimer::adjustMinimumTimerInterval):
    45108 
    45109 2011-02-23  Dan Bernstein  <mitz@apple.com>
    45110 
    45111         Reviewed by Maciej Stachowiak.
    45112 
    45113         Fix two issues seen in WebKit2 views on Mac:
    45114         - <rdar://problem/8867831> WebKit2: Insertion points in form fields no longer blink
    45115         - <rdar://problem/8950362> REGRESSION (WebKit2): Cannot deselect text
    45116 
    45117         * page/EventHandler.cpp:
    45118         (WebCore::EventHandler::EventHandler): Initialize m_activationEventNumber
    45119         to -1. Since WebKit2 doesn�t support non-activating clicks yet (<http://webkit.org/b/55053>
    45120         <rdar://problem/9042197>) and doesn�t send event numbers, all events were considered to be
    45121         window-activating events. This in turn prevented them from clearing the selection and resuming
    45122         caret blinking on mouse up.
    45123 
    45124 2011-02-23  Jacob Dinu  <dinu.jacob@nokia.com>
    45125 
    45126         Reviewed by Pavel Feldman.
    45127 
    45128         Web Inspector: Linking error for some InspectorController symbols
    45129         https://bugs.webkit.org/show_bug.cgi?id=54953
    45130 
    45131         Moved out hideHighlight definition from under JAVASCRIPT_DEBUGGER flag
    45132 
    45133         * inspector/InspectorController.cpp:
    45134         (WebCore::InspectorController::hideHighlight):
    45135         (WebCore::InspectorController::resume):
    45136 
    45137 2011-02-23  Hans Wennborg  <hans@chromium.org>
    45138 
    45139         IndexedDB: Move some SQL code into IDBBackingStore
    45140         https://bugs.webkit.org/show_bug.cgi?id=54889
    45141 
    45142         The idea is to gather all the SQL logic into IDBBackingStore.
    45143 
    45144         No new functionality, so no new tests.
    45145 
    45146         * storage/IDBBackingStore.cpp:
    45147         (WebCore::IDBBackingStore::IDBBackingStore):
    45148         (WebCore::runCommands):
    45149         (WebCore::createTables):
    45150         (WebCore::createMetaDataTable):
    45151         (WebCore::getDatabaseSchemaVersion):
    45152         (WebCore::migrateDatabase):
    45153         (WebCore::IDBBackingStore::open):
    45154         (WebCore::IDBBackingStore::extractIDBDatabaseMetaData):
    45155         (WebCore::IDBBackingStore::setIDBDatabaseMetaData):
    45156         (WebCore::IDBBackingStore::getObjectStores):
    45157         (WebCore::IDBBackingStore::createObjectStore):
    45158         (WebCore::doDelete):
    45159         (WebCore::IDBBackingStore::deleteObjectStore):
    45160         (WebCore::whereSyntaxForKey):
    45161         (WebCore::bindKeyToQuery):
    45162         (WebCore::IDBBackingStore::getObjectStoreRecord):
    45163         (WebCore::bindKeyToQueryWithNulls):
    45164         (WebCore::IDBBackingStore::putObjectStoreRecord):
    45165         (WebCore::IDBBackingStore::deleteIndexDataForRecord):
    45166         (WebCore::IDBBackingStore::putIndexDataForRecord):
    45167         (WebCore::IDBBackingStore::createIndex):
    45168         (WebCore::IDBBackingStore::deleteIndex):
    45169         (WebCore::IDBBackingStore::clearObjectStore):
    45170         * storage/IDBBackingStore.h:
    45171         * storage/IDBDatabaseBackendImpl.cpp:
    45172         (WebCore::IDBDatabaseBackendImpl::IDBDatabaseBackendImpl):
    45173         (WebCore::IDBDatabaseBackendImpl::createObjectStoreInternal):
    45174         (WebCore::IDBDatabaseBackendImpl::deleteObjectStoreInternal):
    45175         (WebCore::IDBDatabaseBackendImpl::setVersionInternal):
    45176         (WebCore::IDBDatabaseBackendImpl::loadObjectStores):
    45177         * storage/IDBFactoryBackendImpl.cpp:
    45178         (WebCore::IDBFactoryBackendImpl::IDBFactoryBackendImpl):
    45179         (WebCore::IDBFactoryBackendImpl::addIDBBackingStore):
    45180         (WebCore::IDBFactoryBackendImpl::removeIDBBackingStore):
    45181         (WebCore::IDBFactoryBackendImpl::open):
    45182         * storage/IDBFactoryBackendImpl.h:
    45183         * storage/IDBObjectStoreBackendImpl.cpp:
    45184         (WebCore::IDBObjectStoreBackendImpl::getInternal):
    45185         (WebCore::IDBObjectStoreBackendImpl::putInternal):
    45186         (WebCore::IDBObjectStoreBackendImpl::clearInternal):
    45187         (WebCore::populateIndex):
    45188         (WebCore::IDBObjectStoreBackendImpl::createIndexInternal):
    45189         (WebCore::IDBObjectStoreBackendImpl::deleteIndexInternal):
    45190 
    45191 2011-02-23  Siddharth Mathur  <siddharth.mathur@nokia.com>
    45192 
    45193         Reviewed by Laszlo Gombos.
    45194 
    45195         [Qt] Fix the Symbian build after r79334
    45196         https://bugs.webkit.org/show_bug.cgi?id=55044
    45197 
    45198         No new tests as there is no new functionality.
    45199 
    45200         * WebCore.pri: Reorder symbian blocks to make sure that
    45201         system-sqlite is set before it is tested.
    45202 
    45203         Copy the rules from JavaScriptCore.pri for defineTest().
    45204 
    45205 2011-02-23  Patrick Gansterer  <paroga@webkit.org>
    45206 
    45207         Reviewed by Alexey Proskuryakov.
    45208 
    45209         Use AtomicString::fromUTF8 instead of String::fromUTF8 for AtomicStrings
    45210         https://bugs.webkit.org/show_bug.cgi?id=54992
    45211 
    45212         * websockets/WebSocketHandshake.cpp:
    45213         (WebCore::WebSocketHandshake::readHTTPHeaders):
    45214 
    45215 2011-02-23  Patrick Gansterer  <paroga@webkit.org>
    45216 
    45217         Reviewed by Andreas Kling.
    45218 
    45219         [CMake] Move platform dependent files out of main CMakeLists.txt
    45220         https://bugs.webkit.org/show_bug.cgi?id=53891
    45221 
    45222         Apple Windows port does not use the image decoders,
    45223         so move them into the platform specific CMake files.
    45224 
    45225         * CMakeLists.txt:
    45226         * CMakeListsEfl.txt:
    45227         * CMakeListsWinCE.txt:
    45228 
    45229 2011-02-21  Stephen White  <senorblanco@chromium.org>
    45230 
    45231         Reviewed by Kenneth Russell.
    45232 
    45233         Jittering when animating a rotated image
    45234         https://bugs.webkit.org/show_bug.cgi?id=50775
    45235 
    45236         Since Skia does not seem to suffer from pixel cracks when scaling to
    45237         non-integral sizes the way CG does, no-op roundToDevicePixels on the
    45238         Skia implementation.
    45239 
    45240         * platform/graphics/skia/GraphicsContextSkia.cpp:
    45241         (WebCore::GraphicsContext::roundToDevicePixels):
    45242 
    45243 2011-02-23  Patrick Gansterer  <paroga@webkit.org>
    45244 
    45245         Reviewed by Andreas Kling.
    45246 
    45247         [WINCE] Get rid of TemporaryLinkStubs.cpp
    45248         https://bugs.webkit.org/show_bug.cgi?id=54825
    45249 
    45250         * CMakeListsWinCE.txt:
    45251         * platform/network/win/CookieStorageWin.cpp: Copied from platform/wince/TemporaryLinkStubs.cpp.
    45252         * platform/wince/TemporaryLinkStubs.cpp: Removed.
    45253 
    45254 2011-02-23  Patrick Gansterer  <paroga@webkit.org>
    45255 
    45256         Reviewed by Darin Adler.
    45257 
    45258         Rename PLATFORM(CF) to USE(CF)
    45259         https://bugs.webkit.org/show_bug.cgi?id=53540
    45260 
    45261         * WebCore.gyp/WebCore.gyp:
    45262         * editing/SmartReplace.cpp:
    45263         * editing/SmartReplaceICU.cpp:
    45264         * loader/MainResourceLoader.cpp:
    45265         (WebCore::MainResourceLoader::didReceiveResponse):
    45266         (WebCore::MainResourceLoader::didReceiveData):
    45267         (WebCore::MainResourceLoader::didFinishLoading):
    45268         (WebCore::MainResourceLoader::didFail):
    45269         * loader/archive/ArchiveFactory.cpp:
    45270         (WebCore::archiveMIMETypes):
    45271         * platform/FileSystem.h:
    45272         * platform/KURL.h:
    45273         * platform/KURLGoogle.cpp:
    45274         * platform/RunLoopTimer.h:
    45275         * platform/SharedBuffer.cpp:
    45276         * platform/SharedBuffer.h:
    45277         * platform/UUID.cpp:
    45278         (WebCore::createCanonicalUUIDString):
    45279         * platform/network/ResourceHandle.h:
    45280         * platform/network/ResourceRequestBase.h:
    45281         * platform/network/curl/ResourceHandleCurl.cpp:
    45282         * platform/network/curl/ResourceHandleManager.cpp:
    45283         (WebCore::certificatePath):
    45284         * platform/text/cf/StringCF.cpp:
    45285         * platform/text/cf/StringImplCF.cpp:
    45286         * platform/win/BString.cpp:
    45287         * platform/win/BString.h:
    45288         * platform/win/ClipboardUtilitiesWin.cpp:
    45289         (WebCore::getWebLocData):
    45290         (WebCore::getURL):
    45291         (WebCore::getClipboardData):
    45292         * platform/win/ClipboardWin.cpp:
    45293         (WebCore::writeFileToDataObject):
    45294         * platform/win/SearchPopupMenuWin.cpp:
    45295         (WebCore::SearchPopupMenuWin::enabled):
    45296         (WebCore::SearchPopupMenuWin::saveRecentSearches):
    45297         (WebCore::SearchPopupMenuWin::loadRecentSearches):
    45298 
    45299 2011-02-23  Benjamin Kalman  <kalman@chromium.org>
    45300 
    45301         Reviewed by Ojan Vafai.
    45302 
    45303         Moving or selecting backwards by words jumps to start of contenteditable region if contenteditable=false span is encountered
    45304         https://bugs.webkit.org/show_bug.cgi?id=51001
    45305 
    45306         Test: editing/selection/extend-backward-by-word-over-non-editable.html
    45307 
    45308         Revert some previous changes (the TextIteratorEndsAtEditingBoundary text iteration behaviour) which caused this
    45309         bug in the first place, and fix SimplifiedBackwardsTextIterator's iteration range check as an alternative fix.
    45310 
    45311         The original bug was that double-clicking on an inline editable span at the start of a paragraph would clear the
    45312         selection (webkit.org/b/36360).  This was caused by upstream/downstream VisbiblePosition complications.  To fix,
    45313         refuse to iterate beyond the start node (rather than refusing to iterate across editable boundaries, which
    45314         causes this bug).
    45315 
    45316         To see why this is correct, and to make it clearer that is indeed what is happening, the text iterator code has
    45317         been slightly restructured to express the invariant that the iterator will never advance past the start node.
    45318 
    45319         * editing/TextIterator.cpp:
    45320         (WebCore::TextIterator::TextIterator): Remove references to TextIterationEndsAtEditing boundary.
    45321         (WebCore::SimplifiedBackwardsTextIterator::SimplifiedBackwardsTextIterator): Remove m_pastStartNode as the
    45322         mechanism for iteration range checking, and use a flag m_havePassedStartNode instead.
    45323         (WebCore::SimplifiedBackwardsTextIterator::advance): Clean up, use advanceRespectingRange and
    45324         m_havePassedStartNode for iteration range checking rather than m_pastStartNode.
    45325         (WebCore::SimplifiedBackwardsTextIterator::advanceRespectingRange): The new way of modifying m_node
    45326         which updates m_havePassedStartNode and refuses to continue when it becomes true.
    45327         * editing/TextIterator.h: Remove TextIteratorEndsAtEditingBoundary, update for new/removed prototypes and
    45328         member variables.
    45329         * editing/visible_units.cpp:
    45330         (WebCore::previousBoundary): Remove references to TextIteratorEndsAtEditingBoundary.
    45331 
    45332 2011-02-23  Fumitoshi Ukai  <ukai@chromium.org>
    45333 
    45334         Reviewed by Adam Barth.
    45335 
    45336         WebSocket uses insecure random numbers
    45337         https://bugs.webkit.org/show_bug.cgi?id=54714
    45338 
    45339         * websockets/WebSocketHandshake.cpp:
    45340         (WebCore::randomNumberLessThan):
    45341         (WebCore::generateSecWebSocketKey):
    45342         (WebCore::generateKey3):
    45343 
    45344 2011-02-21  Hans Wennborg  <hans@chromium.org>
    45345 
    45346         Reviewed by Jeremy Orlow.
    45347 
    45348         IndexedDB: Rename IDBSQLiteDatabase to IDBBackingStore
    45349         https://bugs.webkit.org/show_bug.cgi?id=54864
    45350 
    45351         No new functionality, so no new tests.
    45352 
    45353         * GNUmakefile.am:
    45354         * WebCore.gypi:
    45355         * storage/IDBBackingStore.cpp:
    45356         (WebCore::IDBBackingStore::IDBBackingStore):
    45357         (WebCore::IDBBackingStore::~IDBBackingStore):
    45358         * storage/IDBBackingStore.h:
    45359         (WebCore::IDBBackingStore::create):
    45360         (WebCore::IDBBackingStore::db):
    45361         * storage/IDBCursorBackendImpl.cpp:
    45362         (WebCore::IDBCursorBackendImpl::IDBCursorBackendImpl):
    45363         (WebCore::IDBCursorBackendImpl::currentRowExists):
    45364         (WebCore::IDBCursorBackendImpl::database):
    45365         * storage/IDBCursorBackendImpl.h:
    45366         (WebCore::IDBCursorBackendImpl::create):
    45367         * storage/IDBDatabaseBackendImpl.cpp:
    45368         (WebCore::IDBDatabaseBackendImpl::IDBDatabaseBackendImpl):
    45369         (WebCore::IDBDatabaseBackendImpl::sqliteDatabase):
    45370         (WebCore::IDBDatabaseBackendImpl::createObjectStore):
    45371         (WebCore::IDBDatabaseBackendImpl::setVersionInternal):
    45372         (WebCore::IDBDatabaseBackendImpl::loadObjectStores):
    45373         * storage/IDBDatabaseBackendImpl.h:
    45374         (WebCore::IDBDatabaseBackendImpl::create):
    45375         * storage/IDBFactoryBackendImpl.cpp:
    45376         (WebCore::IDBFactoryBackendImpl::removeIDBBackingStore):
    45377         (WebCore::openSQLiteDatabase):
    45378         (WebCore::IDBFactoryBackendImpl::open):
    45379         * storage/IDBFactoryBackendImpl.h:
    45380         * storage/IDBIndexBackendImpl.cpp:
    45381         (WebCore::IDBIndexBackendImpl::IDBIndexBackendImpl):
    45382         (WebCore::IDBIndexBackendImpl::openCursorInternal):
    45383         (WebCore::IDBIndexBackendImpl::sqliteDatabase):
    45384         * storage/IDBIndexBackendImpl.h:
    45385         (WebCore::IDBIndexBackendImpl::create):
    45386         * storage/IDBObjectStoreBackendImpl.cpp:
    45387         (WebCore::IDBObjectStoreBackendImpl::IDBObjectStoreBackendImpl):
    45388         (WebCore::IDBObjectStoreBackendImpl::createIndex):
    45389         (WebCore::IDBObjectStoreBackendImpl::openCursorInternal):
    45390         (WebCore::IDBObjectStoreBackendImpl::loadIndexes):
    45391         (WebCore::IDBObjectStoreBackendImpl::sqliteDatabase):
    45392         * storage/IDBObjectStoreBackendImpl.h:
    45393         (WebCore::IDBObjectStoreBackendImpl::create):
    45394 
    45395 2011-02-23  Dominic Mazzoni  <dmazzoni@google.com>
    45396 
    45397         Reviewed by Kenneth Russell.
    45398 
    45399         Add a hit test handler for canvas elements that handles clicks on the canvas but ignores children.
    45400         https://bugs.webkit.org/show_bug.cgi?id=54697
    45401 
    45402         New test to prevent this from regressing in the future: canvas/canvas-mouse-events.html
    45403 
    45404         * rendering/RenderHTMLCanvas.cpp:
    45405         (WebCore::RenderHTMLCanvas::nodeAtPoint):
    45406 
    45407 2011-02-23  Patrick Gansterer  <paroga@webkit.org>
    45408 
    45409         Reviewed by Darin Adler.
    45410 
    45411         Remove obsolete focusRingColor functions
    45412         https://bugs.webkit.org/show_bug.cgi?id=54824
    45413 
    45414         * CMakeListsWinCE.txt:
    45415         * platform/graphics/haiku/ColorHaiku.cpp:
    45416         * platform/graphics/wince/ColorWinCE.cpp: Removed.
    45417 
    45418 2011-02-22  Jia Pu  <jpu@apple.com>
    45419 
    45420         Reviewed by Dan Bernstein.
    45421 
    45422         On Mac OS X, English contractions are marked misspelled with certain user preference setting.
    45423         https://bugs.webkit.org/show_bug.cgi?id=54975
    45424 
    45425         manual test: manual-tests/autocorrection/spellcheck-on-contraction-when-autocorrection-is-off.html
    45426 
    45427         Without this patch, we check for contraction only when autocorrection or other type of auto-
    45428         substituation is on. And we failed to check for contraction if only spellchecking is turned on.
    45429         This patch implements the desired behavior, checking for contraction when either correction/substitution,
    45430         or spellchecking, is on.
    45431 
    45432         * editing/Editor.cpp:
    45433         (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
    45434         * manual-tests/autocorrection/spellcheck-on-contraction-when-autocorrection-is-off.html: Added.
    45435 
    45436 2011-02-22  Charlie Reis  <creis@chromium.org>
    45437 
    45438         Reviewed by Darin Fisher.
    45439 
    45440         Remove DatabasePolicy from FrameLoaderTypes
    45441         https://bugs.webkit.org/show_bug.cgi?id=54968
    45442 
    45443         The DatabasePolicy enum is no longer needed now that we avoid stopping
    45444         loaders on same-document navigations.
    45445 
    45446         Existing test: storage/hash-change-with-xhr.html
    45447 
    45448         * WebCore.exp.in:
    45449         * loader/DocumentLoader.cpp:
    45450         * loader/DocumentLoader.h:
    45451         * loader/FrameLoader.cpp:
    45452         * loader/FrameLoader.h:
    45453         * loader/FrameLoaderTypes.h:
    45454         * workers/WorkerThread.cpp:
    45455 
    45456 2011-02-22  Alexis Menard  <alexis.menard@openbossa.org>
    45457 
    45458         Reviewed by Andreas Kling.
    45459 
    45460         [Qt] QWebView ignores a palette set with QWebView::setPalette()
    45461         https://bugs.webkit.org/show_bug.cgi?id=31742
    45462 
    45463         Use custom QWebView palette if the view provides one.
    45464         Modified version of a patch made by Fabrizio Machado.
    45465 
    45466         * platform/qt/RenderThemeQt.cpp:
    45467         (WebCore::RenderThemeQt::platformActiveSelectionBackgroundColor):
    45468         (WebCore::RenderThemeQt::platformInactiveSelectionBackgroundColor):
    45469         (WebCore::RenderThemeQt::platformActiveSelectionForegroundColor):
    45470         (WebCore::RenderThemeQt::platformInactiveSelectionForegroundColor):
    45471         (WebCore::RenderThemeQt::platformFocusRingColor):
    45472 
    45473 2011-02-22  Brian Salomon  <bsalomon@google.com>
    45474 
    45475         Reviewed by Kenneth Russell.
    45476 
    45477         Don't disable accelerated canvas when using the skia gpu backend.
    45478 
    45479         No new tests are required.
    45480 
    45481         * html/canvas/CanvasRenderingContext2D.cpp:
    45482         (WebCore::CanvasRenderingContext2D::setGlobalCompositeOperation):
    45483 
    45484 2011-02-22  Luiz Agostini  <luiz.agostini@openbossa.org>
    45485 
    45486         Reviewed by Kenneth Rohde Christiansen.
    45487 
    45488         [Qt] <select>s on http://www.ryanair.com render wrong
    45489         https://bugs.webkit.org/show_bug.cgi?id=29647
    45490 
    45491         Reducing padding in <select> elements to improve its rendering and introducing a
    45492         rendering adjustment specific to QMacStyle.
    45493 
    45494         * platform/qt/RenderThemeQt.cpp:
    45495         (WebCore::RenderThemeQt::setPopupPadding):
    45496         (WebCore::RenderThemeQt::paintMenuList):
    45497 
    45498 2011-02-22  Andreas Kling  <kling@webkit.org>
    45499 
    45500         Reviewed by Dan Bernstein.
    45501 
    45502         FontCache: Make cTargetInactiveFontData an int instead of float.
    45503         https://bugs.webkit.org/show_bug.cgi?id=54963
    45504 
    45505         * platform/graphics/FontCache.cpp:
    45506 
    45507 2011-02-22  Ryosuke Niwa  <rniwa@webkit.org>
    45508 
    45509         Reviewed by Darin Adler.
    45510 
    45511         Make Editor::selectionComputedStyle return EditingStyle
    45512         https://bugs.webkit.org/show_bug.cgi?id=54933
    45513 
    45514         Renamed selectionComputedStyle to selectionStartStyle and changed the return type to EditingStyle.
    45515         It also no longer takes a boolean shouldUseFixedFontDefaultSize.
    45516 
    45517         Also added EditingStyle::mergeTypingStyle which replaced old editingStyleIncludingTypingStyle. This function
    45518         doesn't extract inheritable properties prior to merge because this turned out be a bug, which was revealed
    45519         by an existing layout test only after the code was shared with selectionStartStyle.
    45520 
    45521         No tests are added since this is a refactoring.
    45522 
    45523         * editing/CompositeEditCommand.cpp:
    45524         (WebCore::CompositeEditCommand::moveParagraphs): Calls EditingStyle::create and EditingStyle::mergeTypingStyle.
    45525         (WebCore::CompositeEditCommand::breakOutOfEmptyListItem): Ditto.
    45526         * editing/EditingStyle.cpp: Removed editingStyleIncludingTypingStyle.
    45527         (WebCore::EditingStyle::mergeTypingStyle): Added.
    45528         * editing/EditingStyle.h:
    45529         (WebCore::EditingStyle::shouldUseFixedDefaultFontSize): Added.
    45530         * editing/Editor.cpp:
    45531         (WebCore::Editor::selectionStartHasStyle): Calls selectionStartStyle.
    45532         (WebCore::Editor::selectionHasStyle): Ditto.
    45533         (WebCore::Editor::selectionStartCSSPropertyValue): Ditto.
    45534         (WebCore::Editor::selectionStartStyle): Renamed from selectionComputedStyle; returns EditingStyle.
    45535         * editing/Editor.h:
    45536         * editing/EditorCommand.cpp:
    45537         (WebCore::executeToggleStyleInList): Calls selectionStartStyle.
    45538         * editing/InsertLineBreakCommand.cpp:
    45539         * editing/InsertParagraphSeparatorCommand.cpp:
    45540         (WebCore::InsertParagraphSeparatorCommand::calculateStyleBeforeInsertion): Calls EditingStyle::create and
    45541         EditingStyle::mergeTypingStyle.
    45542         * editing/ReplaceSelectionCommand.cpp:
    45543         (WebCore::ReplaceSelectionCommand::doApply): Ditto.
    45544 
    45545 2011-02-22  Robert Hogan  <robert@webkit.org>
    45546 
    45547         Reviewed by Andreas Kling.
    45548 
    45549         [Qt] painting of windowed plugins faulty on certain scroll events
    45550 
    45551         https://bugs.webkit.org/show_bug.cgi?id=52735
    45552 
    45553         Invalidate the pluginview's relative rect rather then the frameRect(). This is because QWebFrame::renderRelativeCoords()
    45554         imitates ScrollView and adds the scroll offset back on to the rect we damage here (making the co-ordinates absolute
    45555         to the frame again) before passing it to FrameView.
    45556 
    45557         * plugins/qt/PluginViewQt.cpp:
    45558         (WebCore::PluginView::updatePluginWidget):
    45559 
    45560 2011-02-22  Philippe Normand  <pnormand@igalia.com>
    45561 
    45562         Reviewed by Martin Robinson.
    45563 
    45564         Minimal build broken
    45565         https://bugs.webkit.org/show_bug.cgi?id=54743
    45566 
    45567         Moved the code of setInspectorExtensionAPI and
    45568         dispatchMessageFromFrontend out of #if
    45569         ENABLE(JAVASCRIPT_DEBUGGER) to fix link error of the minimal build.
    45570 
    45571         * inspector/InspectorController.cpp:
    45572         (WebCore::InspectorController::setInspectorExtensionAPI):
    45573         (WebCore::InspectorController::dispatchMessageFromFrontend):
    45574 
    45575 2011-02-22  Sheriff Bot  <webkit.review.bot@gmail.com>
    45576 
    45577         Unreviewed, rolling out r79367.
    45578         http://trac.webkit.org/changeset/79367
    45579         https://bugs.webkit.org/show_bug.cgi?id=55012
    45580 
    45581         all layout tests are crashing on Snow Leopard (Requested by
    45582         rniwa on #webkit).
    45583 
    45584         * ForwardingHeaders/wtf/DoublyLinkedList.h: Removed.
    45585 
    45586 2011-02-22  Ryosuke Niwa  <rniwa@webkit.org>
    45587 
    45588         Reviewed by Darin Adler.
    45589 
    45590         Deploy EditingStyle in removeInlineStyleFromElement and removeCSSStyle
    45591         https://bugs.webkit.org/show_bug.cgi?id=54944
    45592 
    45593         Deployed EditingStyle in removeInlineStyleFromElement and removeCSSStyle.
    45594 
    45595         Also extracted EditingStyle::conflictsWithInlineStyleOfElement from ApplyStyleCommand::removeCSSStyle,
    45596         which returns true iff the specified element has inline style that conflicts or matches the editing style.
    45597         It also appends conflicting property IDs to the vector of property IDs if one is specified.
    45598 
    45599         * editing/ApplyStyleCommand.cpp:
    45600         (WebCore::ApplyStyleCommand::applyBlockStyle): Calls removeCSSStyle.
    45601         (WebCore::ApplyStyleCommand::applyInlineStyle): Calls shouldSplitTextElement.
    45602         (WebCore::ApplyStyleCommand::removeStyleFromRunBeforeApplyingStyle): Calls removeInlineStyleFromElement.
    45603         (WebCore::ApplyStyleCommand::removeInlineStyleFromElement): Takes EditingStyle* instead of CSSMutableStyleDeclaration*.
    45604         (WebCore::ApplyStyleCommand::removeCSSStyle): Ditto; extracted the logic to decide properties to remove as
    45605         conflictsWithInlineStyleOfElement.
    45606         (WebCore::ApplyStyleCommand::highestAncestorWithConflictingInlineStyle): Calls shouldRemoveInlineStyleFromElement.
    45607         (WebCore::ApplyStyleCommand::pushDownInlineStyleAroundNode): Calls removeInlineStyleFromElement.
    45608         (WebCore::ApplyStyleCommand::removeInlineStyle): Ditto.
    45609         (WebCore::ApplyStyleCommand::shouldSplitTextElement): Takes EditingStyle* instead of CSSMutableStyleDeclaration*.
    45610         * editing/ApplyStyleCommand.h:
    45611         (WebCore::ApplyStyleCommand::shouldRemoveInlineStyleFromElement): Ditto.
    45612         * editing/EditingStyle.cpp:
    45613         (WebCore::EditingStyle::conflictsWithInlineStyleOfElement): Extracted from ApplyStyleCommand::removeCSSStyle.
    45614         * editing/EditingStyle.h:
    45615         (WebCore::EditingStyle::conflictsWithInlineStyleOfElement): Added.
    45616 
    45617 2011-02-22  Chang Shu  <cshu@webkit.org>
    45618 
    45619         Reviewed by Csaba Osztrogonác.
    45620 
    45621         [Qt] editing/deleting/5408255.html fails
    45622         https://bugs.webkit.org/show_bug.cgi?id=54964
    45623 
    45624         Move WebCore resource file to QtWebKit since they are referred in WebKit.
    45625 
    45626         * WebCore.pro:
    45627 
    45628 2011-02-22  Brady Eidson  <beidson@apple.com>
    45629 
    45630         Reviewed by Anders Carlsson.
    45631 
    45632         <rdar://problem/8762042> and https://bugs.webkit.org/show_bug.cgi?id=54514
    45633         API to view and delete Application Cache data by origin.
    45634 
    45635         Implement these to be used by WK2 API:
    45636         * loader/appcache/ApplicationCacheStorage.cpp:
    45637         (WebCore::ApplicationCacheStorage::getOriginsWithCache):
    45638         (WebCore::ApplicationCacheStorage::deleteEntriesForOrigin):
    45639 
    45640 2011-02-22  Geoffrey Garen  <ggaren@apple.com>
    45641 
    45642         Reviewed by Oliver Hunt.
    45643 
    45644         Manage MarkedBlocks in a linked list instead of a vector, so arbitrary removal is O(1)
    45645         https://bugs.webkit.org/show_bug.cgi?id=54999
    45646        
    45647         New WTF header.
    45648 
    45649         * ForwardingHeaders/wtf/DoublyLinkedList.h: Copied from ForwardingHeaders/wtf/FixedArray.h.
    45650 
    45651 2011-02-22  Beth Dakin  <bdakin@apple.com>
    45652 
    45653         Reviewed by Sam Weinig.
    45654 
    45655         Fix for https://bugs.webkit.org/show_bug.cgi?id=54991
    45656         Scrollbar::nativeTheme()->usesOverlayScrollbars() should not be consulted for CSS
    45657         Scrollbars
    45658         -and corresponding-
    45659         <rdar://problem/9034318>
    45660 
    45661         Instead of consulting the theme directly, callers should ask the Scrollbar or
    45662         ScrollableArea if the scrollbars are overlay or not.
    45663 
    45664         * platform/ScrollView.cpp:
    45665         (WebCore::ScrollView::visibleContentRect):
    45666         (WebCore::ScrollView::scrollContents):
    45667         (WebCore::ScrollView::wheelEvent):
    45668         * platform/ScrollableArea.cpp:
    45669         (WebCore::ScrollableArea::setScrollOffsetFromAnimation):
    45670         (WebCore::ScrollableArea::hasOverlayScrollbars):
    45671         * platform/ScrollableArea.h:
    45672         * platform/Scrollbar.cpp:
    45673         (WebCore::Scrollbar::isOverlayScrollbar):
    45674         * platform/Scrollbar.h:
    45675         * rendering/RenderBox.cpp:
    45676         (WebCore::RenderBox::includeVerticalScrollbarSize):
    45677         (WebCore::RenderBox::includeHorizontalScrollbarSize):
    45678         * rendering/RenderLayer.cpp:
    45679         (WebCore::RenderLayer::verticalScrollbarWidth):
    45680         (WebCore::RenderLayer::horizontalScrollbarHeight):
    45681         * rendering/RenderListBox.cpp:
    45682         (WebCore::RenderListBox::verticalScrollbarWidth):
    45683         * rendering/RenderScrollbar.h:
    45684         (WebCore::RenderScrollbar::isOverlayScrollbar):
    45685 
    45686 2011-02-22  Andras Becsi  <abecsi@webkit.org>
    45687 
    45688         Reviewed by Csaba Osztrogonác.
    45689 
    45690         [Qt] Redesign the build system
    45691         https://bugs.webkit.org/show_bug.cgi?id=51339
    45692 
    45693         Move inspector's resource files into the final build step to fix the layout test regression.
    45694 
    45695         No new tests needed.
    45696 
    45697         * WebCore.pro: Move inspector's resource files into QtWebKit.pro.
    45698 
    45699 2011-02-22  Martin Robinson  <mrobinson@igalia.com>
    45700 
    45701         Reviewed by Xan Lopez.
    45702 
    45703         [GTK] fast/frames/iframe-scale-applied-twice.html fails after r79167
    45704         https://bugs.webkit.org/show_bug.cgi?id=54990
    45705 
    45706         No new tests. This will cause fast/events/scroll-after-click-on-tab-index.html
    45707         to start passing again.
    45708 
    45709         * platform/gtk/ScrollViewGtk.cpp:
    45710         (WebCore::ScrollView::visibleContentRect): Update this method to match the original
    45711         in the parent class.
    45712 
    45713 2011-01-17  Martin Robinson  <mrobinson@igalia.com>
    45714 
    45715         Reviewed by Xan Lopez.
    45716 
    45717         [GTK] fast/events/scroll-after-click-on-tab-index has been failing on the bots
    45718         https://bugs.webkit.org/show_bug.cgi?id=49177
    45719 
    45720         * platform/ScrollView.cpp: Remove the GTK+ guards around the implementation
    45721         of platformAddChild and platformRemoveChild. This code can be shared.
    45722         * platform/gtk/MainFrameScrollbarGtk.cpp:
    45723         (MainFrameScrollbarGtk::attachAdjustment): Prevent re-attaching an already attached
    45724         adjustment. Connect the adjustment value-changed signal handler after resetting the
    45725         adjustment. This prevents the rest from stomping on pre-existing WebCore values.
    45726         (MainFrameScrollbarGtk::gtkValueChanged): If the scrollbar is no longer attached to
    45727         a scrollview do not listing for value changes. These scrollbars are defunct.
    45728         * platform/gtk/ScrollViewGtk.cpp: Remove duplicated empty methods.
    45729 
    45730 2011-02-22  Pavel Feldman  <pfeldman@chromium.org>
    45731 
    45732         Reviewed by Yury Semikhatsky.
    45733 
    45734         Web Inspector: refactor InjectedScript : InspectorDOMAgent interaction.
    45735         https://bugs.webkit.org/show_bug.cgi?id=54954
    45736 
    45737         * bindings/js/JSInjectedScriptHostCustom.cpp:
    45738         (WebCore::InjectedScriptHost::toNode):
    45739         (WebCore::JSInjectedScriptHost::inspect):
    45740         * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
    45741         (WebCore::InjectedScriptHost::toNode):
    45742         (WebCore::V8InjectedScriptHost::inspectCallback):
    45743         * inspector/CodeGeneratorInspector.pm:
    45744         * inspector/InjectedScript.cpp:
    45745         (WebCore::InjectedScript::nodeForObjectId):
    45746         * inspector/InjectedScript.h:
    45747         * inspector/InjectedScriptHost.cpp:
    45748         (WebCore::InjectedScriptHost::inspect):
    45749         * inspector/InjectedScriptHost.h:
    45750         * inspector/InjectedScriptHost.idl:
    45751         * inspector/InjectedScriptSource.js:
    45752         (.):
    45753         * inspector/Inspector.idl:
    45754         * inspector/InspectorAgent.cpp:
    45755         (WebCore::InspectorAgent::focusNode):
    45756         * inspector/InspectorAgent.h:
    45757         * inspector/InspectorDOMAgent.cpp:
    45758         (WebCore::InspectorDOMAgent::inspect):
    45759         (WebCore::InspectorDOMAgent::pushNodeToFrontend):
    45760         * inspector/InspectorDOMAgent.h:
    45761         * inspector/front-end/AuditRules.js:
    45762         (WebInspector.AuditRules.evaluateInTargetWindow):
    45763         (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun):
    45764         (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun.getStyles):
    45765         (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun.receivedImages):
    45766         (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun.pushImageNodes):
    45767         * inspector/front-end/ConsoleView.js:
    45768         (WebInspector.ConsoleView.prototype.completions):
    45769         * inspector/front-end/DOMAgent.js:
    45770         (WebInspector.DOMDispatcher.prototype.childNodeRemoved):
    45771         (WebInspector.DOMDispatcher.prototype.inspectElementRequested):
    45772         * inspector/front-end/RemoteObject.js:
    45773         (WebInspector.RemoteObject.prototype.pushNodeToFrontend):
    45774 
    45775 2011-02-22  Brady Eidson  <beidson@apple.com>
    45776 
    45777         Reviewed by Anders Carlsson.
    45778 
    45779         Part of <rdar://problem/8762042> and https://bugs.webkit.org/show_bug.cgi?id=54514
    45780         API to view and delete Application Cache data by origin.
    45781 
    45782         Stub these out for now:
    45783         * loader/appcache/ApplicationCacheStorage.cpp:
    45784         (WebCore::ApplicationCacheStorage::getOriginsWithCache):
    45785         (WebCore::ApplicationCacheStorage::deleteEntriesForOrigin):
    45786         (WebCore::ApplicationCacheStorage::deleteAllEntries): Moved implementation here from WebKit/Mac
    45787         * loader/appcache/ApplicationCacheStorage.h:
    45788 
    45789         Export the new symbols:
    45790         * WebCore.exp.in:
    45791 
    45792 2011-02-22  Anders Carlsson  <andersca@apple.com>
    45793 
    45794         Fix debug build.
    45795 
    45796         * WebCore.exp.in:
    45797 
    45798 2011-02-22  Balazs Kelemen  <kbalazs@webkit.org>
    45799 
    45800         Reviewed by Anders Carlsson.
    45801 
    45802         notImplemented() should behave identical in WebCore and WebKit2
    45803         https://bugs.webkit.org/show_bug.cgi?id=54449
    45804 
    45805         No functional change so no new tests.
    45806 
    45807         * WebCore.xcodeproj/project.pbxproj: Add NotImplemented.h as private header
    45808         to be able to use it in WebKit2.
    45809 
    45810 2011-02-22  Andras Becsi  <abecsi@webkit.org>
    45811 
    45812         Reviewed by Laszlo Gombos.
    45813         Rubber-stamped by Csaba Osztrogonác.
    45814 
    45815         [Qt] Redesign the build system
    45816         https://bugs.webkit.org/show_bug.cgi?id=51339
    45817 
    45818         The patch landed in r79320 didn't contain the cleanup
    45819         which was already addressed in the last attachment.
    45820 
    45821         No new tests needed.
    45822 
    45823         * WebCore.pri: Add common LIB and CONFIG options.
    45824         * WebCore.pro: Add accidentally moved sections.
    45825 
    45826 2011-02-22  Philippe Normand  <pnormand@igalia.com>
    45827 
    45828         Unreviewed, rolling out r79321.
    45829         http://trac.webkit.org/changeset/79321
    45830         https://bugs.webkit.org/show_bug.cgi?id=53146
    45831 
    45832         Regresses  fast/forms/listbox-typeahead-cyrillic.html and fast
    45833         /spatial-navigation/snav-single-select.html on GTK
    45834 
    45835         * accessibility/gtk/AXObjectCacheAtk.cpp:
    45836         (WebCore::notifyChildrenSelectionChange):
    45837         (WebCore::AXObjectCache::postPlatformNotification):
    45838 
    45839 2011-02-22  Ilya Tikhonovsky  <loislo@chromium.org>
    45840 
    45841         Reviewed by Yury Semikhatsky.
    45842 
    45843         Web Inspector: Inspector.IDL change. rename attribute notify -> event.
    45844         https://bugs.webkit.org/show_bug.cgi?id=54958
    45845 
    45846         * inspector/CodeGeneratorInspector.pm:
    45847         * inspector/Inspector.idl:
    45848 
    45849 2011-02-22  Yury Semikhatsky  <yurys@chromium.org>
    45850 
    45851         Reviewed by Pavel Feldman.
    45852 
    45853         Web Inspector: Timeline agent should have same lifetime as InspectorAgent
    45854         https://bugs.webkit.org/show_bug.cgi?id=54951
    45855 
    45856         * inspector/CodeGeneratorInspector.pm:
    45857         * inspector/Inspector.idl:
    45858         * inspector/InspectorAgent.cpp:
    45859         (WebCore::InspectorAgent::InspectorAgent):
    45860         (WebCore::InspectorAgent::restoreInspectorStateFromCookie):
    45861         (WebCore::InspectorAgent::setFrontend):
    45862         (WebCore::InspectorAgent::disconnectFrontend):
    45863         (WebCore::InspectorAgent::releaseFrontendLifetimeAgents):
    45864         (WebCore::InspectorAgent::didCommitLoad):
    45865         (WebCore::InspectorAgent::domContentLoadedEventFired):
    45866         (WebCore::InspectorAgent::loadEventFired):
    45867         * inspector/InspectorAgent.h:
    45868         * inspector/InspectorController.cpp:
    45869         (WebCore::InspectorController::startTimelineProfiler):
    45870         (WebCore::InspectorController::stopTimelineProfiler):
    45871         (WebCore::InspectorController::timelineProfilerEnabled):
    45872         * inspector/InspectorInstrumentation.cpp:
    45873         (WebCore::InspectorInstrumentation::retrieveTimelineAgent):
    45874         * inspector/InspectorTimelineAgent.cpp:
    45875         (WebCore::InspectorTimelineAgent::~InspectorTimelineAgent):
    45876         (WebCore::InspectorTimelineAgent::setFrontend):
    45877         (WebCore::InspectorTimelineAgent::clearFrontend):
    45878         (WebCore::InspectorTimelineAgent::restore):
    45879         (WebCore::InspectorTimelineAgent::startTimelineProfiler):
    45880         (WebCore::InspectorTimelineAgent::stopTimelineProfiler):
    45881         (WebCore::InspectorTimelineAgent::timelineProfilerStarted):
    45882         (WebCore::InspectorTimelineAgent::didCommitLoad):
    45883         (WebCore::InspectorTimelineAgent::InspectorTimelineAgent):
    45884         (WebCore::InspectorTimelineAgent::clearRecordStack):
    45885         * inspector/InspectorTimelineAgent.h:
    45886         (WebCore::InspectorTimelineAgent::create):
    45887         * inspector/front-end/TimelinePanel.js:
    45888         (WebInspector.TimelinePanel.prototype._toggleTimelineButtonClicked):
    45889 
    45890 2011-02-22  Ilya Tikhonovsky  <loislo@chromium.org>
    45891 
    45892         Reviewed by Pavel Feldman.
    45893 
    45894         Web Inspector: flakyness of inspector tests.
    45895         https://bugs.webkit.org/show_bug.cgi?id=54729
    45896 
    45897         As far as we have the protocol with sequence numbers we can simplify test harness support
    45898         and drop out chomium specific methods.
    45899 
    45900         * inspector/CodeGeneratorInspector.pm:
    45901         * inspector/front-end/TestController.js:
    45902         (WebInspector.TestController):
    45903         (WebInspector.TestController.prototype.notifyDone):
    45904         (WebInspector.TestController.prototype.runAfterPendingDispatches):
    45905         (WebInspector.TestController.prototype._evaluateForTestInFrontend):
    45906         * inspector/front-end/inspector.js:
    45907         (WebInspector.dispatch):
    45908 
    45909 2011-02-22  Mario Sanchez Prada  <msanchez@igalia.com>
    45910 
    45911         Reviewed by Martin Robinson.
    45912 
    45913         [GTK] Combo boxes should emit object:selection-changed even when collapsed
    45914         https://bugs.webkit.org/show_bug.cgi?id=53146
    45915 
    45916         Emit the selection-changed signals when the menu list value has changed
    45917 
    45918         Test: platform/gtk/accessibility/combo-box-collapsed-selection-changed.html
    45919 
    45920         * accessibility/gtk/AXObjectCacheAtk.cpp:
    45921         (WebCore::getListObject): New, return the right list object for
    45922         menu lists and list boxes.
    45923         (WebCore::notifyChildrenSelectionChange): Support menu lists.
    45924         (WebCore::AXObjectCache::postPlatformNotification): Call function
    45925         notifyChildrenSelectionChange for AXMenuListValueChanged.
    45926 
    45927 2011-02-22  Andras Becsi  <abecsi@webkit.org>
    45928 
    45929         Reviewed by Laszlo Gombos.
    45930 
    45931         [Qt] Redesign the build system
    45932         https://bugs.webkit.org/show_bug.cgi?id=51339
    45933 
    45934         Part 2.
    45935 
    45936         Build WebCore as a static library, compile the WebKit API and WebKit2 API
    45937         in a final step and link to WebKit2, WebCore and JSC libraries to fix
    45938         linking issues resulting from stripped away symbols.
    45939 
    45940         No new tests needed.
    45941 
    45942         * WebCore.pri: Add needed rules for handling the static library.
    45943         * WebCore.pro: Reorganize API and linker options to QtWebKit.pro.
    45944 
    45945 2011-02-22  Pavel Podivilov  <podivilov@chromium.org>
    45946 
    45947         Reviewed by Pavel Feldman.
    45948 
    45949         Web Inspector: [REGRESSION] navigation does not work when inspector is opened.
    45950         https://bugs.webkit.org/show_bug.cgi?id=54947
    45951 
    45952         * inspector/InspectorAgent.cpp:
    45953         (WebCore::InspectorAgent::restoreInspectorStateFromCookie):
    45954         * inspector/InspectorState.cpp:
    45955         (WebCore::InspectorState::loadFromCookie):
    45956         * inspector/InspectorState.h:
    45957 
    45958 2011-02-15  Jer Noble  <jer.noble@apple.com>
    45959 
    45960         Reviewed by Darin Adler.
    45961 
    45962         Built-in HTML5 <audio> (and sometimes <video>) UI doesn't update playhead location or time displays
    45963         https://bugs.webkit.org/show_bug.cgi?id=46142
    45964 
    45965         Push a LayoutStateMaintainer in RenderMedia::layout() before calling layout() on the
    45966         container elements.  This is necessary because, during layout(), the child renderers
    45967         query the current LayoutState to determine where they will be repainting.  If a new
    45968         LayoutState is not pushed here, child renderers will attempt to repaint relative to
    45969         their grandparent's origin instead of their parents', and repaint operations will fail.
    45970 
    45971         * rendering/RenderMedia.cpp:
    45972         (WebCore::RenderMedia::layout):
    45973 
    45974 2011-02-22  Benjamin Poulain  <benjamin.poulain@nokia.com>
    45975 
    45976         Reviewed by Kenneth Rohde Christiansen.
    45977 
    45978         Cleaning: remove a overzealous check for the pointer "files" from Chrome::setToolTip()
    45979         https://bugs.webkit.org/show_bug.cgi?id=54952
    45980 
    45981         Remove the unnecessary condition from the if(), HTMLInputElement::files() always return
    45982         a valid reference for the input type FileInputType.
    45983 
    45984         * page/Chrome.cpp:
    45985         (WebCore::Chrome::setToolTip):
    45986 
    45987 2011-02-21  Pavel Podivilov  <podivilov@chromium.org>
    45988 
    45989         Reviewed by Pavel Feldman.
    45990 
    45991         Web Inspector: extract source mapping from SourceFrame to DebuggerPresentationModel.
    45992         https://bugs.webkit.org/show_bug.cgi?id=54645
    45993 
    45994         This is needed to map one script to several source files.
    45995 
    45996         Test: inspector/debugger/source-frame.html
    45997 
    45998         * WebCore.gypi:
    45999         * WebCore.vcproj/WebCore.vcproj:
    46000         * inspector/front-end/DebuggerPresentationModel.js: Added.
    46001         (WebInspector.DebuggerPresentationModel):
    46002         (WebInspector.DebuggerPresentationModel.prototype.breakpointsForSourceName):
    46003         (WebInspector.DebuggerPresentationModel.prototype._breakpointAdded):
    46004         (WebInspector.DebuggerPresentationModel.prototype._breakpointRemoved):
    46005         (WebInspector.DebuggerPresentationModel.prototype._breakpointResolved):
    46006         (WebInspector.DebuggerPresentationModel.prototype._encodeSourceLocation):
    46007         (WebInspector.DebuggerPresentationModel.prototype._actualLocationToSourceLocation):
    46008         * inspector/front-end/ScriptsPanel.js:
    46009         (WebInspector.ScriptsPanel):
    46010         (WebInspector.ScriptsPanel.prototype._breakpointAdded):
    46011         (WebInspector.ScriptsPanel.prototype._breakpointRemoved):
    46012         (WebInspector.ScriptsPanel.prototype._sourceFrameForResource):
    46013         (WebInspector.ScriptsPanel.prototype._sourceFrameForScript):
    46014         (WebInspector.ScriptsPanel.prototype._addSourceFrame):
    46015         (WebInspector.ScriptsPanel.prototype._removeSourceFrame):
    46016         (WebInspector.ScriptsPanel.prototype._sourceFrameLoaded):
    46017         (WebInspector.ScriptsPanel.prototype._clearCurrentExecutionLine):
    46018         (WebInspector.ScriptsPanel.prototype._callFrameSelected):
    46019         (WebInspector.SourceFrameContentProviderForScript.prototype._buildSource):
    46020         * inspector/front-end/SourceFrame.js:
    46021         (WebInspector.SourceFrame.prototype.get loaded):
    46022         (WebInspector.SourceFrame.prototype._createTextViewer):
    46023         (WebInspector.SourceFrame.prototype._setTextViewerDecorations):
    46024         (WebInspector.SourceFrame.prototype.setExecutionLine):
    46025         (WebInspector.SourceFrame.prototype.clearExecutionLine):
    46026         (WebInspector.SourceFrame.prototype.addBreakpoint):
    46027         (WebInspector.SourceFrame.prototype.removeBreakpoint):
    46028         (WebInspector.SourceFrame.prototype._contextMenu.addConditionalBreakpoint.didEditBreakpointCondition):
    46029         (WebInspector.SourceFrame.prototype._contextMenu.addConditionalBreakpoint):
    46030         (WebInspector.SourceFrame.prototype._findBreakpoint.filter):
    46031         (WebInspector.SourceFrame.prototype._findBreakpoint):
    46032         * inspector/front-end/WebKit.qrc:
    46033         * inspector/front-end/inspector.html:
    46034 
    46035 2011-02-22  Andrey Kosyakov  <caseq@chromium.org>
    46036 
    46037         Reviewed by Pavel Feldman.
    46038 
    46039         Web Inspector: provide a button to expand inspector toolbar when not all panel buttons fit
    46040         https://bugs.webkit.org/show_bug.cgi?id=54671
    46041 
    46042         - factored toolbar handling out of inspector.js
    46043         - added toolbar dropdown
    46044 
    46045         * WebCore.gypi:
    46046         * WebCore.vcproj/WebCore.vcproj:
    46047         * inspector/front-end/ExtensionServer.js:
    46048         (WebInspector.ExtensionServer.prototype._onCreatePanel):
    46049         * inspector/front-end/Panel.js:
    46050         (WebInspector.Panel.prototype.get toolbarItem):
    46051         * inspector/front-end/Toolbar.js: Added.
    46052         (WebInspector.Toolbar):
    46053         (WebInspector.Toolbar.prototype.resize):
    46054         (WebInspector.Toolbar.prototype.addPanel):
    46055         (WebInspector.Toolbar.prototype._toolbarDragStart):
    46056         (WebInspector.Toolbar.prototype._toolbarDragEnd):
    46057         (WebInspector.Toolbar.prototype._toolbarDrag):
    46058         (WebInspector.Toolbar.prototype._onClose):
    46059         (WebInspector.Toolbar.prototype._setDropdownVisible):
    46060         (WebInspector.Toolbar.prototype._toggleDropdown):
    46061         (WebInspector.Toolbar.prototype._updateDropdownButtonAndHideDropdown):
    46062         (WebInspector.Toolbar.createPanelToolbarItem.onToolbarItemClicked):
    46063         (WebInspector.Toolbar.createPanelToolbarItem):
    46064         (WebInspector.ToolbarDropdown):
    46065         (WebInspector.ToolbarDropdown.prototype.show):
    46066         (WebInspector.ToolbarDropdown.prototype.hide):
    46067         (WebInspector.ToolbarDropdown.prototype.get visible):
    46068         (WebInspector.ToolbarDropdown.prototype._populate):
    46069         (WebInspector.ToolbarDropdown.prototype._onKeyDown):
    46070         * inspector/front-end/WebKit.qrc:
    46071         * inspector/front-end/inspector.css:
    46072         (#toolbar):
    46073         (.toolbar-item):
    46074         (.toolbar-item.toggleable):
    46075         (.toolbar-item.toggleable.toggled-on):
    46076         (#toolbar-dropdown .toolbar-icon):
    46077         (#toolbar-dropdown .toolbar-label):
    46078         (#toolbar-controls):
    46079         (#toolbar-dropdown-arrow):
    46080         (body.attached #toolbar-dropdown-arrow):
    46081         (#toolbar-dropdown-arrow.dropdown-visible):
    46082         (#toolbar-dropdown-arrow:hover):
    46083         (#toolbar-dropdown-arrow:active):
    46084         (#toolbar-dropdown):
    46085         (body.detached.platform-mac-snowleopard #toolbar-dropdown):
    46086         (#toolbar-dropdown .scrollable-content):
    46087         (#toolbar-dropdown .toolbar-item):
    46088         (#toolbar-dropdown .toolbar-item.toggleable.toggled-on):
    46089         (#toolbar-dropdown .toolbar-item:hover):
    46090         (#toolbar-dropdown .toolbar-item.toggleable.toggled-on:hover):
    46091         (#toolbar-dropdown .toolbar-item:active .toolbar-icon):
    46092         (.scrollable-content):
    46093         (.scrollable-content::-webkit-scrollbar):
    46094         (.scrollable-content::-webkit-resizer):
    46095         (.scrollable-content::-webkit-scrollbar-thumb:vertical):
    46096         (.scrollable-content::-webkit-scrollbar-thumb:vertical:active):
    46097         (.scrollable-content::-webkit-scrollbar-track:vertical):
    46098         (.toolbar-search-item):
    46099         (#search):
    46100         (body.attached #search):
    46101         (#search-results-matches):
    46102         (#close-button-left, #close-button-right):
    46103         (.close-left):
    46104         * inspector/front-end/inspector.html:
    46105         * inspector/front-end/inspector.js:
    46106         (WebInspector.set attached):
    46107         (WebInspector.addPanel):
    46108         (WebInspector.windowResize):
    46109 
    46110 2011-02-22  Philippe Normand  <pnormand@igalia.com>
    46111 
    46112         Reviewed by Xan Lopez.
    46113 
    46114         [GTK] make distcheck fails
    46115         https://bugs.webkit.org/show_bug.cgi?id=54943
    46116 
    46117         Added new headers and removed references to deleted files.
    46118 
    46119         * GNUmakefile.am:
    46120 
    46121 2011-02-21  Yury Semikhatsky  <yurys@chromium.org>
    46122 
    46123         Reviewed by Pavel Feldman.
    46124 
    46125         Web Inspector: make DOM storage and Database agents have the same lifetime as InspectorAgent
    46126         https://bugs.webkit.org/show_bug.cgi?id=54891
    46127 
    46128         * inspector/InspectorAgent.cpp:
    46129         (WebCore::InspectorAgent::InspectorAgent):
    46130         (WebCore::InspectorAgent::setFrontend):
    46131         (WebCore::InspectorAgent::disconnectFrontend):
    46132         (WebCore::InspectorAgent::createFrontendLifetimeAgents):
    46133         (WebCore::InspectorAgent::releaseFrontendLifetimeAgents):
    46134         (WebCore::InspectorAgent::didCommitLoad):
    46135         * inspector/InspectorAgent.h:
    46136         (WebCore::InspectorAgent::instrumentingAgents):
    46137         * inspector/InspectorDOMStorageAgent.cpp:
    46138         (WebCore::InspectorDOMStorageAgent::InspectorDOMStorageAgent):
    46139         (WebCore::InspectorDOMStorageAgent::~InspectorDOMStorageAgent):
    46140         (WebCore::InspectorDOMStorageAgent::setFrontend):
    46141         (WebCore::InspectorDOMStorageAgent::clearFrontend):
    46142         (WebCore::InspectorDOMStorageAgent::selectDOMStorage):
    46143         (WebCore::InspectorDOMStorageAgent::getDOMStorageResourceForId):
    46144         (WebCore::InspectorDOMStorageAgent::didUseDOMStorage):
    46145         (WebCore::InspectorDOMStorageAgent::clearResources):
    46146         * inspector/InspectorDOMStorageAgent.h:
    46147         (WebCore::InspectorDOMStorageAgent::create):
    46148         * inspector/InspectorDatabaseAgent.cpp:
    46149         (WebCore::InspectorDatabaseAgent::didOpenDatabase):
    46150         (WebCore::InspectorDatabaseAgent::clearResources):
    46151         (WebCore::InspectorDatabaseAgent::InspectorDatabaseAgent):
    46152         (WebCore::InspectorDatabaseAgent::~InspectorDatabaseAgent):
    46153         (WebCore::InspectorDatabaseAgent::setFrontend):
    46154         (WebCore::InspectorDatabaseAgent::clearFrontend):
    46155         (WebCore::InspectorDatabaseAgent::databaseForId):
    46156         (WebCore::InspectorDatabaseAgent::selectDatabase):
    46157         * inspector/InspectorDatabaseAgent.h:
    46158         (WebCore::InspectorDatabaseAgent::create):
    46159         * inspector/InspectorInstrumentation.cpp:
    46160         (WebCore::InspectorInstrumentation::didOpenDatabaseImpl):
    46161         (WebCore::InspectorInstrumentation::didUseDOMStorageImpl):
    46162 
    46163 2011-02-22  Steve Lacey  <sjl@chromium.org>
    46164 
    46165         Reviewed by Darin Fisher.
    46166 
    46167         Rename new media statistics apis to better names
    46168 
    46169         https://bugs.webkit.org/show_bug.cgi?id=54784
    46170 
    46171         * html/HTMLMediaElement.cpp:
    46172         (WebCore::HTMLMediaElement::webkitAudioDecodedByteCount):
    46173         (WebCore::HTMLMediaElement::webkitVideoDecodedByteCount):
    46174         * html/HTMLMediaElement.h:
    46175         * html/HTMLMediaElement.idl:
    46176         * html/HTMLVideoElement.cpp:
    46177         (WebCore::HTMLVideoElement::webkitDecodedFrameCount):
    46178         (WebCore::HTMLVideoElement::webkitDroppedFrameCount):
    46179         * html/HTMLVideoElement.h:
    46180         * html/HTMLVideoElement.idl:
    46181         * platform/graphics/MediaPlayer.cpp:
    46182         (WebCore::MediaPlayer::decodedFrameCount):
    46183         (WebCore::MediaPlayer::droppedFrameCount):
    46184         (WebCore::MediaPlayer::audioDecodedByteCount):
    46185         (WebCore::MediaPlayer::videoDecodedByteCount):
    46186         * platform/graphics/MediaPlayer.h:
    46187         * platform/graphics/MediaPlayerPrivate.h:
    46188         (WebCore::MediaPlayerPrivateInterface::decodedFrameCount):
    46189         (WebCore::MediaPlayerPrivateInterface::droppedFrameCount):
    46190         (WebCore::MediaPlayerPrivateInterface::audioDecodedByteCount):
    46191         (WebCore::MediaPlayerPrivateInterface::videoDecodedByteCount):
    46192 
    46193 2011-02-21  Roland Steiner  <rolandsteiner@chromium.org>
    46194 
    46195         Reviewed by Kent Tamura.
    46196 
    46197         Bug 54435 - Simplify CSSStyleSelector::canShareStyleWithElement
    46198         https://bugs.webkit.org/show_bug.cgi?id=54435
    46199 
    46200         Changed the function to a series of early-exit 'if's,
    46201         removed most temporary variables.
    46202 
    46203         No new tests. (refactoring)
    46204 
    46205         * css/CSSStyleSelector.cpp:
    46206         (WebCore::CSSStyleSelector::canShareStyleWithElement):
    46207 
    46208 2011-02-21  Nico Weber  <thakis@chromium.org>
    46209 
    46210         Reviewed by James Robinson.
    46211 
    46212         [chromium] PopupContainer::show() confuses clang's -Woverloaded-virtual
    46213         https://bugs.webkit.org/show_bug.cgi?id=54923
    46214 
    46215         Rename PopupContainer::show() to showInRect(), to make it obvious it's
    46216         not an override of ScrollView::show().
    46217 
    46218         No intended functionality change.
    46219 
    46220         * platform/chromium/PopupMenuChromium.cpp:
    46221         (WebCore::PopupContainer::showInRect):
    46222         (WebCore::PopupMenuChromium::show):
    46223         * platform/chromium/PopupMenuChromium.h:
    46224 
    46225 2011-02-21  Julien Chaffraix  <jchaffraix@codeaurora.org>
    46226 
    46227         Reviewed by Antti Koivisto.
    46228 
    46229         Improve the local{SharedStyle,CousinList} algorithm
    46230         https://bugs.webkit.org/show_bug.cgi?id=45507
    46231 
    46232         This change improves the algorithm to find shared styles: the old
    46233         algorithm would stop the search after the first cousin, even if
    46234         the search threshold is not met. As such, the algorithm would
    46235         systematically miss sharings across second cousins and beyond.
    46236         The new algorithm continues the search, as long as threshold is
    46237         not met. It also separates the threshold for sibling/cousins
    46238         search, from that on the levels of search, which is easier to
    46239         optimize.
    46240         The new algorithm finds up to 30% more sharings on some sites
    46241         (e.g. amazon.com and rakuten.co.jp) with no noticeable slowdown.
    46242 
    46243         No new test, refactoring only.
    46244 
    46245         * css/CSSStyleSelector.cpp:
    46246         (WebCore::CSSStyleSelector::locateCousinList):
    46247         (WebCore::CSSStyleSelector::locateSharedStyle):
    46248         While changing the algorithm, cleaned up the style of those 2 methods
    46249         (use early return, renamed some variables).
    46250 
    46251         * css/CSSStyleSelector.h:
    46252 
    46253 2011-02-21  Nico Weber  <thakis@chromium.org>
    46254 
    46255         Reviewed by Adam Barth.
    46256 
    46257         RenderTableCell::baselinePosition() confuses clang's -Woverloaded-virtual
    46258         https://bugs.webkit.org/show_bug.cgi?id=54922
    46259 
    46260         RenderTableCell::baselinePosition() has the same name as a virtual
    46261         method in superclass RenderBlock. Rename the subclass method to make
    46262         it clear it's not an attempted override.
    46263 
    46264         No intended functionality change.
    46265 
    46266         * rendering/RenderTableCell.cpp:
    46267         (WebCore::RenderTableCell::cellBaselinePosition):
    46268         * rendering/RenderTableCell.h:
    46269         * rendering/RenderTableSection.cpp:
    46270         (WebCore::RenderTableSection::calcRowLogicalHeight):
    46271         (WebCore::RenderTableSection::layoutRows):
    46272 
    46273 2011-02-21  Benjamin Kalman  <kalman@chromium.org>
    46274 
    46275         Reviewed by Ryosuke Niwa.
    46276 
    46277         Extending selection by a boundary granularity (LineBoundary/ParagraphBoundary/DocumentBoundary) sets incorrect
    46278         start/end of selection for RTL
    46279         https://bugs.webkit.org/show_bug.cgi?id=54724
    46280 
    46281         On mac, the selection should always grow when extending by a boundary granularity (line/paragraph/document).
    46282         This is achieved by extending from the start for the "left" direction (e.g. pressing left arrow key), or
    46283         extending from the end when for the "right" direction (e.g. pressing right arrow key).
    46284 
    46285         However, this has a bug for RTL text, which should actually extend from the *end* when extending left (since
    46286         direction is obviously reversed) and likewise extend from the start when extending right.
    46287 
    46288         * editing/SelectionController.cpp:
    46289         (WebCore::SelectionController::modify):
    46290 
    46291 2011-02-21  Nico Weber  <thakis@chromium.org>
    46292 
    46293         Reviewed by Adam Barth.
    46294 
    46295         ImageDocument::imageChanged() confuses clang's -Woverride-virtual
    46296         https://bugs.webkit.org/show_bug.cgi?id=54924
    46297 
    46298         Rename ImageDocument::imageChanged() to imageUpdated() to make clear
    46299         that it's not an override of CachedResourceClient::imageChanged().
    46300 
    46301         * html/ImageDocument.cpp:
    46302         (WebCore::ImageDocumentParser::appendBytes):
    46303         (WebCore::ImageDocumentParser::finish):
    46304         (WebCore::ImageDocument::imageUpdated):
    46305         * html/ImageDocument.h:
    46306 
    46307 2011-02-21  Roland Steiner  <rolandsteiner@chromium.org>
    46308 
    46309         Reviewed by Kent Tamura.
    46310 
    46311         Bug 54934 - Sort the WebCore project file(s)
    46312         https://bugs.webkit.org/show_bug.cgi?id=54934
    46313 
    46314         No new tests. (no code affected)
    46315 
    46316         * GNUmakefile.am:
    46317         * WebCore.xcodeproj/project.pbxproj:
    46318 
    46319 2011-02-21  Nico Weber  <thakis@chromium.org>
    46320 
    46321         Reviewed by Adam Barth.
    46322 
    46323         canAccommodateEllipsis() confuses clang's -Woverloaded-virtual
    46324         https://bugs.webkit.org/show_bug.cgi?id=54909
    46325 
    46326         Rename the overload in RootInlineBox to lineCanAccomodateEllipsis() to
    46327         unconfuse clang. No intended functionality change.
    46328 
    46329         * rendering/RenderBlockLineLayout.cpp:
    46330         (WebCore::RenderBlock::checkLinesForTextOverflow):
    46331         * rendering/RenderFlexibleBox.cpp:
    46332         (WebCore::RenderFlexibleBox::applyLineClamp):
    46333         * rendering/RootInlineBox.cpp:
    46334         (WebCore::RootInlineBox::lineCanAccommodateEllipsis):
    46335         * rendering/RootInlineBox.h:
    46336 
    46337 2011-02-21  Adele Peterson  <adele@apple.com>
    46338 
    46339         Reviewed by Dan Bernstein.
    46340 
    46341         Fix for for https://bugs.webkit.org/show_bug.cgi?id=54402
    46342         REGRESSION (r72052): Placeholder text doesn't have the right padding for search fields on Windows
    46343 
    46344         Test: updated fast/forms/placeholder-position.html and tested manually
    46345 
    46346         Consider padding and margin for the results and cancel buttons.  This is important for the Windows
    46347         theme which uses padding to correctly position those buttons.  This change fixes the placeholder
    46348         position, and also better aligns the results popup list with the actual text you type.
    46349 
    46350         * rendering/RenderTextControlSingleLine.cpp:
    46351         (WebCore::RenderTextControlSingleLine::clientPaddingLeft):
    46352         (WebCore::RenderTextControlSingleLine::clientPaddingRight):
    46353 
    46354 2011-02-21  Nico Weber  <thakis@chromium.org>
    46355 
    46356         Reviewed by Kent Tamura.
    46357 
    46358         GIFImageDecoder::setSize() tries to override the superclass method but fails
    46359         https://bugs.webkit.org/show_bug.cgi?id=54305
    46360 
    46361         The superclass uses unsigned instead of int for its parameters, so
    46362         GIFImageDecoder::setSize() was an overload, not an override.
    46363 
    46364         * platform/image-decoders/gif/GIFImageDecoder.cpp:
    46365         (WebCore::GIFImageDecoder::setSize):
    46366         * platform/image-decoders/gif/GIFImageDecoder.h:
    46367 
    46368 2011-02-21  Ryosuke Niwa  <rniwa@webkit.org>
    46369 
    46370         Reviewed by Darin Adler.
    46371 
    46372         Deploy EditingStyle more in ApplyStyleCommand and do some cleanup
    46373         https://bugs.webkit.org/show_bug.cgi?id=54528
    46374 
    46375         * editing/ApplyStyleCommand.cpp:
    46376         (WebCore::StyleChange::init): Allows style to be a null pointer.
    46377         (WebCore::ApplyStyleCommand::applyInlineStyle): Overrides the value of text-decoration property by that of
    46378         -webkit-text-decorations-in-effect and remove the latter property when present. This allows removeImplicitlyStyledElement
    46379         to ignore -webkit-text-decorations-in-effect. Also uses the return value of EditingStyle::textDirection to determine
    46380         whether or not we need to apply unicode-bidi / direction instead of directly checking the value of unicode-bidi property.
    46381         (WebCore::ApplyStyleCommand::fixRangeAndApplyInlineStyle): Takes EditingStyle* instead of CSSMutableStyleDeclaration*.
    46382         (WebCore::ApplyStyleCommand::applyInlineStyleToNodeRange): Ditto.
    46383         (WebCore::ApplyStyleCommand::removeStyleFromRunBeforeApplyingStyle): Ditto.
    46384         (WebCore::ApplyStyleCommand::removeCSSStyle): Ditto.
    46385         (WebCore::ApplyStyleCommand::highestAncestorWithConflictingInlineStyle): Ditto.
    46386         (WebCore::ApplyStyleCommand::pushDownInlineStyleAroundNode): Ditto.
    46387         (WebCore::ApplyStyleCommand::removeInlineStyle): Ditto; no longer collapse text decoration properties because
    46388         ApplyStyleCommand::applyInlineStyle already does it.
    46389         * editing/ApplyStyleCommand.h:
    46390         * editing/EditingStyle.cpp:
    46391         (WebCore::EditingStyle::textDirection): Exits early when m_mutableStyle is null.
    46392         (WebCore::EditingStyle::collapseTextDecorationProperties): Extracted from ApplyStyleCommand::removeInlineStyle.
    46393         * editing/EditingStyle.h:
    46394 
    46395 2011-02-21  Mark Rowe  <mrowe@apple.com>
    46396 
    46397         Reviewed by Darin Adler and Alexey Proskuryakov.
    46398 
    46399         <http://webkit.org/b/54919> / <rdar://problem/7689300> WebCore should retrieve unclamped frame delays from ImageIO
    46400 
    46401         * platform/graphics/cg/ImageSourceCG.cpp:
    46402         (WebCore::ImageSource::frameDurationAtIndex): Look for the unclamped frame delay in the
    46403         frame properties dictionary and use that if it exists. If it does not exist in the
    46404         dictionary then fall back to using the clamped frame delay.
    46405 
    46406 2011-02-21  James Kozianski  <koz@chromium.org>
    46407 
    46408         Reviewed by Kent Tamura.
    46409 
    46410         Causes elements to be unfocusable after tabindex property is removed.
    46411         https://bugs.webkit.org/show_bug.cgi?id=54727
    46412 
    46413         Test: fast/html/tabindex-removal.html
    46414 
    46415         * dom/Node.cpp:
    46416         (WebCore::Node::clearTabIndexExplicitly):
    46417         * dom/Node.h:
    46418         * dom/NodeRareData.h:
    46419         (WebCore::NodeRareData::clearTabIndexExplicitly):
    46420         * html/HTMLElement.cpp:
    46421         (WebCore::HTMLElement::parseMappedAttribute):
    46422 
    46423 2011-02-21  Alexey Proskuryakov  <ap@apple.com>
    46424 
    46425         Reviewed by Mark Rowe.
    46426 
    46427         <rdar://problem/8995483> Remove stubs of unneeded NSURLAuthenticationChallengeSender methods
    46428 
    46429         * platform/network/mac/AuthenticationMac.mm: Remove the stubs that are no longer needed.
    46430 
    46431 2011-02-21  Sam Weinig  <sam@webkit.org>
    46432 
    46433         Reviewed by Dan Bernstein.
    46434 
    46435         Overhang areas need to be invalidated on scroll
    46436         <rdar://problem/9032194>
    46437         https://bugs.webkit.org/show_bug.cgi?id=54917
    46438 
    46439         * platform/ScrollView.cpp:
    46440         (WebCore::ScrollView::scrollContents):
    46441         We need to explicitly invalidate the overhang areas when we scroll the contents
    46442         of a ScrollView, since they could contain arbitrary content that cannot be blitted.
    46443 
    46444 2011-02-21  Lucas Forschler  <lforschler@apple.com>
    46445 
    46446         Reviewed by Stephanie Lewis.
    46447 
    46448         Fix the Leopard Debug build by incorporating the RenderSVGAllInOne.cpp
    46449 
    46450         No new tests required.
    46451 
    46452         * WebCore.xcodeproj/project.pbxproj:
    46453 
    46454 2011-02-21  Pratik Solanki  <psolanki@apple.com>
    46455 
    46456         Reviewed by Darin Adler.
    46457 
    46458         Remove global initializer in CookieStorageCFNet.cpp
    46459         https://bugs.webkit.org/show_bug.cgi?id=54905
    46460 
    46461         * platform/network/cf/CookieStorageCFNet.cpp:
    46462         (WebCore::currentCookieStorage):
    46463         (WebCore::setCurrentCookieStorage):
    46464         (WebCore::setCookieStoragePrivateBrowsingEnabled):
    46465 
    46466 2011-02-18  Jer Noble  <jer.noble@apple.com>
    46467 
    46468         Reviewed by Sam Weinig.
    46469 
    46470         WebKit2: Media document videos play only sound, no video (affects trailers.apple.com)
    46471         https://bugs.webkit.org/show_bug.cgi?id=54771
    46472 
    46473         Now that video is accelerated, we no longer need to special case
    46474         video playing within a media document.
    46475 
    46476         * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
    46477         (WebCore::MediaPlayerPrivateQTKit::preferredRenderingMode):
    46478         (WebCore::MediaPlayerPrivateQTKit::supportsAcceleratedRendering):
    46479 
    46480 2011-02-21  Alexey Proskuryakov  <ap@apple.com>
    46481 
    46482         Reviewed by Adam Roben.
    46483 
    46484         REGRESSION (WebKit2): HTTP requests time out after 60 seconds
    46485         https://bugs.webkit.org/show_bug.cgi?id=54755
    46486         <rdar://problem/9006592>
    46487 
    46488         No new tests - it won't be great to have a test that runs for a minute.
    46489 
    46490         It's now possible to set a default timeout to be used at ResourceRequest creation. If one
    46491         hasn't been set, ResourceRequest will behave as before (use NSURLRequest default on Mac,
    46492         or use INT_MAX on other platforms).
    46493 
    46494         * WebCore.exp.in:
    46495         * platform/network/ResourceRequestBase.cpp:
    46496         (WebCore::ResourceRequestBase::defaultTimeoutInterval): Get the ResourceRequest notion of
    46497         default timeout interval (may be 0 if using NSURLRequest default).
    46498         (WebCore::ResourceRequestBase::setDefaultTimeoutInterval): Set the static member variable.
    46499         (WebCore::ResourceRequestBase::updatePlatformRequest): Added an assertion that resource
    46500         request is updated. Plaform code often calls updateResourceRequest() indirectly from this
    46501         function, and that must obviously be a no-op.
    46502         (WebCore::ResourceRequestBase::updateResourceRequest): Added an assertion in the opposite
    46503         direction.
    46504         * platform/network/ResourceRequestBase.h: Changed "unspecifiedTimeoutInterval" to
    46505         "defaultTimeoutInterval". It has been used as default by most platforms anyway.
    46506         (WebCore::ResourceRequestBase::ResourceRequestBase):
    46507 
    46508         * platform/network/mac/ResourceRequestMac.mm: (WebCore::ResourceRequest::doUpdatePlatformRequest):
    46509         Now zero is the magic value, not INT_MAX. We'll use NSURLRequest default if neither
    46510         setTimeoutInterval() nor setDefaultTimeoutInterval() has been called.
    46511 
    46512 2011-02-21  Martin Robinson  <mrobinson@igalia.com>
    46513 
    46514         Reviewed by Xan Lopez.
    46515 
    46516         [GTK] editing/pasteboard/dataTransfer-setData-getData.html fails
    46517         https://bugs.webkit.org/show_bug.cgi?id=54895
    46518 
    46519         Correct the GTK+ clipboard implementation to know that "text" is an alias
    46520         for "text/html" data. This corrects the failing test.
    46521 
    46522         * platform/gtk/ClipboardGtk.cpp:
    46523         (WebCore::dataObjectTypeFromHTMLClipboardType): Accept "text" as well as "Text".
    46524         (WebCore::ClipboardGtk::types): Advertise "text" as well as "Text".
    46525 
    46526 2011-02-21  Vsevolod Vlasov  <vsevik@chromium.org>
    46527 
    46528         Reviewed by Pavel Feldman.
    46529 
    46530         ProcessingInstruction should provide a way to know if it is of CSS type.
    46531         https://bugs.webkit.org/show_bug.cgi?id=54868
    46532 
    46533         * dom/ProcessingInstruction.cpp:
    46534         (WebCore::ProcessingInstruction::ProcessingInstruction):
    46535         (WebCore::ProcessingInstruction::checkStyleSheet):
    46536         (WebCore::ProcessingInstruction::setCSSStyleSheet):
    46537         * dom/ProcessingInstruction.h:
    46538         (WebCore::ProcessingInstruction::isCSS):
    46539 
    46540 2011-02-21  Simon Fraser  <simon.fraser@apple.com>
    46541 
    46542         Put JSDOMImplementationCustom.cpp where it belongs in the project.
    46543 
    46544         * WebCore.xcodeproj/project.pbxproj:
    46545 
    46546 2011-02-21  Gavin Barraclough  <barraclough@apple.com>
    46547 
    46548         Reviewed by Sam Weinig.
    46549 
    46550         Bug 54894 - Make inheritance structure described by ClassInfo match C++ class hierarchy.
    46551 
    46552         The ClassInfo objects describe an inheritance hierarchy, with each ClassInfo instance
    46553         containing a pointer to its parent class. These links should reflect the inheritance
    46554         hierarchy of C++ classes below JSObject. For the large part it does, but in some cases
    46555         entries in the C++ hierarchy are skipped over. This presently likely doesn't matter,
    46556         since intervening C++ classes may not have ClassInfo - but would be a potential bug
    46557         were ClassInfo were to be added.
    46558 
    46559         * bindings/js/JSAudioConstructor.cpp:
    46560         * bindings/js/JSDOMGlobalObject.cpp:
    46561         * bindings/js/JSImageConstructor.cpp:
    46562         * bindings/js/JSOptionConstructor.cpp:
    46563         * bindings/scripts/CodeGeneratorJS.pm:
    46564         * bridge/objc/objc_runtime.mm:
    46565         * bridge/runtime_object.cpp:
    46566 
    46567 2011-02-21  Pavel Feldman  <pfeldman@chromium.org>
    46568 
    46569         Reviewed by Yury Semikhatsky.
    46570 
    46571         Web Inspector: navigation does not work after reopening frontend.
    46572         https://bugs.webkit.org/show_bug.cgi?id=54879
    46573 
    46574         Test: http/tests/inspector-enabled/open-close-open.html
    46575 
    46576         * inspector/InspectorAgent.cpp:
    46577         (WebCore::InspectorAgent::setFrontend):
    46578         * inspector/InspectorState.cpp:
    46579         (WebCore::InspectorState::unmute):
    46580         * inspector/InspectorState.h:
    46581 
    46582 2011-02-21  Adam Roben  <aroben@apple.com>
    46583 
    46584         Protect the PluginView when evaluating javascript: URLs
    46585 
    46586         Fixes <http://webkit.org/b/54884> <rdar://problem/9030864>
    46587         plugins/get-url-with-javascript-destroying-plugin.html crashing on Windows since it was
    46588         added
    46589 
    46590         Reviewed by Sam Weinig.
    46591 
    46592         * plugins/PluginView.cpp:
    46593         (WebCore::PluginView::performRequest): Protect the PluginView, not just its parent frame,
    46594         when evaluating javascript: URLs.
    46595 
    46596 2011-02-21  Martin Robinson  <mrobinson@igalia.com>
    46597 
    46598         Fix GTK+ build after r79223.
    46599 
    46600         * GNUmakefile.am: Add file missing from the source list.
    46601 
    46602 2011-02-14  Alexander Pavlov  <apavlov@chromium.org>
    46603 
    46604         Reviewed by Yury Semikhatsky.
    46605 
    46606         Web Inspector: audits should not warn about gzip compression for 304s
    46607         https://bugs.webkit.org/show_bug.cgi?id=54343
    46608 
    46609         Do not run compression-related audits on 304 resources.
    46610         Drive-by: handle multi-encoding resources (Content-Encoding: sdhc,gzip) correctly.
    46611 
    46612         * inspector/front-end/AuditRules.js:
    46613         (WebInspector.AuditRules.GzipRule.prototype.doRun):
    46614         (WebInspector.AuditRules.GzipRule.prototype._isCompressed):
    46615 
    46616 2011-02-08  Anton Muhin  <antonm@chromium.org>
    46617 
    46618        Reviewed by Adam Barth and Alexey Proskuryakov.
    46619 
    46620        Propagate security origin of parent document into HTML documents created with DOMImplementation
    46621        https://bugs.webkit.org/show_bug.cgi?id=53611
    46622 
    46623        This restores invariant that JS wrappers residing in the same JS context should come
    46624        from the same security origin.
    46625 
    46626        Absence of regressions is covered by the current tests.  Different security origin of
    46627        DOMImplementation is difficult to check with layout tests as DOMImplementation
    46628        resides in the same JS context as parent document and therefore there are no security origin checks.
    46629        This is observable however in C++.
    46630 
    46631        * Android.jscbindings.mk:
    46632        * CMakeLists.txt:
    46633        * WebCore.gypi:
    46634        * WebCore.pro:
    46635        * WebCore.vcproj/WebCore.vcproj:
    46636        * WebCore.xcodeproj/project.pbxproj:
    46637        * bindings/v8/V8GCController.cpp:
    46638        (WebCore::NodeGrouperVisitor::visitDOMWrapper):
    46639        * dom/DOMImplementation.cpp:
    46640        (WebCore::DOMImplementation::DOMImplementation):
    46641        (WebCore::DOMImplementation::createDocument):
    46642        * dom/DOMImplementation.h:
    46643        (WebCore::DOMImplementation::create):
    46644        (WebCore::DOMImplementation::documentDestroyed):
    46645        (WebCore::DOMImplementation::parentDocument):
    46646        * dom/DOMImplementation.idl:
    46647        * dom/Document.cpp:
    46648        (WebCore::Document::~Document):
    46649        (WebCore::Document::implementation):
    46650        * dom/Document.h:
    46651 
    46652 2011-02-21  Andrey Adaikin  <aandrey@google.com>
    46653 
    46654         Reviewed by Pavel Feldman.
    46655 
    46656         Web Inspector: [Text editor] Optimize editing updates in gutter panel
    46657         https://bugs.webkit.org/show_bug.cgi?id=54866
    46658 
    46659         * inspector/front-end/TextViewer.js:
    46660         (WebInspector.TextViewer.prototype.set startEditingListener):
    46661         (WebInspector.TextViewer.prototype.set endEditingListener):
    46662         (WebInspector.TextViewer.prototype.endUpdates):
    46663         (WebInspector.TextViewer.prototype._enterInternalTextChangeMode):
    46664         (WebInspector.TextViewer.prototype._exitInternalTextChangeMode):
    46665         (WebInspector.TextEditorChunkedPanel.prototype._chunkNumberForLine):
    46666         (WebInspector.TextEditorGutterPanel.prototype._expandChunks):
    46667         (WebInspector.TextEditorGutterPanel.prototype.textChanged):
    46668         (WebInspector.TextEditorMainPanel.prototype._updateChunksForRanges):
    46669 
    46670 2011-02-21  Alexander Pavlov  <apavlov@chromium.org>
    46671 
    46672         Reviewed by Yury Semikhatsky.
    46673 
    46674         Web Inspector: [Audits] Image dimensions in inline style not checked
    46675         https://bugs.webkit.org/show_bug.cgi?id=54738
    46676 
    46677         * inspector/front-end/AuditRules.js:
    46678         (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun):
    46679 
    46680 2011-02-21  Yury Semikhatsky  <yurys@chromium.org>
    46681 
    46682         Reviewed by Pavel Feldman.
    46683 
    46684         Web Inspector: create and destroy DOM agent along with InspectorAgent
    46685         https://bugs.webkit.org/show_bug.cgi?id=54875
    46686 
    46687         * GNUmakefile.am:
    46688         * WebCore.gypi:
    46689         * WebCore.pro:
    46690         * WebCore.vcproj/WebCore.vcproj:
    46691         * WebCore.xcodeproj/project.pbxproj:
    46692         * inspector/InstrumentingAgents.h: Added. Agents that want to instrument WebCore should register themselve
    46693         on this object.
    46694         (WebCore::InstrumentingAgents::InstrumentingAgents):
    46695         (WebCore::InstrumentingAgents::~InstrumentingAgents):
    46696         (WebCore::InstrumentingAgents::inspectorBrowserDebuggerAgent):
    46697         (WebCore::InstrumentingAgents::setInspectorBrowserDebuggerAgent):
    46698         (WebCore::InstrumentingAgents::inspectorConsoleAgent):
    46699         (WebCore::InstrumentingAgents::setInspectorConsoleAgent):
    46700         (WebCore::InstrumentingAgents::inspectorDOMAgent):
    46701         (WebCore::InstrumentingAgents::setInspectorDOMAgent):
    46702         (WebCore::InstrumentingAgents::inspectorDOMStorageAgent):
    46703         (WebCore::InstrumentingAgents::setInspectorDOMStorageAgent):
    46704         (WebCore::InstrumentingAgents::inspectorDatabaseAgent):
    46705         (WebCore::InstrumentingAgents::setInspectorDatabaseAgent):
    46706         (WebCore::InstrumentingAgents::inspectorDebuggerAgent):
    46707         (WebCore::InstrumentingAgents::setInspectorDebuggerAgent):
    46708         (WebCore::InstrumentingAgents::inspectorProfilerAgent):
    46709         (WebCore::InstrumentingAgents::setInspectorProfilerAgent):
    46710         (WebCore::InstrumentingAgents::inspectorResourceAgent):
    46711         (WebCore::InstrumentingAgents::setInspectorResourceAgent):
    46712         (WebCore::InstrumentingAgents::inspectorRuntimeAgent):
    46713         (WebCore::InstrumentingAgents::setInspectorRuntimeAgent):
    46714         (WebCore::InstrumentingAgents::inspectorStorageAgent):
    46715         (WebCore::InstrumentingAgents::setInspectorStorageAgent):
    46716         (WebCore::InstrumentingAgents::inspectorTimelineAgent):
    46717         (WebCore::InstrumentingAgents::setInspectorTimelineAgent):
    46718         * inspector/InspectorAgent.cpp:
    46719         (WebCore::InspectorAgent::InspectorAgent):
    46720         (WebCore::InspectorAgent::setFrontend):
    46721         (WebCore::InspectorAgent::disconnectFrontend):
    46722         (WebCore::InspectorAgent::createFrontendLifetimeAgents):
    46723         (WebCore::InspectorAgent::releaseFrontendLifetimeAgents):
    46724         (WebCore::InspectorAgent::didCommitLoad):
    46725         (WebCore::InspectorAgent::domContentLoadedEventFired):
    46726         (WebCore::InspectorAgent::loadEventFired):
    46727         * inspector/InspectorAgent.h:
    46728         * inspector/InspectorCSSAgent.cpp:
    46729         (WebCore::InspectorCSSAgent::InspectorCSSAgent):
    46730         (WebCore::InspectorCSSAgent::~InspectorCSSAgent):
    46731         * inspector/InspectorCSSAgent.h:
    46732         * inspector/InspectorConsoleAgent.cpp:
    46733         (WebCore::InspectorConsoleAgent::InspectorConsoleAgent):
    46734         (WebCore::InspectorConsoleAgent::~InspectorConsoleAgent):
    46735         (WebCore::InspectorConsoleAgent::clearConsoleMessages):
    46736         (WebCore::InspectorConsoleAgent::clearFrontend):
    46737         (WebCore::InspectorConsoleAgent::resourceRetrievedByXMLHttpRequest):
    46738         (WebCore::InspectorConsoleAgent::setMonitoringXHREnabled):
    46739         (WebCore::InspectorConsoleAgent::setConsoleMessagesEnabled):
    46740         (WebCore::InspectorConsoleAgent::addConsoleMessage):
    46741         * inspector/InspectorConsoleAgent.h:
    46742         * inspector/InspectorDOMAgent.cpp: DOM agent now lives even when the front-end is not attached.
    46743         (WebCore::InspectorDOMAgent::InspectorDOMAgent):
    46744         (WebCore::InspectorDOMAgent::setFrontend): Add DOM agent to the set of active agents when the front-end
    46745         is attached.
    46746         (WebCore::InspectorDOMAgent::clearFrontend):
    46747         * inspector/InspectorDOMAgent.h:
    46748         (WebCore::InspectorDOMAgent::create):
    46749 
    46750 2011-02-21  Csaba Osztrogonác  <ossy@webkit.org>
    46751 
    46752         Reviewed by Andreas Kling.
    46753 
    46754         [Qt][V8]REGRESSION(r79157): Fix build
    46755         https://bugs.webkit.org/show_bug.cgi?id=54871
    46756 
    46757         * bridge/npruntime_internal.h: Add one more undef because of evil X11 macro.
    46758 
    46759 2011-02-16  Vitaly Repeshko  <vitalyr@chromium.org>
    46760 
    46761         Reviewed by Mihai Parparita.
    46762 
    46763         [V8] SerializedScriptValue: fix JS exception handling.
    46764         https://bugs.webkit.org/show_bug.cgi?id=54555
    46765 
    46766         Added checks for exceptions and empty handles:
    46767         * bindings/v8/SerializedScriptValue.cpp:
    46768         (WebCore::Serializer::Serializer):
    46769         (WebCore::Serializer::serialize):
    46770         (WebCore::Serializer::checkException):
    46771         (WebCore::Serializer::reportFailure):
    46772         (WebCore::Serializer::ArrayState::advance):
    46773         (WebCore::Serializer::AbstractObjectState::AbstractObjectState):
    46774         (WebCore::Serializer::AbstractObjectState::advance):
    46775         (WebCore::Serializer::push):
    46776         (WebCore::Serializer::handleError):
    46777         (WebCore::Serializer::newObjectState):
    46778         (WebCore::Serializer::doSerialize):
    46779         (WebCore::SerializedScriptValue::SerializedScriptValue):
    46780 
    46781 2011-02-21  Ryosuke Niwa  <rniwa@webkit.org>
    46782 
    46783         Reviewed by Kent Tamura.
    46784 
    46785         Add selectionchange event
    46786         https://bugs.webkit.org/show_bug.cgi?id=45712
    46787 
    46788         Added the support for asynchronous selectionchange event, which is fired whenever selection is changed.
    46789         This event is not cancelable and does not bubble. An event listener can be attached to a document by
    46790         body element's onselectionchange attribute or via document's onselectionchange property.
    46791 
    46792         Note that WebKit's implementation fires the event asynchronously whereas Internet Explorer's implementation
    46793         fires it synchronously. This implies that a script that modify selection (e.g. via selection's addRange)
    46794         will not observe the event before the control returns to JavaScript.
    46795 
    46796         See also: http://msdn.microsoft.com/en-us/library/ms536968(VS.85).aspx
    46797 
    46798         Tests: fast/events/selectionchange-iframe.html
    46799                fast/events/selectionchange-user-initiated.html
    46800 
    46801         * dom/Document.cpp:
    46802         (WebCore::Document::enqueueDocumentEvent): Added.
    46803         * dom/Document.h: Added selectionchange event listener.
    46804         * dom/Document.idl: Added onselectionchagne attribute.
    46805         * dom/EventNames.h: Added selectionchange
    46806         * editing/SelectionController.cpp:
    46807         (WebCore::SelectionController::setSelection): Fires selectionchange event.
    46808         * html/HTMLAttributeNames.in: Added onselectionchange.
    46809         * html/HTMLBodyElement.cpp:
    46810         (WebCore::HTMLBodyElement::parseMappedAttribute): Handles onselectionchange attribute.
    46811 
    46812 2011-02-21  Ilya Tikhonovsky  <loislo@chromium.org>
    46813 
    46814         Reviewed by Pavel Feldman.
    46815 
    46816         Web Inspector: protocol error messages are dumping incorrectly in Layout tests.
    46817         https://bugs.webkit.org/show_bug.cgi?id=54859
    46818 
    46819         * inspector/CodeGeneratorInspector.pm:
    46820 
    46821 2011-02-21  Pavel Feldman  <pfeldman@chromium.org>
    46822 
    46823         Reviewed by Yury Semikhatsky.
    46824 
    46825         Web Inspector: generate protocol documentation based on IDL.
    46826         https://bugs.webkit.org/show_bug.cgi?id=54822
    46827 
    46828         * inspector/CodeGeneratorInspector.pm:
    46829 
    46830 2011-02-21  Andoni Morales Alastruey  <amorales@flumotion.com>
    46831 
    46832         Reviewed by Martin Robinson.
    46833 
    46834         [GStreamer] Add URI queries support in webkitwebsrc
    46835         https://bugs.webkit.org/show_bug.cgi?id=54627
    46836 
    46837         This allow replying to URI queries from downstream elements
    46838         with the uri currently set in the source element.
    46839 
    46840         No new tests, this feature is dedicated to internal GStreamer use,
    46841         such as the upcoming HTTP Live Streaming element.
    46842 
    46843         * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
    46844         (webKitWebSrcQuery):
    46845 
    46846 2011-02-21  Andoni Morales Alastruey  <amorales@flumotion.com>
    46847 
    46848         Reviewed by Martin Robinson.
    46849 
    46850         [GStreamer] Add 'location' property in webkitwebsrc
    46851         https://bugs.webkit.org/show_bug.cgi?id=54628
    46852 
    46853         No new tests, this feature is dedicated to internal GStreamer use,
    46854         such as the upcoming HTTP Live Streaming element.
    46855 
    46856         * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
    46857         (webkit_web_src_class_init):
    46858         (webKitWebSrcSetProperty):
    46859         (webKitWebSrcGetProperty):
    46860 
    46861 2011-02-17  Ryosuke Niwa  <rniwa@webkit.org>
    46862 
    46863         Reviewed by Kent Tamura.
    46864 
    46865         Rename Position::node() to Position::deprecatedNode()
    46866         https://bugs.webkit.org/show_bug.cgi?id=54622
    46867 
    46868         Done the rename. All calls to node() are replaced by calls to deprecatedNode() except when
    46869         calls were of the form node()->document() and node()->inDocument() in which case they were
    46870         replaced by anchorNode()->document() and anchorNode()->inDocument() respectively.
    46871 
    46872         * WebCore.exp.in: Added Position::containerNode.
    46873 
    46874         The rest abbreviated for simplicity. Please see svn log.
    46875 
    46876 2011-02-20  Gavin Barraclough  <barraclough@apple.com>
    46877 
    46878         Build fix (remove includes).
    46879 
    46880         * bindings/js/JSDOMBinding.cpp:
    46881         * bindings/js/JSDOMWindowCustom.cpp:
    46882         * bindings/js/JSHistoryCustom.cpp:
    46883         * bindings/js/JSLocationCustom.cpp:
    46884 
    46885 2011-02-20  Gavin Barraclough  <barraclough@apple.com>
    46886 
    46887         Reviewed by Oliver Hunt.
    46888 
    46889         https://bugs.webkit.org/show_bug.cgi?id=54839
    46890         Remove PrototypeFunction, NativeFunctionWrapper, and GlobalEvalFunction.
    46891 
    46892         Historically, Native functions used to be represented by PrototypeFunctions, however
    46893         since introducing call optimizations to the JIT this has used JSFunctions for host
    46894         calls too. At the point this change was made, the interpreter continued to use
    46895         PrototypeFunctions, however since fallback from the JIT to interpreter was introduced
    46896         the interpreter has had to be able to run using host functions represented using
    46897         JSFunctions - leading to an unnecessary and redundant divergence in behaviour between
    46898         interpreter only builds, and situations where the JIT has fallen back to interpreting.
    46899 
    46900         NativeFunctionWrapper only existed to select between PrototypeFunction and JSFunction
    46901         for wrappers for host functions, and as such can also be removed.
    46902 
    46903         GlobalEvalFunction is a redundant wrapper that happens to be derived from
    46904         PrototypeFunction. It existed to hold a reference to the global object - but since all
    46905         functions how derive from JSObjectWithGlobalObject, this no longer requires an
    46906         additional class to provide this functionality.
    46907 
    46908         * bindings/js/JSDOMBinding.cpp:
    46909         * bindings/js/JSDOMWindowCustom.cpp:
    46910         * bindings/js/JSHistoryCustom.cpp:
    46911         * bindings/js/JSLocationCustom.cpp:
    46912             Removed use of redundant classes.
    46913 
    46914 2011-02-20  Sheriff Bot  <webkit.review.bot@gmail.com>
    46915 
    46916         Unreviewed, rolling out r79169.
    46917         http://trac.webkit.org/changeset/79169
    46918         https://bugs.webkit.org/show_bug.cgi?id=54846
    46919 
    46920         Made unexpected results for tests without CJK characters
    46921         (Requested by tkent on #webkit).
    46922 
    46923         * platform/graphics/chromium/FontCacheChromiumWin.cpp:
    46924         (WebCore::FontCache::createFontPlatformData):
    46925         * platform/graphics/chromium/FontPlatformDataChromiumWin.cpp:
    46926         (WebCore::FontPlatformData::FontPlatformData):
    46927         (WebCore::FontPlatformData::operator=):
    46928         * platform/graphics/chromium/FontPlatformDataChromiumWin.h:
    46929         (WebCore::FontPlatformData::orientation):
    46930         * platform/graphics/skia/FontCustomPlatformData.cpp:
    46931         (WebCore::FontCustomPlatformData::fontPlatformData):
    46932 
    46933 2011-02-20  Chun-Lung Huang  <alvincl.huang@gmail.com>
    46934 
    46935         Reviewed by Kent Tamura.
    46936 
    46937         On Chromium Windows, glyphs in vertical text tests are rotated 90
    46938         degrees clockwise. https://bugs.webkit.org/show_bug.cgi?id=51450
    46939 
    46940         This platform dependent patch makes Chromium Windows show the
    46941         vertical writing text correctly. Job was done by adding a prefix '@'
    46942         in front of the font family name (Windows Only). No new tests added.
    46943 
    46944         * platform/graphics/chromium/FontCacheChromiumWin.cpp:
    46945         (WebCore::FontCache::createFontPlatformData):
    46946         * platform/graphics/chromium/FontPlatformDataChromiumWin.cpp:
    46947         (WebCore::FontPlatformData::FontPlatformData):
    46948         (WebCore::FontPlatformData::operator=):
    46949         * platform/graphics/chromium/FontPlatformDataChromiumWin.h:
    46950         (WebCore::FontPlatformData::orientation):
    46951         * platform/graphics/skia/FontCustomPlatformData.cpp:
    46952         (WebCore::FontCustomPlatformData::fontPlatformData):
    46953 
    46954 2011-02-20  Simon Fraser  <simon.fraser@apple.com>
    46955 
    46956         Reviewed by Dirk Schulze.
    46957 
    46958         REGRESSION (r73369-r73405): transform animation interpolates incorrectly
    46959         https://bugs.webkit.org/show_bug.cgi?id=54793
    46960        
    46961         After the refactoring in r73380, the ending state for some types of
    46962         accelerated animations was computed incorrectly, because the TransformationMatrix
    46963         wasn't reset to identity before the ending value transformations were applied.
    46964        
    46965         Fix by cleaning up the code to use explicit, separate values for
    46966         starting and ending values. Only matrix-type animations had this
    46967         issue, but cleaned up other clauses similarly.
    46968 
    46969         Test: animations/3d/matrix-transform-type-animation.html
    46970 
    46971         * platform/graphics/ca/GraphicsLayerCA.cpp:
    46972         (WebCore::GraphicsLayerCA::setTransformAnimationEndpoints):
    46973 
    46974 2011-02-20  Dan Bernstein  <mitz@apple.com>
    46975 
    46976         Reviewed by Maciej Stachowiak.
    46977 
    46978         <rdar://problem/9028929> REGRESSION (r75897): Scaling applied twice to an iframe with a transformed ancestor
    46979 
    46980         Test: fast/frames/iframe-scale-applied-twice.html
    46981 
    46982         * page/FrameView.cpp:
    46983         (WebCore::FrameView::create): Set the initial bounds of the view to match the
    46984         frame size.
    46985         * platform/ScrollView.cpp:
    46986         (WebCore::ScrollView::visibleContentRect): Based on bounds, not frame size.
    46987         (WebCore::ScrollView::updateScrollbars): Ditto.
    46988         (WebCore::ScrollView::setFrameRect): Moved code that really handles bounds size
    46989         change to setBoundsSize().
    46990         (WebCore::ScrollView::setBoundsSize): Added.
    46991         (WebCore::ScrollView::setInitialBoundsSize): Added. Sets the bounds size but does
    46992         not update anything.
    46993         (WebCore::ScrollView::frameRectsChanged): Based on bounds, not frame size.
    46994         (WebCore::ScrollView::scrollbarCornerPresent): Ditto.
    46995         * platform/ScrollView.h:
    46996         (WebCore::ScrollView::boundsSize): Added this getter.
    46997         * platform/Widget.h:
    46998         (WebCore::Widget::resize): Set the bounds size to the frame size.
    46999         * platform/mac/ScrollbarThemeMac.mm:
    47000         (WebCore::ScrollbarThemeMac::paint): Fixed an error in the indirect drawing code
    47001         path where the buffer rect was resized to capture only the damaged part, but was
    47002         still drawn in the original location.
    47003 
    47004 2011-02-20  Alexey Proskuryakov  <ap@apple.com>
    47005 
    47006         Reviewed by Eric Seidel.
    47007 
    47008         Tighten up access permissions by using libxslt API
    47009         https://bugs.webkit.org/show_bug.cgi?id=52688
    47010         <rdar://problem/8909191>
    47011 
    47012         * xml/XSLTProcessorLibxslt.cpp: (WebCore::XSLTProcessor::transformToString): We are only
    47013         interested in a string result, so let libxslt know about that.
    47014 
    47015 2011-02-20  Sheriff Bot  <webkit.review.bot@gmail.com>
    47016 
    47017         Unreviewed, rolling out r79104.
    47018         http://trac.webkit.org/changeset/79104
    47019         https://bugs.webkit.org/show_bug.cgi?id=54835
    47020 
    47021         Might have caused flaky canaries (Requested by tonyg-cr on
    47022         #webkit).
    47023 
    47024         * html/parser/HTMLDocumentParser.cpp:
    47025         (WebCore::HTMLDocumentParser::canTakeNextToken):
    47026         (WebCore::HTMLDocumentParser::pumpTokenizer):
    47027         * html/parser/HTMLParserScheduler.cpp:
    47028         (WebCore::isLayoutTimerActive):
    47029         * html/parser/HTMLParserScheduler.h:
    47030         (WebCore::HTMLParserScheduler::checkForYieldBeforeToken):
    47031         * page/FrameView.h:
    47032 
    47033 2011-02-20  Dirk Schulze  <krit@webkit.org>
    47034 
    47035         Reviewed by Nikolas Zimmermann.
    47036 
    47037         SVG animation - analyze attribute type for animation
    47038         https://bugs.webkit.org/show_bug.cgi?id=54542
    47039 
    47040         Analyze animated attribute type to determine the kind of animation. Removed enum PropertyType and replace it
    47041         with AnimatedAttributeType instead. More cleanup of the animation code.
    47042         Added missing fillAttributeToPropertyTypeMap() for SVGGElement.
    47043 
    47044         Use QualifiedName instead of AtomicStrings for attribute names. This makes it easier to handle animated attributes
    47045         from a different namespace like xlink:href. The rest of the SVG code is using QualifiedNames as well.
    47046 
    47047         No change of functionality on the animation code. The changes for the <g>-element affect animateTransform. Sadly
    47048         animateTransform is not supported by our SVG animation test script at the moment. Can still be tested manually
    47049         with the W3C test suite in trunk.
    47050 
    47051         The change on SVGUseElement gets covered by animate-elem-39-t.svg
    47052 
    47053         Test: svg/animations/animate-dynamic-update-attributeName.html
    47054 
    47055         * svg/SVGAnimateElement.cpp:
    47056         (WebCore::SVGAnimateElement::SVGAnimateElement):
    47057         (WebCore::SVGAnimateElement::hasValidAttributeType):
    47058         (WebCore::SVGAnimateElement::determineAnimatedAttributeType):
    47059         (WebCore::SVGAnimateElement::calculateAnimatedValue):
    47060         (WebCore::inheritsFromProperty):
    47061         (WebCore::SVGAnimateElement::calculateFromAndToValues):
    47062         (WebCore::SVGAnimateElement::calculateFromAndByValues):
    47063         (WebCore::SVGAnimateElement::resetToBaseValue):
    47064         (WebCore::SVGAnimateElement::applyResultsToTarget):
    47065         (WebCore::SVGAnimateElement::calculateDistance):
    47066         * svg/SVGAnimateElement.h:
    47067         * svg/SVGAnimateMotionElement.cpp:
    47068         (WebCore::SVGAnimateMotionElement::hasValidAttributeType):
    47069         (WebCore::parsePoint):
    47070         (WebCore::SVGAnimateMotionElement::resetToBaseValue):
    47071         (WebCore::SVGAnimateMotionElement::calculateAnimatedValue):
    47072         (WebCore::SVGAnimateMotionElement::calculateDistance):
    47073         * svg/SVGAnimateMotionElement.h:
    47074         * svg/SVGAnimateTransformElement.cpp:
    47075         (WebCore::SVGAnimateTransformElement::hasValidAttributeType):
    47076         (WebCore::SVGAnimateTransformElement::determineAnimatedAttributeType):
    47077         (WebCore::SVGAnimateTransformElement::resetToBaseValue):
    47078         (WebCore::SVGAnimateTransformElement::calculateAnimatedValue):
    47079         (WebCore::SVGAnimateTransformElement::calculateFromAndByValues):
    47080         (WebCore::SVGAnimateTransformElement::applyResultsToTarget):
    47081         (WebCore::SVGAnimateTransformElement::calculateDistance):
    47082         * svg/SVGAnimateTransformElement.h:
    47083         * svg/SVGAnimationElement.cpp:
    47084         (WebCore::parseKeyTimes):
    47085         (WebCore::parseKeySplines):
    47086         (WebCore::SVGAnimationElement::isTargetAttributeCSSProperty):
    47087         (WebCore::SVGAnimationElement::setTargetAttributeAnimatedValue):
    47088         (WebCore::SVGAnimationElement::calculateKeyTimesForCalcModePaced):
    47089         (WebCore::solveEpsilon):
    47090         (WebCore::SVGAnimationElement::calculatePercentFromKeyPoints):
    47091         (WebCore::SVGAnimationElement::currentValuesFromKeyPoints):
    47092         (WebCore::SVGAnimationElement::currentValuesForValuesAnimation):
    47093         (WebCore::SVGAnimationElement::startedActiveInterval):
    47094         * svg/SVGAnimationElement.h:
    47095         * svg/SVGFilterElement.cpp:
    47096         (WebCore::SVGFilterElement::fillAttributeToPropertyTypeMap):
    47097         * svg/SVGGElement.cpp:
    47098         (WebCore::SVGGElement::attributeToPropertyTypeMap):
    47099         (WebCore::SVGGElement::fillAttributeToPropertyTypeMap): Added to fill the animated attribute map for this element.
    47100         * svg/SVGGElement.h:
    47101         * svg/SVGUseElement.cpp:
    47102         (WebCore::SVGUseElement::fillAttributeToPropertyTypeMap): Changed attribute type to AnimatedString for xlink:href.
    47103         * svg/animation/SMILTimeContainer.cpp:
    47104         (WebCore::SMILTimeContainer::baseValueFor):
    47105         (WebCore::SMILTimeContainer::updateAnimations):
    47106         * svg/animation/SMILTimeContainer.h:
    47107         * svg/animation/SVGSMILElement.cpp:
    47108         (WebCore::SVGSMILElement::SVGSMILElement):
    47109         (WebCore::constructQualifiedName): Create a QualifiedName from a attribute name.
    47110         (WebCore::SVGSMILElement::insertedIntoDocument): Update local varaible of attribute name.
    47111         (WebCore::SVGSMILElement::removedFromDocument): Ditto.
    47112         (WebCore::SVGSMILElement::attributeChanged): Ditto.
    47113         * svg/animation/SVGSMILElement.h:
    47114         (WebCore::SVGSMILElement::attributeName):
    47115 
    47116 2011-02-20  David Kilzer  <ddkilzer@apple.com>
    47117 
    47118         BUILD FIX: Add missing UNUSED_PARAM() when !ENABLE(FULLSCREEN_API)
    47119 
    47120         Not reviewed.
    47121 
    47122         * rendering/RenderLayerCompositor.cpp:
    47123         (WebCore::RenderLayerCompositor::requiresCompositingForFullScreen):
    47124 
    47125 2011-02-20  Carlos Garcia Campos  <cgarcia@igalia.com>
    47126 
    47127         Reviewed by Martin Robinson.
    47128 
    47129         [GTK] Implement PlatformKeyboardEvent::getCurrentModifierState()
    47130         https://bugs.webkit.org/show_bug.cgi?id=52880
    47131 
    47132         * platform/gtk/KeyEventGtk.cpp:
    47133         (WebCore::PlatformKeyboardEvent::getCurrentModifierState):
    47134 
    47135 2011-02-19  Andreas Kling  <kling@webkit.org>
    47136 
    47137         Reviewed by Oliver Hunt.
    47138 
    47139         DragController should use Color::serialized() when passing colors to CSSStyleDeclaration
    47140         https://bugs.webkit.org/show_bug.cgi?id=54545
    47141 
    47142         * page/DragController.cpp:
    47143         (WebCore::DragController::concludeEditDrag):
    47144 
    47145 2011-02-19  Sam Weinig  <sam@webkit.org>
    47146 
    47147         Reviewed by Anders Carlsson.
    47148 
    47149         Add phase in addition to momentumPhase to platform wheel events
    47150         Part of <rdar://problem/8945362>
    47151 
    47152         Rename existing phase to momentumPhase.
    47153 
    47154         * platform/PlatformWheelEvent.h:
    47155         (WebCore::PlatformWheelEvent::PlatformWheelEvent):
    47156         (WebCore::PlatformWheelEvent::momentumPhase):
    47157         * platform/mac/ScrollAnimatorMac.mm:
    47158         (WebCore::ScrollAnimatorMac::handleWheelEvent):
    47159         (WebCore::ScrollAnimatorMac::smoothScrollWithEvent):
    47160         * platform/mac/WheelEventMac.mm:
    47161         (WebCore::momentumPhaseForEvent):
    47162         (WebCore::phaseForEvent):
    47163         (WebCore::PlatformWheelEvent::PlatformWheelEvent):
    47164 
    47165 2011-02-19  Gavin Barraclough  <barraclough@apple.com>
    47166 
    47167         Qt build fix.
    47168 
    47169         * bridge/runtime_method.h:
    47170         (JSC::RuntimeMethod::createStructure):
    47171 
    47172 2011-02-19  Gavin Barraclough  <barraclough@apple.com>
    47173 
    47174         Qt build fix.
    47175 
    47176         * bridge/qt/qt_instance.cpp:
    47177         * bridge/qt/qt_pixmapruntime.cpp:
    47178 
    47179 2011-02-19  Gavin Barraclough  <barraclough@apple.com>
    47180 
    47181         Qt build fix.
    47182 
    47183         * bridge/qt/qt_instance.cpp:
    47184         (JSC::Bindings::QtInstance::getMethod):
    47185         * bridge/qt/qt_pixmapruntime.cpp:
    47186         (JSC::Bindings::QtPixmapInstance::getMethod):
    47187 
    47188 2011-02-18  Gavin Barraclough  <barraclough@apple.com>
    47189 
    47190         Reviewed by Sam Weinig.
    47191 
    47192         Bug 54786 - Devirtualize JSCell::classInfo()
    47193 
    47194         Instead of making a virtual function call, add a pointer to the ClassInfo
    47195         onto Structure.
    47196 
    47197         This removes a virtual function call, and paves the way towards removing all
    47198         the createStructure methods, and StructureFlags/AnonymousSlotCount properties
    47199         (these should be able to move onto ClassInfo).
    47200 
    47201         Calls to Structure::create must now pass a pointer to the ClassInfo for the
    47202         structure. All objects now have a ClassInfo pointer, non-object cell types
    47203         still do not.
    47204 
    47205         Changes are most mechanical, involving three steps:
    47206             * Remove virtual classInfo() methods.
    47207             * Add &s_info parameter to calls to Structure::create.
    47208             * Rename ClassInfo static members on classes from 'info' to 's_info',
    47209               for consistency.
    47210 
    47211         * WebCore.exp.in:
    47212         * bindings/js/JSAudioConstructor.cpp:
    47213         * bindings/js/JSAudioConstructor.h:
    47214         * bindings/js/JSDOMBinding.cpp:
    47215         * bindings/js/JSDOMBinding.h:
    47216         * bindings/js/JSDOMGlobalObject.cpp:
    47217         * bindings/js/JSDOMGlobalObject.h:
    47218         * bindings/js/JSDOMWindowBase.cpp:
    47219         * bindings/js/JSDOMWindowBase.h:
    47220         * bindings/js/JSDOMWindowShell.cpp:
    47221         * bindings/js/JSDOMWindowShell.h:
    47222         * bindings/js/JSGeolocationCustom.cpp:
    47223         * bindings/js/JSImageConstructor.cpp:
    47224         * bindings/js/JSImageConstructor.h:
    47225         * bindings/js/JSImageDataCustom.cpp:
    47226         * bindings/js/JSOptionConstructor.cpp:
    47227         * bindings/js/JSOptionConstructor.h:
    47228         * bindings/js/JSWorkerContextBase.cpp:
    47229         * bindings/js/JSWorkerContextBase.h:
    47230         * bindings/js/SerializedScriptValue.cpp:
    47231         * bindings/scripts/CodeGeneratorJS.pm:
    47232         * bridge/c/CRuntimeObject.cpp:
    47233         * bridge/c/CRuntimeObject.h:
    47234         * bridge/c/c_instance.cpp:
    47235         * bridge/jni/jsc/JNIUtilityPrivate.cpp:
    47236         * bridge/jni/jsc/JavaInstanceJSC.cpp:
    47237         * bridge/jni/jsc/JavaRuntimeObject.cpp:
    47238         * bridge/jni/jsc/JavaRuntimeObject.h:
    47239         * bridge/jsc/BridgeJSC.cpp:
    47240         * bridge/objc/ObjCRuntimeObject.h:
    47241         * bridge/objc/ObjCRuntimeObject.mm:
    47242         * bridge/objc/objc_instance.mm:
    47243         * bridge/objc/objc_runtime.h:
    47244         * bridge/objc/objc_runtime.mm:
    47245         * bridge/runtime_array.cpp:
    47246         * bridge/runtime_array.h:
    47247         * bridge/runtime_method.cpp:
    47248         * bridge/runtime_method.h:
    47249         * bridge/runtime_object.cpp:
    47250         * bridge/runtime_object.h:
    47251 
    47252 2011-02-19  Zan Dobersek  <zandobersek@gmail.com>
    47253 
    47254         Reviewed by Martin Robinson.
    47255 
    47256         [cairo][canvas] Drawing from/into float rectangles with width or height in range 0 to 1 fails
    47257         https://bugs.webkit.org/show_bug.cgi?id=54491
    47258 
    47259         When width or height in float rectangle are in range (0, 0.5) or (-0.5, 0)
    47260         and would round to 0, alter the behaviour to ensure that width or height are
    47261         at least 1 pixel in size in these cases.
    47262 
    47263         * platform/graphics/cairo/GraphicsContextCairo.cpp:
    47264         (WebCore::GraphicsContext::roundToDevicePixels):
    47265 
    47266 2011-02-19  Dan Bernstein  <mitz@apple.com>
    47267 
    47268         LLVM Compiler build fix.
    47269 
    47270         * platform/graphics/ShadowBlur.cpp:
    47271         (WebCore::ShadowBlur::blurLayerImage): Eliminated a file static that generated
    47272         a global initializer since the compiler does not evaluate sqrtf at compile time.
    47273 
    47274 2011-02-19  Brian Ryner  <bryner@chromium.org>
    47275 
    47276         Reviewed by Adam Barth.
    47277 
    47278         Replace the #include of DocumentLoader.h in Document.h with a
    47279         forward declaration, and add a missing #include now that this
    47280         transitive include is gone.
    47281         https://bugs.webkit.org/show_bug.cgi?id=50489
    47282 
    47283         No new tests required.
    47284 
    47285         * bindings/ScriptControllerBase.cpp:
    47286         * dom/Document.h:
    47287 
    47288 2011-02-19  Patrick Gansterer  <paroga@webkit.org>
    47289 
    47290         Reviewed by Antonio Gomes.
    47291 
    47292         [EFL] Remove WebCore::currentTime()
    47293         https://bugs.webkit.org/show_bug.cgi?id=53886
    47294 
    47295         There is no declaration for it and we use WTF::currentTime() everywhere.
    47296 
    47297         * platform/efl/SystemTimeEfl.cpp:
    47298 
    47299 2011-02-19  Patrick Gansterer  <paroga@webkit.org>
    47300 
    47301         Reviewed by Andreas Kling.
    47302 
    47303         Move KeygenWinCE from wince into win directory
    47304         https://bugs.webkit.org/show_bug.cgi?id=54804
    47305 
    47306         Move this file into the win directory, since it can be used on all windows platforms.
    47307 
    47308         * CMakeListsWinCE.txt:
    47309         * platform/win/SSLKeyGeneratorWin.cpp: Renamed from platform/wince/KeygenWinCE.cpp.
    47310 
    47311 2011-02-19  Patrick Gansterer  <paroga@webkit.org>
    47312 
    47313         Reviewed by Andreas Kling.
    47314 
    47315         Make FileChooserWin.cpp more portable and use it on WinCE
    47316         https://bugs.webkit.org/show_bug.cgi?id=54803
    47317 
    47318         * CMakeListsWinCE.txt:
    47319         * platform/win/FileChooserWin.cpp:
    47320         (WebCore::FileChooser::basenameForWidth):
    47321         * platform/wince/FileChooserWinCE.cpp: Removed.
    47322 
    47323 2011-02-19  James Simonsen  <simonjam@chromium.org>
    47324 
    47325         Reviewed by Adam Barth.
    47326 
    47327         Make ScriptElement match the HTML5 spec
    47328         https://bugs.webkit.org/show_bug.cgi?id=54676
    47329 
    47330         This implements the "prepare a script" section of the HTML5 spec in ScriptElement::prepareScript().
    47331         http://www.whatwg.org/specs/web-apps/current-work/multipage/scripting-1.html#prepare-a-script
    47332 
    47333         There are a couple of things missing from the spec that would be new functionality. These will be added later.
    47334         - Support for async=false
    47335         - Empty src attribute should dispatch an error.
    47336 
    47337         There are a couple of slight behavioral changes to match the spec.
    47338         - An XHTML script that is loaded then copied will not fire load on the copy.
    47339         - If onbeforeload moves the script to a different document, then it will not try to execute again because wasAlreadyStarted is true.
    47340 
    47341         The parsers were updated to use the new API, but not rewritten to look like the spec. That will be done separately.
    47342 
    47343         Test: All existing tests.
    47344 
    47345         * dom/ScriptElement.cpp: Rewritten to match HTML5 spec.
    47346         (WebCore::ScriptElement::ScriptElement):
    47347         (WebCore::ScriptElement::insertedIntoDocument): Logic moved to prepareScript.
    47348         (WebCore::ScriptElement::childrenChanged): Logic moved to prepareScript.
    47349         (WebCore::ScriptElement::handleSourceAttribute): Logic moved to prepareScript.
    47350         (WebCore::isLegacySupportedJavaScriptLanguage): Added to support old script types in layout tests.
    47351         (WebCore::ScriptElement::isScriptTypeSupported): Derived from old shouldExecuteAsJavaScript().
    47352         (WebCore::ScriptElement::prepareScript): START HERE. Main change. Should read exactly like HTML5's "prepare a script." Legacy type support needed for layout tests using XML parser.
    47353         (WebCore::ScriptElement::requestScript): Most logic moved to prepareScript. Check security settings here.
    47354         (WebCore::ScriptElement::executeScript): Combined evaluateScript() and executeScript() from old code. Logic moved to prepareScript.
    47355         (WebCore::ScriptElement::stopLoadRequest): Ignore parser executed scripts.
    47356         (WebCore::ScriptElement::execute): Renamed executeScript.
    47357         (WebCore::ScriptElement::notifyFinished): We should only listen for non-parser executed scripts.
    47358         (WebCore::ScriptElement::ignoresLoadRequest): New variable names.
    47359         (WebCore::ScriptElement::childrenAreCommentsOrEmptyText): Added for HTML5 compliance.
    47360         (WebCore::ScriptElement::scriptCharset): Use HTML5 variables.
    47361         * dom/ScriptElement.h:
    47362         (WebCore::ScriptElement::willBeParserExecuted): Added.
    47363         (WebCore::ScriptElement::readyToBeParserExecuted): Added.
    47364         (WebCore::ScriptElement::willExecuteWhenDocumentFinishedParsing): Added.
    47365         (WebCore::ScriptElement::cachedScript): prepareScript() is the only place that should load scripts. This accessor lets the parsers listen for when loads finish.
    47366         (WebCore::ScriptElement::isParserInserted): Added.
    47367         * dom/XMLDocumentParserLibxml2.cpp:
    47368         (WebCore::XMLDocumentParser::endElementNs): Should behave the same. Offloads much of its work to prepareScript().
    47369         * dom/XMLDocumentParserQt.cpp:
    47370         (WebCore::XMLDocumentParser::parseEndElement): Identical to libxml2 changes.
    47371         * html/HTMLScriptElement.cpp:
    47372         (WebCore::HTMLScriptElement::insertedIntoDocument): No longer needs url.
    47373         (WebCore::HTMLScriptElement::hasSourceAttribute): Added.
    47374         * html/HTMLScriptElement.h:
    47375         * html/parser/HTMLScriptRunner.cpp:
    47376         (WebCore::HTMLScriptRunner::requestPendingScript): Requesting scripts offloaded to ScriptElement.
    47377         (WebCore::HTMLScriptRunner::runScript): Should behave the same. Offloads much of its work to prepareScript().
    47378         * svg/SVGScriptElement.cpp:
    47379         (WebCore::SVGScriptElement::svgAttributeChanged): New ScriptElement function names.
    47380         (WebCore::SVGScriptElement::insertedIntoDocument): No longer needs url.
    47381         (WebCore::SVGScriptElement::finishParsingChildren): ScriptElement::finishParsingChildren is gone.
    47382         (WebCore::SVGScriptElement::hasSourceAttribute): Added.
    47383         (WebCore::SVGScriptElement::dispatchLoadEvent): New ScriptElement function names.
    47384         * svg/SVGScriptElement.h:
    47385 
    47386 2011-02-19  Marc-Antoine Ruel  <maruel@chromium.org>
    47387 
    47388         Reviewed by James Robinson.
    47389 
    47390         Split webcore_rendering off webcore_remaining to reduce its size for WPO builds
    47391         https://bugs.webkit.org/show_bug.cgi?id=54789
    47392 
    47393         * WebCore.gyp/WebCore.gyp:
    47394 
    47395 2011-02-19  Bill Budge  <bbudge@chromium.org>
    47396 
    47397         Reviewed by David Levin.
    47398 
    47399         ThreadableLoaderClient needs willSendRequest method
    47400         https://bugs.webkit.org/show_bug.cgi?id=54688
    47401 
    47402         No new tests. Exposes no new functionality
    47403 
    47404         * WebCore.gypi:
    47405         * loader/DocumentThreadableLoader.cpp:
    47406         (WebCore::DocumentThreadableLoader::willSendRequest):
    47407         (WebCore::DocumentThreadableLoader::didReceiveData):
    47408         (WebCore::DocumentThreadableLoader::didReceiveCachedMetadata):
    47409         * loader/DocumentThreadableLoaderClient.h: Added.
    47410         (WebCore::DocumentThreadableLoaderClient::isDocumentThreadableLoaderClient):
    47411         (WebCore::DocumentThreadableLoaderClient::willSendRequest):
    47412         * loader/ThreadableLoaderClient.h:
    47413         (WebCore::ThreadableLoaderClient::isDocumentThreadableLoaderClient):
    47414 
    47415 2011-02-19  Charlie Reis  <creis@chromium.org>
    47416 
    47417         Reviewed by Mihai Parparita.
    47418 
    47419         Ensure loading has stopped in HistoryController::goToItem
    47420         https://bugs.webkit.org/show_bug.cgi?id=54517
    47421 
    47422         Avoid stopping all loaders in goToItem for same document navigations
    47423         or pseudo-back-forward URLs.  Make HistoryController::goToItem private
    47424         to force callers to go through Page::goToItem.  Also add a callback to
    47425         FrameLoaderClient to let clients decide whether to stop loading first.
    47426 
    47427         Test: http/tests/navigation/forward-to-fragment-fires-onload.html
    47428 
    47429         * loader/EmptyClients.h:
    47430         * loader/FrameLoader.h:
    47431         * loader/FrameLoaderClient.h:
    47432         * loader/HistoryController.cpp:
    47433         * loader/HistoryController.h:
    47434         * page/Page.cpp:
    47435 
    47436 2011-02-19  Adam Barth  <abarth@webkit.org>
    47437 
    47438         Reviewed by Daniel Bates.
    47439 
    47440         Fix xssAuditor/iframe-injection.html
    47441         https://bugs.webkit.org/show_bug.cgi?id=54591
    47442 
    47443         We should block the iframe src attribute.  Although this technically
    47444         can't be used to run script, it's a pretty easy vector for stealing
    47445         passwords.
    47446 
    47447         * html/parser/XSSFilter.cpp:
    47448         (WebCore::XSSFilter::filterTokenInitial):
    47449         (WebCore::XSSFilter::filterIframeToken):
    47450         * html/parser/XSSFilter.h:
    47451 
    47452 2011-02-18  Tony Gentilcore  <tonyg@chromium.org>
    47453 
    47454         Reviewed by Eric Seidel.
    47455 
    47456         Let the parser yield for layout before running scripts
    47457         https://bugs.webkit.org/show_bug.cgi?id=54355
    47458 
    47459         Prior to this patch, the parser would yield to perform a layout/paint before running a
    47460         script only if the script or a stylesheet blocking the script is not loaded yet. Since we
    47461         don't preload scan into the body while parsing the head, typically we'll block on a script
    47462         early in the body that causes us to yield to do the first paint within a reasonable time.
    47463 
    47464         However, I'm planning to change the PreloadScanner to scan into the body from the head.
    47465         That significantly improves overall load time, but would hurt first paint time because
    47466         fewer scripts would be blocked during parsing and thus wouldn't yield.
    47467 
    47468         This change causes us to yield before running scripts if we haven't painted yet (regardless
    47469         of whether or not the script is loaded). In addition to allowing the above mentioned
    47470         PreloadScanner change to be implemented without regressing first paint time, this also
    47471         improves first paint time by itself.
    47472 
    47473         I tested Alexa's top 45 websites using Web Page Replay to control the content and simulate
    47474         bandwidth. This patch improved average first paint time by 1% over an unlimited connection,
    47475         6% over a 1Mbps connection and 11% over a 5Mbps connection. There was no statistically
    47476         signifcant change in page load time.
    47477 
    47478         Within the pages tested, 33 had no statistically significant change in time to first paint,
    47479         12 improved, and none regressed. Of the improved, some of the standouts from the 1Mbps set
    47480         are: 20% on youtube, 37% on wiki, 27% on ebay, 13% on cnn, 16% on espn, 74% on sohu.
    47481 
    47482         * html/parser/HTMLDocumentParser.cpp:
    47483         (WebCore::HTMLDocumentParser::canTakeNextToken): This is the new yield point.
    47484         (WebCore::HTMLDocumentParser::pumpTokenizer): Remove ASSERT that we are not paused. isPaused
    47485         means that we are waiting for a script. Bug 54574 changed pumpTokenizer() so that it does
    47486         the right thing whether we are just before a token or waiting for a script. Now that we may
    47487         yield before a token or before a script, this may be called while paused.
    47488         * html/parser/HTMLParserScheduler.cpp:
    47489         (WebCore::isLayoutTimerActive): Added a FIXME because r52919 changed minimumLayoutDelay()
    47490         to return m_extraLayoutDelay instead of 0 as a minimum. So checking !minimumLayoutDelay()
    47491         no longer works. The fix is to change it to check minimumLayoutDelay() ==
    47492         m_extraLayoutDelay. But this is all the more reason to move this method onto Document. I'll
    47493         do this in a follow up.
    47494         (WebCore::HTMLParserScheduler::checkForYieldBeforeScript): Added.
    47495         * page/FrameView.h:
    47496         (WebCore::FrameView::hasEverPainted): Added.
    47497 
    47498 2011-02-18  Dawit Alemayehu  <adawit@kde.org>
    47499 
    47500         Reviewed by Andreas Kling.
    47501 
    47502         [Qt]  Button Element is rendered w/ text off-center.
    47503         https://bugs.webkit.org/show_bug.cgi?id=53373
    47504 
    47505         Test: LayoutTests/fast/forms/button-white-space.html
    47506 
    47507         * platform/qt/RenderThemeQt.cpp:
    47508         (WebCore::RenderThemeQt::adjustButtonStyle):
    47509 
    47510 2011-02-18  Jonathan Backer  <backer@chromium.org>
    47511 
    47512         Reviewed by Eric Seidel.
    47513 
    47514         [chromium] Fix leak of texture IDs in compositor.
    47515         https://bugs.webkit.org/show_bug.cgi?id=54750
    47516 
    47517         No new tests. It is extremely unlikely that this leak would have
    47518         any user visible impact because only a few bytes of space are wasted
    47519         (we're leaking texture IDs, not actual textures) and the space of
    47520         texture IDs is large (32 bits).
    47521 
    47522        * platform/graphics/chromium/TextureManager.cpp:
    47523         (WebCore::TextureManager::requestTexture):
    47524 
    47525 2011-02-18  Yi Shen  <yi.4.shen@nokia.com>
    47526 
    47527         Reviewed by Tor Arne Vestbø.
    47528 
    47529         Always display the media controls when requiresFullscreenForVideoPlayback() is true
    47530         https://bugs.webkit.org/show_bug.cgi?id=54308
    47531 
    47532         For video element, it should have controls when
    47533         Chrome::requiresFullscreenForVideoPlayback() is true.
    47534 
    47535         * html/HTMLMediaElement.cpp:
    47536         (WebCore::HTMLMediaElement::controls):
    47537 
    47538 2011-02-18  Adrienne Walker  <enne@google.com>
    47539 
    47540         Reviewed by Kenneth Russell.
    47541 
    47542         [chromium] Use nearest-neighbor filtering for root layer.
    47543         https://bugs.webkit.org/show_bug.cgi?id=54409
    47544         https://bugs.webkit.org/show_bug.cgi?id=54509
    47545 
    47546         This setting creates more consistent images for LayoutTests and
    47547         prevents small floating point errors in texture coordinates from
    47548         creating off-by-one pixel color differences.
    47549 
    47550         * platform/graphics/chromium/LayerTilerChromium.cpp:
    47551         (WebCore::LayerTilerChromium::update):
    47552 
    47553 2011-02-18  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
    47554 
    47555         Reviewed by Kent Tamura.
    47556 
    47557         [EFL] Fix coding style errors in RenderThemeEfl.h
    47558         https://bugs.webkit.org/show_bug.cgi?id=54693
    47559 
    47560         Fix style errors in RenderThemeEfl.h
    47561 
    47562         * platform/efl/RenderThemeEfl.h:
    47563 
    47564 2011-02-18  Ademar de Souza Reis Jr  <ademar.reis@openbossa.org>
    47565 
    47566         Reviewed by Andreas Kling.
    47567 
    47568         [Qt] The localized vendor name for Qt SIS packages should be "Nokia"
    47569         https://bugs.webkit.org/show_bug.cgi?id=54742
    47570 
    47571         This change was applied in the Qt repository (qt/src/3rdparty/webkit),
    47572         so we should do the same here in QtWebKit.
    47573 
    47574         Patch by Eckhart Koppen <eckhart.koppen@nokia.com>
    47575         a8a84f1667966acfa093c4be0b7d4b0900ddd3d9:
    47576 
    47577         The previously used name "Nokia, Qt" was not usable for Nokia
    47578         Content Signing, which only allows "Nokia" as the visible vendor
    47579         name. The unique vendor ID remains as "Nokia, Qt"
    47580 
    47581         * WebCore.pro:
    47582 
    47583 2011-02-18  Alexis Menard  <alexis.menard@openbossa.org>
    47584 
    47585         Reviewed by Andreas Kling.
    47586 
    47587         [Qt] REGRESSION(r67516) : on www.gmail.com a strange rendering issue appears on the
    47588         menu bar due to flash.
    47589         https://bugs.webkit.org/show_bug.cgi?id=54741
    47590 
    47591         Only show plugins with a valid size. We then don't involve X11 if there is
    47592         nothing to see anyway.
    47593 
    47594         * plugins/qt/PluginViewQt.cpp:
    47595         (WebCore::PluginView::updatePluginWidget):
    47596         (WebCore::PluginView::platformStart):
    47597 
    47598 2011-02-18  Ryuan Choi  <ryuan.choi@samsung.com>
    47599 
    47600         Reviewed by Kent Tamura.
    47601 
    47602         [EFL] Remove GDK dependency.
    47603         https://bugs.webkit.org/show_bug.cgi?id=53978
    47604 
    47605         Remove GLIB_SUPPORT macro in GDK related code.
    47606         Regardless of GLIB_SUPPORT, getDefaultFontOptions() will works same way.
    47607 
    47608         * CMakeListsEfl.txt:
    47609         * platform/graphics/freetype/FontPlatformDataFreeType.cpp:
    47610         (WebCore::getDefaultFontOptions):
    47611 
    47612 2011-02-18  Noel Gordon  <noel.gordon@gmail.com>
    47613 
    47614         Reviewed by James Robinson.
    47615 
    47616         [Chromium] Add elliptical gradient support to GradientSkia
    47617         https://bugs.webkit.org/show_bug.cgi?id=51841
    47618 
    47619         Covered by existing tests, these need new rebaselines once this patch
    47620         lands for chrome linux, win32
    47621 
    47622         fast/gradients/css3-color-stop-units.html
    47623         fast/gradients/css3-color-stops.html
    47624         fast/gradients/css3-linear-angle-gradients.html
    47625         fast/gradients/css3-radial-gradients.html
    47626         fast/gradients/css3-radial-gradients2.html
    47627         fast/gradients/css3-radial-gradients3.html
    47628         fast/gradients/css3-repeating-radial-gradients.html
    47629 
    47630         * platform/graphics/skia/GradientSkia.cpp:
    47631         (WebCore::Gradient::platformGradient):
    47632 
    47633 2011-02-18  James Robinson  <jamesr@chromium.org>
    47634 
    47635         Fix typo in boundary test in ASSERT() - test is for an inclusive range, not exclusive.
    47636 
    47637         * platform/graphics/chromium/ContentLayerChromium.cpp:
    47638         (WebCore::ContentLayerChromium::updateTextureIfNeeded):
    47639 
    47640 2011-02-18  Viatcheslav Ostapenko  <ostapenko.viatcheslav@nokia.com>
    47641 
    47642         Reviewed by Kenneth Rohde Christiansen.
    47643 
    47644         Tiled backing store area is too big.
    47645         Error in area calculcation causes size of backing store
    47646         up to 6 times bigger than viewport with default multipliers.
    47647         https://bugs.webkit.org/show_bug.cgi?id=54587
    47648 
    47649         * platform/graphics/TiledBackingStore.cpp:
    47650         (WebCore::TiledBackingStore::createTiles):
    47651 
    47652 2011-02-18  Beth Dakin  <bdakin@apple.com>
    47653 
    47654         Reviewed by Sam Weinig.
    47655 
    47656         Fix for <rdar://problem/9018729> Horizontal scroller doesn't
    47657         appear when loading a page with a Horizontal scrollbar from
    47658         the back/forward cache.
    47659 
    47660         This patch adds a new  bool member variable to FrameView to
    47661         keep track of whether we are loading a page from the back/
    47662         forward cache. If we are, don't suppress scrollbars on
    47663         first layout.
    47664         * history/CachedFrame.cpp:
    47665         (WebCore::CachedFrameBase::restore):
    47666         * page/FrameView.cpp:
    47667         (WebCore::FrameView::FrameView):
    47668         (WebCore::FrameView::reset):
    47669         (WebCore::FrameView::layout):
    47670         * page/FrameView.h:
    47671         (WebCore::FrameView::setIsRestoringFromBackForward):
    47672         (WebCore::FrameView::isRestoringFromBackForward):
    47673 
    47674 2011-02-18  Patrick Gansterer  <paroga@webkit.org>
    47675 
    47676         Unreviewed WinCE build fix for r78846.
    47677 
    47678         * platform/graphics/wince/FontWinCE.cpp:
    47679         (WebCore::TextRunComponent::TextRunComponent):
    47680         * platform/graphics/wince/GraphicsContextWinCE.cpp:
    47681         (WebCore::GraphicsContext::drawLineForText):
    47682         (WebCore::GraphicsContext::drawLineForTextChecking):
    47683         (WebCore::GraphicsContext::drawText):
    47684         * platform/wince/FileChooserWinCE.cpp:
    47685         (WebCore::FileChooser::basenameForWidth):
    47686 
    47687 2011-02-18  Emil A Eklund  <eae@chromium.org>
    47688 
    47689         Reviewed by Darin Adler.
    47690 
    47691         Crash in EventHandler::sendContextMenuEventForKey
    47692         https://bugs.webkit.org/show_bug.cgi?id=54495
    47693 
    47694         Test: fast/events/menu-keydown-on-hidden-element.html
    47695 
    47696         * page/EventHandler.cpp:
    47697         (WebCore::EventHandler::sendContextMenuEventForKey): Add null check.
    47698 
    47699 2011-02-15  Adrienne Walker  <enne@google.com>
    47700 
    47701         Reviewed by James Robinson.
    47702 
    47703         [chromium] Clean up shader code from LayerChromium classes
    47704         https://bugs.webkit.org/show_bug.cgi?id=54484
    47705 
    47706         This is a refactoring and there should be no change in functionality.
    47707         All shader code is pulled out into classes in ShaderChromium.
    47708         The SharedValues classes are now turned into ProgramBinding, one per
    47709         shader program.  These contain shader classes that know about what
    47710         variables they can bind.
    47711 
    47712         * WebCore.gypi:
    47713         * platform/graphics/chromium/CanvasLayerChromium.cpp:
    47714         (WebCore::CanvasLayerChromium::draw):
    47715         * platform/graphics/chromium/CanvasLayerChromium.h:
    47716         * platform/graphics/chromium/ContentLayerChromium.cpp:
    47717         (WebCore::ContentLayerChromium::draw):
    47718         * platform/graphics/chromium/ContentLayerChromium.h:
    47719         * platform/graphics/chromium/GeometryBinding.cpp: Added.
    47720         (WebCore::GeometryBinding::GeometryBinding):
    47721         (WebCore::GeometryBinding::~GeometryBinding):
    47722         (WebCore::GeometryBinding::prepareForDraw):
    47723         * platform/graphics/chromium/GeometryBinding.h: Copied from Source/WebCore/platform/graphics/chromium/PluginLayerChromium.h.
    47724         (WebCore::GeometryBinding::initialized):
    47725         (WebCore::GeometryBinding::context):
    47726         (WebCore::GeometryBinding::quadVerticesVbo):
    47727         (WebCore::GeometryBinding::quadElementsVbo):
    47728         (WebCore::GeometryBinding::positionAttribLocation):
    47729         (WebCore::GeometryBinding::texCoordAttribLocation):
    47730         * platform/graphics/chromium/LayerChromium.cpp:
    47731         (WebCore::LayerChromium::drawDebugBorder):
    47732         * platform/graphics/chromium/LayerChromium.h:
    47733         * platform/graphics/chromium/LayerRendererChromium.cpp:
    47734         (WebCore::LayerRendererChromium::drawLayers):
    47735         (WebCore::LayerRendererChromium::initializeSharedObjects):
    47736         (WebCore::LayerRendererChromium::cleanupSharedObjects):
    47737         * platform/graphics/chromium/LayerRendererChromium.h:
    47738         (WebCore::LayerRendererChromium::sharedGeometry):
    47739         (WebCore::LayerRendererChromium::borderProgram):
    47740         (WebCore::LayerRendererChromium::contentLayerProgram):
    47741         (WebCore::LayerRendererChromium::canvasLayerProgram):
    47742         (WebCore::LayerRendererChromium::videoLayerRGBAProgram):
    47743         (WebCore::LayerRendererChromium::videoLayerYUVProgram):
    47744         (WebCore::LayerRendererChromium::pluginLayerProgram):
    47745         (WebCore::LayerRendererChromium::renderSurfaceProgram):
    47746         (WebCore::LayerRendererChromium::renderSurfaceMaskProgram):
    47747         (WebCore::LayerRendererChromium::tilerProgram):
    47748         * platform/graphics/chromium/LayerTilerChromium.cpp:
    47749         (WebCore::LayerTilerChromium::draw):
    47750         (WebCore::LayerTilerChromium::drawTexturedQuad):
    47751         * platform/graphics/chromium/LayerTilerChromium.h:
    47752         * platform/graphics/chromium/PluginLayerChromium.cpp:
    47753         (WebCore::PluginLayerChromium::draw):
    47754         * platform/graphics/chromium/PluginLayerChromium.h:
    47755         * platform/graphics/chromium/ProgramBinding.cpp: Added.
    47756         (WebCore::ProgramBindingBase::ProgramBindingBase):
    47757         (WebCore::ProgramBindingBase::~ProgramBindingBase):
    47758         (WebCore::ProgramBindingBase::init):
    47759         (WebCore::ProgramBindingBase::loadShader):
    47760         (WebCore::ProgramBindingBase::createShaderProgram):
    47761         * platform/graphics/chromium/ProgramBinding.h: Added.
    47762         (WebCore::ProgramBindingBase::program):
    47763         (WebCore::ProgramBindingBase::initialized):
    47764         (WebCore::ProgramBinding::ProgramBinding):
    47765         (WebCore::ProgramBinding::vertexShader):
    47766         (WebCore::ProgramBinding::fragmentShader):
    47767         * platform/graphics/chromium/RenderSurfaceChromium.cpp:
    47768         (WebCore::RenderSurfaceChromium::drawSurface):
    47769         * platform/graphics/chromium/RenderSurfaceChromium.h:
    47770         * platform/graphics/chromium/ShaderChromium.cpp: Added.
    47771         (WebCore::VertexShaderPosTex::VertexShaderPosTex):
    47772         (WebCore::VertexShaderPosTex::init):
    47773         (WebCore::VertexShaderPosTex::getShaderString):
    47774         (WebCore::VertexShaderPosTexYUVStretch::VertexShaderPosTexYUVStretch):
    47775         (WebCore::VertexShaderPosTexYUVStretch::init):
    47776         (WebCore::VertexShaderPosTexYUVStretch::getShaderString):
    47777         (WebCore::VertexShaderPos::VertexShaderPos):
    47778         (WebCore::VertexShaderPos::init):
    47779         (WebCore::VertexShaderPos::getShaderString):
    47780         (WebCore::VertexShaderPosTexTransform::VertexShaderPosTexTransform):
    47781         (WebCore::VertexShaderPosTexTransform::init):
    47782         (WebCore::VertexShaderPosTexTransform::getShaderString):
    47783         (WebCore::FragmentTexAlphaBinding::FragmentTexAlphaBinding):
    47784         (WebCore::FragmentTexAlphaBinding::init):
    47785         (WebCore::FragmentShaderRGBATexFlipAlpha::getShaderString):
    47786         (WebCore::FragmentShaderRGBATexAlpha::getShaderString):
    47787         (WebCore::FragmentShaderBGRATexAlpha::getShaderString):
    47788         (WebCore::FragmentShaderRGBATexAlphaMask::FragmentShaderRGBATexAlphaMask):
    47789         (WebCore::FragmentShaderRGBATexAlphaMask::init):
    47790         (WebCore::FragmentShaderRGBATexAlphaMask::getShaderString):
    47791         (WebCore::FragmentShaderYUVVideo::FragmentShaderYUVVideo):
    47792         (WebCore::FragmentShaderYUVVideo::init):
    47793         (WebCore::FragmentShaderYUVVideo::getShaderString):
    47794         (WebCore::FragmentShaderColor::FragmentShaderColor):
    47795         (WebCore::FragmentShaderColor::init):
    47796         (WebCore::FragmentShaderColor::getShaderString):
    47797         * platform/graphics/chromium/ShaderChromium.h: Added.
    47798         (WebCore::VertexShaderPosTex::matrixLocation):
    47799         (WebCore::VertexShaderPosTexYUVStretch::matrixLocation):
    47800         (WebCore::VertexShaderPosTexYUVStretch::yWidthScaleFactorLocation):
    47801         (WebCore::VertexShaderPosTexYUVStretch::uvWidthScaleFactorLocation):
    47802         (WebCore::VertexShaderPos::matrixLocation):
    47803         (WebCore::VertexShaderPosTexTransform::matrixLocation):
    47804         (WebCore::VertexShaderPosTexTransform::texTransformLocation):
    47805         (WebCore::FragmentTexAlphaBinding::alphaLocation):
    47806         (WebCore::FragmentTexAlphaBinding::samplerLocation):
    47807         (WebCore::FragmentShaderRGBATexAlphaMask::alphaLocation):
    47808         (WebCore::FragmentShaderRGBATexAlphaMask::samplerLocation):
    47809         (WebCore::FragmentShaderRGBATexAlphaMask::maskSamplerLocation):
    47810         (WebCore::FragmentShaderYUVVideo::yTextureLocation):
    47811         (WebCore::FragmentShaderYUVVideo::uTextureLocation):
    47812         (WebCore::FragmentShaderYUVVideo::vTextureLocation):
    47813         (WebCore::FragmentShaderYUVVideo::alphaLocation):
    47814         (WebCore::FragmentShaderYUVVideo::ccMatrixLocation):
    47815         (WebCore::FragmentShaderYUVVideo::signAdjLocation):
    47816         (WebCore::FragmentShaderColor::colorLocation):
    47817         * platform/graphics/chromium/VideoLayerChromium.cpp:
    47818         (WebCore::VideoLayerChromium::draw):
    47819         (WebCore::VideoLayerChromium::drawYUV):
    47820         (WebCore::VideoLayerChromium::drawRGBA):
    47821         * platform/graphics/chromium/VideoLayerChromium.h:
    47822 
    47823 2011-02-18  James Robinson  <jamesr@chromium.org>
    47824 
    47825         Reviewed by Kenneth Russell.
    47826 
    47827         [chromium] Update texture for ContentLayerChromiums in draw() call instead of updateContents..() call
    47828         https://bugs.webkit.org/show_bug.cgi?id=54315
    47829 
    47830         This defers all operations on the compositor's GL context until the
    47831         draw() call which is a prerequisite for moving the draw() off-thread.
    47832         Also cleans up the update cycle a bit - there were some unused local
    47833         variables and whatnot.
    47834 
    47835         One consequence of this change is that the upload buffer is retained
    47836         across updates now instead of allocated by each paint.  This is
    47837         necessary so that the full layer contents can be uploaded if the
    47838         texture manager evicts the layer's backing texture.  This costs more
    47839         persistent memory but avoids lots of allocator churn on updates.
    47840         Another nonobvious detail is that I have to update the texture for
    47841         ContentLayerChromiums in bindContentsTexture() because mask layers
    47842         never draw(), they are instead bound to the secondary texture unit.
    47843 
    47844         * platform/graphics/chromium/ContentLayerChromium.cpp:
    47845         (WebCore::ContentLayerChromium::requiresClippedUpdateRect):
    47846         (WebCore::ContentLayerChromium::updateContentsIfDirty):
    47847         (WebCore::ContentLayerChromium::resizeUploadBufferForImage):
    47848         (WebCore::ContentLayerChromium::resizeUploadBuffer):
    47849         (WebCore::SkBitmapConditionalAutoLockerPixels::SkBitmapConditionalAutoLockerPixels):
    47850         (WebCore::SkBitmapConditionalAutoLockerPixels::~SkBitmapConditionalAutoLockerPixels):
    47851         (WebCore::SkBitmapConditionalAutoLockerPixels::lockPixels):
    47852         (WebCore::ContentLayerChromium::updateTextureIfNeeded):
    47853         (WebCore::ContentLayerChromium::draw):
    47854         (WebCore::ContentLayerChromium::unreserveContentsTexture):
    47855         (WebCore::ContentLayerChromium::bindContentsTexture):
    47856         * platform/graphics/chromium/ContentLayerChromium.h:
    47857         * platform/graphics/chromium/ImageLayerChromium.cpp:
    47858         (WebCore::ImageLayerChromium::updateContentsIfDirty):
    47859         * platform/graphics/chromium/LayerChromium.cpp:
    47860         (WebCore::LayerChromium::setBounds):
    47861         * platform/graphics/chromium/LayerChromium.h:
    47862 
    47863 2011-02-18  Kenneth Russell  <kbr@google.com>
    47864 
    47865         Unreviewed, Chromium build fix on certain Linux platforms.
    47866 
    47867         * platform/graphics/gpu/LoopBlinnSolidFillShader.cpp:
    47868 
    47869 2011-02-18  Mahesh Kulkarni  <mahesh.kulkarni@nokia.com>
    47870 
    47871         Reviewed by Kenneth Rohde Christiansen.
    47872 
    47873         [Qt] Implement client based geolocation for qtport
    47874         https://bugs.webkit.org/show_bug.cgi?id=42629
    47875 
    47876         Implements client based geolocation for qtwebkit. Removed old code related to non-client based geolocation
    47877 
    47878         No tests as yet. This will be raised as different bug as new mock client implementation need to be done.
    47879 
    47880         * WebCore.pro:
    47881         * features.pri:
    47882         * platform/qt/GeolocationServiceQt.cpp: Removed.
    47883         * platform/qt/GeolocationServiceQt.h: Removed.
    47884 
    47885 2011-02-18  Yael Aharon  <yael.aharon@nokia.com>
    47886 
    47887         Reviewed by Dave Hyatt.
    47888 
    47889         Add support for dir=auto
    47890         https://bugs.webkit.org/show_bug.cgi?id=50916
    47891 
    47892         When an element has dir attribute with value "auto", call defaultWritingMode
    47893         to find its directionality.
    47894         Added a flag SelfOrAncestorHasDirAutoFlag, and added hooks in the DOM to set
    47895         and check this flag. This flag is set on every node between an element with
    47896         dir=auto attribute and its first text node. Changes in the DOM between those
    47897         elements will trigger re-evaluating the directionality, but changes not
    47898         between those element do not need to be concerned.
    47899         The DOM hooks were added to childrenChanged, and to parseMappedAttribute.
    47900         The directionality is evaluated when children are added, and cleared when they are
    47901         removed. Directionality flag is also cleared on a child that is no longer determining
    47902         the directionality due to a sibling being added before that child.
    47903 
    47904         Added 2 static CSSMutableStyleDeclarations to be used for elements with dir=auto.
    47905         We cannot used the mapped declaration, because it can take only one value.
    47906 
    47907         Tests: fast/dom/HTMLElement/attr-dir-auto-change-before-text-node.html
    47908                fast/dom/HTMLElement/attr-dir-auto-change-child-node.html
    47909                fast/dom/HTMLElement/attr-dir-auto-change-text.html
    47910                fast/dom/HTMLElement/attr-dir-auto-children.html
    47911                fast/dom/HTMLElement/attr-dir-auto-remove-add-children.html
    47912                fast/dom/HTMLElement/attr-dir-auto.html
    47913                fast/dom/HTMLElement/attr-dir-value-change.html
    47914 
    47915         * css/CSSStyleSelector.cpp:
    47916         (WebCore::leftToRightDeclaration):
    47917         (WebCore::rightToLeftDeclaration):
    47918         (WebCore::CSSStyleSelector::canShareStyleWithElement):
    47919         (WebCore::CSSStyleSelector::styleForElement):
    47920         * dom/Node.h:
    47921         (WebCore::Node::selfOrAncestorHasDirAutoAttribute):
    47922         (WebCore::Node::setSelfOrAncestorHasDirAutoAttribute):
    47923         * html/HTMLElement.cpp:
    47924         (WebCore::HTMLElement::mapToEntry):
    47925         (WebCore::HTMLElement::parseMappedAttribute):
    47926         (WebCore::setHasDirAutoFlagRecursively):
    47927         (WebCore::HTMLElement::childrenChanged):
    47928         (WebCore::HTMLElement::directionalityIfhasDirAutoAttribute):
    47929         (WebCore::HTMLElement::directionality):
    47930         (WebCore::HTMLElement::dirAttributeChanged):
    47931         (WebCore::HTMLElement::adjustDirectionalityIfNeededAfterChildAttributeChanged):
    47932         (WebCore::HTMLElement::calculateAndAdjustDirectionality):
    47933         (WebCore::HTMLElement::adjustDirectionalityIfNeededAfterChildrenChanged):
    47934         * html/HTMLElement.h:
    47935 
    47936 2011-02-18  Yael Aharon  <yael.aharon@nokia.com>
    47937 
    47938         Reviewed by Antonio Gomes.
    47939 
    47940         Navigating downwards / upwards does not focus on the links spread across more than one line.
    47941         https://bugs.webkit.org/show_bug.cgi?id=54639
    47942 
    47943         When 2 anchor elements span more than one line each, and one ends on the same line that the
    47944         second starts on, the rects reported by their renderers are overlapping. When handling
    47945         2 overlapping nodes, check for this case, and don't assume that one of the nodes is on a higher layer.   
    47946 
    47947         Test: fast/spatial-navigation/snav-two-elements-one-line.html
    47948 
    47949         * page/FocusController.cpp:
    47950         (WebCore::updateFocusCandidateIfNeeded):
    47951         (WebCore::FocusController::findFocusCandidateInContainer):
    47952         * page/SpatialNavigation.cpp:
    47953         (WebCore::areElementsOnSameLine):
    47954         (WebCore::distanceDataForNode):
    47955         * page/SpatialNavigation.h:
    47956 
    47957 2011-02-18  Ben Vanik  <benvanik@google.com>
    47958 
    47959         Reviewed by Kenneth Russell.
    47960 
    47961         Bug 53940: Implement the OES_vertex_array_object WebGL extension
    47962         https://bugs.webkit.org/show_bug.cgi?id=53940
    47963 
    47964         Initial implementation of the OES_vertex_array_object extension adding the OESVertexArrayObject
    47965         extension container and WebGLVertexArrayObjectOES VAO object. The extension is plumbed through
    47966         the Extensions3D interface and implemented in the Extensions3DOpenGL (WebKit/OSX) version when
    47967         it is available.
    47968         Two big changes touching code outside of the extension files:
    47969         * Moved the typedefs at the top of GraphicsContext3D.h to GraphicsTypes3D.h (modeled after
    47970           GraphicsTypes.h). They are not namespaced as they weren't before.
    47971         * To make the code cleaner/clearer all vertex attribute state has been moved to the
    47972           WebGLVertexArrayObjectOES type (struct VertexAttribState) except for values which are still
    47973           on the WebGLRenderingContext. A default VAO is now used to store the existing attribute
    47974           states for when no other VAO is used. Code in WebGLRenderingContext dealing with buffers and
    47975           vertex attributes now defers to or stores values in the bound array object.
    47976 
    47977         Tested against the WebGL conformance suite and the new
    47978         oes-vertex-array-object test:
    47979         https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/conformance/oes-vertex-array-object.html
    47980 
    47981         * CMakeLists.txt:
    47982         * CodeGenerators.pri:
    47983         * DerivedSources.make:
    47984         * GNUmakefile.am:
    47985         * WebCore.gyp: Modified property svn:ignore.
    47986         * WebCore.gypi:
    47987         * WebCore.pro:
    47988         * WebCore.xcodeproj/project.pbxproj:
    47989         * bindings/js/JSWebGLRenderingContextCustom.cpp:
    47990         (WebCore::toJS):
    47991         * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
    47992         (WebCore::toV8Object):
    47993         * html/canvas/OESVertexArrayObject.cpp: Added.
    47994         (WebCore::OESVertexArrayObject::OESVertexArrayObject):
    47995         (WebCore::OESVertexArrayObject::~OESVertexArrayObject):
    47996         (WebCore::OESVertexArrayObject::getName):
    47997         (WebCore::OESVertexArrayObject::create):
    47998         (WebCore::OESVertexArrayObject::createVertexArrayOES):
    47999         (WebCore::OESVertexArrayObject::deleteVertexArrayOES):
    48000         (WebCore::OESVertexArrayObject::isVertexArrayOES):
    48001         (WebCore::OESVertexArrayObject::bindVertexArrayOES):
    48002         * html/canvas/OESVertexArrayObject.h: Added.
    48003         * html/canvas/OESVertexArrayObject.idl: Added.
    48004         * html/canvas/WebGLExtension.h:
    48005         * html/canvas/WebGLGetInfo.cpp:
    48006         (WebCore::WebGLGetInfo::WebGLGetInfo):
    48007         (WebCore::WebGLGetInfo::getWebGLVertexArrayObjectOES):
    48008         * html/canvas/WebGLGetInfo.h:
    48009         * html/canvas/WebGLRenderingContext.cpp:
    48010         (WebCore::WebGLRenderingContext::initializeNewContext):
    48011         (WebCore::WebGLRenderingContext::bindBuffer):
    48012         (WebCore::WebGLRenderingContext::deleteBuffer):
    48013         (WebCore::WebGLRenderingContext::disableVertexAttribArray):
    48014         (WebCore::WebGLRenderingContext::validateElementArraySize):
    48015         (WebCore::WebGLRenderingContext::validateIndexArrayConservative):
    48016         (WebCore::WebGLRenderingContext::validateIndexArrayPrecise):
    48017         (WebCore::WebGLRenderingContext::validateRenderingState):
    48018         (WebCore::WebGLRenderingContext::drawElements):
    48019         (WebCore::WebGLRenderingContext::enableVertexAttribArray):
    48020         (WebCore::WebGLRenderingContext::getExtension):
    48021         (WebCore::WebGLRenderingContext::getParameter):
    48022         (WebCore::WebGLRenderingContext::getSupportedExtensions):
    48023         (WebCore::WebGLRenderingContext::getVertexAttrib):
    48024         (WebCore::WebGLRenderingContext::vertexAttribPointer):
    48025         (WebCore::WebGLRenderingContext::validateBufferDataParameters):
    48026         (WebCore::WebGLRenderingContext::vertexAttribfImpl):
    48027         (WebCore::WebGLRenderingContext::vertexAttribfvImpl):
    48028         (WebCore::WebGLRenderingContext::initVertexAttrib0):
    48029         (WebCore::WebGLRenderingContext::simulateVertexAttrib0):
    48030         (WebCore::WebGLRenderingContext::restoreStatesAfterVertexAttrib0Simulation):
    48031         (WebCore::WebGLRenderingContext::getNumberOfExtensions):
    48032         (WebCore::WebGLRenderingContext::getExtensionNumber):
    48033         * html/canvas/WebGLRenderingContext.h:
    48034         (WebCore::WebGLRenderingContext::getMaxVertexAttribs):
    48035         (WebCore::WebGLRenderingContext::setBoundVertexArrayObject):
    48036         (WebCore::WebGLRenderingContext::VertexAttribValue::VertexAttribValue):
    48037         * html/canvas/WebGLVertexArrayObjectOES.cpp: Added.
    48038         (WebCore::WebGLVertexArrayObjectOES::create):
    48039         (WebCore::WebGLVertexArrayObjectOES::WebGLVertexArrayObjectOES):
    48040         (WebCore::WebGLVertexArrayObjectOES::deleteObjectImpl):
    48041         * html/canvas/WebGLVertexArrayObjectOES.h: Added.
    48042         (WebCore::WebGLVertexArrayObjectOES::~WebGLVertexArrayObjectOES):
    48043         (WebCore::WebGLVertexArrayObjectOES::VertexAttribState::VertexAttribState):
    48044         (WebCore::WebGLVertexArrayObjectOES::isDefaultObject):
    48045         (WebCore::WebGLVertexArrayObjectOES::hasEverBeenBound):
    48046         (WebCore::WebGLVertexArrayObjectOES::setHasEverBeenBound):
    48047         (WebCore::WebGLVertexArrayObjectOES::getElementArrayBuffer):
    48048         (WebCore::WebGLVertexArrayObjectOES::setElementArrayBuffer):
    48049         (WebCore::WebGLVertexArrayObjectOES::getVertexAttribState):
    48050         (WebCore::WebGLVertexArrayObjectOES::isVertexArray):
    48051         * html/canvas/WebGLVertexArrayObjectOES.idl: Added.
    48052         * platform/graphics/Extensions3D.h:
    48053         * platform/graphics/GraphicsContext3D.h:
    48054         * platform/graphics/GraphicsTypes3D.h: Added.
    48055         * platform/graphics/chromium/Extensions3DChromium.h:
    48056         * platform/graphics/opengl/Extensions3DOpenGL.cpp:
    48057         (WebCore::Extensions3DOpenGL::supports):
    48058         (WebCore::Extensions3DOpenGL::createVertexArrayOES):
    48059         (WebCore::Extensions3DOpenGL::deleteVertexArrayOES):
    48060         (WebCore::Extensions3DOpenGL::isVertexArrayOES):
    48061         (WebCore::Extensions3DOpenGL::bindVertexArrayOES):
    48062         * platform/graphics/opengl/Extensions3DOpenGL.h:
    48063         * platform/graphics/qt/Extensions3DQt.cpp:
    48064         (WebCore::Extensions3DQt::createVertexArrayOES):
    48065         (WebCore::Extensions3DQt::deleteVertexArrayOES):
    48066         (WebCore::Extensions3DQt::isVertexArrayOES):
    48067         (WebCore::Extensions3DQt::bindVertexArrayOES):
    48068         * platform/graphics/qt/Extensions3DQt.h:
    48069 
    48070 2011-02-17  Alexander Pavlov  <apavlov@chromium.org>
    48071 
    48072         Reviewed by Pavel Feldman.
    48073 
    48074         Web Inspector: reflect changes to styles when they happen outside inspector.
    48075         https://bugs.webkit.org/show_bug.cgi?id=44620
    48076 
    48077         Notify InspectorInstrumentation of inline style changes from CSSMutableStyleDeclaration
    48078         whenever the style change does not come from a direct "style" attribute modification.
    48079         The performance regression occurs only with the Web Inspector opened, when inline styles
    48080         are modified through setting style.cssText or style.<styleAttribute>: according to the Web Inspector protocol,
    48081         an attribute change requires that all attributes for the node in question be pushed into the frontend.
    48082 
    48083         Test: inspector/styles/styles-update-from-js.html
    48084 
    48085         * css/CSSMutableStyleDeclaration.cpp:
    48086         (WebCore::CSSMutableStyleDeclaration::setNeedsStyleRecalc):
    48087         * inspector/InspectorDOMAgent.cpp:
    48088         (WebCore::RevalidateStyleAttributeTask::reset):
    48089         (WebCore::RevalidateStyleAttributeTask::RevalidateStyleAttributeTask):
    48090         (WebCore::RevalidateStyleAttributeTask::scheduleFor):
    48091         (WebCore::RevalidateStyleAttributeTask::onTimer):
    48092         (WebCore::InspectorDOMAgent::reset):
    48093         (WebCore::InspectorDOMAgent::didInvalidateStyleAttr):
    48094         * inspector/InspectorDOMAgent.h:
    48095         * inspector/InspectorInstrumentation.cpp:
    48096         (WebCore::InspectorInstrumentation::didInvalidateStyleAttrImpl):
    48097         * inspector/InspectorInstrumentation.h:
    48098         (WebCore::InspectorInstrumentation::didInvalidateStyleAttr):
    48099         * inspector/InspectorStyleSheet.cpp:
    48100         (WebCore::InspectorStyleSheetForInlineStyle::didModifyElementAttribute):
    48101         (WebCore::InspectorStyleSheetForInlineStyle::ensureParsedDataReady):
    48102         (WebCore::InspectorStyleSheetForInlineStyle::elementStyleText):
    48103         * inspector/InspectorStyleSheet.h:
    48104         * inspector/front-end/ElementsPanel.js:
    48105         (WebInspector.ElementsPanel.prototype._attributesUpdated):
    48106         * inspector/front-end/StylesSidebarPane.js:
    48107         (WebInspector.StylesSidebarPane.prototype._rebuildSectionsForStyleRules):
    48108         (WebInspector.StylesSidebarPane.prototype.addBlankSection):
    48109         (WebInspector.StylePropertiesSection.prototype.onpopulate):
    48110         (WebInspector.StylePropertiesSection.prototype.addNewBlankProperty):
    48111         (WebInspector.ComputedStylePropertiesSection.prototype.onpopulate):
    48112         (WebInspector.BlankStylePropertiesSection):
    48113         (WebInspector.StylePropertyTreeElement):
    48114         (WebInspector.StylePropertyTreeElement.prototype):
    48115         (WebInspector.StylePropertyTreeElement.prototype.element.userInput.previousContent.context.moveDirection):
    48116 
    48117 2011-02-16  Tony Gentilcore  <tonyg@chromium.org>
    48118 
    48119         Reviewed by Eric Seidel.
    48120 
    48121         Refactor pumpTokenizer loop
    48122         https://bugs.webkit.org/show_bug.cgi?id=54574
    48123 
    48124         1. This makes pumpTokenizer() safe to call when waiting for a script or when about to get
    48125            the next token, although ASSERTs still enforce that we aren't waiting for a script. This
    48126            enables resumeParsingAfterYield() to call pumpTokenizer with no modifications even if we
    48127            yield before running a script rather than before taking a token (see bug 54355).
    48128         2. This also picks up the refCount >= 1 assert when stopped.
    48129 
    48130         Tested PerformanceTests/Parser to verify no regression. If anything it got faster.
    48131         Before:
    48132           avg 985.05
    48133           median 985.5
    48134           stdev 3.007906248539007
    48135           min 980
    48136           max 990
    48137         After:
    48138           avg 980.05
    48139           median 981
    48140           stdev 3.122098653149833
    48141           min 974
    48142           max 985
    48143 
    48144         No new tests because no new functionality.
    48145 
    48146         * html/parser/HTMLDocumentParser.cpp:
    48147         (WebCore::HTMLDocumentParser::canTakeNextToken): Added.
    48148         (WebCore::HTMLDocumentParser::pumpTokenizer):
    48149         * html/parser/HTMLDocumentParser.h:
    48150 
    48151 2011-02-18  Sheriff Bot  <webkit.review.bot@gmail.com>
    48152 
    48153         Unreviewed, rolling out r79003.
    48154         http://trac.webkit.org/changeset/79003
    48155         https://bugs.webkit.org/show_bug.cgi?id=54753
    48156 
    48157         It broke tests on GTK bots (Requested by Ossy on #webkit).
    48158 
    48159         * accessibility/AccessibilityRenderObject.cpp:
    48160         (WebCore::lastChildConsideringContinuation):
    48161         * dom/Node.cpp:
    48162         (WebCore::Node::removeEventListener):
    48163         * html/DateComponents.cpp:
    48164         (WebCore::DateComponents::parseTime):
    48165 
    48166 2011-02-18  Csaba Osztrogonác  <ossy@webkit.org>
    48167 
    48168         Rubber-stamped by Andreas Kling.
    48169 
    48170         Warning fix. Use ASSERT_UNUSED() instead of ASSERT().
    48171 
    48172         * accessibility/AccessibilityRenderObject.cpp:
    48173         (WebCore::lastChildConsideringContinuation):
    48174         * dom/Node.cpp:
    48175         (WebCore::Node::removeEventListener):
    48176         * html/DateComponents.cpp:
    48177         (WebCore::DateComponents::parseTime):
    48178 
    48179 2011-02-18  Andrey Adaikin  <aandrey@google.com>
    48180 
    48181         Reviewed by Pavel Feldman.
    48182 
    48183         Web Inspector: [Text editor] Optimize editing updates in main panel
    48184         https://bugs.webkit.org/show_bug.cgi?id=54661
    48185 
    48186         * inspector/front-end/TextViewer.js:
    48187         (WebInspector.TextViewer):
    48188         (WebInspector.TextViewer.prototype._textChanged):
    48189         (WebInspector.TextViewer.prototype._enterInternalTextChangeMode):
    48190         (WebInspector.TextViewer.prototype._exitInternalTextChangeMode):
    48191         (WebInspector.TextViewer.prototype._syncDecorationsForLine):
    48192         (WebInspector.TextEditorChunkedPanel.prototype.textChanged):
    48193         (WebInspector.TextEditorChunkedPanel.prototype._scroll):
    48194         (WebInspector.TextEditorChunkedPanel.prototype.chunkForLine):
    48195         (WebInspector.TextEditorChunkedPanel.prototype._totalHeight):
    48196         (WebInspector.TextEditorGutterPanel.prototype._expandChunks):
    48197         (WebInspector.TextEditorGutterChunk):
    48198         (WebInspector.TextEditorGutterChunk.prototype.addDecoration):
    48199         (WebInspector.TextEditorGutterChunk.prototype.removeDecoration):
    48200         (WebInspector.TextEditorMainPanel):
    48201         (WebInspector.TextEditorMainPanel.prototype._expandChunks):
    48202         (WebInspector.TextEditorMainPanel.prototype._highlightDataReady):
    48203         (WebInspector.TextEditorMainPanel.prototype._markSkippedPaintLines):
    48204         (WebInspector.TextEditorMainPanel.prototype._paintSkippedLines):
    48205         (WebInspector.TextEditorMainPanel.prototype._paintLines):
    48206         (WebInspector.TextEditorMainPanel.prototype._paintLine):
    48207         (WebInspector.TextEditorMainPanel.prototype._positionToSelection):
    48208         (WebInspector.TextEditorMainPanel.prototype._applyDomUpdates):
    48209         (WebInspector.TextEditorMainPanel.prototype._updateChunksForRanges):
    48210         (WebInspector.TextEditorMainPanel.prototype._updateHighlightsForRange):
    48211         (WebInspector.TextEditorMainPanel.prototype._collectLinesFromDiv):
    48212         (WebInspector.TextEditorMainChunk):
    48213         (WebInspector.TextEditorMainChunk.prototype.get startLine):
    48214         (WebInspector.TextEditorMainChunk.prototype.set startLine):
    48215         (WebInspector.TextEditorMainChunk.prototype.getExpandedLineRow):
    48216         (WebInspector.TextEditorMainChunk.prototype.updateCollapsedLineRow):
    48217 
    48218 2011-02-18  Steve Block  <steveblock@google.com>
    48219 
    48220         Reviewed by Andreas Kling
    48221 
    48222         Memory allocation error in convertV8ObjectToNPVariant() for strings
    48223         https://bugs.webkit.org/show_bug.cgi?id=54737
    48224 
    48225         Include the termination character in the length when allocating memory
    48226         and copying the string. This fixes a crashing bug on Android.
    48227 
    48228         This should be tested by the java/ tests on Chromium, but these
    48229         tests are currently skipped.
    48230 
    48231         * bindings/v8/V8NPUtils.cpp:
    48232         (WebCore::convertV8ObjectToNPVariant):
    48233 
    48234 2011-02-18  Philippe Normand  <pnormand@igalia.com>
    48235 
    48236         Unreviewed, rolling out r78979.
    48237         http://trac.webkit.org/changeset/78979
    48238         https://bugs.webkit.org/show_bug.cgi?id=53146
    48239 
    48240         causes multiple crashes on GTK
    48241 
    48242         * accessibility/gtk/AXObjectCacheAtk.cpp:
    48243         (WebCore::notifyChildrenSelectionChange):
    48244         (WebCore::AXObjectCache::postPlatformNotification):
    48245 
    48246 2011-02-18  Philippe Normand  <pnormand@igalia.com>
    48247 
    48248         Reviewed by Martin Robinson.
    48249 
    48250         [GTK] minimal build unrecognized options
    48251         https://bugs.webkit.org/show_bug.cgi?id=50890
    48252 
    48253         * GNUmakefile.am: new feature defines for optional features build.
    48254 
    48255 2011-02-17  Hans Wennborg  <hans@chromium.org>
    48256 
    48257         Reviewed by Jeremy Orlow.
    48258 
    48259         IndexedDB: Populate indexes created for object stores with data
    48260         https://bugs.webkit.org/show_bug.cgi?id=54669
    48261 
    48262         Make sure that indices for object stores that already hold data get
    48263         populated.
    48264 
    48265         * storage/IDBIndexBackendImpl.h:
    48266         (WebCore::IDBIndexBackendImpl::hasValidId):
    48267         * storage/IDBObjectStoreBackendImpl.cpp:
    48268         (WebCore::IDBObjectStoreBackendImpl::putInternal):
    48269         (WebCore::populateIndex):
    48270         (WebCore::IDBObjectStoreBackendImpl::createIndexInternal):
    48271 
    48272 2011-02-18  Mario Sanchez Prada  <msanchez@igalia.com>
    48273 
    48274         Reviewed by Martin Robinson.
    48275 
    48276         [GTK] Combo boxes should emit object:selection-changed even when collapsed
    48277         https://bugs.webkit.org/show_bug.cgi?id=53146
    48278 
    48279         Emit the selection-changed signals when the menu list value has changed
    48280 
    48281         Test: platform/gtk/accessibility/combo-box-collapsed-selection-changed.html
    48282 
    48283         * accessibility/gtk/AXObjectCacheAtk.cpp:
    48284         (WebCore::getListObject): New, return the right list object for
    48285         menu lists and list boxes.
    48286         (WebCore::notifyChildrenSelectionChange): Support menu lists.
    48287         (WebCore::AXObjectCache::postPlatformNotification): Call function
    48288         notifyChildrenSelectionChange for AXMenuListValueChanged.
    48289 
    48290 2011-02-18  Mario Sanchez Prada  <msanchez@igalia.com>
    48291 
    48292         Reviewed by Martin Robinson.
    48293 
    48294         [Gtk] atk_text_get_selection/atk_text_set_selection fails for list items
    48295         https://bugs.webkit.org/show_bug.cgi?id=53453
    48296 
    48297         Ensure that atk_text_{get|set}_selection() work with list items.
    48298 
    48299         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
    48300         (webkit_accessible_text_get_text): Properly handle list item
    48301         markers when returning the text for an object for a given interval
    48302         specified through the startOffset and endOffset parameters.
    48303         (getSelectionOffsetsForObject): Bear in mind list item markers
    48304         when returning the offsets for a selection over a list item.
    48305         (webkit_accessible_text_set_selection): Adjust offsets if needed
    48306         for list items with item markers. Ensure that it returns TRUE only
    48307         when everything went fine setting the text selection.
    48308 
    48309 2011-02-18  Antti Koivisto  <antti@apple.com>
    48310 
    48311         Reviewed by Maciej Stachowiak.
    48312 
    48313         https://bugs.webkit.org/show_bug.cgi?id=54728
    48314         checkSelector*Value functions used in fastCheckSelector fail to inline
    48315        
    48316         Wrap the functions used as template arguments to classes.
    48317 
    48318         * css/CSSStyleSelector.cpp:
    48319         (WebCore::fastCheckSingleSelector):
    48320         (WebCore::ClassCheck::checkValue):
    48321         (WebCore::IdCheck::checkValue):
    48322         (WebCore::TagCheck::checkValue):
    48323         (WebCore::CSSStyleSelector::SelectorChecker::fastCheckSelector):
    48324 
    48325 2011-02-17  Simon Fraser  <simon.fraser@apple.com>
    48326 
    48327         Reviewed by Sam Weinig.
    48328 
    48329         Composited iframe content is missing from snapshots in WebKit2
    48330         https://bugs.webkit.org/show_bug.cgi?id=54696
    48331 
    48332         We need to propagate the 'flattening' paint behavior flag
    48333         down to subviews while painting. WebKit1 does this via
    48334         code in WebFrameView, but this is a more general fix
    48335         that works in WebKit2 as well.
    48336        
    48337         Made a utility method, parentFrameView(), which I changed
    48338         some other methods to use as well.
    48339        
    48340         * page/FrameView.cpp:
    48341         (WebCore::FrameView::isEnclosedInCompositingLayer):
    48342         (WebCore::FrameView::useSlowRepaints):
    48343         (WebCore::FrameView::useSlowRepaintsIfNotOverlapped):
    48344         (WebCore::FrameView::isOverlappedIncludingAncestors):
    48345         (WebCore::FrameView::parentFrameView):
    48346         (WebCore::FrameView::paintContents):
    48347         * page/FrameView.h:
    48348 
    48349 2011-02-17  Dan Bernstein  <mitz@apple.com>
    48350 
    48351         Reviewed by Simon Fraser.
    48352 
    48353         <rdar://problem/8898595> Pages that use fixed positioning display poorly when scaled
    48354 
    48355         * html/HTMLBodyElement.cpp:
    48356         (WebCore::adjustForZoom): Account for page scale.
    48357         (WebCore::HTMLBodyElement::setScrollLeft): Ditto.
    48358         (WebCore::HTMLBodyElement::setScrollTop): Ditto.
    48359         * page/FrameView.cpp:
    48360         (WebCore::FrameView::scrollXForFixedPosition): Moved from ScrollView here and changed to
    48361         account for page scale: when the page is scaled, the “viewport” with respect to which fixed
    48362         objects are positioned is scaled as well. Since it’s now bigger than the real viewport (that is,
    48363         the frame view), we move it around in proportion to the document scroll, so that when the document
    48364         is fully scrolled to the bottom-right, the bottom right of the scaled viewport is visible.
    48365         (WebCore::FrameView::scrollYForFixedPosition): Ditto.
    48366         (WebCore::FrameView::scrollOffsetForFixedPosition): Moved from ScrollView here.
    48367         * page/FrameView.h:
    48368         * platform/ScrollView.cpp: Moved functions to FrameView.
    48369         * platform/ScrollView.h:
    48370         * rendering/RenderLayer.cpp:
    48371         (WebCore::RenderLayer::updateRepaintRectsAfterScroll): Account for the RenderView being transformed.
    48372         (WebCore::RenderLayer::calculateClipRects): Used scrollOffsetForFixedPosition().
    48373         (WebCore::RenderLayer::backgroundClipRect): Ditto.
    48374 
    48375 2011-02-17  Kenneth Russell  <kbr@google.com>
    48376 
    48377         Reviewed by James Robinson.
    48378 
    48379         Add support for GPU accelerated path rendering
    48380         https://bugs.webkit.org/show_bug.cgi?id=44729
    48381 
    48382         Incorporates the Loop and Blinn path rendering algorithm as an
    48383         option to the GPU-accelerated canvas code, currently only compiled
    48384         in to the Chromium port. Currently it's toggled by changing a
    48385         hardcoded constant in
    48386         SharedGraphicsContext3D::useLoopBlinnForPathRendering() and is
    48387         disabled by default. This mechanism can be improved once we've
    48388         gained more confidence in the implementation. There are some known
    48389         bugs that need to be fixed first.
    48390 
    48391         No new tests; ran some 2D Canvas tests manually with the new flag
    48392         both enabled and disabled.
    48393 
    48394         * WebCore.gypi:
    48395         * platform/graphics/chromium/GLES2Canvas.cpp:
    48396         (WebCore::GLES2Canvas::GLES2Canvas):
    48397         (WebCore::GLES2Canvas::fillPath):
    48398         * platform/graphics/chromium/GLES2Canvas.h:
    48399         * platform/graphics/gpu/LoopBlinnClassifier.h:
    48400         * platform/graphics/gpu/LoopBlinnLocalTriangulator.h:
    48401         * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
    48402         (WebCore::SharedGraphicsContext3D::create):
    48403         (WebCore::SharedGraphicsContext3D::SharedGraphicsContext3D):
    48404         (WebCore::SharedGraphicsContext3D::createBuffer):
    48405         (WebCore::SharedGraphicsContext3D::bindBuffer):
    48406         (WebCore::SharedGraphicsContext3D::bufferData):
    48407         (WebCore::SharedGraphicsContext3D::bufferSubData):
    48408         (WebCore::SharedGraphicsContext3D::useLoopBlinnForPathRendering):
    48409         (WebCore::SharedGraphicsContext3D::useLoopBlinnInteriorProgram):
    48410         (WebCore::SharedGraphicsContext3D::useLoopBlinnExteriorProgram):
    48411         * platform/graphics/gpu/SharedGraphicsContext3D.h:
    48412         * platform/graphics/skia/GraphicsContextSkia.cpp:
    48413         (WebCore::GraphicsContext::fillPath):
    48414 
    48415 2011-02-16  Stephen White  <senorblanco@chromium.org>
    48416 
    48417         Reviewed by James Robinson.
    48418 
    48419         Layout Test fast/canvas/setWidthResetAfterForcedRender.html fails on
    48420         accelerated 2D canvas w/compositor enabled.
    48421         https://bugs.webkit.org/show_bug.cgi?id=54561
    48422 
    48423         When resetting the CanvasRenderingContext2D, we also need to send a
    48424         contentChanged() to the relevant RenderLayer.  This is similar to what
    48425         is done in didDraw().
    48426 
    48427         Covered by fast/canvas/setWidthResetAfterForcedRender.html, but note
    48428         that this test will still fail pixel tests because the compositor
    48429         is not compatible with repaint tests (the green square is now white,
    48430         but the half-transparent grey repaint rect does not appear).
    48431 
    48432         * html/canvas/CanvasRenderingContext2D.cpp:
    48433         (WebCore::CanvasRenderingContext2D::reset):
    48434 
    48435 2011-02-17  Sergey Glazunov  <serg.glazunov@gmail.com>
    48436 
    48437         Reviewed by Kenneth Russell.
    48438 
    48439         Null out the WEBKIT_lose_context WebGL extension's context pointer when
    48440         the WebGL rendering context is removed.
    48441         https://bugs.webkit.org/show_bug.cgi?id=54679
    48442 
    48443         Test: fast/canvas/webgl/context-destroyed-crash.html
    48444 
    48445         * html/canvas/WebGLRenderingContext.cpp:
    48446         (WebCore::WebGLRenderingContext::~WebGLRenderingContext):
    48447         * html/canvas/WebKitLoseContext.cpp:
    48448         (WebCore::WebKitLoseContext::loseContext): Add null-check for m_context.
    48449         * html/canvas/WebKitLoseContext.h:
    48450         (WebCore::WebKitLoseContext::contextDestroyed):
    48451 
    48452 2011-02-17  Kenneth Russell  <kbr@google.com>
    48453 
    48454         Reviewed by Chris Marrin.
    48455 
    48456         Construction of Uint8Array from JS Array (and possibly others) incorrectly clamps values
    48457         https://bugs.webkit.org/show_bug.cgi?id=52768
    48458 
    48459         Removed incorrect clamping code from IntegralTypedArrayBase. Fixed
    48460         code which casts from incoming double to the destination type.
    48461         Changed the JSC bindings to use this code, rather than a copy of
    48462         the casting code and a different constructor, in order to reuse
    48463         the fix.
    48464 
    48465         * bindings/js/JSArrayBufferViewHelper.h:
    48466         (WebCore::constructArrayBufferView):
    48467         * html/canvas/Int32Array.h:
    48468         (WebCore::Int32Array::set):
    48469         * html/canvas/Int8Array.h:
    48470         (WebCore::Int8Array::set):
    48471         * html/canvas/IntegralTypedArrayBase.h:
    48472         (WebCore::IntegralTypedArrayBase::set):
    48473         * html/canvas/Uint16Array.h:
    48474         (WebCore::Uint16Array::set):
    48475         * html/canvas/Uint32Array.h:
    48476         (WebCore::Uint32Array::set):
    48477         * html/canvas/Uint8Array.h:
    48478         (WebCore::Uint8Array::set):
    48479 
    48480 2011-02-17  Sam Weinig  <sam@webkit.org>
    48481 
    48482         Reviewed by Dan Bernstein.
    48483 
    48484         Knob proportion not quite right during rubber-band.
    48485         <rdar://problem/9015201>
    48486 
    48487         Change knob proportion algorithm to treat overhang as making the view smaller,
    48488         rather than document bigger.
    48489 
    48490         * platform/mac/ScrollbarThemeMac.mm:
    48491         (WebCore::ScrollbarThemeMac::paint):
    48492 
    48493 2011-02-16  Luiz Agostini  <luiz.agostini@openbossa.org>
    48494 
    48495         Reviewed by Andreas Kling.
    48496 
    48497         Summary: HTML5 <details> and <summary>: HTMLSummaryElement
    48498         https://bugs.webkit.org/show_bug.cgi?id=54584
    48499 
    48500         Adding class HTMLSummaryElement to build systems. This class will be used in
    48501         the implementation of new HTML5 tag <summary>.
    48502 
    48503         * CMakeLists.txt:
    48504         * GNUmakefile.am:
    48505         * WebCore.gypi:
    48506         * WebCore.pro:
    48507         * WebCore.vcproj/WebCore.vcproj:
    48508         * WebCore.xcodeproj/project.pbxproj:
    48509         * html/HTMLElementsAllInOne.cpp:
    48510         * html/HTMLSummaryElement.cpp: Added.
    48511         (WebCore::HTMLSummaryElement::create):
    48512         (WebCore::HTMLSummaryElement::HTMLSummaryElement):
    48513         * html/HTMLSummaryElement.h: Added.
    48514         * html/HTMLTagNames.in:
    48515 
    48516 2011-02-17  Jeremy Orlow  <jorlow@chromium.org>
    48517 
    48518         Reviewed by Nate Chapin.
    48519 
    48520         Throwing in an IndexedDB error or success event should lead to the transaction aborting
    48521         https://bugs.webkit.org/show_bug.cgi?id=54249
    48522 
    48523         When an exception is thrown but not handled  within an IDBRequests success/error event,
    48524         we should abort the transaction.
    48525 
    48526         Test: storage/indexeddb/exception-in-event-aborts.html
    48527 
    48528         * bindings/js/JSEventListener.cpp:
    48529         (WebCore::JSEventListener::handleEvent):
    48530         * bindings/js/JSEventTarget.cpp:
    48531         (WebCore::toJS):
    48532         * bindings/v8/V8AbstractEventListener.cpp:
    48533         (WebCore::V8AbstractEventListener::invokeEventHandler):
    48534         * dom/EventTarget.cpp:
    48535         (WebCore::EventTarget::uncaughtExceptionInEventHandler):
    48536         * dom/EventTarget.h:
    48537         * storage/IDBRequest.cpp:
    48538         (WebCore::IDBRequest::uncaughtExceptionInEventHandler):
    48539         * storage/IDBRequest.h:
    48540 
    48541 2011-02-17  Sam Weinig  <sam@webkit.org>
    48542 
    48543         Reviewed by Maciej Stachowiak.
    48544 
    48545         WebKit2: Support Dictionary popup
    48546         <rdar://problem/7660670>
    48547 
    48548         Add some necessary exports.
    48549 
    48550         * WebCore.exp.in:
    48551 
    48552 2011-02-17  W. James MacLean  <wjmaclean@chromium.org>
    48553 
    48554         Reviewed by James Robinson.
    48555 
    48556         [chromium] Add command-line flag to enable composite to offscreen texture.
    48557         https://bugs.webkit.org/show_bug.cgi?id=52311
    48558 
    48559         Add plumbing to allow command-line switch to enable offscreen compositing. Function
    48560         LayerRendererChromium::copyOffscreenTextureToDisplay used for now to mimic
    48561         normal renderer operation.
    48562 
    48563         Existing functionality not changed; offscreen compositing will be tested via GPU test framework.
    48564 
    48565         * platform/graphics/chromium/LayerRendererChromium.cpp:
    48566         (WebCore::LayerRendererChromium::setRootLayer):
    48567         (WebCore::LayerRendererChromium::setCompositeOffscreen):
    48568         (WebCore::LayerRendererChromium::copyOffscreenTextureToDisplay):
    48569         (WebCore::LayerRendererChromium::useRenderSurface):
    48570         (WebCore::LayerRendererChromium::setScissorToRect):
    48571         * platform/graphics/chromium/LayerRendererChromium.h:
    48572         (WebCore::LayerRendererChromium::isCompositingOffscreen):
    48573 
    48574 2011-02-17  Kevin Ollivier  <kevino@theolliviers.com>
    48575 
    48576         [wx] Build fixes after recent changes.
    48577 
    48578         * dom/ScriptedAnimationController.h:
    48579         * platform/graphics/wx/FontWx.cpp:
    48580         (WebCore::Font::drawComplexText):
    48581         * platform/graphics/wx/GraphicsContextWx.cpp:
    48582         (WebCore::GraphicsContext::drawLineForText):
    48583         (WebCore::GraphicsContext::drawLineForTextChecking):
    48584         * platform/wx/WidgetWx.cpp:
    48585         (WebCore::Widget::setFrameRect):
    48586 
    48587 2011-02-16  Brian Weinstein  <bweinstein@apple.com>
    48588 
    48589         Reviewed by Brady Eidson.
    48590 
    48591         WebKit2: Need a way to manage the WebCore Cache
    48592         https://bugs.webkit.org/show_bug.cgi?id=54501
    48593        
    48594         Add a way to get a set of all of the origins that have entries in the
    48595         WebCore memory cache, and a method to remove all resources from the memory
    48596         cache from a given security origin.
    48597 
    48598         No change in behavior.
    48599 
    48600         * WebCore.exp.in: Add functions that need to be exported.
    48601         * loader/cache/MemoryCache.cpp:
    48602         (WebCore::MemoryCache::removeResourcesWithOrigin):
    48603         (WebCore::MemoryCache::getOriginsWithCache):
    48604         * loader/cache/MemoryCache.h:
    48605 
    48606 2011-02-16  David Hyatt  <hyatt@apple.com>
    48607 
    48608         Reviewed by Dan Bernstein.
    48609 
    48610         https://bugs.webkit.org/show_bug.cgi?id=54244
    48611        
    48612         Convert the line box tree to floating point and eliminate font rounding hacks.  This patch removes all of the rounding
    48613         hacks from the Font code and makes sure all Font APIs involving width measurement and width offsets use floats.
    48614        
    48615         The line box tree's x, y and logicalWidth members have all been converted to floats and all of the line box APIs have
    48616         been changed as well.
    48617        
    48618         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).
    48619        
    48620         Background and border painting is using a rounding model, so borders and backgrounds will round to the nearest pixel when painting.
    48621        
    48622         Replaced elements still snap to integer positions on lines, and they use a rounding model as well, although their underlying line boxes
    48623         still have a precise floating point position.
    48624 
    48625         Justification will now allow subpixel positioning to occur as well.  Platforms that don't support subpixel positioning should already
    48626         be rounding justification spacing in their font code.
    48627 
    48628         Many layout test results change on Mac, since rounding hacks were used there and are now gone.
    48629 
    48630         * WebCore.exp.in:
    48631         * html/canvas/CanvasRenderingContext2D.cpp:
    48632         (WebCore::CanvasRenderingContext2D::drawTextInternal):
    48633         * platform/chromium/FileChooserChromium.cpp:
    48634         (WebCore::FileChooser::basenameForWidth):
    48635         * platform/graphics/Font.cpp:
    48636         (WebCore::Font::width):
    48637         * platform/graphics/Font.h:
    48638         (WebCore::Font::spaceWidth):
    48639         (WebCore::Font::tabWidth):
    48640         * platform/graphics/FontFastPath.cpp:
    48641         (WebCore::Font::getGlyphsAndAdvancesForSimpleText):
    48642         * platform/graphics/GraphicsContext.cpp:
    48643         (WebCore::GraphicsContext::drawText):
    48644         (WebCore::GraphicsContext::drawEmphasisMarks):
    48645         (WebCore::GraphicsContext::drawBidiText):
    48646         (WebCore::GraphicsContext::drawHighlightForText):
    48647         * platform/graphics/GraphicsContext.h:
    48648         * platform/graphics/SimpleFontData.cpp:
    48649         (WebCore::SimpleFontData::SimpleFontData):
    48650         (WebCore::SimpleFontData::platformGlyphInit):
    48651         * platform/graphics/SimpleFontData.h:
    48652         (WebCore::SimpleFontData::spaceWidth):
    48653         * platform/graphics/StringTruncator.cpp:
    48654         (WebCore::stringWidth):
    48655         (WebCore::truncateString):
    48656         (WebCore::StringTruncator::centerTruncate):
    48657         (WebCore::StringTruncator::rightTruncate):
    48658         (WebCore::StringTruncator::width):
    48659         * platform/graphics/StringTruncator.h:
    48660         * platform/graphics/TextRun.h:
    48661         (WebCore::TextRun::TextRun):
    48662         (WebCore::TextRun::xPos):
    48663         (WebCore::TextRun::expansion):
    48664         (WebCore::TextRun::directionalOverride):
    48665         (WebCore::TextRun::disableSpacing):
    48666         * platform/graphics/WidthIterator.cpp:
    48667         (WebCore::WidthIterator::WidthIterator):
    48668         (WebCore::WidthIterator::advance):
    48669         * platform/graphics/WidthIterator.h:
    48670         * platform/graphics/cairo/GraphicsContextCairo.cpp:
    48671         (WebCore::GraphicsContext::drawLineForText):
    48672         (WebCore::GraphicsContext::drawLineForTextChecking):
    48673         * platform/graphics/cg/GraphicsContextCG.cpp:
    48674         (WebCore::GraphicsContext::drawLineForText):
    48675         * platform/graphics/mac/ComplexTextController.cpp:
    48676         (WebCore::ComplexTextController::ComplexTextController):
    48677         (WebCore::ComplexTextController::advance):
    48678         (WebCore::ComplexTextController::adjustGlyphsAndAdvances):
    48679         * platform/graphics/mac/ComplexTextController.h:
    48680         * platform/graphics/mac/FontComplexTextMac.cpp:
    48681         (WebCore::Font::getGlyphsAndAdvancesForComplexText):
    48682         * platform/graphics/mac/GraphicsContextMac.mm:
    48683         (WebCore::GraphicsContext::drawLineForTextChecking):
    48684         * platform/graphics/qt/GraphicsContextQt.cpp:
    48685         (WebCore::GraphicsContext::drawLineForText):
    48686         (WebCore::GraphicsContext::drawLineForTextChecking):
    48687         * platform/graphics/qt/SimpleFontDataQt.cpp:
    48688         (WebCore::SimpleFontData::platformGlyphInit):
    48689         * platform/graphics/skia/GraphicsContextSkia.cpp:
    48690         (WebCore::GraphicsContext::drawLineForTextChecking):
    48691         (WebCore::GraphicsContext::drawLineForText):
    48692         * platform/graphics/win/GraphicsContextCGWin.cpp:
    48693         (WebCore::GraphicsContext::drawLineForTextChecking):
    48694         * platform/graphics/win/UniscribeController.cpp:
    48695         (WebCore::UniscribeController::shapeAndPlaceItem):
    48696         * platform/gtk/FileChooserGtk.cpp:
    48697         (WebCore::FileChooser::basenameForWidth):
    48698         * platform/mac/DragImageMac.mm:
    48699         (WebCore::widthWithFont):
    48700         (WebCore::drawAtPoint):
    48701         * platform/mac/FileChooserMac.mm:
    48702         (WebCore::FileChooser::basenameForWidth):
    48703         * platform/win/DragImageWin.cpp:
    48704         (WebCore::createDragImageForLink):
    48705         * platform/win/FileChooserWin.cpp:
    48706         (WebCore::FileChooser::basenameForWidth):
    48707         * platform/win/PopupMenuWin.cpp:
    48708         (WebCore::PopupMenuWin::calculatePositionAndSize):
    48709         * platform/win/WebCoreTextRenderer.cpp:
    48710         (WebCore::WebCoreTextFloatWidth):
    48711         * rendering/HitTestResult.cpp:
    48712         (WebCore::HitTestResult::addNodeToRectBasedTestResult):
    48713         * rendering/HitTestResult.h:
    48714         * rendering/InlineBox.cpp:
    48715         (WebCore::InlineBox::adjustPosition):
    48716         (WebCore::InlineBox::placeEllipsisBox):
    48717         (WebCore::InlineBox::locationIncludingFlipping):
    48718         (WebCore::InlineBox::flipForWritingMode):
    48719         * rendering/InlineBox.h:
    48720         (WebCore::InlineBox::InlineBox):
    48721         (WebCore::InlineBox::adjustLineDirectionPosition):
    48722         (WebCore::InlineBox::adjustBlockDirectionPosition):
    48723         (WebCore::InlineBox::setX):
    48724         (WebCore::InlineBox::x):
    48725         (WebCore::InlineBox::setY):
    48726         (WebCore::InlineBox::y):
    48727         (WebCore::InlineBox::width):
    48728         (WebCore::InlineBox::height):
    48729         (WebCore::InlineBox::logicalLeft):
    48730         (WebCore::InlineBox::logicalRight):
    48731         (WebCore::InlineBox::setLogicalLeft):
    48732         (WebCore::InlineBox::pixelSnappedLogicalLeft):
    48733         (WebCore::InlineBox::pixelSnappedLogicalRight):
    48734         (WebCore::InlineBox::setLogicalWidth):
    48735         (WebCore::InlineBox::logicalWidth):
    48736         (WebCore::InlineBox::verticalAlign):
    48737         * rendering/InlineFlowBox.cpp:
    48738         (WebCore::InlineFlowBox::roundedFrameRect):
    48739         (WebCore::InlineFlowBox::adjustPosition):
    48740         (WebCore::InlineFlowBox::placeBoxesInInlineDirection):
    48741         (WebCore::InlineFlowBox::adjustMaxAscentAndDescent):
    48742         (WebCore::verticalPositionForBox):
    48743         (WebCore::InlineFlowBox::computeLogicalBoxHeights):
    48744         (WebCore::InlineFlowBox::placeBoxesInBlockDirection):
    48745         (WebCore::InlineFlowBox::addBoxShadowVisualOverflow):
    48746         (WebCore::InlineFlowBox::addTextBoxVisualOverflow):
    48747         (WebCore::InlineFlowBox::computeOverflow):
    48748         (WebCore::InlineFlowBox::setLayoutOverflow):
    48749         (WebCore::InlineFlowBox::setVisualOverflow):
    48750         (WebCore::InlineFlowBox::nodeAtPoint):
    48751         (WebCore::InlineFlowBox::paintBoxDecorations):
    48752         (WebCore::InlineFlowBox::paintMask):
    48753         (WebCore::InlineFlowBox::placeEllipsisBox):
    48754         * rendering/InlineFlowBox.h:
    48755         (WebCore::InlineFlowBox::maxYLayoutOverflow):
    48756         (WebCore::InlineFlowBox::maxXLayoutOverflow):
    48757         (WebCore::InlineFlowBox::layoutOverflowRect):
    48758         (WebCore::InlineFlowBox::maxYVisualOverflow):
    48759         (WebCore::InlineFlowBox::maxXVisualOverflow):
    48760         (WebCore::InlineFlowBox::visualOverflowRect):
    48761         * rendering/InlineTextBox.cpp:
    48762         (WebCore::InlineTextBox::placeEllipsisBox):
    48763         (WebCore::InlineTextBox::nodeAtPoint):
    48764         (WebCore::paintTextWithShadows):
    48765         (WebCore::InlineTextBox::paint):
    48766         (WebCore::InlineTextBox::paintSelection):
    48767         (WebCore::InlineTextBox::paintCompositionBackground):
    48768         (WebCore::InlineTextBox::paintDecoration):
    48769         (WebCore::InlineTextBox::paintSpellingOrGrammarMarker):
    48770         (WebCore::InlineTextBox::paintTextMatchMarker):
    48771         (WebCore::InlineTextBox::paintDocumentMarkers):
    48772         (WebCore::InlineTextBox::paintCompositionUnderline):
    48773         (WebCore::InlineTextBox::textPos):
     1669        (WebCore::InlineTextBox::selectionRect):
    487741670        (WebCore::InlineTextBox::offsetForPosition):
    487751671        (WebCore::InlineTextBox::positionForOffset):
    48776         * rendering/InlineTextBox.h:
    48777         (WebCore::InlineTextBox::setExpansion):
    48778         * rendering/RenderBR.h:
    48779         (WebCore::RenderBR::width):
    48780         * rendering/RenderBlock.cpp:
    48781         (WebCore::stripTrailingSpace):
    48782         (WebCore::updatePreferredWidth):
    48783         (WebCore::RenderBlock::computeInlinePreferredLogicalWidths):
    48784         (WebCore::RenderBlock::adjustForBorderFit):
    48785         (WebCore::RenderBlock::addFocusRingRects):
    48786         * rendering/RenderBlock.h:
    48787         * rendering/RenderBlockLineLayout.cpp:
    48788         (WebCore::RenderBlock::computeInlineDirectionPositionsForLine):
    48789         (WebCore::RenderBlock::fitBelowFloats):
    48790         (WebCore::textWidth):
    48791         (WebCore::tryHyphenating):
    48792         (WebCore::RenderBlock::findNextLineBreak):
    48793         * rendering/RenderBox.cpp:
    48794         (WebCore::RenderBox::positionLineBox):
    48795         (WebCore::RenderBox::flipForWritingMode):
    48796         * rendering/RenderBox.h:
    48797         * rendering/RenderCombineText.cpp:
    48798         (WebCore::RenderCombineText::width):
    48799         (WebCore::RenderCombineText::adjustTextOrigin):
    48800         (WebCore::RenderCombineText::combineText):
    48801         * rendering/RenderCombineText.h:
    48802         (WebCore::RenderCombineText::combinedTextWidth):
    48803         * rendering/RenderCounter.cpp:
    48804         (WebCore::RenderCounter::computePreferredLogicalWidths):
    48805         * rendering/RenderCounter.h:
    48806         * rendering/RenderEmbeddedObject.cpp:
    48807         (WebCore::RenderEmbeddedObject::getReplacementTextGeometry):
    48808         * rendering/RenderFileUploadControl.cpp:
    48809         (WebCore::RenderFileUploadControl::computePreferredLogicalWidths):
     1672        Wrapped code accessing fallback fonts with local
     1673        FontCachePurgePreventer in these methods.
     1674
    488101675        * rendering/RenderImage.cpp:
    48811         * rendering/RenderInline.cpp:
    48812         (WebCore::RenderInline::linesBoundingBox):
    48813         (WebCore::RenderInline::linesVisualOverflowBoundingBox):
    48814         (WebCore::RenderInline::addFocusRingRects):
    48815         (WebCore::RenderInline::paintOutline):
     1676        (WebCore::RenderImage::setImageSizeForAltText):
     1677        Wrapped code accessing fallback fonts with local
     1678        FontCachePurgePreventer in this method.
     1679
    488161680        * rendering/RenderListBox.cpp:
    488171681        (WebCore::RenderListBox::updateFromElement):
    488181682        (WebCore::RenderListBox::paintItemForeground):
    48819         * rendering/RenderMenuList.cpp:
    48820         (WebCore::RenderMenuList::updateOptionsWidth):
     1683        Wrapped code accessing fallback fonts with local
     1684        FontCachePurgePreventer in these methods
     1685
     1686        * rendering/svg/SVGInlineTextBox.cpp:
     1687        (WebCore::SVGInlineTextBox::selectionRectForTextFragment):
     1688        Wrapped code accessing fallback fonts with local
     1689        FontCachePurgePreventer in this method.
     1690
     16912011-06-07  Tim Horton  <timothy_horton@apple.com>
     1692
     1693        Reviewed by Alexey Proskuryakov.
     1694
     1695        Use correct CFURLStorageSessionRef definition on Snow Leopard
     1696        https://bugs.webkit.org/show_bug.cgi?id=62223
     1697
     1698        * platform/mac/WebCoreSystemInterface.h:
     1699        * platform/network/ResourceHandle.h:
     1700        * platform/network/cf/ResourceRequest.h:
     1701
     17022011-06-07  Alok Priyadarshi  <alokp@chromium.org>
     1703
     1704        Reviewed by Stephen White.
     1705
     1706        [chromium] PlatformContextSkia leaks SkDeviceFactory
     1707        https://bugs.webkit.org/show_bug.cgi?id=62163
     1708
     1709        Valgrind tests should have caught this.
     1710
     1711        * platform/graphics/skia/PlatformContextSkia.cpp:
     1712        (WebCore::PlatformContextSkia::setSharedGraphicsContext3D):
     1713
     17142011-06-07  Emil A Eklund  <eae@chromium.org>
     1715
     1716        Reviewed by Eric Seidel.
     1717
     1718        Convert RenderTextControl::hitInnerTextElement to IntPoint
     1719        https://bugs.webkit.org/show_bug.cgi?id=62167
     1720
     1721        Covered by existing tests.
     1722
     1723        * rendering/RenderTextControl.cpp:
     1724        (WebCore::RenderTextControl::hitInnerTextElement):
     1725        * rendering/RenderTextControl.h:
     1726        * rendering/RenderTextControlMultiLine.cpp:
     1727        (WebCore::RenderTextControlMultiLine::nodeAtPoint):
     1728        * rendering/RenderTextControlSingleLine.cpp:
     1729        (WebCore::RenderTextControlSingleLine::nodeAtPoint):
     1730
     17312011-06-07  Levi Weintraub  <leviw@chromium.org>
     1732
     1733        Reviewed by Eric Seidel.
     1734
     1735        Switch paint to use IntPoint
     1736        https://bugs.webkit.org/show_bug.cgi?id=62177
     1737
     1738        Flipping the switch on the remaining paint functions to have them all
     1739        use IntPoint for the paint offset instead of tx/ty.
     1740
     1741        No new tests since this is just refactoring.
     1742
     1743        * page/FrameView.cpp:
     1744        (WebCore::FrameView::paintScrollCorner):
     1745        * rendering/InlineBox.cpp:
     1746        (WebCore::InlineBox::paint):
     1747        * rendering/RenderBlock.cpp:
     1748        (WebCore::RenderBlock::paint):
     1749        (WebCore::RenderBlock::paintContents):
     1750        (WebCore::RenderBlock::paintChildren):
     1751        (WebCore::RenderBlock::paintFloats):
     1752        * rendering/RenderBlock.h:
     1753        * rendering/RenderBox.cpp:
     1754        (WebCore::RenderBox::paint):
     1755        * rendering/RenderBox.h:
     1756        * rendering/RenderBoxModelObject.cpp:
     1757        (WebCore::RenderBoxModelObject::paintFillLayerExtended):
     1758        * rendering/RenderDetailsMarker.cpp:
     1759        (WebCore::RenderDetailsMarker::paint):
     1760        * rendering/RenderDetailsMarker.h:
     1761        * rendering/RenderEmbeddedObject.cpp:
     1762        (WebCore::RenderEmbeddedObject::paint):
     1763        * rendering/RenderEmbeddedObject.h:
     1764        * rendering/RenderFrameSet.cpp:
     1765        (WebCore::RenderFrameSet::paint):
     1766        * rendering/RenderFrameSet.h:
     1767        * rendering/RenderImage.cpp:
     1768        (WebCore::RenderImage::paint):
     1769        * rendering/RenderImage.h:
     1770        * rendering/RenderInline.cpp:
     1771        (WebCore::RenderInline::paint):
     1772        * rendering/RenderInline.h:
     1773        * rendering/RenderLayer.cpp:
     1774        (WebCore::RenderLayer::paintScrollCorner):
     1775        (WebCore::RenderLayer::paintResizer):
     1776        (WebCore::RenderLayer::paintLayer):
     1777        * rendering/RenderLayerBacking.cpp:
     1778        (WebCore::RenderLayerBacking::paintIntoLayer):
     1779        * rendering/RenderLineBoxList.cpp:
     1780        (WebCore::RenderLineBoxList::paint):
     1781        * rendering/RenderLineBoxList.h:
     1782        * rendering/RenderListItem.cpp:
     1783        (WebCore::RenderListItem::paint):
     1784        * rendering/RenderListItem.h:
     1785        * rendering/RenderListMarker.cpp:
     1786        (WebCore::RenderListMarker::paint):
     1787        * rendering/RenderListMarker.h:
     1788        * rendering/RenderObject.cpp:
     1789        (WebCore::RenderObject::paint):
     1790        * rendering/RenderObject.h:
     1791        * rendering/RenderReplaced.cpp:
     1792        (WebCore::RenderReplaced::paint):
     1793        * rendering/RenderReplaced.h:
     1794        * rendering/RenderReplica.cpp:
     1795        (WebCore::RenderReplica::paint):
     1796        * rendering/RenderReplica.h:
     1797        * rendering/RenderScrollbar.cpp:
     1798        (WebCore::RenderScrollbar::paintPart):
     1799        * rendering/RenderScrollbarPart.cpp:
     1800        (WebCore::RenderScrollbarPart::paintIntoRect):
     1801        * rendering/RenderScrollbarPart.h:
     1802        * rendering/RenderTable.cpp:
     1803        (WebCore::RenderTable::paint):
     1804        (WebCore::RenderTable::paintObject):
     1805        * rendering/RenderTable.h:
     1806        * rendering/RenderTableCell.cpp:
     1807        (WebCore::RenderTableCell::paint):
     1808        * rendering/RenderTableCell.h:
     1809        * rendering/RenderTableRow.cpp:
     1810        (WebCore::RenderTableRow::paint):
     1811        * rendering/RenderTableRow.h:
     1812        * rendering/RenderTableSection.cpp:
     1813        (WebCore::RenderTableSection::paint):
     1814        (WebCore::RenderTableSection::paintCell):
     1815        * rendering/RenderTableSection.h:
     1816        * rendering/RenderText.h:
     1817        (WebCore::RenderText::paint):
     1818        * rendering/RenderTextControlSingleLine.cpp:
     1819        (WebCore::RenderTextControlSingleLine::paint):
     1820        * rendering/RenderTextControlSingleLine.h:
     1821        * rendering/RenderView.cpp:
     1822        (WebCore::RenderView::paint):
     1823        * rendering/RenderView.h:
     1824        * rendering/RenderWidget.cpp:
     1825        (WebCore::RenderWidget::paint):
     1826        * rendering/RenderWidget.h:
     1827        * rendering/mathml/RenderMathMLBlock.cpp:
     1828        (WebCore::RenderMathMLBlock::paint):
     1829        * rendering/mathml/RenderMathMLBlock.h:
     1830        * rendering/mathml/RenderMathMLFraction.cpp:
     1831        (WebCore::RenderMathMLFraction::paint):
     1832        * rendering/mathml/RenderMathMLFraction.h:
     1833        * rendering/mathml/RenderMathMLRoot.cpp:
     1834        (WebCore::RenderMathMLRoot::paint):
     1835        * rendering/mathml/RenderMathMLRoot.h:
     1836        * rendering/mathml/RenderMathMLSquareRoot.cpp:
     1837        (WebCore::RenderMathMLSquareRoot::paint):
     1838        * rendering/mathml/RenderMathMLSquareRoot.h:
     1839        * rendering/svg/RenderSVGContainer.cpp:
     1840        (WebCore::RenderSVGContainer::paint):
     1841        * rendering/svg/RenderSVGContainer.h:
     1842        * rendering/svg/RenderSVGForeignObject.cpp:
     1843        (WebCore::RenderSVGForeignObject::paint):
     1844        * rendering/svg/RenderSVGForeignObject.h:
     1845        * rendering/svg/RenderSVGHiddenContainer.cpp:
     1846        (WebCore::RenderSVGHiddenContainer::paint):
     1847        * rendering/svg/RenderSVGHiddenContainer.h:
     1848        * rendering/svg/RenderSVGImage.cpp:
     1849        (WebCore::RenderSVGImage::paint):
     1850        * rendering/svg/RenderSVGImage.h:
     1851        * rendering/svg/RenderSVGPath.cpp:
     1852        (WebCore::RenderSVGPath::paint):
     1853        * rendering/svg/RenderSVGPath.h:
     1854        * rendering/svg/RenderSVGResourceMarker.cpp:
     1855        (WebCore::RenderSVGResourceMarker::draw):
     1856        * rendering/svg/RenderSVGRoot.cpp:
     1857        (WebCore::RenderSVGRoot::paint):
     1858        * rendering/svg/RenderSVGRoot.h:
     1859        * rendering/svg/RenderSVGText.cpp:
     1860        (WebCore::RenderSVGText::paint):
     1861        * rendering/svg/RenderSVGText.h:
     1862        * rendering/svg/SVGImageBufferTools.cpp:
     1863        (WebCore::SVGImageBufferTools::renderSubtreeToImageBuffer):
     1864
     18652011-06-07  Young Han Lee  <joybro@company100.net>
     1866
     1867        Reviewed by Kenneth Rohde Christiansen.
     1868
     1869        [Texmap][Qt] Accelerated animation is not paused properly.
     1870        https://bugs.webkit.org/show_bug.cgi?id=61446
     1871
     1872        The transform matrix of an accelerated animation shouldn't be synced with the matrix of the GraphicsLayer when the animation is paused.
     1873
     1874        Test: animations/play-state-paused.html
     1875
     1876        * platform/graphics/texmap/TextureMapperNode.cpp:
     1877        (WebCore::TextureMapperNode::syncCompositingStateSelf):
     1878        (WebCore::TextureMapperNode::hasOpacityAnimation):
     1879        (WebCore::TextureMapperNode::hasTransformAnimation):
     1880        * platform/graphics/texmap/TextureMapperNode.h:
     1881
     18822011-06-07  Lucas De Marchi  <lucas.demarchi@profusion.mobi>
     1883
     1884        Reviewed by Antonio Gomes.
     1885
     1886        [EFL] Remove Ecore_X bits from PlatformScreenEfl
     1887        https://bugs.webkit.org/show_bug.cgi?id=61649
     1888
     1889        Remove the need for Ecore_X and some X calls by always using
     1890        new functions available in EFL to get the screen size.
     1891
     1892        No new tests since the same functionality are done inside EFL now.
     1893
     1894        * platform/efl/PlatformScreenEfl.cpp:
     1895        (WebCore::screenRect):
     1896
     18972011-06-07  Carlos Garcia Campos  <cgarcia@igalia.com>
     1898
     1899        Reviewed by Martin Robinson.
     1900
     1901        [GTK] Move moduleMixesGtkSymbols() from PluginPackage to PluginView
     1902        https://bugs.webkit.org/show_bug.cgi?id=62200
     1903
     1904        In WebKit2 PluginPackage is used by the UI process to load plugins
     1905        in order to get information about them, but it doesn't use any GTK
     1906        symbol. So the UI process should be able to load plugins even when
     1907        building with GTK3, but we should not allow the plugin view to use
     1908        the plugin if it mixes GTK2 and GTK3 symbols.
     1909
     1910        * plugins/PluginPackage.h:
     1911        (WebCore::PluginPackage::module): New method to return the
     1912        platform module.
     1913        * plugins/gtk/PluginPackageGtk.cpp:
     1914        (WebCore::PluginPackage::load): Remove moduleMixesGtkSymbols().
     1915        * plugins/gtk/PluginViewGtk.cpp:
     1916        (WebCore::PluginView::updatePluginWidget): Check whether plugin
     1917        was successfully loaded before trying to create the drawable.
     1918        (WebCore::PluginView::paint): Return early if plugin didn't start
     1919        or was not successfully loaded.
     1920        (WebCore::PluginView::handleKeyboardEvent): Ditto.
     1921        (WebCore::PluginView::handleMouseEvent): Ditto.
     1922        (WebCore::PluginView::handleFocusInEvent): Ditto.
     1923        (WebCore::PluginView::handleFocusOutEvent): Ditto.
     1924        (WebCore::moduleMixesGtkSymbols):
     1925        (WebCore::PluginView::platformStart): Check whether module is
     1926        mixing GTK+ 2 and GTK+ 3 symbols.
     1927
     19282011-06-07  Sheriff Bot  <webkit.review.bot@gmail.com>
     1929
     1930        Unreviewed, rolling out r88238.
     1931        http://trac.webkit.org/changeset/88238
     1932        https://bugs.webkit.org/show_bug.cgi?id=62216
     1933
     1934        Broke a couple of inspector tests (Requested by apavlov on
     1935        #webkit).
     1936
     1937        * inspector/front-end/StylesSidebarPane.js:
     1938        (WebInspector.StylesSidebarPane.prototype.update):
     1939
     19402011-06-07  Dinu Jacob  <dinu.jacob@nokia.com>
     1941
     1942        Reviewed by Dimitri Glazkov.
     1943
     1944        Inform ChromeClient touch events are not needed by the webpage when navigating away from the page instead of in both Document:detach/CachedFrame
     1945        https://bugs.webkit.org/show_bug.cgi?id=61543
     1946
     1947        Inform chrome client that touch events are not needed by the webpage
     1948        when navigating away from the page only once to avoid the flag being
     1949        overwritten later if a page is removed from the page cache
     1950
     1951        * dom/Document.cpp:
     1952        (WebCore::Document::detach):
     1953        * history/CachedFrame.cpp:
     1954        (WebCore::CachedFrame::CachedFrame):
     1955        * loader/FrameLoader.cpp:
     1956        (WebCore::FrameLoader::transitionToCommitted):
     1957
     19582011-06-07  Alexander Pavlov  <apavlov@chromium.org>
     1959
     1960        Reviewed by Yury Semikhatsky.
     1961
     1962        Web Inspector: node selection is slow in the Elements panel.
     1963        https://bugs.webkit.org/show_bug.cgi?id=60813
     1964
     1965        Schedule full style updates rather than request all node styles from the backend immediately.
     1966
     1967        * inspector/front-end/StylesSidebarPane.js:
     1968        (WebInspector.StylesSidebarPane.prototype.update.reloadAllStyles):
     1969        (WebInspector.StylesSidebarPane.prototype.update):
     1970
     19712011-06-07  Yury Semikhatsky  <yurys@chromium.org>
     1972
     1973        Reviewed by Pavel Feldman.
     1974
     1975        Web Inspector: remove duplicate breakpoints from localStorage
     1976        https://bugs.webkit.org/show_bug.cgi?id=62206
     1977
     1978        Perform one-time breakpoint storage cleanup to get rid of duplicate breakpoints in
     1979        case when settings version is less than 1.
     1980
     1981        * inspector/front-end/Settings.js:
     1982        (WebInspector.Settings):
     1983        (WebInspector.Settings.prototype._set):
     1984        (WebInspector.Settings.prototype._migrateSettings.splitObjects):
     1985        (WebInspector.Settings.prototype._migrateSettings.removeDuplicateObjects):
     1986        (WebInspector.Settings.prototype._migrateSettings):
     1987
     19882011-06-03  Yury Semikhatsky  <yurys@chromium.org>
     1989
     1990        Reviewed by Pavel Feldman.
     1991
     1992        [Chromium] Web Inspector: correctly handle disconnect from worker when script execution is paused
     1993        https://bugs.webkit.org/show_bug.cgi?id=62019
     1994
     1995        Dispatch disconnecFrontend message in debugger task mode to make sure
     1996        it is processed even if execution is paused.
     1997
     1998        * bindings/v8/WorkerScriptDebugServer.cpp:
     1999        (WebCore::WorkerScriptDebugServer::runMessageLoopOnPause):
     2000        (WebCore::WorkerScriptDebugServer::quitMessageLoopOnPause):
     2001        * bindings/v8/WorkerScriptDebugServer.h:
     2002
     20032011-06-07  Felician Marton  <marton.felician.zoltan@stud.u-szeged.hu>
     2004
     2005        Reviewed by Nikolas Zimmermann.
     2006
     2007        SVG animation beginElement() does not restart the animation after endElement().
     2008        https://bugs.webkit.org/show_bug.cgi?id=43452
     2009
     2010        Test: svg/animations/animate-endElement-beginElement.html
     2011
     2012        Calling beginElement() after calling endElement() previously does not restarted the animation when animation
     2013        element's end attribute doesn't contains a bigger value than the current animation time.
     2014
     2015        * svg/animation/SVGSMILElement.cpp:
     2016        (WebCore::SVGSMILElement::findInstanceTime):
     2017
     20182011-06-07  Naoki Takano  <takano.naoki@gmail.com>
     2019
     2020        Reviewed by Kent Tamura.
     2021
     2022        [Chromium] Click event is not fired for a menulist <select>
     2023        https://bugs.webkit.org/show_bug.cgi?id=60563
     2024
     2025        Tests: SelectItemEventFire, SelectItemKeyEvent, SelectItemRemoveSelectOnChange and SelectItemRemoveSelectOnChange in webkit_unit_tests.
     2026
     2027        * platform/chromium/PopupMenuChromium.cpp:
     2028        (WebCore::PopupContainer::showPopup): Set m_focusedNode from m_frameView.
     2029        (WebCore::PopupListBox::handleMouseReleaseEvent): Call dispatchMouseEvent to forward the event only if select popup.
     2030        (WebCore::PopupListBox::acceptIndex): Change to return accepted or not.
     2031
     20322011-06-07  Andras Becsi  <abecsi@webkit.org>
     2033
     2034        Reviewed by Yury Semikhatsky.
     2035 
     2036        REGRESSION(r88221): "Chromium debug compilation broken".
     2037        https://bugs.webkit.org/show_bug.cgi?id=62197
     2038
     2039        No new tests needed.
     2040
     2041        * bindings/v8/V8GCController.cpp: Also rename call-sites.
     2042        (WebCore::V8GCController::gcPrologue):
     2043        (WebCore::V8GCController::gcEpilogue):
     2044
     20452011-06-07  MORITA Hajime  <morrita@google.com>
     2046
     2047        Unreviewed, rolling out r88212 and r88219.
     2048        http://trac.webkit.org/changeset/88212
     2049        http://trac.webkit.org/changeset/88219
     2050        https://bugs.webkit.org/show_bug.cgi?id=57439
     2051
     2052        Tests get timeout at Snow Leopard
     2053
     2054        * css/html.css:
     2055        (html:focus, body:focus, input[readonly]:focus):
     2056        * rendering/RenderWidget.cpp:
     2057        (WebCore::RenderWidget::paint):
     2058
     20592011-06-07  Andras Becsi  <abecsi@webkit.org>
     2060
     2061        Rubber-stamped by Csaba Osztrogonác.
     2062
     2063        [Qt][V8] Fix the build after 88221.
     2064
     2065        No new tests needed.
     2066
     2067        * WebCore.pro: Remove non-existing files.
     2068        * bindings/v8/V8DOMMap.cpp:
     2069        (WebCore::removeAllDOMObjects): Also rename the definition of the function.
     2070
     20712011-06-06  Dmitry Lomov  <dslomov@google.com>
     2072
     2073        Reviewed by Adam Barth.
     2074
     2075        https://bugs.webkit.org/show_bug.cgi?id=62164
     2076        Remove "multi-threaded" logic in V8 DOMData, DOMDataStore and friends
     2077        This functionality is untested and unused:
     2078        This is an old code from Lockers-based implementation of WebWorkers in
     2079        V8 bindings, to make sure that DOM objects are released on the right thread
     2080        even though GC could have happened on any thread. It is currently unused (since
     2081        current model is one worker per process) and is being removed because new implementation
     2082        of WebWorkers will be using V8 isolates.
     2083
     2084        * WebCore.gypi:
     2085        * bindings/v8/ChildThreadDOMData.cpp: Removed.
     2086        * bindings/v8/ChildThreadDOMData.h: Removed.
     2087        * bindings/v8/DOMData.cpp:
     2088        (WebCore::DOMData::DOMData):
     2089        (WebCore::DOMData::getCurrent):
     2090        (WebCore::DOMData::getMainThreadStore):
     2091        * bindings/v8/DOMData.h:
     2092        (WebCore::DOMData::getStore):
     2093        (WebCore::DOMData::getCurrentMainThreadStore):
     2094        (WebCore::DOMData::handleWeakObject):
     2095        * bindings/v8/DOMDataStore.cpp:
     2096        (WebCore::DOMDataStore::DOMDataStore):
     2097        (WebCore::DOMDataStore::~DOMDataStore):
     2098        (WebCore::DOMDataStore::weakNodeCallback):
     2099        * bindings/v8/DOMDataStore.h:
     2100        * bindings/v8/MainThreadDOMData.cpp: Removed.
     2101        * bindings/v8/MainThreadDOMData.h: Removed.
     2102        * bindings/v8/V8DOMMap.cpp:
     2103        (WebCore::getDOMDataStore):
     2104        (WebCore::visitDOMNodes):
     2105        (WebCore::visitDOMObjects):
     2106        (WebCore::visitActiveDOMObjects):
     2107        (WebCore::visitDOMSVGElementInstances):
     2108        * bindings/v8/V8DOMMap.h:
     2109        * bindings/v8/V8GCController.cpp:
     2110        (WebCore::V8GCController::gcPrologue):
     2111        (WebCore::V8GCController::gcEpilogue):
     2112        * bindings/v8/WorkerScriptController.cpp:
     2113        (WebCore::WorkerScriptController::~WorkerScriptController):
     2114
     21152011-06-06  Nico Weber  <thakis@chromium.org>
     2116
     2117        Reviewed by Adam Barth.
     2118
     2119        [chromium] Make VideoFrameChromium's destructor virtual
     2120        https://bugs.webkit.org/show_bug.cgi?id=62186
     2121
     2122        This fixes a real bug, since WebMediaPlayerClientImpl::putCurrentFrame
     2123        deletes a VideoFrameChromium subclass type through this interface
     2124        class, causing ~VideoFrameChromiumImpl's destructor not to run.
     2125        (VideoFrameChroimumImpl happens to not have a destructor or any
     2126        non-POD member variables, so it's more a latent bug.)
     2127
     2128        * platform/graphics/chromium/VideoFrameChromium.cpp:
     2129        (WebCore::VideoFrameChromium::~VideoFrameChromium):
     2130        * platform/graphics/chromium/VideoFrameChromium.h:
     2131
     21322011-06-06  Simon Fraser  <simon.fraser@apple.com>
     2133
     2134        Reviewed by Sammy Weinig.
     2135
     2136        Remove some unnecessary includes from AnimationBase.cpp
     2137        https://bugs.webkit.org/show_bug.cgi?id=62183
     2138
     2139        * page/animation/AnimationBase.cpp:
     2140
     21412011-06-06  Kent Tamura  <tkent@chromium.org>
     2142
     2143        Unreviewed, a crash fix by a roll out.
     2144
     2145        REGRESSION(r87980): Null pointer dereference in RenderTextControl::setInnerText()
     2146        https://bugs.webkit.org/show_bug.cgi?id=62116
     2147
     2148        Roll out the WebCore part of r87980.
     2149
     2150        * html/SearchInputType.cpp:
     2151        (WebCore::SearchInputType::SearchInputType):
     2152        (WebCore::SearchInputType::createShadowSubtree):
     2153        (WebCore::SearchInputType::destroyShadowSubtree):
     2154        * html/SearchInputType.h:
     2155        (WebCore::SearchInputType::innerBlockElement):
     2156        (WebCore::SearchInputType::resultsButtonElement):
     2157        (WebCore::SearchInputType::cancelButtonElement):
     2158        * html/TextFieldInputType.cpp:
     2159        (WebCore::TextFieldInputType::TextFieldInputType):
     2160        (WebCore::TextFieldInputType::createShadowSubtree):
     2161        (WebCore::TextFieldInputType::destroyShadowSubtree):
     2162        * html/TextFieldInputType.h:
     2163        (WebCore::TextFieldInputType::innerTextElement):
     2164        (WebCore::TextFieldInputType::innerSpinButtonElement):
     2165        (WebCore::TextFieldInputType::speechButtonElement):
     2166        (WebCore::TextFieldInputType::setInnerTextElement):
     2167        (WebCore::TextFieldInputType::setSpeechButtonElement):
     2168        * html/shadow/TextControlInnerElements.cpp:
     2169        * html/shadow/TextControlInnerElements.h:
     2170
     21712011-06-06  No'am Rosenthal  <noam.rosenthal@nokia.com>
     2172
     2173        Reviewed by Simon Fraser.
     2174
     2175        Allow copying of KeyframeValueList.
     2176        https://bugs.webkit.org/show_bug.cgi?id=62171
     2177
     2178        Make a deep copy of KeyframeValueList, copying each of the keyframes with a virtual clone() function.
     2179
     2180        No new functionality so no new tests.
     2181
     2182        * platform/graphics/GraphicsLayer.h:
     2183        (WebCore::FloatAnimationValue::clone):
     2184        (WebCore::TransformAnimationValue::TransformAnimationValue):
     2185        (WebCore::TransformAnimationValue::clone):
     2186        (WebCore::TransformAnimationValue::value):
     2187        (WebCore::KeyframeValueList::KeyframeValueList):
     2188
     21892011-06-06  Simon Fraser  <simon.fraser@apple.com>
     2190
     2191        Reviewed by Dan Bernstein.
     2192
     2193        Incorrect rounding of color values during transitions
     2194        https://bugs.webkit.org/show_bug.cgi?id=62141
     2195       
     2196        When blending integers, round to the nearest integer, instead of always rounding down.
     2197
     2198        Test: transitions/color-transition-rounding.html
     2199
     2200        * page/animation/AnimationBase.cpp:
     2201        (WebCore::blendFunc):
     2202
     22032011-06-06  Sheriff Bot  <webkit.review.bot@gmail.com>
     2204
     2205        Unreviewed, rolling out r88202.
     2206        http://trac.webkit.org/changeset/88202
     2207        https://bugs.webkit.org/show_bug.cgi?id=62182
     2208
     2209        This broke the mac clang bot (Requested by koz__ on #webkit).
     2210
     2211        * dom/Node.cpp:
     2212        (WebCore::Node::hasNonEmptyBoundingBox):
     2213        * rendering/InlineBox.h:
     2214        * rendering/RenderBlock.cpp:
     2215        (WebCore::RenderBlock::absoluteRects):
     2216        * rendering/RenderBlock.h:
     2217        * rendering/RenderBox.cpp:
     2218        (WebCore::RenderBox::absoluteRects):
     2219        * rendering/RenderBox.h:
     2220        * rendering/RenderInline.cpp:
     2221        (WebCore::RenderInline::absoluteRects):
     2222        * rendering/RenderInline.h:
     2223        * rendering/RenderObject.cpp:
     2224        (WebCore::RenderObject::absoluteBoundingBoxRect):
     2225        * rendering/RenderObject.h:
     2226        (WebCore::RenderObject::absoluteRects):
    488212227        * rendering/RenderText.cpp:
    48822         (WebCore::RenderText::localCaretRect):
    48823         (WebCore::RenderText::widthFromCache):
    48824         (WebCore::RenderText::trimmedPrefWidths):
    48825         (WebCore::RenderText::minLogicalWidth):
    48826         (WebCore::RenderText::maxLogicalWidth):
    48827         (WebCore::RenderText::computePreferredLogicalWidths):
    48828         (WebCore::RenderText::firstRunOrigin):
    48829         (WebCore::RenderText::firstRunX):
    48830         (WebCore::RenderText::firstRunY):
    48831         (WebCore::RenderText::width):
    48832         (WebCore::RenderText::linesBoundingBox):
     2228        (WebCore::RenderText::absoluteRects):
    488332229        * rendering/RenderText.h:
    48834         * rendering/RenderTextControl.cpp:
    48835         (WebCore::RenderTextControl::getAvgCharWidth):
    48836         (WebCore::RenderTextControl::paintPlaceholder):
    48837         * rendering/RenderTreeAsText.cpp:
    48838         (WebCore::writeTextRun):
    48839         * rendering/RootInlineBox.cpp:
    48840         (WebCore::RootInlineBox::placeEllipsis):
    48841         (WebCore::RootInlineBox::placeEllipsisBox):
    48842         (WebCore::RootInlineBox::adjustPosition):
    48843         (WebCore::RootInlineBox::beforeAnnotationsAdjustment):
    48844         (WebCore::RootInlineBox::paddedLayoutOverflowRect):
    48845         * rendering/RootInlineBox.h:
    48846         * rendering/VerticalPositionCache.h:
     2230        * rendering/RenderView.cpp:
     2231        (WebCore::RenderView::absoluteRects):
     2232        * rendering/RenderView.h:
     2233
     22342011-06-06  Noel Gordon  <noel.gordon@gmail.com>
     2235
     2236        Reviewed by Hajime Morita.
     2237
     2238        Draw CSS outline style for render widgets: iframe, embed, object, applet.
     2239        https://bugs.webkit.org/show_bug.cgi?id=57439
     2240
     2241        Draw CSS outlines for render widgets: iframe, embed, object, applet. These elements can
     2242        be focused (via clicks or tabIndex) but should not have a visible focus ring by default.
     2243
     2244        Tests: fast/replaced/no-focus-ring-embed-1.html
     2245               fast/replaced/no-focus-ring-embed-2.html
     2246               fast/replaced/no-focus-ring-iframe.html
     2247               fast/replaced/no-focus-ring-object-1.html
     2248               fast/replaced/no-focus-ring-object-2.html
     2249               fast/replaced/outline-replaced-elements.html
     2250
     2251        * css/html.css:
     2252        (applet:focus, embed:focus, iframe:focus, object:focus):  Default to no focus ring.
     2253        * rendering/RenderWidget.cpp:
     2254        (WebCore::RenderWidget::paint): Paint the render widget CSS outline style.
     2255
     22562011-06-06  MORITA Hajime  <morrita@google.com>
     2257
     2258        Reviewed by Kent Tamura.
     2259
     2260        Assertion fails in TextCheckingHelper by right-clicking on <input type=search>
     2261        https://bugs.webkit.org/show_bug.cgi?id=61991
     2262
     2263        Added a guard bofore TextCheckingHelper construction sites.
     2264
     2265        Test: editing/spelling/spellcheck-input-search-crash.html
     2266
     2267        * editing/Editor.cpp:
     2268        (WebCore::Editor::isSelectionUngrammatical):
     2269        (WebCore::Editor::guessesForUngrammaticalSelection):
     2270        (WebCore::Editor::guessesForMisspelledOrUngrammaticalSelection):
     2271
     22722011-06-06  Emil A Eklund  <eae@chromium.org>
     2273
     2274        Reviewed by Eric Seidel.
     2275
     2276        Update RenderBlock::paint to use IntPoint internally
     2277        https://bugs.webkit.org/show_bug.cgi?id=62140
     2278
     2279        Covered by existing tests.
     2280
     2281        * rendering/RenderBlock.cpp:
     2282        (WebCore::RenderBlock::paint):
     2283
     22842011-06-06  Emil A Eklund  <eae@chromium.org>
     2285
     2286        Reviewed by Eric Seidel.
     2287
     2288        Convert RenderBox::absoluteRects to IntPoint
     2289        https://bugs.webkit.org/show_bug.cgi?id=62130
     2290
     2291        Covered by existing tests.
     2292
     2293        * dom/Node.cpp:
     2294        (WebCore::Node::hasNonEmptyBoundingBox):
     2295        * rendering/RenderBlock.cpp:
     2296        (WebCore::RenderBlock::absoluteRects):
     2297        * rendering/RenderBlock.h:
     2298        * rendering/RenderBox.cpp:
     2299        (WebCore::RenderBox::absoluteRects):
     2300        * rendering/RenderBox.h:
     2301        * rendering/RenderInline.cpp:
     2302        (WebCore::RenderInline::absoluteRects):
     2303        * rendering/RenderInline.h:
     2304        * rendering/RenderObject.cpp:
     2305        (WebCore::RenderObject::absoluteBoundingBoxRect):
     2306        * rendering/RenderObject.h:
     2307        (WebCore::RenderObject::absoluteRects):
     2308        * rendering/RenderText.cpp:
     2309        (WebCore::RenderText::absoluteRects):
     2310        * rendering/RenderText.h:
     2311        * rendering/RenderView.cpp:
     2312        (WebCore::RenderView::absoluteRects):
     2313        * rendering/RenderView.h:
     2314
     23152011-06-06  Levi Weintraub  <leviw@chromium.org>
     2316
     2317        Reviewed by Eric Seidel.
     2318
     2319        Switch shouldPaint to use IntPoint
     2320        https://bugs.webkit.org/show_bug.cgi?id=62158
     2321
     2322        Switching shouldPaint to take an IntPoint representing the paint offset instead
     2323        of a pair of ints.
     2324
     2325        No new tests as this is simple refactoring.
     2326
     2327        * rendering/RenderReplaced.cpp:
     2328        (WebCore::RenderReplaced::paint):
     2329        (WebCore::RenderReplaced::shouldPaint):
     2330        * rendering/RenderReplaced.h:
     2331        * rendering/RenderWidget.cpp:
     2332        (WebCore::RenderWidget::paint):
     2333
     23342011-06-06  James Simonsen  <simonjam@chromium.org>
     2335
     2336        Reviewed by James Robinson.
     2337
     2338        Add monotonicallyIncreasingTime() to get monotonically increasing time
     2339        https://bugs.webkit.org/show_bug.cgi?id=37743
     2340
     2341        * platform/chromium/SystemTimeChromium.cpp:
     2342        (WebCore::monotonicallyIncreasingTime): Add primitive monotonicallyIncreasingTime() which just wraps currentTime().
     2343
     23442011-06-06  Emil A Eklund  <eae@chromium.org>
     2345
     2346        Reviewed by Eric Seidel.
     2347
     2348        Convert RenderBox::pushContentsClip to IntPoint
     2349        https://bugs.webkit.org/show_bug.cgi?id=62133
     2350
     2351        Covered by existing tests.
     2352
     2353        * rendering/RenderBlock.cpp:
     2354        (WebCore::Covered by existing tests.RenderBlock::paint):
     2355        * rendering/RenderBox.cpp:
     2356        (WebCore::RenderBox::pushContentsClip):
     2357        * rendering/RenderBox.h:
     2358        * rendering/RenderTable.cpp:
     2359        (WebCore::RenderTable::paint):
     2360        * rendering/RenderTableSection.cpp:
     2361        (WebCore::RenderTableSection::paint):
     2362
     23632011-06-06  Levi Weintraub  <leviw@chromium.org>
     2364
     2365        Reviewed by Eric Seidel.
     2366
     2367        Switch InlineFlowBox::paintMask to use IntPoint
     2368        https://bugs.webkit.org/show_bug.cgi?id=62156
     2369
     2370        Switching InlineFlowBox::paintMask to take an IntPoint representing the paint
     2371        offset instead of a pair of ints.
     2372
     2373        No new tests as this is simple refactoring.
     2374
     2375        * rendering/InlineFlowBox.cpp:
     2376        (WebCore::InlineFlowBox::paint):
     2377        (WebCore::InlineFlowBox::paintMask):
     2378        * rendering/InlineFlowBox.h:
     2379
     23802011-06-06  Emil A Eklund  <eae@chromium.org>
     2381
     2382        Reviewed by Eric Seidel.
     2383
     2384        Convert hitTest to IntPoint
     2385        https://bugs.webkit.org/show_bug.cgi?id=62144
     2386
     2387        Covered by existing tests.
     2388
     2389        * rendering/InlineBox.cpp:
     2390        (WebCore::InlineBox::nodeAtPoint):
     2391        * rendering/RenderBlock.cpp:
     2392        (WebCore::RenderBlock::hitTestFloats):
     2393        (WebCore::RenderBlock::hitTestContents):
     2394        * rendering/RenderInline.cpp:
     2395        (WebCore::RenderInline::nodeAtPoint):
     2396        * rendering/RenderLayer.cpp:
     2397        (WebCore::RenderLayer::hitTestContents):
     2398        * rendering/RenderLayer.h:
     2399        (WebCore::RenderLayer::renderBoxLocation):
     2400        (WebCore::RenderLayer::renderBoxX):
     2401        (WebCore::RenderLayer::renderBoxY):
     2402        * rendering/RenderLineBoxList.cpp:
     2403        (WebCore::RenderLineBoxList::hitTest):
     2404        * rendering/RenderLineBoxList.h:
     2405        * rendering/RenderObject.cpp:
     2406        (WebCore::RenderObject::hitTest):
     2407        * rendering/RenderObject.h:
     2408
     24092011-06-06  Levi Weintraub  <leviw@chromium.org>
     2410
     2411        Reviewed by Eric Seidel.
     2412
     2413        Switch paintScrollbar to use IntPoint
     2414        https://bugs.webkit.org/show_bug.cgi?id=62151
     2415
     2416        Switching paintScrollbar to use IntPoint instead of a pair of ints.
     2417
     2418        No new tests since this is simple refactoring.
     2419
     2420        * rendering/RenderListBox.cpp:
     2421        (WebCore::RenderListBox::paintObject):
     2422        (WebCore::RenderListBox::paintScrollbar):
     2423        * rendering/RenderListBox.h:
     2424
     24252011-06-06  Daniel Cheng  <dcheng@chromium.org>
     2426
     2427        Reviewed by Tony Chang.
     2428
     2429        [chromium] Delete dead clipboard code.
     2430        https://bugs.webkit.org/show_bug.cgi?id=62113
     2431
     2432        No new tests since this change only deleted unused code.
     2433
     2434        * WebCore.gypi:
     2435        * platform/chromium/ChromiumDataObjectLegacy.cpp: Removed.
     2436        * platform/chromium/ChromiumDataObjectLegacy.h: Removed.
     2437        * platform/chromium/ReadableDataObject.cpp: Removed.
     2438        * platform/chromium/ReadableDataObject.h: Removed.
     2439        * platform/chromium/WritableDataObject.cpp: Removed.
     2440        * platform/chromium/WritableDataObject.h: Removed.
     2441
     24422011-06-06  Levi Weintraub  <leviw@chromium.org>
     2443
     2444        Reviewed by Eric Seidel.
     2445
     2446        Switch paintOutline, paintContinuationOutlines, and paintOutlineForLine to use IntPoint
     2447        https://bugs.webkit.org/show_bug.cgi?id=62137
     2448
     2449        Switching paintOutline, paintContinuationOutlines, and paintOutlineForLine to take an IntPoint
     2450        representing the paint offset instead of a pair of ints.
     2451
     2452        No new tests as this is simple refactoring.
     2453
     2454        * rendering/RenderBlock.cpp:
     2455        (WebCore::RenderBlock::paintObject):
     2456        (WebCore::RenderBlock::paintContinuationOutlines):
     2457        * rendering/RenderBlock.h:
     2458        * rendering/RenderInline.cpp:
     2459        (WebCore::RenderInline::paintOutline):
     2460        (WebCore::RenderInline::paintOutlineForLine):
     2461        * rendering/RenderInline.h:
     2462        * rendering/RenderLineBoxList.cpp:
     2463        (WebCore::RenderLineBoxList::paint):
     2464
     24652011-06-06  Emil A Eklund  <eae@chromium.org>
     2466
     2467        Reviewed by Eric Seidel.
     2468
     2469        Convert RenderBox::popContentsClip to IntPoint
     2470        https://bugs.webkit.org/show_bug.cgi?id=62132
     2471
     2472        Covered by existing tests.
     2473
     2474        * rendering/RenderBlock.cpp:
     2475        (WebCore::RenderBlock::paint):
     2476        * rendering/RenderBox.cpp:
     2477        (WebCore::RenderBox::popContentsClip):
     2478        * rendering/RenderBox.h:
     2479        * rendering/RenderTable.cpp:
     2480        (WebCore::RenderTable::paint):
     2481        * rendering/RenderTableSection.cpp:
     2482        (WebCore::RenderTableSection::paint):
     2483
     24842011-06-06  Levi Weintraub  <leviw@chromium.org>
     2485
     2486        Reviewed by Eric Seidel.
     2487
     2488        Remove tx/ty offset from selectionRect
     2489        https://bugs.webkit.org/show_bug.cgi?id=62146
     2490
     2491        Removing unused offset parameters from selectionRect.
     2492
     2493        No new tests since this is just cleanup.
     2494
     2495        * rendering/EllipsisBox.cpp:
     2496        (WebCore::EllipsisBox::selectionRect):
     2497        * rendering/EllipsisBox.h:
     2498        * rendering/InlineTextBox.cpp:
     2499        (WebCore::InlineTextBox::selectionRect):
     2500        * rendering/InlineTextBox.h:
     2501        * rendering/RenderText.cpp:
     2502        (WebCore::RenderText::absoluteRectsForRange):
     2503        (WebCore::ellipsisRectForBox):
     2504        (WebCore::RenderText::absoluteQuadsForRange):
     2505        (WebCore::RenderText::selectionRectForRepaint):
     2506        * rendering/svg/RenderSVGInlineText.cpp:
     2507        (WebCore::RenderSVGInlineText::localCaretRect):
    488472508        * rendering/svg/SVGInlineTextBox.cpp:
    48848         (WebCore::SVGInlineTextBox::offsetForPosition):
    48849         (WebCore::SVGInlineTextBox::positionForOffset):
    48850         (WebCore::SVGInlineTextBox::constructTextRun):
     2509        (WebCore::SVGInlineTextBox::selectionRect):
    488512510        * rendering/svg/SVGInlineTextBox.h:
    48852         * rendering/svg/SVGRenderTreeAsText.cpp:
    48853         (WebCore::writeRenderSVGTextBox):
    48854         * rendering/svg/SVGTextMetrics.cpp:
    48855         (WebCore::SVGTextMetrics::SVGTextMetrics):
    48856         (WebCore::constructTextRun):
    48857         * svg/SVGFont.cpp:
    48858         (WebCore::floatWidthMissingGlyphCallback):
    48859         (WebCore::Font::drawTextUsingSVGFont):
    48860 
    48861 2011-02-17  Nikolas Zimmermann  <nzimmermann@rim.com>
    48862 
    48863         Reviewed by Dirk Schulze.
    48864 
    48865         'ex' coordinates fail, when SVGFont doesn't provide an explicit xHeight attribute
    48866         https://bugs.webkit.org/show_bug.cgi?id=54672
    48867 
    48868         Measure the xHeight from the 'x' glyph of a SVGFont, if the font itself doesn't explicitely specify an x-height attribute.
    48869         Fixes the modern version of SVG 1.1 2nd Edition coords-units-03-b.svg.
    48870 
    48871         Test: svg/W3C-SVG-1.1-SE/coords-units-03-b.svg
    48872 
    48873         * platform/graphics/SimpleFontData.cpp:
    48874         (WebCore::SimpleFontData::SimpleFontData):
    48875 
    48876 2011-02-10  Luiz Agostini  <luiz.agostini@openbossa.org>
    48877 
    48878         Reviewed by Adam Roben.
    48879 
    48880         HTML5 <details> and <summary>: localized text
    48881         https://bugs.webkit.org/show_bug.cgi?id=54260
    48882 
    48883         The method defaultDetailsSummaryText was added to LocalizationStrategy class and to
    48884         platform/LocalizedStrings. It is used to provide the default label to be used by a
    48885         <details> tag that has no <summary> child.
    48886 
    48887         * platform/LocalizationStrategy.h:
    48888         * platform/LocalizedStrings.cpp:
    48889         (WebCore::fileButtonNoFileSelectedLabel):
    48890         (WebCore::defaultDetailsSummaryText):
    48891         * platform/LocalizedStrings.h:
    48892         * platform/android/LocalizedStringsAndroid.cpp:
    48893         (WebCore::defaultDetailsSummaryText):
    48894         * platform/brew/LocalizedStringsBrew.cpp:
    48895         (WebCore::defaultDetailsSummaryText):
    48896         * platform/efl/LocalizedStringsEfl.cpp:
    48897         (WebCore::defaultDetailsSummaryText):
    48898         * platform/gtk/LocalizedStringsGtk.cpp:
    48899         (WebCore::defaultDetailsSummaryText):
    48900         * platform/haiku/LocalizedStringsHaiku.cpp:
    48901         (WebCore::defaultDetailsSummaryText):
    48902         * platform/wx/LocalizedStringsWx.cpp:
    48903         (WebCore::defaultDetailsSummaryText):
    48904 
    48905 2011-02-17  Kristian Amlie  <kristian.amlie@nokia.com>
    48906 
    48907         Reviewed by Laszlo Gombos.
    48908 
    48909         Updated include paths for phonon.
    48910 
    48911         [Qt] WebKit patches required to work with a modularized version of Qt
    48912         https://bugs.webkit.org/show_bug.cgi?id=53916
    48913 
    48914         Build fix. No tests.
    48915 
    48916         * WebCore.pro:
    48917 
    48918 2011-02-17  Hui Huang  <hui.2.huang@nokia.com>
    48919 
    48920         Reviewed by Laszlo Gombos.
    48921 
    48922         The URL of HTML5 Video Element is percent encoded at websites such as youtube.
    48923         It is percent encoded again by QUrl constructor QUrl::QUrl(QString). This causes
    48924         the HTTP GET request for the video to be rejected by the service provider.
    48925         https://bugs.webkit.org/show_bug.cgi?id=53973.
    48926 
    48927         The bug is fixed by constructing QUrl from the encoded URL.
    48928 
    48929         New test function tst_QWebPage::loadHtml5Video() is added in
    48930         Source/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp
    48931 
    48932         * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
    48933         (WebCore::MediaPlayerPrivateQt::commitLoad):
    48934 
    48935 2011-02-17  Andreas Kling  <kling@webkit.org>
    48936 
    48937         Reviewed by Antti Koivisto.
    48938 
    48939         [Qt] Crash when calling QWebFrame::setUrl() while a previous load has pending requests
    48940         https://bugs.webkit.org/show_bug.cgi?id=49216
    48941 
    48942         CachedResourceRequest::didFail() will protect the CachedResourceLoader's
    48943         document() while it runs, but if we're being called from the Document destructor,
    48944         the protecting RefPtr<Document> will cause a double-delete instead.
    48945 
    48946         * loader/cache/CachedResourceLoader.cpp:
    48947         (WebCore::CachedResourceLoader::~CachedResourceLoader): Clear the m_document
    48948         pointer so CachedResourceRequest::didFail() won't try to protect it.
    48949         (WebCore::CachedResourceLoader::frame): Add null-check for m_document.
    48950 
    48951 2011-02-17  Andrey Adaikin  <aandrey@google.com>
    48952 
    48953         Reviewed by Pavel Feldman.
    48954 
    48955         Web Inspector: [Text editor] Add updateHighlight method to the highlighter
    48956         https://bugs.webkit.org/show_bug.cgi?id=54448
    48957 
    48958         * inspector/front-end/SourceTokenizer.js:
    48959         * inspector/front-end/TextEditorHighlighter.js:
    48960         (WebInspector.TextEditorHighlighter.prototype.set mimeType):
    48961         (WebInspector.TextEditorHighlighter.prototype.reset):
    48962         (WebInspector.TextEditorHighlighter.prototype.updateHighlight):
    48963         (WebInspector.TextEditorHighlighter.prototype._highlightInChunks):
    48964         (WebInspector.TextEditorHighlighter.prototype._highlightLines):
    48965 
    48966 2011-02-16  Pavel Podivilov  <podivilov@chromium.org>
     2511
     25122011-06-06  Paul Kinlan  <paulkinlan@google.com>
     2513
     2514        Reviewed by Jeremy Orlow.
     2515
     2516        Let developers call createEvent("PopStateEvent"), previously it wasn't
     2517        exposed and threw an exeception.
     2518        https://bugs.webkit.org/show_bug.cgi?id=62099
     2519
     2520        * WebCore/dom/Document.cpp:
     2521        * WebCore/dom/PopStateEvent.cpp:
     2522        * WebCore/dom/PopStateEvent.h:
     2523
     25242011-06-03  Levi Weintraub  <leviw@chromium.org>
     2525
     2526        Reviewed by Eric Seidel.
     2527
     2528        Switch paintSelection to use IntPoint
     2529        https://bugs.webkit.org/show_bug.cgi?id=62059
     2530
     2531        Switching paintSelection to use an IntPoint to represent the paint offset
     2532        instead of a pair of ints.
     2533
     2534        No new tests since this is simple refactoring.
     2535
     2536        * rendering/EllipsisBox.cpp:
     2537        (WebCore::EllipsisBox::paint):
     2538        (WebCore::EllipsisBox::paintSelection):
     2539        * rendering/EllipsisBox.h:
     2540        * rendering/RenderBlock.cpp:
     2541        (WebCore::RenderBlock::paintObject):
     2542        (WebCore::RenderBlock::paintSelection):
     2543        * rendering/RenderBlock.h:
     2544
     25452011-06-06  Emil A Eklund  <eae@chromium.org>
     2546
     2547        Reviewed by Eric Seidel.
     2548
     2549        Convert RenderBox::clipRect to IntPoint
     2550        https://bugs.webkit.org/show_bug.cgi?id=62045
     2551
     2552        Covered by existing tests.
     2553
     2554        * rendering/RenderBox.cpp:
     2555        (WebCore::RenderBox::clipRect):
     2556        * rendering/RenderBox.h:
     2557        * rendering/RenderLayer.cpp:
     2558        (WebCore::RenderLayer::calculateClipRects):
     2559        (WebCore::RenderLayer::calculateRects):
     2560        (WebCore::RenderLayer::repaintBlockSelectionGaps):
     2561        * rendering/RenderLayerBacking.cpp:
     2562        (WebCore::clipBox):
     2563
     25642011-06-06  Peter Kasting  <pkasting@google.com>
     2565
     2566        Reviewed by Antonio Gomes.
     2567
     2568        Remove unnecessary args from scroll functions.
     2569        https://bugs.webkit.org/show_bug.cgi?id=61648
     2570
     2571        No behavior change, so no tests.
     2572
     2573        * WebCore.exp.in:
     2574        * WebCore.order:
     2575        * dom/Element.cpp:
     2576        (WebCore::Element::scrollIntoView):
     2577        (WebCore::Element::scrollIntoViewIfNeeded):
     2578        * editing/FrameSelection.cpp:
     2579        (WebCore::FrameSelection::revealSelection):
     2580        * page/EventHandler.cpp:
     2581        (WebCore::EventHandler::handleMousePressEvent):
     2582        * page/FrameView.cpp:
     2583        (WebCore::FrameView::scrollToAnchor):
     2584        * rendering/RenderBox.cpp:
     2585        (WebCore::RenderBox::canBeScrolledAndHasScrollableArea):
     2586        (WebCore::RenderBox::canBeProgramaticallyScrolled):
     2587        * rendering/RenderBox.h:
     2588        * rendering/RenderLayer.cpp:
     2589        (WebCore::RenderLayer::scrollRectToVisible):
     2590        (WebCore::RenderLayer::autoscroll):
     2591        * rendering/RenderLayer.h:
     2592        * rendering/RenderListBox.h:
     2593        (WebCore::RenderListBox::canBeProgramaticallyScrolled):
     2594        * rendering/RenderTextControl.h:
     2595        (WebCore::RenderTextControl::canBeProgramaticallyScrolled):
     2596
     25972011-06-06  Levi Weintraub  <leviw@chromium.org>
     2598
     2599        Reviewed by Eric Seidel.
     2600
     2601        Switch paintContents, paintColumnContents, paintColumnRules, and paintSelection to use IntPoint
     2602        https://bugs.webkit.org/show_bug.cgi?id=62134
     2603
     2604        Switching paintContents, paintColumnContents, paintColumnRules, and paintSelection to take an
     2605        IntPoint representing the paint offset instead of a pair of ints.
     2606
     2607        No new tests as this simple refactoring.
     2608
     2609        * rendering/RenderBlock.cpp:
     2610        (WebCore::RenderBlock::paintColumnRules):
     2611        (WebCore::RenderBlock::paintColumnContents):
     2612        (WebCore::RenderBlock::paintContents):
     2613        (WebCore::RenderBlock::paintObject):
     2614        (WebCore::RenderBlock::paintSelection):
     2615        * rendering/RenderBlock.h:
     2616
     26172011-06-06  Yael Aharon  <yael.aharon@nokia.com>
     2618
     2619        Reviewed by Eric Seidel.
     2620
     2621        Inline elements are wrapped prematurely with non-zero border, margin or padding.
     2622        https://bugs.webkit.org/show_bug.cgi?id=60459
     2623
     2624        When an inline element has a right border/margin/padding and it has more than one descendant with no siblings,
     2625        the width of the right border/margin/padding should be included in line breaking calculation only once,
     2626        and not for each descendant.
     2627
     2628        Test: fast/inline/inline-wrap-with-parent-padding.html
     2629
     2630        * rendering/RenderBlockLineLayout.cpp:
     2631        (WebCore::RenderBlock::LineBreaker::nextLineBreak):
     2632
     26332011-06-06  Shishir Agrawal  <shishir@chromium.org>
     2634
     2635        Reviewed by Tony Gentilcore.
     2636
     2637        Add a "prerender" state for page visibility.
     2638        https://bugs.webkit.org/show_bug.cgi?id=62062
     2639
     2640        * page/PageVisibilityState.cpp:
     2641        (WebCore::pageVisibilityStateString):
     2642        * page/PageVisibilityState.h:
     2643
     26442011-06-06  Cary Clark  <caryclark@google.com>
     2645
     2646        Reviewed by Eric Seidel.
     2647
     2648        Fix typo in CachedFont.cpp #define
     2649        https://bugs.webkit.org/show_bug.cgi?id=62127
     2650
     2651        No new tests. The define typo in question is
     2652        not yet enabled, so this change has no functional
     2653        impact.
     2654
     2655        * loader/cache/CachedFont.cpp:
     2656        change SKIA_MAC_ON_CHROME to SKIA_ON_MAC_CHROME
     2657
     26582011-06-03  Levi Weintraub  <leviw@chromium.org>
     2659
     2660        Reviewed by Eric Seidel.
     2661
     2662        Switch paintFloats, paintChildren, and paintEllipsisBoxes to use IntPoint
     2663        https://bugs.webkit.org/show_bug.cgi?id=62058
     2664
     2665        Switching paintFloats, paintChildren, and paintEllipsisBoxes to take IntPoints representing
     2666        their paint offsets instead of pairs of ints.
     2667
     2668        No new tests since this is simple refactoring.
     2669
     2670        * rendering/RenderBlock.cpp:
     2671        (WebCore::RenderBlock::paintColumnContents):
     2672        (WebCore::RenderBlock::paintContents):
     2673        (WebCore::RenderBlock::paintChildren):
     2674        (WebCore::RenderBlock::paintObject):
     2675        (WebCore::RenderBlock::paintFloats):
     2676        (WebCore::RenderBlock::paintEllipsisBoxes):
     2677        * rendering/RenderBlock.h:
     2678
     26792011-06-06  Steve Block  <steveblock@google.com>
    489672680
    489682681        Reviewed by Yury Semikhatsky.
    489692682
    48970         Web Inspector: show all inlined scripts from single document in the same source frame.
    48971         https://bugs.webkit.org/show_bug.cgi?id=54544
    48972 
    48973         Currently when debugging synchronously executed inlined scripts each script is shown in it's own source frame ("example.html:24").
    48974         We should show such scripts in the same source frame "example.html" with <script></script> framing.
    48975 
    48976         Test: inspector/debugger/debug-inlined-scripts.html
    48977 
    48978         * inspector/front-end/ScriptsPanel.js:
    48979         (WebInspector.ScriptsPanel.prototype._scriptSourceChanged):
    48980         (WebInspector.ScriptsPanel.prototype._addScript):
    48981         (WebInspector.ScriptsPanel.prototype._resourceForURL):
    48982         (WebInspector.ScriptsPanel.prototype._resourceLoadingFinished):
    48983         (WebInspector.ScriptsPanel.prototype.addConsoleMessage):
    48984         (WebInspector.ScriptsPanel.prototype.clearConsoleMessages):
    48985         (WebInspector.ScriptsPanel.prototype.reset):
    48986         (WebInspector.ScriptsPanel.prototype._sourceFrameForResource):
    48987         (WebInspector.ScriptsPanel.prototype._sourceFrameForScript):
    48988         (WebInspector.ScriptsPanel.prototype._recreateSourceFrame):
    48989         (WebInspector.ScriptsPanel.prototype._showScriptOrResource):
    48990         (WebInspector.ScriptsPanel.prototype._addScriptToFilesMenu.optionCompare):
    48991         (WebInspector.ScriptsPanel.prototype._addScriptToFilesMenu):
    48992         (WebInspector.SourceFrameContentProviderForScript.prototype.requestContent):
    48993         (WebInspector.SourceFrameContentProviderForScript.prototype._buildSource):
    48994 
    48995 2011-02-17  Nikolas Zimmermann  <nzimmermann@rim.com>
    48996 
    48997         Reviewed by Dirk Schulze.
    48998 
    48999         svg/batik/paints/patternRegions-positioned-objects.svg fails on Windows
    49000         https://bugs.webkit.org/show_bug.cgi?id=44484
    49001 
    49002         Pattern of pattern defined with objectBoundingBox does not render correctly
    49003         https://bugs.webkit.org/show_bug.cgi?id=53463
    49004 
    49005         Fix <pattern> + patternContentUnits="objectBoundingBox" support.
    49006         We were incorrrectly translating the tile image transform, by the target objects bbox.x()/y().
    49007         RenderSVGResourceMask/Clipper don't have this error.
     2683        Use of ENABLE(INSPECTOR) is inconsistent
     2684        https://bugs.webkit.org/show_bug.cgi?id=62118
     2685
     2686        Correctly guard implementation of ScriptProfiler.
     2687
     2688        No new tests, build fix only.
     2689
     2690        * bindings/v8/ScriptProfiler.cpp:
     2691        (WebCore::ScriptProfiler::initialize):
     2692
     26932011-06-04  Dominic Cooney  <dominicc@chromium.org>
     2694
     2695        Reviewed by Dimitri Glazkov.
     2696
     2697        Add WebCoreTestSupport project.
     2698        https://bugs.webkit.org/show_bug.cgi?id=61076
     2699
     2700        * WebCore.vcproj/WebCoreCommon.vsprops:
     2701        * WebCore.vcproj/WebCoreTestSupport.vcproj: Added.
     2702        * WebCore.vcproj/copyForwardingHeaders.cmd: Copy WebCoreTestSupport.h.
     2703
     27042011-06-06  Alexandru Chiculita  <achicu@adobe.com>
     2705
     2706        Reviewed by Kent Tamura.
     2707
     2708        Add ENABLE_CSS_EXCLUSIONS support for build-webkit script
     2709        https://bugs.webkit.org/show_bug.cgi?id=61628
     2710
     2711        This patch modifies only the build system. Therefore,
     2712        there are no new tests.
     2713
     2714        * Configurations/FeatureDefines.xcconfig:
     2715
     27162011-06-06  Mihnea Ovidenie  <mihnea@adobe.com>
     2717
     2718        Reviewed by Kent Tamura.
     2719
     2720        Add ENABLE(CSS_REGIONS) guard for CSS Regions support
     2721        https://bugs.webkit.org/show_bug.cgi?id=61631
    490082722       
    49009         Fix nesting <patterns> in objectBoundingBox mode, propagate the tileImageTransform as new user-space
    49010         when drawing the pattern children. <mask> + <clipPath> don't have the problem.
    49011 
    49012         Test: svg/custom/nested-pattern-boundingBoxModeContent.svg
    49013 
    49014         * rendering/svg/RenderSVGResourcePattern.cpp:
    49015         (WebCore::RenderSVGResourcePattern::buildTileImageTransform):
    49016         (WebCore::RenderSVGResourcePattern::createTileImage):
    49017 
    49018 2011-02-17  Csaba Osztrogonác  <ossy@webkit.org>
    49019 
    49020         Unreviewed.
    49021 
    49022         [Qt][V8] Buildfix after r78752.
    49023 
    49024         * CodeGenerators.pri: Add missing IDL files.
    49025 
    49026 2011-02-17  Benjamin Kalman  <kalman@chromium.org>
    49027 
    49028         Reviewed by Ryosuke Niwa.
    49029 
    49030         RTL lineboundary left/right is reversed when cursor is at start of RTL container
    49031         https://bugs.webkit.org/show_bug.cgi?id=54534
    49032 
    49033         Test: editing/selection/extend-left-right-by-lineboundary.html
    49034 
    49035         Add missing cases for extending left/right by lineboundary.
    49036 
    49037         * editing/SelectionController.cpp:
    49038         (WebCore::SelectionController::modifyExtendingRight):
    49039         (WebCore::SelectionController::modifyExtendingLeft):
    49040 
    49041 2011-02-16  Philippe Normand  <pnormand@igalia.com>
    49042 
    49043         Reviewed by Martin Robinson.
    49044 
    49045         [GTK] libsoup critical warnings
    49046         https://bugs.webkit.org/show_bug.cgi?id=54557
    49047 
    49048         Avoid pausing a soup message for already downloaded resources.
    49049 
    49050         * platform/network/soup/ResourceHandleSoup.cpp:
    49051         (WebCore::ResourceHandle::platformSetDefersLoading):
    49052 
    49053 2011-02-16  Brian Ryner  <bryner@chromium.org>
    49054 
    49055         Reviewed by Darin Fisher.
    49056 
    49057         Split the socket address field into separate IP address and port fields.
    49058         This will make the field less error-prone to parse, for example when
    49059         dealing with IPv6 literals.
    49060         https://bugs.webkit.org/show_bug.cgi?id=54607
    49061 
    49062         No new tests required.
    49063 
    49064         * platform/network/chromium/ResourceResponse.cpp:
    49065         (WebCore::ResourceResponse::doPlatformCopyData):
    49066         (WebCore::ResourceResponse::doPlatformAdopt):
    49067         * platform/network/chromium/ResourceResponse.h:
    49068         (WebCore::ResourceResponse::ResourceResponse):
    49069         (WebCore::ResourceResponse::remoteIPAddress):
    49070         (WebCore::ResourceResponse::setRemoteIPAddress):
    49071         (WebCore::ResourceResponse::remotePort):
    49072         (WebCore::ResourceResponse::setRemotePort):
    49073 
    49074 2011-02-16  Dominic Mazzoni  <dmazzoni@google.com>
    49075 
    49076         Reviewed by Chris Fleizach.
    49077 
    49078         Add support for canvas fallback content.
    49079         https://bugs.webkit.org/show_bug.cgi?id=50126
    49080 
    49081         Test: accessibility/canvas-fallback-content.html
    49082 
    49083         * accessibility/AccessibilityObject.h:
    49084         * accessibility/AccessibilityRenderObject.cpp:
    49085         (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
    49086         (WebCore::AccessibilityRenderObject::canHaveChildren):
    49087         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
    49088         (atkRole):
    49089         * accessibility/mac/AccessibilityObjectWrapper.mm:
    49090         * html/HTMLFormControlElement.cpp:
    49091         (WebCore::HTMLFormControlElement::isFocusable):
    49092         * rendering/RenderHTMLCanvas.cpp:
    49093         (WebCore::RenderHTMLCanvas::recursiveSetNoNeedsLayout):
    49094         (WebCore::RenderHTMLCanvas::layout):
    49095         (WebCore::RenderHTMLCanvas::nodeAtPoint):
    49096         * rendering/RenderHTMLCanvas.h:
    49097         (WebCore::RenderHTMLCanvas::children):
    49098         (WebCore::RenderHTMLCanvas::canHaveChildren):
    49099         (WebCore::RenderHTMLCanvas::virtualChildren):
    49100         * rendering/RenderObject.cpp:
    49101         (WebCore::RenderObject::repaint):
    49102         * rendering/RenderTreeAsText.cpp:
    49103         (WebCore::write):
    49104 
    49105 2011-02-16  Matthew Delaney  <mdelaney@apple.com>
    49106 
    49107         Reviewed by Simon Fraser.
    49108 
    49109         Allow acceleratesDrawing for WebKit2
    49110         https://bugs.webkit.org/show_bug.cgi?id=54511
    49111 
    49112         Plumb through preference for accelerated drawing.
     2723        This patch modifies only the build system. Therefore,
     2724        there are no new tests.
     2725
     2726        * Configurations/FeatureDefines.xcconfig:
     2727
     27282011-06-03  Hans Wennborg  <hans@chromium.org>
     2729
     2730        Reviewed by Tony Gentilcore.
     2731
     2732        IndexedDB: Clean-up function prototypes in IDBLevelDBBackingStore.cpp
     2733        https://bugs.webkit.org/show_bug.cgi?id=62013
     2734
     2735        Clean up the prototypes for cursor open functions by introducing the
     2736        CursorOptions struct.
     2737
     2738        Just clean-up, no new functionality so no new tests.
     2739
     2740        * storage/IDBLevelDBBackingStore.cpp:
     2741        (WebCore::CursorOptions::CursorImplCommon::CursorImplCommon):
     2742        (WebCore::CursorOptions::CursorImplCommon::firstSeek):
     2743        (WebCore::CursorOptions::CursorImplCommon::continueFunction):
     2744        (WebCore::CursorOptions::ObjectStoreCursorImpl::create):
     2745        (WebCore::CursorOptions::ObjectStoreCursorImpl::ObjectStoreCursorImpl):
     2746        (WebCore::CursorOptions::IndexKeyCursorImpl::create):
     2747        (WebCore::CursorOptions::IndexKeyCursorImpl::IndexKeyCursorImpl):
     2748        (WebCore::CursorOptions::IndexCursorImpl::create):
     2749        (WebCore::CursorOptions::IndexCursorImpl::IndexCursorImpl):
     2750        (WebCore::IDBLevelDBBackingStore::openObjectStoreCursor):
     2751        (WebCore::IDBLevelDBBackingStore::openIndexKeyCursor):
     2752        (WebCore::IDBLevelDBBackingStore::openIndexCursor):
     2753
     27542011-06-06  Mustafizur Rahaman  <mustaf.here@gmail.com>
     2755
     2756        Reviewed by Darin Adler.
     2757
     2758        Fix LayoutTests/canvas/philip/tests/2d.composite.operation.highlight.html
     2759        https://bugs.webkit.org/show_bug.cgi?id=48290
    491132760       
    49114         When accelerated drawing is enabled, set a flag on new GraphicsLayers.
    49115 
    49116         Not testable via Layout Tests
    49117 
    49118         * WebCore.exp.in:
    49119         * page/Settings.cpp:
    49120         (WebCore::Settings::Settings):
    49121         (WebCore::Settings::setAcceleratedDrawingEnabled):
    49122         * page/Settings.h:
    49123         (WebCore::Settings::acceleratedDrawingEnabled):
    49124         * rendering/RenderLayerCompositor.cpp:
    49125         (WebCore::RenderLayerCompositor::updateBacking):
    49126 
    49127 2011-02-16  Victoria Kirst  <vrk@google.com>
    49128 
    49129         Reviewed by Kenneth Russell.
    49130 
    49131         [chromium] Fix green pixels at edge of certain GPU-accelerated videos
    49132         https://bugs.webkit.org/show_bug.cgi?id=54559
    49133 
    49134         Adds logic to properly resize the range of YUV textures to only
    49135         select legitimate values.
    49136 
    49137         * platform/graphics/chromium/VideoFrameChromium.h:
    49138         * platform/graphics/chromium/VideoLayerChromium.cpp:
    49139         (WebCore::VideoLayerChromium::SharedValues::SharedValues):
    49140         (WebCore::VideoLayerChromium::allocateTexturesIfNeeded):
    49141         (WebCore::VideoLayerChromium::drawYUV):
    49142         * platform/graphics/chromium/VideoLayerChromium.h:
    49143         (WebCore::VideoLayerChromium::SharedValues::yWidthScaleFactorLocation):
    49144         (WebCore::VideoLayerChromium::SharedValues::uvWidthScaleFactorLocation):
    49145 
    49146 2011-02-16  Bill Budge  <bbudge@chromium.org>
    49147 
    49148         Reviewed by David Levin.
    49149 
    49150         Need didReceiveCachedMetadata, and finishTime for didFinishLoading exposed in ThreadableLoaderClient
    49151         https://bugs.webkit.org/show_bug.cgi?id=54313
    49152 
    49153         No tests needed, exposes no new functionality
    49154 
    49155         * fileapi/FileReaderLoader.cpp:
    49156         (WebCore::FileReaderLoader::didFinishLoading):
    49157         * fileapi/FileReaderLoader.h:
    49158         * loader/DocumentThreadableLoader.cpp:
    49159         (WebCore::DocumentThreadableLoader::setDefersLoading):
    49160         (WebCore::DocumentThreadableLoader::didReceiveCachedMetadata):
    49161         (WebCore::DocumentThreadableLoader::didFinishLoading):
    49162         (WebCore::DocumentThreadableLoader::loadRequest):
    49163         * loader/DocumentThreadableLoader.h:
    49164         * loader/ThreadableLoaderClient.h:
    49165         (WebCore::ThreadableLoaderClient::didReceiveData):
    49166         (WebCore::ThreadableLoaderClient::didReceiveCachedMetadata):
    49167         (WebCore::ThreadableLoaderClient::didFinishLoading):
    49168         * loader/ThreadableLoaderClientWrapper.h:
    49169         (WebCore::ThreadableLoaderClientWrapper::didReceiveData):
    49170         (WebCore::ThreadableLoaderClientWrapper::didReceiveCachedMetadata):
    49171         (WebCore::ThreadableLoaderClientWrapper::didFinishLoading):
    49172         * loader/WorkerThreadableLoader.cpp:
    49173         (WebCore::workerContextDidReceiveCachedMetadata):
    49174         (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveCachedMetadata):
    49175         (WebCore::workerContextDidFinishLoading):
    49176         (WebCore::WorkerThreadableLoader::MainThreadBridge::didFinishLoading):
    49177         * loader/WorkerThreadableLoader.h:
    49178         * notifications/Notification.cpp:
    49179         (WebCore::Notification::didFinishLoading):
    49180         * notifications/Notification.h:
    49181         * page/EventSource.cpp:
    49182         (WebCore::EventSource::didFinishLoading):
    49183         * page/EventSource.h:
    49184         * workers/WorkerScriptLoader.cpp:
    49185         (WebCore::WorkerScriptLoader::didFinishLoading):
    49186         * workers/WorkerScriptLoader.h:
    49187         * xml/XMLHttpRequest.cpp:
    49188         (WebCore::XMLHttpRequest::didFinishLoading):
    49189         * xml/XMLHttpRequest.h:
    49190 
    49191 2011-02-16  Jeremy Orlow  <jorlow@chromium.org>
    49192 
    49193         Fix uninitialized memory error.
    49194 
    49195         * storage/IDBDatabaseBackendImpl.cpp:
    49196         (WebCore::IDBDatabaseBackendImpl::close):
    49197 
    49198 2011-02-16  Adam Barth  <abarth@webkit.org>
    49199 
    49200         Reviewed by Eric Seidel.
    49201 
    49202         Fix xssAuditor/form-action.html
    49203         https://bugs.webkit.org/show_bug.cgi?id=54590
    49204 
    49205         We should block form actions.  Although this technically can't be used
    49206         to run script, it's a pretty easy vector for stealing passwords.
    49207 
    49208         * html/parser/XSSFilter.cpp:
    49209         (WebCore::XSSFilter::filterTokenInitial):
    49210         (WebCore::XSSFilter::filterFormToken):
    49211         * html/parser/XSSFilter.h:
    49212 
    49213 2011-02-16  Abhishek Arya  <inferno@chromium.org>
    49214 
    49215         Reviewed by James Robinson.
    49216 
    49217         Remove the early bail added in r75823 since we can run into anonymous
    49218         blocks when traversing the parents chain for clearing floats.
    49219         https://bugs.webkit.org/show_bug.cgi?id=54601
    49220 
    49221         removeFloatingOrPositionedChildFromBlockLists tries to find the topmost
    49222         parent containing "this" block and then tries to remove it from its floats
    49223         list and mark all descendants blocks for layout. I added a bailout condition
    49224         in r75823 because we thought that if one of the parent render block does not
    49225         contain "this" float, then it is safe to assume that none of the grand parents
    49226         will have it. This is a wrong assumption since anonymous blocks do not have
    49227         float objects and we need to go higher in the chain to find the top most parent
    49228         containing this float. Instead of breaking out of the loop, it is ok to keep
    49229         traversing the chain till we find that parent. Otherwise, we will leave deleted
    49230         floats in the grand parents floats list.
    49231 
    49232         Test: fast/block/float/floats-not-cleared-from-grand-parents.html
    49233 
    49234         * rendering/RenderBox.cpp:
    49235         (WebCore::RenderBox::removeFloatingOrPositionedChildFromBlockLists):
    49236 
    49237 2011-02-16  Andreas Kling  <kling@webkit.org>
    49238 
    49239         Reviewed by Ryosuke Niwa.
    49240 
    49241         Editing styles should not emit #RRGGBBAA colors
    49242         https://bugs.webkit.org/show_bug.cgi?id=54540
    49243 
    49244         * editing/ApplyStyleCommand.cpp:
    49245         (WebCore::StyleChange::extractTextStyles): Use Color::serialized()
    49246         instead of Color::nameForRenderTreeAsText().
    49247 
    49248 2011-02-16  Ryosuke Niwa  <rniwa@webkit.org>
     2761        "highlight" is not a valid globalComposite operation
     2762        as per http://www.w3.org/TR/2011/WD-2dcontext-20110525/#compositing
     2763        Therefore, removed the option from the source code.
     2764       
     2765        Tests: No new tests required.
     2766        LayoutTests\canvas\philip\tests\2d.composite.operation.highlight.html can be used for testing.
     2767
     2768        * css/CSSPrimitiveValueMappings.h:
     2769        (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
     2770        (WebCore::CSSPrimitiveValue::operator CompositeOperator):
     2771        * platform/graphics/GraphicsTypes.cpp:
     2772        * platform/graphics/GraphicsTypes.h:
     2773        * platform/graphics/cairo/CairoUtilities.cpp:
     2774        (WebCore::toCairoOperator):
     2775        * platform/graphics/cg/GraphicsContextCG.cpp:
     2776        (WebCore::GraphicsContext::setPlatformCompositeOperation):
     2777        * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
     2778        (WebCore::SharedGraphicsContext3D::applyCompositeOperator):
     2779        * platform/graphics/openvg/PainterOpenVG.cpp:
     2780        (WebCore::PlatformPainterState::applyBlending):
     2781        * platform/graphics/qt/GraphicsContextQt.cpp:
     2782        (WebCore::toQtCompositionMode):
     2783        * platform/graphics/skia/SkiaUtils.cpp:
     2784
     27852011-06-04  Abhishek Arya  <inferno@chromium.org>
    492492786
    492502787        Reviewed by Kent Tamura.
    492512788
    49252         Improve showTree of Range, Position, and VisiblePosition
    49253         https://bugs.webkit.org/show_bug.cgi?id=54536
    49254 
    49255         Enhanced showTree of Range, Position, and VisiblePosition.
    49256 
    49257         * dom/Position.cpp:
    49258         (WebCore::Position::showAnchorTypeAndOffset): Added; dumps "legacy" if the position
    49259         is a legacy position and also dumps anchor type.
    49260         (WebCore::Position::showTreeForThis): Calls showAnchorTypeAndOffset.
    49261         * dom/Position.h:
    49262         * dom/Range.cpp:
    49263         (showTree): No longer calls deprecatedEditingOffset.
    49264         * editing/VisiblePosition.cpp:
    49265         (WebCore::VisiblePosition::debugPosition): No longer included in release build.
    49266         Calls Position::showAnchorTypeAndOffset instead of manually calling deprecatedEditingOffset.
    49267         * editing/VisiblePosition.h:
    49268         * editing/VisibleSelection.cpp:
    49269         (WebCore::VisibleSelection::debugPosition): Ditto.
    49270         (WebCore::VisibleSelection::showTreeForThis): Ditto.
    49271         * editing/VisibleSelection.h:
    49272         * page/EventHandler.cpp:
    49273 
    49274 2011-02-16  David Grogan  <dgrogan@chromium.org>
    49275 
    49276         Reviewed by Jeremy Orlow.
    49277 
    49278         fix compile error introduced in 78752
    49279         https://bugs.webkit.org/show_bug.cgi?id=54604
    49280 
    49281         * storage/IDBRequest.h:
    49282 
    49283 2011-02-16  Jeremy Orlow  <jorlow@chromium.org>
    49284 
    49285         Back out IndexedDB change thats no longer necessary
    49286         https://bugs.webkit.org/show_bug.cgi?id=54603
    49287 
    49288         Backing out 78645 as it turns out that it's not necessary.
    49289 
    49290         * storage/IDBFactoryBackendImpl.cpp:
    49291         (WebCore::IDBFactoryBackendImpl::open):
    49292         * storage/IDBFactoryBackendImpl.h:
    49293         * storage/IDBFactoryBackendInterface.h:
    49294 
    49295 2011-02-16  Brian Salomon  <bsalomon@google.com>
    49296 
    49297         Reviewed by James Robinson.
    49298 
    49299         Skia's gpu backed just needs the correct context bound before drawing. It will bind the correct FBO itself and doing so externally confuses it unless resetContext is called.
    49300 
    49301         No new tests required.
    49302 
    49303         * platform/graphics/skia/PlatformContextSkia.cpp:
    49304         (WebCore::PlatformContextSkia::syncSoftwareCanvas):
    49305 
    49306 2011-02-16  Mike Reed  <reed@google.com>
    49307 
    49308         Reviewed by Kenneth Russell.
    49309 
    49310         Use non-asserting pack function for decoding images, since webgl may want
    49311         a non-premultiplied version of the image.
    49312         https://bugs.webkit.org/show_bug.cgi?id=54023
    49313 
    49314         No new tests.
    49315         fast/canvas/webgl/gl-teximage.html
    49316         fast/canvas/webgl/tex-image-with-format-and-type.html
    49317         fast/canvas/webgl/texture-transparent-pixels-initialized.html
    49318 
    49319         * platform/image-decoders/ImageDecoder.h:
    49320         (WebCore::ImageFrame::setRGBA):
    49321 
    49322 2011-02-16  David Grogan  <dgrogan@chromium.org>
    49323 
    49324         Reviewed by Jeremy Orlow.
    49325 
    49326         indexeddb: make setVersion fire blocked event if other connections are open
    49327         https://bugs.webkit.org/show_bug.cgi?id=53728
    49328 
    49329         Tests: storage/indexeddb/set_version_blocked.html
    49330                storage/indexeddb/set_version_queue.html
    49331 
    49332         * WebCore.gypi:
    49333         * bindings/js/JSEventCustom.cpp:
    49334         (WebCore::toJS):
    49335         * bindings/v8/custom/V8EventCustom.cpp:
    49336         (WebCore::toV8):
    49337         * dom/Event.cpp:
    49338         (WebCore::Event::isIDBVersionChangeEvent):
    49339         * dom/Event.h:
    49340         * dom/EventNames.h:
    49341         * dom/EventTarget.cpp:
    49342         (WebCore::EventTarget::toIDBVersionChangeRequest):
    49343         * dom/EventTarget.h:
    49344         * storage/IDBCallbacks.h:
    49345         * storage/IDBDatabase.cpp:
    49346         (WebCore::IDBDatabase::setVersion):
    49347         (WebCore::IDBDatabase::close):
    49348         * storage/IDBDatabase.h:
    49349         * storage/IDBDatabase.idl:
    49350         * storage/IDBDatabaseBackendImpl.cpp:
    49351         (WebCore::IDBDatabaseBackendImpl::PendingSetVersionCall::create):
    49352         (WebCore::IDBDatabaseBackendImpl::PendingSetVersionCall::version):
    49353         (WebCore::IDBDatabaseBackendImpl::PendingSetVersionCall::callbacks):
    49354         (WebCore::IDBDatabaseBackendImpl::PendingSetVersionCall::PendingSetVersionCall):
    49355         (WebCore::IDBDatabaseBackendImpl::IDBDatabaseBackendImpl):
    49356         (WebCore::IDBDatabaseBackendImpl::setVersion):
    49357         (WebCore::IDBDatabaseBackendImpl::open):
    49358         (WebCore::IDBDatabaseBackendImpl::close):
    49359         * storage/IDBDatabaseBackendImpl.h:
    49360         * storage/IDBDatabaseBackendInterface.h:
    49361         * storage/IDBFactoryBackendImpl.cpp:
    49362         (WebCore::IDBFactoryBackendImpl::open):
    49363         * storage/IDBRequest.cpp:
    49364         (WebCore::IDBRequest::onBlocked):
    49365         (WebCore::IDBRequest::dispatchEvent):
    49366         (WebCore::IDBRequest::source):
    49367         * storage/IDBRequest.h:
    49368         * storage/IDBVersionChangeEvent.cpp: Copied from Source/WebKit/chromium/src/WebIDBCallbacksImpl.h.
    49369         (WebCore::IDBVersionChangeEvent::create):
    49370         (WebCore::IDBVersionChangeEvent::IDBVersionChangeEvent):
    49371         (WebCore::IDBVersionChangeEvent::~IDBVersionChangeEvent):
    49372         (WebCore::IDBVersionChangeEvent::version):
    49373         * storage/IDBVersionChangeEvent.h: Copied from Source/WebKit/chromium/src/WebIDBCallbacksImpl.h.
    49374         (WebCore::IDBVersionChangeEvent::isIDBVersionChangeEvent):
    49375         * storage/IDBVersionChangeEvent.idl: Added.
    49376         * storage/IDBVersionChangeRequest.cpp: Copied from Source/WebKit/chromium/src/WebIDBCallbacksImpl.h.
    49377         (WebCore::IDBVersionChangeRequest::create):
    49378         (WebCore::IDBVersionChangeRequest::IDBVersionChangeRequest):
    49379         (WebCore::IDBVersionChangeRequest::~IDBVersionChangeRequest):
    49380         (WebCore::IDBVersionChangeRequest::onBlocked):
    49381         * storage/IDBVersionChangeRequest.h: Copied from Source/WebKit/chromium/src/WebIDBCallbacksImpl.h.
    49382         * storage/IDBVersionChangeRequest.idl: Copied from Source/WebKit/chromium/src/WebIDBCallbacksImpl.h.
    49383 
    49384 2011-02-16  Robin Cao  <robin.cao@torchmobile.com.cn>
    49385 
    49386         Reviewed by James Robinson.
    49387 
    49388         PlatformContextSkia::applyAntiAliasedClipPaths does not work for paths which have evenOdd property
    49389         https://bugs.webkit.org/show_bug.cgi?id=54336
    49390 
    49391         We need to take fill type of paths into account when drawing them.
    49392 
    49393         No new tests, covered by svg/W3C-SVG-1.1/masking-path-05-f.svg.
    49394 
    49395         * platform/graphics/skia/PlatformContextSkia.cpp:
    49396         (WebCore::PlatformContextSkia::applyAntiAliasedClipPaths):
    49397 
    49398 2011-02-16  Eric Seidel  <eric@webkit.org>
    49399 
    49400         Reviewed by Adam Barth.
    49401 
    49402         REGRESSION (r61234): washingtonpost.com top bar looks wrong, doesn't animate
    49403         https://bugs.webkit.org/show_bug.cgi?id=53717
    49404 
    49405         Test: http/tests/local/absolute-url-strip-whitespace.html
    49406 
    49407         This was theoretically tested already in fast/url, however the
    49408         tests were disabled due to lack of any clean way to test absolute
    49409         url parsing in JavaScript.  I added a test which mimics the sites
    49410         behavior using our local http server.  There seems to be no other
    49411         way to test this at the moment.
    49412 
    49413         * platform/KURL.cpp:
    49414         (WebCore::shouldTrimFromURL):
    49415          - Any char 0-20 should be removed (matches google-url and other browsers).
    49416         (WebCore::KURL::init):
    49417 
    49418 2011-02-16  Abhishek Arya  <inferno@chromium.org>
    49419 
    49420         Reviewed by James Robinson.
    49421 
    49422         Traverse the next sibling tree to find the text fragment for a first letter.
    49423         https://bugs.webkit.org/show_bug.cgi?id=54568
    49424 
    49425         We cannot assume that the next sibling to the first letter will a text fragment
    49426         since there can be intermediatary Apple-style-span inline elements wrapping the
    49427         text fragment. So, we traverse the next sibling tree to find it.
    49428         Test: fast/css/first-letter-text-fragment-crash.html
    49429 
    49430         * rendering/RenderBlock.cpp:
    49431         (WebCore::RenderBlock::updateFirstLetter):
    49432 
    49433 2011-02-16  Martin Robinson  <mrobinson@igalia.com>
    49434 
    49435         Reviewed by Xan Lopez.
    49436 
    49437         [GTK] r78718 introduced some assertion failures in some HTTP tests
    49438         https://bugs.webkit.org/show_bug.cgi?id=54592
    49439 
    49440         No new tests. This fix is covered by tests that are currently failing.
    49441 
    49442         * platform/network/soup/ResourceRequestSoup.cpp:
    49443         (WebCore::ResourceRequest::updateFromSoupMessage): Instead of setting the existing
    49444         headers and then selectively removing ones that do not exist in the updated soup
    49445         message, just remove all headers from the map first.
    49446 
    49447 2011-02-16  Jian Li  <jianli@chromium.org>
    49448 
    49449         Reviewed by Kenneth Russell.
    49450 
    49451         [V8] DataView constructor can be applied as a regular method
    49452         https://bugs.webkit.org/show_bug.cgi?id=54563
    49453 
    49454         Tested by adding a new test case to fast/canvas/webgl/data-view-test.html.
    49455 
    49456         * bindings/v8/custom/V8DataViewCustom.cpp:
    49457         (WebCore::V8DataView::constructorCallback):
    49458 
    49459 == Rolled over to ChangeLog-2011-02-16 ==
     2789        Add some asserts for array boundary checks in TextRun. Fix
     2790        an integer issue in linux text controller code.
     2791        https://bugs.webkit.org/show_bug.cgi?id=62085
     2792
     2793        Testing ComplexTextControllerLinux change requires a testcase
     2794        > 32 kb which is not feasible. All other changes are tested by
     2795        existing layouttests.
     2796
     2797        * platform/graphics/TextRun.h:
     2798        (WebCore::TextRun::operator[]): add assert.
     2799        (WebCore::TextRun::data): add assert.
     2800        * platform/graphics/WidthIterator.cpp:
     2801        (WebCore::WidthIterator::advance): bail early and prevent access
     2802        to one byte across the text run boundary.
     2803        * platform/graphics/chromium/ComplexTextControllerLinux.cpp:
     2804        (WebCore::ComplexTextController::getNormalizedTextRun): wrong
     2805        int16 vs int comparison.
     2806        * rendering/svg/SVGTextRunRenderingContext.cpp:
     2807        (WebCore::SVGTextRunWalker::walk): bail early when from and to
     2808        is outside the text run boundary. this hit easily after adding
     2809        the assert when from = to = end and read in run.data(from).
     2810
     28112011-06-05  Kent Tamura  <tkent@chromium.org>
     2812
     2813        Reviewed by Dimitri Glazkov.
     2814
     2815        Rolling out r84528.
     2816        http://trac.webkit.org/changeset/84528
     2817        https://bugs.webkit.org/show_bug.cgi?id=62100
     2818
     2819        It made several problems on elements with new shadow DOM.
     2820
     2821        * dom/Element.cpp:
     2822        (WebCore::Element::copyNonAttributeProperties):
     2823
     28242011-06-05  Igor Oliveira  <igor.oliveira@openbossa.org>
     2825
     2826        Reviewed by Kenneth Rohde Christiansen.
     2827
     2828        fast/viewport/viewport-45.html fails in GTK+/Qt
     2829        https://bugs.webkit.org/show_bug.cgi?id=47481
     2830
     2831        computeViewportAttributes does many math operations with float point arithmetic
     2832        and in some cases there is loss of precision making tests have incorrect values.
     2833
     2834        * dom/ViewportArguments.cpp:
     2835        (WebCore::computeViewportAttributes):
     2836
     2837== Rolled over to ChangeLog-2011-06-04 ==
  • branches/chromium/782/Source/WebCore/platform/graphics/gpu/DrawingBuffer.cpp

    r85661 r88413  
    8585   
    8686    if (m_multisampleFBO) {
    87         m_context->bindFramebuffer(GraphicsContext3D::FRAMEBUFFER, m_multisampleFBO);
    8887        m_context->deleteFramebuffer(m_multisampleFBO);
    8988        m_multisampleFBO = 0;
    9089    }
    9190       
    92     m_context->bindFramebuffer(GraphicsContext3D::FRAMEBUFFER, m_fbo);
    9391    m_context->deleteFramebuffer(m_fbo);
    9492    m_fbo = 0;
Note: See TracChangeset for help on using the changeset viewer.