| OLD | NEW |
| 1 2011-10-26 Dimitri Glazkov <dglazkov@chromium.org> | |
| 2 | |
| 3 REGRESSION (r94887): Scrolling the HTML spec is more jerky now than it w
as (regression) | |
| 4 https://bugs.webkit.org/show_bug.cgi?id=70857 | |
| 5 | |
| 6 Revert r94887, because it regressed performance. | |
| 7 | |
| 8 Rubber-stamped by Antti Koivisto. | |
| 9 | |
| 10 * css/CSSStyleSelector.cpp: | |
| 11 (WebCore::CSSStyleSelector::canShareStyleWithElement): | |
| 12 (WebCore::parentStylePreventsSharing): | |
| 13 * css/SelectorChecker.cpp: | |
| 14 (WebCore::SelectorChecker::checkSelector): | |
| 15 * dom/Element.cpp: | |
| 16 (WebCore::Element::recalcStyle): | |
| 17 (WebCore::checkForSiblingStyleChanges): | |
| 18 * rendering/style/RenderStyle.cpp: | |
| 19 (WebCore::RenderStyle::RenderStyle): | |
| 20 * rendering/style/RenderStyle.h: | |
| 21 (WebCore::InheritedFlags::childrenAffectedByDirectAdjacentRules): | |
| 22 (WebCore::InheritedFlags::setChildrenAffectedByDirectAdjacentRules): | |
| 23 | |
| 24 2011-10-26 Alexander Pavlov <apavlov@chromium.org> | |
| 25 | |
| 26 Web Inspector: Need workaround for the red crossed circle in the status
bar not bringing up the console when clicked | |
| 27 https://bugs.webkit.org/show_bug.cgi?id=70928 | |
| 28 | |
| 29 Reviewed by Pavel Feldman. | |
| 30 | |
| 31 * inspector/front-end/inspector.css: | |
| 32 (#error-count-img): | |
| 33 (#error-count + #warning-count-img): | |
| 34 (#warning-count-img): | |
| 35 * inspector/front-end/inspector.js: | |
| 36 (WebInspector._updateErrorAndWarningCounts): | |
| 37 | |
| 38 2011-10-26 Mike Reed <reed@google.com> | |
| 39 | |
| 40 [skia] replace offscreen technique with native support for antialiased c
lipping | |
| 41 https://bugs.webkit.org/show_bug.cgi?id=70748 | |
| 42 | |
| 43 Reviewed by Stephen White. | |
| 44 | |
| 45 ~100 layout tests need to be rebaselined, as the native aa-clipping diff
ers sometimes in the low | |
| 46 bits of the result. Other than that, the results should be the same, exc
ept that now the drawing | |
| 47 can go directly to the canvas, rather than being direct offscreen and th
en have that result | |
| 48 "clipped" during the restore. This has the effect of allowing LCD text t
o be drawing inside a | |
| 49 antialiased clip area. | |
| 50 | |
| 51 * platform/graphics/skia/PlatformContextSkia.cpp: | |
| 52 (WebCore::PlatformContextSkia::State::State): | |
| 53 (WebCore::PlatformContextSkia::State::cloneInheritedProperties): | |
| 54 (WebCore::PlatformContextSkia::clipPathAntiAliased): | |
| 55 (WebCore::PlatformContextSkia::restore): | |
| 56 | |
| 57 2011-10-26 Nikolas Zimmermann <nzimmermann@rim.com> | |
| 58 | |
| 59 CSS 2.1 failure: background-intrinsic-* | |
| 60 https://bugs.webkit.org/show_bug.cgi?id=47156 | |
| 61 | |
| 62 SVGs do not work as tiled background images | |
| 63 https://bugs.webkit.org/show_bug.cgi?id=16281 | |
| 64 | |
| 65 Apply preserveAspectRatio and synthesize viewboxes in <img> | |
| 66 https://bugs.webkit.org/show_bug.cgi?id=34521 | |
| 67 | |
| 68 SVG background doesn't resize properly when dimensions are changed | |
| 69 https://bugs.webkit.org/show_bug.cgi?id=42944 | |
| 70 | |
| 71 Images with percent height inside a floated div should use intrinsic hei
ght. | |
| 72 https://bugs.webkit.org/show_bug.cgi?id=45439 | |
| 73 | |
| 74 SVG image in HTML changes size as the window is resized | |
| 75 https://bugs.webkit.org/show_bug.cgi?id=52045 | |
| 76 | |
| 77 Reviewed by Antti Koivisto. | |
| 78 | |
| 79 Implement intrinsic sizing support for SVGImage (svg embedded through <h
tml:img>/<svg:image>/background-image/border-image/...). | |
| 80 This is demanded by CSS 2.1, and covered by new layout tests in LayoutTe
sts/css2.1 and several new custom testcases. | |
| 81 | |
| 82 Tests: css2.1/20110323/background-intrinsic-001.htm | |
| 83 css2.1/20110323/background-intrinsic-002.htm | |
| 84 css2.1/20110323/background-intrinsic-003.htm | |
| 85 css2.1/20110323/background-intrinsic-004.htm | |
| 86 css2.1/20110323/background-intrinsic-005.htm | |
| 87 css2.1/20110323/background-intrinsic-006.htm | |
| 88 css2.1/20110323/background-intrinsic-007.htm | |
| 89 css2.1/20110323/background-intrinsic-008.htm | |
| 90 css2.1/20110323/background-intrinsic-009.htm | |
| 91 svg/as-background-image/background-image-preserveaspectRatio-supp
ort.html (adapted from testcase from bug 34521) | |
| 92 svg/as-background-image/background-image-tiled.html (reduction fr
om bug 16281) | |
| 93 svg/as-background-image/same-image-two-instances-background-image
.html | |
| 94 svg/as-image/img-preserveAspectRatio-support-1.html (reduction fr
om bug 34521) | |
| 95 svg/as-image/same-image-two-instances.html | |
| 96 svg/as-image/svg-as-relative-image-with-explicit-size.html | |
| 97 svg/as-image/svg-image-change-content-size.xhtml (reduction from
bug 42944) | |
| 98 svg/zoom/page/zoom-img-preserveAspectRatio-support-1.html | |
| 99 | |
| 100 * loader/cache/CachedImage.cpp: Enable SVGImage <-> IntSize cache. | |
| 101 (WebCore::CachedImage::lookupImageForSize): Use recently introduced Imag
eBySizeCache, to lookup an image for a certain size. | |
| 102 (WebCore::CachedImage::lookupImageForRenderer): Lookup image by renderer
, which first looks up a size for a renderer, then uses lookupImageForSize(). | |
| 103 (WebCore::createSVGImage): Refactored from createImage(), contains the S
VGImage creation part only. | |
| 104 (WebCore::CachedImage::lookupOrCreateImageForRenderer): Use recently int
roduced ImageBySizeCache, to dynamically create copies of m_image if needed. | |
| 105 (WebCore::CachedImage::setContainerSizeForRenderer): For SVGImages, pass
on container size handling to ImageBySizeCache. | |
| 106 (WebCore::CachedImage::imageSizeForRenderer): Figure out the image size,
respecting per-renderer overrides, for a certain renderer. | |
| 107 (WebCore::CachedImage::computeIntrinsicDimensions): Remove unnecessary R
enderObject parameter. | |
| 108 (WebCore::CachedImage::addClientForRenderer): Special variant of addClie
nt(), overriding the existing in CachedResource. | |
| 109 (WebCore::CachedImage::removeClientForRenderer): Special variant of remo
veClient(), that also clears the image in the ImageBySizeCache. | |
| 110 (WebCore::CachedImage::createImage): Refactor SVGImage creation into cre
ateSVGImage() free function, to be useable from lookupOrCreateImageForRenderer()
. | |
| 111 * loader/cache/CachedImage.h: Expose removeClientForRenderer(). | |
| 112 * page/ChromeClient.h: | |
| 113 (WebCore::ChromeClient::isSVGImageChromeClient): Used to identify whethe
r a RenderSVGRoot is embedded through a SVGImage. Returns false, by default. | |
| 114 * rendering/ImageBySizeCache.cpp: | |
| 115 (WebCore::ImageBySizeCache::addClient): Assert the passed renderer is va
lid. | |
| 116 (WebCore::ImageBySizeCache::removeClient): Ditto. Allow removeClient() t
o be called w/o prio addClient() usage. | |
| 117 (WebCore::ImageBySizeCache::setClient): New helper function, that combin
es the usage of addClient/removeClient, for the use in CachedImage. | |
| 118 (WebCore::ImageBySizeCache::imageForSize): Respect empty sizes, just ret
urn 0, instead of asserting. | |
| 119 (WebCore::ImageBySizeCache::imageForRenderer): Added a helper that retri
eves an image for a renderer, by lookup up its size and using imageForSize(). | |
| 120 * rendering/ImageBySizeCache.h: Expose setClient() & imageForRenderer(). | |
| 121 * rendering/RenderBoxModelObject.cpp: Implement CSS 2.1 intrinsic size n
egotiation for images. | |
| 122 (WebCore::resolveWidthForRatio): New inline helper function used bz calc
ulateImageIntrinsicDimensions. | |
| 123 (WebCore::resolveHeightForRatio): Ditto. | |
| 124 (WebCore::resolveAgainstIntrinsicWidthOrHeightAndRatio): Ditto. | |
| 125 (WebCore::resolveAgainstIntrinsicRatio): Ditto. | |
| 126 (WebCore::RenderBoxModelObject::calculateImageIntrinsicDimensions): New
helper function, containing the main algorithm, which is a pure transcription of
the spec. | |
| 127 (WebCore::RenderBoxModelObject::calculateFillTileSize): Use new calculat
eImageIntrinsicDimensions() helper to figure out the intrinsic size. | |
| 128 (WebCore::RenderBoxModelObject::calculateBackgroundImageGeometry): Propa
gate calculateFillTileSize() result to the image resource, via setContainerSizeF
orRenderer(). | |
| 129 (WebCore::RenderBoxModelObject::paintNinePieceImage): Use new calculateI
mageIntrinsicDimensions() helper to figure out the intrinsic size. | |
| 130 * rendering/RenderBoxModelObject.h: Clarify some variable names, added c
alculateImageIntrinsicDimensions(). | |
| 131 * rendering/RenderImage.cpp: | |
| 132 (WebCore::RenderImage::RenderImage): Use IntSize(), instead of IntSize(0
, 0). | |
| 133 (WebCore::RenderImage::updateIntrinsicSizeIfNeeded): Refactored from ima
geDimensionsChanged(). | |
| 134 (WebCore::RenderImage::imageDimensionsChanged): Use updateIntrinsicSizeI
fNeeded(). | |
| 135 (WebCore::RenderImage::computeReplacedLogicalWidth): Use RenderReplaced:
:computeReplacedLogicalWidth() exclusively. For this to work, the intrinsic size
must be correct. | |
| 136 (WebCore::RenderImage::computeIntrinsicRatioInformation): Default implem
entation for non-SVGImages. | |
| 137 (WebCore::RenderImage::needsPreferredWidthsRecalculation): Return true,
just like RenderPart, if embeddedContentBox is not null. | |
| 138 (WebCore::RenderImage::embeddedContentBox): Returns the RenderSVGRoot* r
enderer of the embedded SVG, if possible. | |
| 139 * rendering/RenderImage.h: Remove isLogicalWidth/HeightSpecified() / com
puteReplacedLogicalHeight() / calcAspectRatioLogicalWidth/Height(). | |
| 140 * rendering/RenderImageResource.cpp: | |
| 141 (WebCore::RenderImageResource::setContainerSizeForRenderer): Pass around
new "float containerZoomFactor" parameter. | |
| 142 * rendering/RenderImageResourceStyleImage.cpp: | |
| 143 (WebCore::RenderImageResourceStyleImage::image): embeddedContentBox() is
now calling image() earlier than before. We now have to handle the case that th
e image is pending. | |
| 144 (WebCore::RenderImageResourceStyleImage::setContainerSizeForRenderer): P
ass zoom factor. | |
| 145 * rendering/RenderImageResourceStyleImage.h: | |
| 146 * rendering/RenderListMarker.cpp: | |
| 147 (WebCore::RenderListMarker::computePreferredLogicalWidths): Pass effecti
ve zoom to setContainerSizeForRenderer(). | |
| 148 * rendering/RenderReplaced.cpp: | |
| 149 (WebCore::RenderReplaced::computeIntrinsicLogicalWidth): Generalized thi
s code, as RenderImage is using it as well now. Marginal changes needed. | |
| 150 (WebCore::RenderReplaced::computeIntrinsicLogicalHeight): Ditto. | |
| 151 (WebCore::RenderReplaced::computeReplacedLogicalWidth): Ditto. | |
| 152 * rendering/style/StyleCachedImage.cpp: | |
| 153 (WebCore::StyleCachedImage::computeIntrinsicDimensions): Stop passing m_
renderer to CachedImage, it's no longer needed. | |
| 154 (WebCore::StyleCachedImage::setContainerSizeForRenderer): Add "float con
tainerZoomFactor" parameter. | |
| 155 (WebCore::StyleCachedImage::addClient): Forward to new addClientForRende
rer(). | |
| 156 (WebCore::StyleCachedImage::removeClient): Call new removeClientForRende
rer() instead of removeClient(), so the ImageBySizeCache is also updated. | |
| 157 * rendering/style/StyleCachedImage.h: Add "float containerZoomFactor" pa
rameter to setContainerSizeForRenderer. | |
| 158 * rendering/style/StyleGeneratedImage.h: | |
| 159 (WebCore::StyleGeneratedImage::setContainerSizeForRenderer): Ditto. | |
| 160 * rendering/style/StyleImage.h: Ditto. | |
| 161 * rendering/style/StylePendingImage.h: | |
| 162 (WebCore::StylePendingImage::setContainerSizeForRenderer): Ditto. | |
| 163 * rendering/svg/RenderSVGImage.cpp: | |
| 164 (WebCore::RenderSVGImage::layout): Always supply a container size when e
mbedding SVGs in <svg:image>. | |
| 165 * rendering/svg/RenderSVGRoot.cpp: Move "override container size" from S
VGSVGElement into RenderSVGRoot, where it belongs. | |
| 166 (WebCore::RenderSVGRoot::isEmbeddedThroughImageElement): Add helper meth
od to determine whether we're loaded through SVGImage. | |
| 167 (WebCore::RenderSVGRoot::computeReplacedLogicalWidth): If we have a vali
d container size, it has precendence (only supplied via external SVGImages). | |
| 168 (WebCore::RenderSVGRoot::computeReplacedLogicalHeight): Ditto. | |
| 169 (WebCore::RenderSVGRoot::layout): Remove calcViewport() usage, no need t
o track/override the viewport size anymore, all done in coputeReplacedLogical* n
ow. | |
| 170 (WebCore::RenderSVGRoot::paint): Use borderBoxRect() which now always ma
tches the previously computed m_viewportSize. | |
| 171 (WebCore::RenderSVGRoot::computeRectForRepaint): Ditto. | |
| 172 * rendering/svg/RenderSVGRoot.h: Move "override container size" from SVG
SVGElement into RenderSVGRoot, where it belongs. | |
| 173 (WebCore::RenderSVGRoot::containerSize): | |
| 174 (WebCore::RenderSVGRoot::setContainerSize): | |
| 175 * svg/SVGLength.cpp: | |
| 176 (WebCore::SVGLength::determineViewport): Resolve lengths against overrid
e container size in documents embedded through SVGImage. | |
| 177 * svg/SVGSVGElement.cpp: Remove "override container size" handling from
SVGSVGElement. | |
| 178 (WebCore::SVGSVGElement::SVGSVGElement): Ditto. | |
| 179 (WebCore::SVGSVGElement::currentViewBoxRect): Always synthesize a viewBo
x, if we're embedded through SVGImage, as demanded by SVG 1.1 2nd Edition. | |
| 180 * svg/SVGSVGElement.h: | |
| 181 * svg/graphics/SVGImage.cpp: | |
| 182 (WebCore::SVGImageChromeClient::setObserver): Helper function. | |
| 183 (WebCore::SVGImageChromeClient::isSVGImageChromeClient): Return true, us
ed to identify whether RenderSVGRoot is embedded through SVGImage. | |
| 184 (WebCore::SVGImage::setContainerZoom): Forwarded to Page::setPageZoomFac
tor. | |
| 185 (WebCore::SVGImage::setContainerSize): Assert that container size is not
empty. We should never receive an empty container size. | |
| 186 (WebCore::SVGImage::usesContainerSize): Adapt to override container size
changes, it now lives in RenderSVGRoot instead of SVGSVGElement. | |
| 187 (WebCore::SVGImage::size): New algorithm to figure out the size of an em
bedded SVG, as demanded by the CSS/SVG specs. | |
| 188 (WebCore::SVGImage::draw): Stop calling layout() while painting! | |
| 189 (WebCore::SVGImage::embeddedContentBox): Add helper which returns the Re
nderSVGRoot of the document. | |
| 190 (WebCore::SVGImage::computeIntrinsicDimensions): Implement intrinsic rat
io calculation. | |
| 191 (WebCore::SVGImage::dataChanged): Force calling FrameView::setCanHaveScr
ollbars(false), as SVG images now always synthesize a viewBox, and thus never re
ceive scrollbars. | |
| 192 * svg/graphics/SVGImage.h: | |
| 193 | |
| 194 2011-10-26 Kenneth Rohde Christiansen <kenneth@webkit.org> | |
| 195 | |
| 196 Properly suspend/resume Geolocation/DeviceMotion/DeviceOrientation objec
ts | |
| 197 https://bugs.webkit.org/show_bug.cgi?id=70328 | |
| 198 | |
| 199 Reviewed by Simon Hausmann. | |
| 200 | |
| 201 Also remove checks for m_client in DeviceMotionController as it can neve
r be null. | |
| 202 | |
| 203 No new tests, as the suspend/resume functionality is not fully working y
et. | |
| 204 | |
| 205 * dom/DeviceMotionController.cpp: | |
| 206 (WebCore::DeviceMotionController::timerFired): | |
| 207 (WebCore::DeviceMotionController::addListener): | |
| 208 (WebCore::DeviceMotionController::removeListener): | |
| 209 (WebCore::DeviceMotionController::removeAllListeners): | |
| 210 (WebCore::DeviceMotionController::suspend): | |
| 211 (WebCore::DeviceMotionController::resume): | |
| 212 * dom/DeviceMotionController.h: | |
| 213 * dom/DeviceOrientationController.cpp: | |
| 214 (WebCore::DeviceOrientationController::suspend): | |
| 215 (WebCore::DeviceOrientationController::resume): | |
| 216 * dom/DeviceOrientationController.h: | |
| 217 * dom/Document.cpp: | |
| 218 (WebCore::Document::suspendActiveDOMObjects): | |
| 219 (WebCore::Document::resumeActiveDOMObjects): | |
| 220 (WebCore::Document::stopActiveDOMObjects): | |
| 221 * dom/Document.h: | |
| 222 * dom/ScriptExecutionContext.h: | |
| 223 * page/GeolocationController.cpp: | |
| 224 (WebCore::GeolocationController::GeolocationController): | |
| 225 (WebCore::GeolocationController::removeObserver): | |
| 226 (WebCore::GeolocationController::suspend): | |
| 227 (WebCore::GeolocationController::resume): | |
| 228 * page/GeolocationController.h: | |
| 229 | |
| 230 2011-10-26 Pavel Feldman <pfeldman@google.com> | |
| 231 | |
| 232 Not reviewed: follow up to 98236 - moved inspector settings initializati
on earlier to unbreak settings panel. | |
| 233 | |
| 234 * inspector/front-end/TextEditorModel.js: | |
| 235 (WebInspector.TextEditorModel): | |
| 236 | |
| 237 2011-10-26 Zalan Bujtas <zbujtas@gmail.com> | |
| 238 | |
| 239 Name viewport change event consistently. | |
| 240 https://bugs.webkit.org/show_bug.cgi?id=70901 | |
| 241 | |
| 242 Reviewed by Kenneth Rohde Christiansen. | |
| 243 | |
| 244 Use ViewportPropertiesDidChange term consistently throughout WebKit. | |
| 245 | |
| 246 No tests needed as the change is only method renaming. | |
| 247 | |
| 248 * page/Chrome.cpp: | |
| 249 (WebCore::Chrome::dispatchViewportPropertiesDidChange): | |
| 250 * page/Chrome.h: | |
| 251 * page/ChromeClient.h: | |
| 252 (WebCore::ChromeClient::dispatchViewportPropertiesDidChange): | |
| 253 * page/Page.cpp: | |
| 254 (WebCore::Page::updateViewportArguments): | |
| 255 | |
| 256 2011-10-25 Stephen White <senorblanco@chromium.org> | |
| 257 | |
| 258 [chromium] Canvas2D should rate-limit drawing to prevent swamping the GP
U process. | |
| 259 https://bugs.webkit.org/show_bug.cgi?id=70367 | |
| 260 | |
| 261 Reviewed by James Robinson. | |
| 262 | |
| 263 Sadly, we don't have infrastructure to test this kind of GPU swamping | |
| 264 yet. | |
| 265 | |
| 266 * WebCore.gypi: | |
| 267 Add RateLimiter.* to the Chromium build. | |
| 268 * platform/graphics/chromium/Canvas2DLayerChromium.cpp: | |
| 269 (WebCore::Canvas2DLayerChromium::contentChanged): | |
| 270 When the layer is notified that the contents have changed, ping the | |
| 271 rate limiter. | |
| 272 * platform/graphics/chromium/Canvas2DLayerChromium.h: | |
| 273 * platform/graphics/chromium/GraphicsLayerChromium.cpp: | |
| 274 (WebCore::GraphicsLayerChromium::setContentsNeedsDisplay): | |
| 275 Call (new) virtual contentChanged() on a layer when its contents have | |
| 276 been changed (e.g., by a drawing call). | |
| 277 * platform/graphics/chromium/LayerChromium.h: | |
| 278 (WebCore::LayerChromium::contentChanged): | |
| 279 New virtual contentChanged(). | |
| 280 * platform/graphics/chromium/RateLimiter.cpp: Added. | |
| 281 (WebCore::RateLimiter::create): | |
| 282 Rate limiter factory function. | |
| 283 (WebCore::RateLimiter::RateLimiter): | |
| 284 (WebCore::RateLimiter::start): | |
| 285 Public API to start rate limiting a context. | |
| 286 (WebCore::RateLimiter::stop): | |
| 287 Public API to stop rate limiting a context. | |
| 288 (WebCore::RateLimiter::rateLimitContext): | |
| 289 Internal timer callback when a context should be rate limited. | |
| 290 * platform/graphics/chromium/RateLimiter.h: Added. | |
| 291 * platform/graphics/chromium/WebGLLayerChromium.cpp: | |
| 292 (WebCore::WebGLLayerChromium::WebGLLayerChromium): | |
| 293 Remove rate limiting timer and extension check (moved to RateLimiter). | |
| 294 (WebCore::WebGLLayerChromium::contentChanged): | |
| 295 The function formerly known as setTextureUpdated(), now renamed to | |
| 296 match the base class virtual contentChanged(). Call rate limiter in | |
| 297 CCLayerTreeHost (local implementation removed). | |
| 298 (WebCore::WebGLLayerChromium::setContext): | |
| 299 When the context is changed, stop the pending rate limiter on the old | |
| 300 context. Remove extension check (moved to RateLimiter). | |
| 301 * platform/graphics/chromium/WebGLLayerChromium.h: | |
| 302 Remove rate limiting timer and extension check (moved to RateLimiter). | |
| 303 * platform/graphics/chromium/cc/CCLayerTreeHost.cpp: | |
| 304 (WebCore::CCLayerTreeHost::startRateLimiter): | |
| 305 Public API for starting per-context rate limiter. | |
| 306 (WebCore::CCLayerTreeHost::stopRateLimiter): | |
| 307 Public API for stopping per-context rate limiter. | |
| 308 * platform/graphics/chromium/cc/CCLayerTreeHost.h: | |
| 309 Implementation of per-GraphicsContext3D RateLimiter. | |
| 310 | |
| 311 | |
| 312 2011-10-26 Pavel Feldman <pfeldman@chromium.org> | |
| 313 | |
| 314 Not reviewed: fixing inspector extensions tests. | |
| 315 | |
| 316 * inspector/front-end/ConsoleMessage.js: | |
| 317 (WebInspector.ConsoleMessageImpl): | |
| 318 * inspector/front-end/ExtensionServer.js: | |
| 319 (WebInspector.ExtensionServer.prototype._onAddConsoleMessage): | |
| 320 | |
| 321 2011-10-26 Balazs Kelemen <kbalazs@webkit.org> | |
| 322 | |
| 323 ParallelJobs path of FEConvolveMatrix is erroneous | |
| 324 https://bugs.webkit.org/show_bug.cgi?id=70409 | |
| 325 | |
| 326 Reviewed by Zoltan Herczeg. | |
| 327 | |
| 328 Covered by existing tests. | |
| 329 | |
| 330 * platform/graphics/filters/FEConvolveMatrix.cpp: | |
| 331 (WebCore::FEConvolveMatrix::fastSetInteriorPixels): | |
| 332 Reject the silly idea that bytes per pixel ratio is 3 in preserveAlphaVa
lues mode. | |
| 333 The bug was hidden so far because that computation has no effect when we
are going | |
| 334 with the full inferior area in one round (in that case clipBottom and yE
nd are equals | |
| 335 and the value of the expression is always 0). With ParallelJobs we proce
ss sub-areas | |
| 336 on each thread which has triggered the issue. | |
| 337 | |
| 338 2011-10-26 Sheriff Bot <webkit.review.bot@gmail.com> | |
| 339 | |
| 340 Unreviewed, rolling out r98393. | |
| 341 http://trac.webkit.org/changeset/98393 | |
| 342 https://bugs.webkit.org/show_bug.cgi?id=70892 | |
| 343 | |
| 344 "Compilation is broken on Chromium Webkit Mac Builder (dbg) " | |
| 345 (Requested by yurys on #webkit). | |
| 346 | |
| 347 * platform/graphics/chromium/LayerChromium.h: | |
| 348 (WebCore::LayerChromium::setMasksToBounds): | |
| 349 (WebCore::LayerChromium::setMaskLayer): | |
| 350 | |
| 351 2011-10-26 Pavel Feldman <pfeldman@google.com> | |
| 352 | |
| 353 Web Inspector: order console message parameters for better optional para
meters handling. | |
| 354 https://bugs.webkit.org/show_bug.cgi?id=70809 | |
| 355 | |
| 356 Reviewed by Yury Semikhatsky. | |
| 357 | |
| 358 * inspector/Inspector.json: | |
| 359 * inspector/front-end/ConsoleMessage.js: | |
| 360 (WebInspector.ConsoleMessageImpl): | |
| 361 (WebInspector.ConsoleMessageImpl.prototype._formatMessage): | |
| 362 * inspector/front-end/ConsoleModel.js: | |
| 363 (WebInspector.ConsoleModel.prototype._messageRepeatCountUpdated): | |
| 364 (WebInspector.ConsoleMessage.create): | |
| 365 (WebInspector.ConsoleDispatcher.prototype.messageAdded): | |
| 366 * inspector/front-end/ConsoleView.js: | |
| 367 (WebInspector.ConsoleCommandResult): | |
| 368 (WebInspector.ConsoleMessage.create): | |
| 369 * inspector/front-end/ExtensionServer.js: | |
| 370 (WebInspector.ExtensionServer.prototype._onAddConsoleMessage): | |
| 371 * inspector/front-end/NetworkManager.js: | |
| 372 (WebInspector.NetworkDispatcher.prototype._updateResourceWithResponse): | |
| 373 * inspector/front-end/inspector.js: | |
| 374 (WebInspector.log.logMessage): | |
| 375 (WebInspector.log): | |
| 376 | |
| 377 2011-10-26 Vsevolod Vlasov <vsevik@chromium.org> | |
| 378 | |
| 379 Web Inspector: Debugger fails when there is an invalid watch expression. | |
| 380 https://bugs.webkit.org/show_bug.cgi?id=70718 | |
| 381 | |
| 382 Reviewed by Pavel Feldman. | |
| 383 | |
| 384 Test: inspector/debugger/watch-expressions-panel-switch.html | |
| 385 | |
| 386 * inspector/front-end/ScriptsPanel.js: | |
| 387 (WebInspector.ScriptsPanel.prototype.evaluateInSelectedCallFrame): | |
| 388 | |
| 389 2011-10-26 Fady Samuel <fsamuel@chromium.org> | |
| 390 | |
| 391 Page Scale Factor broken when navigating history on pages with child fra
mes | |
| 392 https://bugs.webkit.org/show_bug.cgi?id=70459 | |
| 393 | |
| 394 Reviewed by Darin Fisher. | |
| 395 | |
| 396 With frameScaleFactor now always returning 1.0 for subframes and pageSca
leFactor for the mainFrame, | |
| 397 and there being only a single pageScaleFactor, history for scaling is br
oken. Scaling history is | |
| 398 saved on a per frame basis but restored, overriding the per-page pageSca
leFactor multiple times. | |
| 399 As a result, sometimes pages that have subframes end up getting a scale
factor of 1.0 instead | |
| 400 of the correct scale factor that was assigned to the main frame. | |
| 401 | |
| 402 No new tests because I don't know how to test this. | |
| 403 | |
| 404 * loader/HistoryController.cpp: | |
| 405 (WebCore::HistoryController::restoreScrollPositionAndViewState): | |
| 406 | |
| 407 2011-10-26 Sheriff Bot <webkit.review.bot@gmail.com> | |
| 408 | |
| 409 Unreviewed, rolling out r98429. | |
| 410 http://trac.webkit.org/changeset/98429 | |
| 411 https://bugs.webkit.org/show_bug.cgi?id=70881 | |
| 412 | |
| 413 "webkit_gpu_tests fail in Chromium" (Requested by yurys on | |
| 414 #webkit). | |
| 415 | |
| 416 * platform/graphics/chromium/LayerRendererChromium.cpp: | |
| 417 (WebCore::LayerRendererChromium::initialize): | |
| 418 * platform/graphics/chromium/WebGLLayerChromium.cpp: | |
| 419 (WebCore::WebGLLayerChromium::layerRendererContext): | |
| 420 * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp: | |
| 421 (WebCore::CCHeadsUpDisplay::enabled): | |
| 422 * platform/graphics/chromium/cc/CCLayerTreeHost.cpp: | |
| 423 (WebCore::CCLayerTreeHost::initialize): | |
| 424 (WebCore::CCLayerTreeHost::context): | |
| 425 (WebCore::CCLayerTreeHost::setNeedsAnimate): | |
| 426 (WebCore::CCLayerTreeHost::setNeedsCommitThenRedraw): | |
| 427 (WebCore::CCLayerTreeHost::setNeedsRedraw): | |
| 428 (WebCore::CCLayerTreeHost::composite): | |
| 429 * platform/graphics/chromium/cc/CCLayerTreeHost.h: | |
| 430 (WebCore::CCSettings::CCSettings): | |
| 431 * platform/graphics/chromium/cc/CCThreadProxy.cpp: | |
| 432 (WebCore::CCThreadProxy::setThread): | |
| 433 * platform/graphics/chromium/cc/CCThreadProxy.h: | |
| 434 | |
| 435 2011-10-26 Ben Wells <benwells@chromium.org> | |
| 436 | |
| 437 Canvas drawImage with SourceIn, DestinationIn, SourceOut, DestinationAto
p and Copy have errors | |
| 438 https://bugs.webkit.org/show_bug.cgi?id=66920 | |
| 439 | |
| 440 Reviewed by James Robinson. | |
| 441 | |
| 442 Test: fast/canvas/canvas-composite-image.html | |
| 443 | |
| 444 Use the same method as fills to handle composited drawImage calls that w
ill affect the whole | |
| 445 canvas. To do this code used when doing fills has been factored into sep
erate functions and | |
| 446 used by drawImage. Some functions used to do these types of operations h
ave also been renamed. | |
| 447 | |
| 448 * html/canvas/CanvasRenderingContext2D.cpp: | |
| 449 (WebCore::isFullCanvasCompositeMode): | |
| 450 (WebCore::CanvasRenderingContext2D::fill): | |
| 451 (WebCore::CanvasRenderingContext2D::fillRect): | |
| 452 (WebCore::CanvasRenderingContext2D::drawImage): | |
| 453 (WebCore::CanvasRenderingContext2D::calculateCompositingBufferRect): | |
| 454 (WebCore::CanvasRenderingContext2D::createCompositingBuffer): | |
| 455 (WebCore::CanvasRenderingContext2D::compositeBuffer): | |
| 456 (WebCore::CanvasRenderingContext2D::fullCanvasCompositedDrawImage): | |
| 457 (WebCore::CanvasRenderingContext2D::fullCanvasCompositedFill): | |
| 458 * html/canvas/CanvasRenderingContext2D.h: | |
| 459 | |
| 460 2011-10-25 Sheriff Bot <webkit.review.bot@gmail.com> | |
| 461 | |
| 462 Unreviewed, rolling out r98379. | |
| 463 http://trac.webkit.org/changeset/98379 | |
| 464 https://bugs.webkit.org/show_bug.cgi?id=70875 | |
| 465 | |
| 466 Did not pass on JSC ports (Requested by abarth on #webkit). | |
| 467 | |
| 468 * bindings/scripts/CodeGeneratorJS.pm: | |
| 469 (GenerateHeader): | |
| 470 (GenerateImplementation): | |
| 471 * bindings/scripts/CodeGeneratorV8.pm: | |
| 472 (GenerateHeader): | |
| 473 (GenerateArgumentsCountCheck): | |
| 474 (GenerateImplementation): | |
| 475 * html/canvas/CanvasRenderingContext2D.idl: | |
| 476 * page/DOMWindow.idl: | |
| 477 | |
| 478 2011-10-25 Sheriff Bot <webkit.review.bot@gmail.com> | |
| 479 | |
| 480 Unreviewed, rolling out r98346. | |
| 481 http://trac.webkit.org/changeset/98346 | |
| 482 https://bugs.webkit.org/show_bug.cgi?id=70874 | |
| 483 | |
| 484 Breaks JSC-based bots. (Requested by pfeldman on #webkit). | |
| 485 | |
| 486 * inspector/front-end/ScriptsPanel.js: | |
| 487 (WebInspector.ScriptsPanel.prototype.evaluateInSelectedCallFrame): | |
| 488 | |
| 489 2011-10-25 Nat Duca <nduca@chromium.org> | |
| 490 | |
| 491 [chromium] Enable threaded compositing via CCThreadProxy::hasThread only | |
| 492 https://bugs.webkit.org/show_bug.cgi?id=70838 | |
| 493 | |
| 494 Reviewed by James Robinson. | |
| 495 | |
| 496 * platform/graphics/chromium/LayerRendererChromium.cpp: | |
| 497 (WebCore::LayerRendererChromium::initialize): | |
| 498 * platform/graphics/chromium/WebGLLayerChromium.cpp: | |
| 499 (WebCore::WebGLLayerChromium::layerRendererContext): | |
| 500 * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp: | |
| 501 (WebCore::CCHeadsUpDisplay::enabled): | |
| 502 * platform/graphics/chromium/cc/CCLayerTreeHost.cpp: | |
| 503 (WebCore::CCLayerTreeHost::initialize): | |
| 504 (WebCore::CCLayerTreeHost::context): | |
| 505 (WebCore::CCLayerTreeHost::setNeedsAnimate): | |
| 506 (WebCore::CCLayerTreeHost::setNeedsCommitThenRedraw): | |
| 507 (WebCore::CCLayerTreeHost::setNeedsRedraw): | |
| 508 (WebCore::CCLayerTreeHost::composite): | |
| 509 * platform/graphics/chromium/cc/CCLayerTreeHost.h: | |
| 510 (WebCore::CCSettings::CCSettings): | |
| 511 * platform/graphics/chromium/cc/CCThreadProxy.cpp: | |
| 512 (WebCore::CCThreadProxy::hasThread): | |
| 513 * platform/graphics/chromium/cc/CCThreadProxy.h: | |
| 514 | |
| 515 2011-10-25 Xiaomei Ji <xji@chromium.org> | |
| 516 | |
| 517 --webkit-visual-word does not work in multi-line | |
| 518 https://bugs.webkit.org/show_bug.cgi?id=61344 | |
| 519 | |
| 520 Reviewed by Ryosuke Niwa. | |
| 521 | |
| 522 Get next or previous root inline box (which is not in the same | |
| 523 render object as the current root inline box) by traversing DOM node. | |
| 524 | |
| 525 Test: editing/selection/move-by-word-visually-inline-block-positioned-el
ement.html | |
| 526 | |
| 527 * editing/visible_units.cpp: | |
| 528 (WebCore::previousRootInlineBox): | |
| 529 (WebCore::nextRootInlineBox): | |
| 530 (WebCore::leftInlineBox): | |
| 531 (WebCore::rightInlineBox): | |
| 532 | |
| 533 2011-10-25 Adam Barth <abarth@webkit.org> | |
| 534 | |
| 535 JSEventTarget.cpp has a bunch of unnessary includes | |
| 536 https://bugs.webkit.org/show_bug.cgi?id=70865 | |
| 537 | |
| 538 Reviewed by Eric Seidel. | |
| 539 | |
| 540 In the process of removing these includes, I noticed we had a bunch of | |
| 541 non-autogenerated code in this file, which I've now autogenerated. | |
| 542 | |
| 543 * bindings/js/JSEventTarget.cpp: | |
| 544 (WebCore::toEventTarget): | |
| 545 - One subtly here is the outter static_cast, which is caused by an | |
| 546 inheritance infelicity in JavaScriptAudioNode, which I've noted | |
| 547 with a FIXME. In any case, the extra static_cast shouldn't cause | |
| 548 any trouble. | |
| 549 * webaudio/JavaScriptAudioNode.h: | |
| 550 | |
| 551 2011-10-25 Adam Barth <abarth@webkit.org> | |
| 552 | |
| 553 V8DOMWrapper.cpp has unneeded header includes | |
| 554 https://bugs.webkit.org/show_bug.cgi?id=70863 | |
| 555 | |
| 556 Reviewed by Eric Seidel. | |
| 557 | |
| 558 * bindings/v8/V8DOMWrapper.cpp: | |
| 559 | |
| 560 2011-10-25 Mark Hahnenberg <mhahnenberg@apple.com> | |
| 561 | |
| 562 Resetting baseline for test bindings | |
| 563 | |
| 564 Unreviewed preemptive build fix | |
| 565 | |
| 566 No new tests. | |
| 567 | |
| 568 * bindings/scripts/test/JS/JSTestObj.cpp: | |
| 569 * bindings/scripts/test/JS/JSTestObj.h: | |
| 570 | |
| 571 2011-10-25 Mark Hahnenberg <mhahnenberg@apple.com> | |
| 572 | |
| 573 Remove deletePropertyVirtual | |
| 574 https://bugs.webkit.org/show_bug.cgi?id=70738 | |
| 575 | |
| 576 Reviewed by Geoffrey Garen. | |
| 577 | |
| 578 No new tests. | |
| 579 | |
| 580 Removed all declarations and definitions of deletePropertyVirtual. | |
| 581 Also replaced all call sites to deletePropertyVirtual with a | |
| 582 corresponding lookup in the MethodTable. | |
| 583 | |
| 584 * WebCore.exp.in: | |
| 585 * bindings/js/JSDOMStringMapCustom.cpp: | |
| 586 (WebCore::JSDOMStringMap::deleteProperty): | |
| 587 * bindings/js/JSDOMWindowCustom.cpp: | |
| 588 (WebCore::JSDOMWindow::deleteProperty): | |
| 589 * bindings/js/JSDOMWindowShell.cpp: | |
| 590 (WebCore::JSDOMWindowShell::deleteProperty): | |
| 591 * bindings/js/JSDOMWindowShell.h: | |
| 592 * bindings/js/JSHistoryCustom.cpp: | |
| 593 (WebCore::JSHistory::deleteProperty): | |
| 594 * bindings/js/JSLocationCustom.cpp: | |
| 595 (WebCore::JSLocation::deleteProperty): | |
| 596 * bindings/js/JSStorageCustom.cpp: | |
| 597 (WebCore::JSStorage::deleteProperty): | |
| 598 * bindings/js/ScriptObject.cpp: | |
| 599 (WebCore::ScriptGlobalObject::remove): | |
| 600 * bindings/objc/WebScriptObject.mm: | |
| 601 (-[WebScriptObject removeWebScriptKey:]): | |
| 602 * bindings/scripts/CodeGeneratorJS.pm: | |
| 603 (GenerateHeader): | |
| 604 * bridge/NP_jsobject.cpp: | |
| 605 (_NPN_RemoveProperty): | |
| 606 * bridge/jni/jni_jsobject.mm: | |
| 607 (JavaJSObject::removeMember): | |
| 608 * bridge/objc/objc_runtime.h: | |
| 609 * bridge/objc/objc_runtime.mm: | |
| 610 * bridge/runtime_array.cpp: | |
| 611 * bridge/runtime_array.h: | |
| 612 * bridge/runtime_object.cpp: | |
| 613 * bridge/runtime_object.h: | |
| 614 | |
| 615 2011-10-25 Chris Fleizach <cfleizach@apple.com> | |
| 616 | |
| 617 AX: WebKit does not expose HTML label for slider elements | |
| 618 https://bugs.webkit.org/show_bug.cgi?id=70856 | |
| 619 | |
| 620 Reviewed by Darin Adler. | |
| 621 | |
| 622 Test: platform/mac/accessibility/slider-allows-title-ui-element.html | |
| 623 | |
| 624 * accessibility/AccessibilitySlider.h: | |
| 625 (WebCore::AccessibilitySlider::isControl): | |
| 626 * accessibility/mac/WebAccessibilityObjectWrapper.mm: | |
| 627 (-[WebAccessibilityObjectWrapper accessibilityAttributeNames]): | |
| 628 | |
| 629 2011-10-25 Mark Hahnenberg <mhahnenberg@apple.com> | |
| 630 | |
| 631 Remove putVirtual | |
| 632 https://bugs.webkit.org/show_bug.cgi?id=70740 | |
| 633 | |
| 634 Reviewed by Geoffrey Garen. | |
| 635 | |
| 636 No new tests. | |
| 637 | |
| 638 Removed all declarations and definitions of putVirtual. | |
| 639 Also replaced all call sites to putVirtual with a | |
| 640 corresponding lookup in the MethodTable. | |
| 641 | |
| 642 * WebCore.exp.in: | |
| 643 * bindings/js/JSDOMWindowCustom.cpp: | |
| 644 * bindings/js/JSDOMWindowShell.cpp: | |
| 645 (WebCore::JSDOMWindowShell::put): | |
| 646 * bindings/js/JSDOMWindowShell.h: | |
| 647 * bindings/js/JSPluginElementFunctions.cpp: | |
| 648 (WebCore::runtimeObjectCustomPut): | |
| 649 * bindings/js/SerializedScriptValue.cpp: | |
| 650 (WebCore::CloneDeserializer::putProperty): | |
| 651 * bindings/objc/WebScriptObject.mm: | |
| 652 (-[WebScriptObject setValue:forKey:]): | |
| 653 (-[WebScriptObject setWebScriptValueAtIndex:value:]): | |
| 654 * bindings/scripts/CodeGeneratorJS.pm: | |
| 655 (GenerateHeader): | |
| 656 (GenerateImplementation): | |
| 657 * bridge/NP_jsobject.cpp: | |
| 658 (_NPN_SetProperty): | |
| 659 * bridge/jni/jni_jsobject.mm: | |
| 660 (JavaJSObject::setMember): | |
| 661 (JavaJSObject::setSlot): | |
| 662 * bridge/objc/objc_runtime.h: | |
| 663 * bridge/objc/objc_runtime.mm: | |
| 664 * bridge/qt/qt_runtime.cpp: | |
| 665 (JSC::Bindings::convertQVariantToValue): | |
| 666 * bridge/runtime_array.cpp: | |
| 667 * bridge/runtime_array.h: | |
| 668 * bridge/runtime_object.cpp: | |
| 669 * bridge/runtime_object.h: | |
| 670 * bridge/testqtbindings.cpp: | |
| 671 (main): | |
| 672 | |
| 673 2011-10-25 Adam Barth <abarth@webkit.org> | |
| 674 | |
| 675 EventTargetFactory.in is not sorted | |
| 676 https://bugs.webkit.org/show_bug.cgi?id=70855 | |
| 677 | |
| 678 Reviewed by Eric Seidel. | |
| 679 | |
| 680 This patch sorts the file. I was not able to measure a performance | |
| 681 difference using the microbenchmark included with this patch. | |
| 682 | |
| 683 * dom/EventTargetFactory.in: | |
| 684 | |
| 685 2011-10-25 Adam Barth <abarth@webkit.org> | |
| 686 | |
| 687 Attempt to fix the Windows build. Windows mashes all these files into | |
| 688 one, which doesn't respect the compilation unit rules of C++. | |
| 689 | |
| 690 * bindings/js/JSEventCustom.cpp: | |
| 691 * bindings/js/JSEventTarget.cpp: | |
| 692 | |
| 693 2011-10-25 Ryosuke Niwa <rniwa@webkit.org> | |
| 694 | |
| 695 Moving to the start of line should not place the caret outside of the ta
ble | |
| 696 https://bugs.webkit.org/show_bug.cgi?id=70757 | |
| 697 | |
| 698 Reviewed by Chang Shu. | |
| 699 | |
| 700 The bug was caused by positionAvoidingFirstPositionInTable. Get rid of t
he function. | |
| 701 | |
| 702 Test: editing/selection/table-lineboundary.html | |
| 703 | |
| 704 * editing/visible_units.cpp: | |
| 705 (WebCore::startPositionForLine): | |
| 706 | |
| 707 2011-10-25 Beth Dakin <bdakin@apple.com> | |
| 708 | |
| 709 https://bugs.webkit.org/show_bug.cgi?id=70852 | |
| 710 Setting up a HiDPI base-level GraphicsContext should be more straightfor
ward for | |
| 711 WebKit2 | |
| 712 | |
| 713 Reviewed by Dan Bernstein. | |
| 714 | |
| 715 This patch removes the old cg-only GraphicsContext::setBaseCTM() api, an
d adds | |
| 716 platform-independent GraphicsContext::applyDeviceScaleFactor(). | |
| 717 * WebCore.exp.in: | |
| 718 * platform/graphics/GraphicsContext.cpp: | |
| 719 (WebCore::GraphicsContext::platformApplyDeviceScaleFactor): | |
| 720 (WebCore::GraphicsContext::applyDeviceScaleFactor): | |
| 721 * platform/graphics/GraphicsContext.h: | |
| 722 * platform/graphics/cg/GraphicsContextCG.cpp: | |
| 723 (WebCore::GraphicsContext::platformApplyDeviceScaleFactor): | |
| 724 | |
| 725 Since this patch removes GraphicsContext::setBaseCTM(), this code has be
en | |
| 726 reverted to do what it used to do before that was added; it just calls i
nto | |
| 727 WebCoreSystemInterface directly. | |
| 728 * platform/graphics/cg/ImageCG.cpp: | |
| 729 (WebCore::Image::drawPattern): | |
| 730 | |
| 731 2011-10-25 Anders Carlsson <andersca@apple.com> | |
| 732 | |
| 733 Plug-ins have to use JavaScript to find out the current device scale fac
tor | |
| 734 https://bugs.webkit.org/show_bug.cgi?id=67225 | |
| 735 | |
| 736 Reviewed by Darin Adler. | |
| 737 | |
| 738 Test: platform/mac-wk2/plugins/contents-scale-factor.html | |
| 739 | |
| 740 Add NPNVcontentsScaleFactor, as per https://wiki.mozilla.org/NPAPI:Conte
ntsScaleFactor. | |
| 741 | |
| 742 * plugins/npapi.h: | |
| 743 | |
| 744 2011-10-25 Adam Klein <adamk@chromium.org> | |
| 745 | |
| 746 Forward declare MutationObserverEntry as a struct to fix clang build | |
| 747 https://bugs.webkit.org/show_bug.cgi?id=70853 | |
| 748 | |
| 749 Reviewed by Ryosuke Niwa. | |
| 750 | |
| 751 Node.h forward declared MutationObserverEntry as a class, and clang | |
| 752 complains if the two declarations don't match. | |
| 753 | |
| 754 * dom/Node.h: | |
| 755 | |
| 756 2011-10-25 Dan Bernstein <mitz@apple.com> | |
| 757 | |
| 758 Caret can be positioned or repainted incorrectly in flipped-blocks multi
-column blocks | |
| 759 https://bugs.webkit.org/show_bug.cgi?id=70851 | |
| 760 | |
| 761 Reviewed by Dave Hyatt. | |
| 762 | |
| 763 * manual-tests/caret-in-columns-flipped.html: Added. | |
| 764 * rendering/RenderBlock.cpp: | |
| 765 (WebCore::RenderBlock::adjustForColumns): Removed flipped-blocks writing
mode considerations | |
| 766 from this function, since not all callers were expecting it to account f
or flippedness. This makes | |
| 767 it similar to adjustRectForColumns() in not adjusting for flippedness. | |
| 768 * rendering/RenderBox.cpp: | |
| 769 (WebCore::RenderBox::offsetFromContainer): In the columns case, account
for flipped-blocks modes | |
| 770 by first mapping the point and the offset to non-flipped, non-columns sp
ace, then adjusting for | |
| 771 columns, then flipping. | |
| 772 | |
| 773 2011-10-25 Michal Mocny <mmocny@google.com> | |
| 774 | |
| 775 LayerRendererChromium::setVisible called needlessly without a visibility
change | |
| 776 https://bugs.webkit.org/show_bug.cgi?id=70766 | |
| 777 | |
| 778 Reviewed by Kenneth Russell. | |
| 779 | |
| 780 Check that visibility has actually changed before calling LayerRendererC
hromium::setVisible | |
| 781 | |
| 782 * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp: | |
| 783 (WebCore::CCLayerTreeHostImpl::CCLayerTreeHostImpl): | |
| 784 (WebCore::CCLayerTreeHostImpl::setVisible): | |
| 785 * platform/graphics/chromium/cc/CCLayerTreeHostImpl.h: | |
| 786 | |
| 787 2011-10-25 Anders Carlsson <andersca@apple.com> | |
| 788 | |
| 789 REGRESSION(97821): HistoryController::itemsAreClones crashes a lot | |
| 790 https://bugs.webkit.org/show_bug.cgi?id=70827 | |
| 791 <rdar://problem/10342925> | |
| 792 | |
| 793 Reviewed by Adam Barth. | |
| 794 | |
| 795 Check that m_currentItem is non-null before passing it to itemsAreClones
. While I wasn't | |
| 796 able to make a test case that would reproduce this crash, we do check m_
currentItem for null | |
| 797 everywhere else, and the crash log indicates that this would fix the cra
sh. | |
| 798 | |
| 799 * loader/HistoryController.cpp: | |
| 800 (WebCore::HistoryController::recursiveUpdateForCommit): | |
| 801 | |
| 802 2011-10-25 Adam Barth <abarth@webkit.org> | |
| 803 | |
| 804 EventTarget.h shouldn't need to know about every feature and ifdef | |
| 805 https://bugs.webkit.org/show_bug.cgi?id=70659 | |
| 806 | |
| 807 Reviewed by Darin Adler. | |
| 808 | |
| 809 This patch follows the approach of Event.h and introduces an | |
| 810 interfaceName virtual function that returns the name of the DOM | |
| 811 interface for the concrete type of the object. This function lets us | |
| 812 remove a large number of fake dynamic casts. | |
| 813 | |
| 814 * CMakeLists.txt: | |
| 815 * CodeGenerators.pri: | |
| 816 * DerivedSources.make: | |
| 817 * GNUmakefile.am: | |
| 818 * WebCore.gyp/WebCore.gyp: | |
| 819 * WebCore.gyp/scripts/action_makenames.py: | |
| 820 - Teach action_makenames how to handle the new "in" file. | |
| 821 * WebCore.gypi: | |
| 822 * WebCore.vcproj/WebCore.vcproj: | |
| 823 * WebCore.xcodeproj/project.pbxproj: | |
| 824 * bindings/js/JSEventTarget.cpp: | |
| 825 (WebCore::toJS): | |
| 826 - Use the new autogenerated macro to remove a large amount of | |
| 827 feature-specific code. | |
| 828 * bindings/js/WorkerScriptController.cpp: | |
| 829 (WebCore::WorkerScriptController::initScript): | |
| 830 * bindings/objc/DOM.mm: | |
| 831 (kit): | |
| 832 - The SVGElementInstance branch was never taken previously because | |
| 833 SVGElementInstance::toNode returns a non-NULL value. This code | |
| 834 was introduced in http://trac.webkit.org/changeset/42618 and | |
| 835 doesn't appear to have ever worked as the author intended. | |
| 836 * bindings/v8/V8DOMWrapper.cpp: | |
| 837 (WebCore::V8DOMWrapper::convertEventTargetToV8Object): | |
| 838 - Use the new autogenerated macro to remove a large amount of | |
| 839 feature-specific code. | |
| 840 * dom/EventNames.cpp: | |
| 841 (WebCore::EventNames::EventNames): | |
| 842 * dom/EventNames.h: | |
| 843 * dom/EventTarget.cpp: | |
| 844 * dom/EventTarget.h: | |
| 845 * dom/EventTargetFactory.in: Added. | |
| 846 - Add a new "in" file that lists all the EventTargets. | |
| 847 * dom/LocalMediaStream.cpp: | |
| 848 (WebCore::LocalMediaStream::interfaceName): | |
| 849 * dom/LocalMediaStream.h: | |
| 850 * dom/MediaStream.cpp: | |
| 851 (WebCore::MediaStream::interfaceName): | |
| 852 * dom/MediaStream.h: | |
| 853 * dom/MessagePort.cpp: | |
| 854 (WebCore::MessagePort::interfaceName): | |
| 855 * dom/MessagePort.h: | |
| 856 * dom/Node.cpp: | |
| 857 (WebCore::Node::toNode): | |
| 858 (WebCore::Node::interfaceName): | |
| 859 * dom/Node.h: | |
| 860 * dom/make_event_factory.pl: | |
| 861 - Generalize make_event_factory.pl to be able to generate | |
| 862 interfaces for different namespaces. | |
| 863 * fileapi/FileReader.cpp: | |
| 864 (WebCore::FileReader::interfaceName): | |
| 865 * fileapi/FileReader.h: | |
| 866 * fileapi/FileWriter.cpp: | |
| 867 (WebCore::FileWriter::interfaceName): | |
| 868 * fileapi/FileWriter.h: | |
| 869 * loader/appcache/DOMApplicationCache.cpp: | |
| 870 (WebCore::DOMApplicationCache::interfaceName): | |
| 871 * loader/appcache/DOMApplicationCache.h: | |
| 872 * notifications/Notification.cpp: | |
| 873 (WebCore::Notification::interfaceName): | |
| 874 * notifications/Notification.h: | |
| 875 (WebCore::Notification::scriptExecutionContext): | |
| 876 * p2p/PeerConnection.cpp: | |
| 877 (WebCore::PeerConnection::interfaceName): | |
| 878 * p2p/PeerConnection.h: | |
| 879 * page/DOMWindow.cpp: | |
| 880 (WebCore::DOMWindow::interfaceName): | |
| 881 (WebCore::DOMWindow::toDOMWindow): | |
| 882 * page/DOMWindow.h: | |
| 883 * page/EventSource.cpp: | |
| 884 (WebCore::EventSource::interfaceName): | |
| 885 * page/EventSource.h: | |
| 886 * storage/IDBDatabase.cpp: | |
| 887 (WebCore::IDBDatabase::interfaceName): | |
| 888 * storage/IDBDatabase.h: | |
| 889 * storage/IDBRequest.cpp: | |
| 890 (WebCore::IDBRequest::interfaceName): | |
| 891 * storage/IDBRequest.h: | |
| 892 * storage/IDBTransaction.cpp: | |
| 893 (WebCore::IDBTransaction::interfaceName): | |
| 894 * storage/IDBTransaction.h: | |
| 895 * storage/IDBVersionChangeRequest.cpp: | |
| 896 (WebCore::IDBVersionChangeRequest::interfaceName): | |
| 897 * storage/IDBVersionChangeRequest.h: | |
| 898 * svg/SVGElementInstance.cpp: | |
| 899 (WebCore::SVGElementInstance::interfaceName): | |
| 900 * svg/SVGElementInstance.h: | |
| 901 (WebCore::SVGElementInstance::toNode): | |
| 902 * webaudio/AudioContext.cpp: | |
| 903 (WebCore::AudioContext::interfaceName): | |
| 904 (WebCore::AudioContext::scriptExecutionContext): | |
| 905 * webaudio/AudioContext.h: | |
| 906 * webaudio/JavaScriptAudioNode.cpp: | |
| 907 (WebCore::JavaScriptAudioNode::interfaceName): | |
| 908 * webaudio/JavaScriptAudioNode.h: | |
| 909 * websockets/WebSocket.cpp: | |
| 910 (WebCore::WebSocket::interfaceName): | |
| 911 * websockets/WebSocket.h: | |
| 912 * workers/DedicatedWorkerContext.cpp: | |
| 913 (WebCore::DedicatedWorkerContext::interfaceName): | |
| 914 * workers/DedicatedWorkerContext.h: | |
| 915 * workers/DefaultSharedWorkerRepository.cpp: | |
| 916 (WebCore::SharedWorkerConnectTask::performTask): | |
| 917 * workers/SharedWorker.cpp: | |
| 918 (WebCore::SharedWorker::interfaceName): | |
| 919 * workers/SharedWorker.h: | |
| 920 * workers/SharedWorkerContext.cpp: | |
| 921 (WebCore::SharedWorkerContext::interfaceName): | |
| 922 * workers/SharedWorkerContext.h: | |
| 923 * workers/Worker.cpp: | |
| 924 (WebCore::Worker::interfaceName): | |
| 925 * workers/Worker.h: | |
| 926 * xml/XMLHttpRequest.cpp: | |
| 927 (WebCore::XMLHttpRequest::interfaceName): | |
| 928 * xml/XMLHttpRequest.h: | |
| 929 * xml/XMLHttpRequestUpload.cpp: | |
| 930 (WebCore::XMLHttpRequestUpload::interfaceName): | |
| 931 * xml/XMLHttpRequestUpload.h: | |
| 932 | |
| 933 2011-10-25 Pavel Podivilov <podivilov@chromium.org> | |
| 934 | |
| 935 Fix several minor problems in idls. | |
| 936 https://bugs.webkit.org/show_bug.cgi?id=70811 | |
| 937 | |
| 938 Reviewed by Adam Barth. | |
| 939 | |
| 940 This patch does not have any effect on generated bindings. | |
| 941 | |
| 942 * dom/DataTransferItems.idl: | |
| 943 * page/History.idl: | |
| 944 * storage/IDBIndex.idl: | |
| 945 * xml/XMLHttpRequest.idl: | |
| 946 | |
| 947 2011-10-25 Nate Chapin <japhet@chromium.org> | |
| 948 | |
| 949 Make DocumentThreadableLoader a CachedResourceClient. | |
| 950 This will allow us to cache ThreadableLoaderClients as | |
| 951 appropriate in a later patch. | |
| 952 https://bugs.webkit.org/show_bug.cgi?id=61225 | |
| 953 | |
| 954 Reviewed by Antti Koivisto. | |
| 955 | |
| 956 No new tests, no functionality change intended. | |
| 957 | |
| 958 * WebCore.gypi: | |
| 959 * loader/DocumentThreadableLoader.cpp: | |
| 960 (WebCore::DocumentThreadableLoader::notifyFinished): CachedResourceClien
ts don't send separate callbacks | |
| 961 for didFail() and didFinishLoading(), so we need to differentiate he
re. | |
| 962 (WebCore::DocumentThreadableLoader::loadRequest): Call CachedResourceLoa
der::requestRawResource() | |
| 963 instead of ResourceLoadScheduler::scheduleSubresourceLoad(). | |
| 964 * loader/DocumentThreadableLoader.h: | |
| 965 * loader/cache/CachedRawResource.cpp: | |
| 966 (WebCore::CachedRawResource::data): Handle the complexity of some Thread
ableLoaderClients setting | |
| 967 DoNotBufferData in ResoureLoaderOptions. If the DataBufferingPolicy
is BufferData, then the | |
| 968 'data' input parameter will contain all data received so far, and we
need to determine the | |
| 969 incremental data to forward to the clients. If the policy is DoNotBu
fferData, 'data' is just | |
| 970 the incremental data. | |
| 971 * loader/cache/CachedRawResource.h: | |
| 972 * loader/cache/CachedResource.cpp: | |
| 973 * loader/cache/CachedResource.h: | |
| 974 (WebCore::CachedResource::preloadResult): | |
| 975 (WebCore::CachedResource::didSendData): | |
| 976 (WebCore::CachedResource::didDownloadData): | |
| 977 (WebCore::CachedResource::setLoadFinishTime): | |
| 978 (WebCore::CachedResource::loadFinishTime): | |
| 979 * loader/cache/CachedResourceClient.h: Add several new callbacks needed
by DocumentThreadableLoader. | |
| 980 * loader/cache/CachedResourceRequest.cpp: | |
| 981 (WebCore::CachedResourceRequest::didReceiveResponse): CachedResource::se
tResponse() can now cancel | |
| 982 the request, so protect appropriately. | |
| 983 * loader/cache/CachedResourceRequest.h: | |
| 984 * loader/chromium/CachedRawResourceChromium.cpp: Added (plumb didDownloa
dData() to DocumentThreadableLoader). | |
| 985 * loader/chromium/CachedResourceRequestChromium.cpp: Added (plumb didDow
nloadData() to DocumentThreadableLoader). | |
| 986 * loader/chromium/DocumentThreadableLoaderChromium.cpp: | |
| 987 * platform/network/BlobResourceHandle.cpp: | |
| 988 (WebCore::BlobResourceHandle::notifyResponse): Protect before setting re
sponse, since it might kill us. | |
| 989 | |
| 990 2011-10-25 Pavel Podivilov <podivilov@chromium.org> | |
| 991 | |
| 992 Get rid of optional parameters in the middle in IDLs. | |
| 993 https://bugs.webkit.org/show_bug.cgi?id=70816 | |
| 994 | |
| 995 Reviewed by Adam Barth. | |
| 996 | |
| 997 Optional parameters in the middle are prohibited by WebIDL spec. | |
| 998 | |
| 999 * bindings/scripts/CodeGeneratorJS.pm: | |
| 1000 (GenerateHeader): | |
| 1001 (GenerateImplementation): | |
| 1002 * bindings/scripts/CodeGeneratorV8.pm: | |
| 1003 (GenerateHeader): | |
| 1004 (GenerateArgumentsCountCheck): | |
| 1005 (GenerateImplementation): | |
| 1006 * html/canvas/CanvasRenderingContext2D.idl: | |
| 1007 * page/DOMWindow.idl: | |
| 1008 | |
| 1009 2011-10-25 Chris Evans <cevans@google.com> | |
| 1010 | |
| 1011 Manage the CSS property array length correctly | |
| 1012 https://bugs.webkit.org/show_bug.cgi?id=70783 | |
| 1013 | |
| 1014 Reviewed by Adam Barth. | |
| 1015 | |
| 1016 * css/CSSParser.cpp: | |
| 1017 (WebCore::CSSParser::addProperty): don't allow max length to get out of
sync with the buffer. | |
| 1018 | |
| 1019 2011-10-25 Tony Chang <tony@chromium.org> | |
| 1020 | |
| 1021 avoid unnecessary layouts of flex items during the flex pass | |
| 1022 https://bugs.webkit.org/show_bug.cgi?id=70557 | |
| 1023 | |
| 1024 Reviewed by Ojan Vafai. | |
| 1025 | |
| 1026 If the preferred size of a flex item is provided, we don't need to | |
| 1027 layout the flex item when computing the preferred size. This allows | |
| 1028 us to only call layout on each flex item once in the common case. | |
| 1029 | |
| 1030 No new tests, covered by existing tests. | |
| 1031 | |
| 1032 * rendering/RenderFlexibleBox.cpp: | |
| 1033 (WebCore::RenderFlexibleBox::flowAwareLogicalWidthLengthForChild): | |
| 1034 (WebCore::RenderFlexibleBox::preferredLogicalContentWidthForFlexItem): | |
| 1035 (WebCore::RenderFlexibleBox::computePreferredLogicalWidth): | |
| 1036 (WebCore::RenderFlexibleBox::layoutAndPlaceChildrenInlineDirection): | |
| 1037 * rendering/RenderFlexibleBox.h: | |
| 1038 | |
| 1039 2011-10-25 Fady Samuel <fsamuel@chromium.org> | |
| 1040 | |
| 1041 Crash in WebCore::RenderTableSection::addChild due to assert failure | |
| 1042 https://bugs.webkit.org/show_bug.cgi?id=70678 | |
| 1043 | |
| 1044 Reviewed by David Hyatt. | |
| 1045 | |
| 1046 Tests: fast/table/table-anonymous-cell-bug.html | |
| 1047 fast/table/table-anonymous-row-bug.html | |
| 1048 fast/table/table-anonymous-section-bug.html | |
| 1049 | |
| 1050 If the child being added is not a Section/Row/Cell, and the previous sib
ling is not anonymous, | |
| 1051 we need to create a new anonymous Section/Row/Cell respectively, instead
of failing an | |
| 1052 assert. | |
| 1053 | |
| 1054 * rendering/RenderTable.cpp: | |
| 1055 (WebCore::RenderTable::addChild): | |
| 1056 * rendering/RenderTableRow.cpp: | |
| 1057 (WebCore::RenderTableRow::addChild): | |
| 1058 * rendering/RenderTableSection.cpp: | |
| 1059 (WebCore::RenderTableSection::addChild): | |
| 1060 | |
| 1061 2011-10-25 Mark Hahnenberg <mhahnenberg@apple.com> | |
| 1062 | |
| 1063 Add getOwnPropertySlot to MethodTable | |
| 1064 https://bugs.webkit.org/show_bug.cgi?id=69807 | |
| 1065 | |
| 1066 Reviewed by Oliver Hunt. | |
| 1067 | |
| 1068 No new tests. | |
| 1069 | |
| 1070 * bridge/runtime_method.h: Changed getOwnPropertySlot to be protected so
| |
| 1071 subclasses can reference it in their MethodTables. | |
| 1072 | |
| 1073 2011-10-25 Simon Fraser <simon.fraser@apple.com> | |
| 1074 | |
| 1075 REGRESSION (r88580): Cursor fails to change to pointer on embedded Googl
e maps popups | |
| 1076 https://bugs.webkit.org/show_bug.cgi?id=62797 | |
| 1077 | |
| 1078 Reviewed by Chris Marrin. | |
| 1079 | |
| 1080 When hit testing through transformed layers, RenderLayer would simply us
e | |
| 1081 the composited bounds of the layer as the localHitTestRect for hit testi
ng sublayers. | |
| 1082 However, this broke hit testing on pages that have a composited, non-tra
nsformed layer | |
| 1083 which falls outside the bounds of its parent, composited-transformed lay
er, like Google | |
| 1084 Maps. | |
| 1085 | |
| 1086 Fix by mapping the hitTestRect through transforms. However this is trick
y, because | |
| 1087 mapping a rect into the coordinate system of a layer can result in inval
id rectangles | |
| 1088 when point projection results in a negative w component. Fix Transformat
ionMatrix::projectPoint() | |
| 1089 to detect this case and replace X and Y with large values, and add bound
sOfProjectedQuad(), which | |
| 1090 maps rectangles with possibly-infinite location or bounds into rects whi
ch are representable | |
| 1091 in an IntRect. | |
| 1092 | |
| 1093 Tests: transforms/3d/hit-testing/composited-hit-test.html | |
| 1094 transforms/3d/hit-testing/rotated-hit-test-with-child.html | |
| 1095 transforms/3d/hit-testing/rotated-hit-test2.html | |
| 1096 | |
| 1097 * platform/graphics/transforms/TransformationMatrix.cpp: | |
| 1098 (WebCore::TransformationMatrix::projectPoint): | |
| 1099 (WebCore::TransformationMatrix::projectQuad): | |
| 1100 (WebCore::clampEdgeValue): | |
| 1101 (WebCore::TransformationMatrix::boundsOfProjectedQuad): | |
| 1102 * platform/graphics/transforms/TransformationMatrix.h: | |
| 1103 * rendering/HitTestingTransformState.cpp: | |
| 1104 (WebCore::HitTestingTransformState::boundsOfMappedQuad): | |
| 1105 * rendering/HitTestingTransformState.h: | |
| 1106 * rendering/RenderLayer.cpp: | |
| 1107 (WebCore::RenderLayer::hitTestLayer): | |
| 1108 | |
| 1109 2011-10-25 Adrienne Walker <enne@google.com> | |
| 1110 | |
| 1111 [chromium] Batch up texture uploads so that they can be updated incremen
tally | |
| 1112 https://bugs.webkit.org/show_bug.cgi?id=70454 | |
| 1113 | |
| 1114 Reviewed by James Robinson. | |
| 1115 | |
| 1116 Because texture uploads can sometimes take more than a frame to | |
| 1117 complete, collect all the uploads that need to occur in a | |
| 1118 CCTextureUpdater so that we can easily incrementally upload some of | |
| 1119 them, interleaving input and drawing so that the compositor thread | |
| 1120 continues to appear responsive during a commit. | |
| 1121 | |
| 1122 This change doesn't actually interleave the commits, it just pushes | |
| 1123 the infrastructure for doing so up to the CCProxy level so that a | |
| 1124 future scheduler can make this decision. | |
| 1125 | |
| 1126 VideoLayerChromium is the only layer type to not use this system. It | |
| 1127 needs to be converted to use a texture updater first and it is less of | |
| 1128 a priority than the tiled layers. | |
| 1129 | |
| 1130 * WebCore.gypi: | |
| 1131 * platform/graphics/chromium/Canvas2DLayerChromium.cpp: | |
| 1132 (WebCore::Canvas2DLayerChromium::updateCompositorResources): | |
| 1133 * platform/graphics/chromium/Canvas2DLayerChromium.h: | |
| 1134 * platform/graphics/chromium/LayerChromium.h: | |
| 1135 (WebCore::LayerChromium::updateCompositorResources): | |
| 1136 * platform/graphics/chromium/TiledLayerChromium.cpp: | |
| 1137 (WebCore::TiledLayerChromium::updateCompositorResources): | |
| 1138 * platform/graphics/chromium/TiledLayerChromium.h: | |
| 1139 * platform/graphics/chromium/VideoLayerChromium.cpp: | |
| 1140 (WebCore::VideoLayerChromium::updateCompositorResources): | |
| 1141 * platform/graphics/chromium/VideoLayerChromium.h: | |
| 1142 * platform/graphics/chromium/WebGLLayerChromium.cpp: | |
| 1143 (WebCore::WebGLLayerChromium::updateCompositorResources): | |
| 1144 * platform/graphics/chromium/WebGLLayerChromium.h: | |
| 1145 * platform/graphics/chromium/cc/CCLayerTreeHost.cpp: | |
| 1146 (WebCore::CCLayerTreeHost::beginCommitOnImplThread): | |
| 1147 (WebCore::CCLayerTreeHost::finishCommitOnImplThread): | |
| 1148 (WebCore::CCLayerTreeHost::updateCompositorResources): | |
| 1149 * platform/graphics/chromium/cc/CCLayerTreeHost.h: | |
| 1150 * platform/graphics/chromium/cc/CCSingleThreadProxy.cpp: | |
| 1151 (WebCore::CCSingleThreadProxy::setNeedsCommit): | |
| 1152 (WebCore::CCSingleThreadProxy::doCommit): | |
| 1153 (WebCore::CCSingleThreadProxy::commitIfNeeded): | |
| 1154 * platform/graphics/chromium/cc/CCSingleThreadProxy.h: | |
| 1155 * platform/graphics/chromium/cc/CCTextureUpdater.cpp: Added. | |
| 1156 (WebCore::CCTextureUpdater::CCTextureUpdater): | |
| 1157 (WebCore::CCTextureUpdater::~CCTextureUpdater): | |
| 1158 (WebCore::CCTextureUpdater::append): | |
| 1159 (WebCore::CCTextureUpdater::update): | |
| 1160 (WebCore::CCTextureUpdater::clear): | |
| 1161 * platform/graphics/chromium/cc/CCTextureUpdater.h: Added. | |
| 1162 (WebCore::CCTextureUpdater::allocator): | |
| 1163 * platform/graphics/chromium/cc/CCThreadProxy.cpp: | |
| 1164 (WebCore::CCThreadProxy::commitOnImplThread): | |
| 1165 | |
| 1166 2011-10-24 Jer Noble <jer.noble@apple.com> | |
| 1167 | |
| 1168 compositing/video tests time out on Lion | |
| 1169 https://bugs.webkit.org/show_bug.cgi?id=70448 | |
| 1170 | |
| 1171 Reviewed by Simon Fraser. | |
| 1172 | |
| 1173 AVFoundation will not begin loading or decoding media until a consumer f
or that media is present. | |
| 1174 For video-only media, this means that an AVPlayerLayer must be created a
nd attached to the | |
| 1175 AVPlayer before the load state will ever reach "canPlayThrough". Once th
e metadata for a media | |
| 1176 is loaded, create a AVPlayerLayer if the media has a video track. | |
| 1177 | |
| 1178 * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp: | |
| 1179 (WebCore::MediaPlayerPrivateAVFoundation::updateStates): | |
| 1180 | |
| 1181 2011-10-24 Ryosuke Niwa <rniwa@webkit.org> | |
| 1182 | |
| 1183 Merge endOfLine with logicalEndOfLine and startOfLine with logicalStartO
fLine | |
| 1184 https://bugs.webkit.org/show_bug.cgi?id=70755 | |
| 1185 | |
| 1186 Reviewed by Chang Shu. | |
| 1187 | |
| 1188 Merged endOfLine with logicalEndOfLine, and startOfLine with logicalStar
tOfLine | |
| 1189 to reduce the code duplication. | |
| 1190 | |
| 1191 * editing/visible_units.cpp: | |
| 1192 (WebCore::startPositionForLine): | |
| 1193 (WebCore::startOfLine): | |
| 1194 (WebCore::logicalStartOfLine): | |
| 1195 (WebCore::endPositionForLine): | |
| 1196 (WebCore::inSameLogicalLine): | |
| 1197 (WebCore::endOfLine): | |
| 1198 (WebCore::logicalEndOfLine): | |
| 1199 * editing/visible_units.h: | |
| 1200 | |
| 1201 2011-10-25 Arko Saha <arko@motorola.com> | |
| 1202 | |
| 1203 Microdata: itemtype attribute should be space-separated list to allow mu
ltiple types. | |
| 1204 https://bugs.webkit.org/show_bug.cgi?id=70501 | |
| 1205 | |
| 1206 Reviewed by Ryosuke Niwa. | |
| 1207 | |
| 1208 Tests: fast/dom/MicroData/getitems-multiple-itemtypes.html | |
| 1209 fast/dom/MicroData/itemtype-add-remove-tokens.html | |
| 1210 fast/dom/MicroData/itemtype-attribute-test.html | |
| 1211 | |
| 1212 * dom/MicroDataItemList.cpp: | |
| 1213 (WebCore::MicroDataItemList::nodeMatches): | |
| 1214 * html/DOMSettableTokenList.h: | |
| 1215 (WebCore::DOMSettableTokenList::tokens): | |
| 1216 * html/HTMLElement.cpp: | |
| 1217 (WebCore::HTMLElement::parseMappedAttribute): | |
| 1218 (WebCore::HTMLElement::setItemValueText): | |
| 1219 (WebCore::HTMLElement::itemType): | |
| 1220 (WebCore::HTMLElement::setItemType): | |
| 1221 * html/HTMLElement.h: | |
| 1222 * html/HTMLElement.idl: | |
| 1223 | |
| 1224 2011-10-25 Dan Bernstein <mitz@apple.com> | |
| 1225 | |
| 1226 <rdar://problem/10337033> DOMRangeOfString:relativeTo:options has proble
ms with -webkit-user-select: none | |
| 1227 | |
| 1228 Reviewed by Adam Roben. | |
| 1229 | |
| 1230 Test: added to TestWebKitAPI/Tests/mac/DOMRangeOfString.mm | |
| 1231 | |
| 1232 * page/Page.cpp: | |
| 1233 (WebCore::Page::rangeOfString): This function was incorrectly adding the
StartInSelection option to | |
| 1234 the initial search. | |
| 1235 | |
| 1236 2011-10-25 Yury Semikhatsky <yurys@chromium.org> | |
| 1237 | |
| 1238 Web Inspector: redesign workers sidebar pane | |
| 1239 https://bugs.webkit.org/show_bug.cgi?id=70815 | |
| 1240 | |
| 1241 Changed workers sidebar pane design. | |
| 1242 | |
| 1243 Now there is a link to worker inspector for each dedicated worker create
d | |
| 1244 by inspected page. The sidebar display a link to a page with list of all | |
| 1245 shared workers if there one is supported by the WebKit port. Also there | |
| 1246 is a checkbox that allows pause all new workers on first statements. | |
| 1247 | |
| 1248 Reviewed by Pavel Feldman. | |
| 1249 | |
| 1250 * inspector/front-end/Settings.js: | |
| 1251 * inspector/front-end/StylesSidebarPane.js: | |
| 1252 (WebInspector.StylesSidebarPane.prototype._rebuildSectionsForStyleRules)
: | |
| 1253 * inspector/front-end/WorkerManager.js: | |
| 1254 (WebInspector.WorkerManager.prototype.openWorkerInspector): | |
| 1255 (WebInspector.WorkerManager.prototype._workerInspectorClosing): | |
| 1256 * inspector/front-end/WorkersSidebarPane.js: | |
| 1257 (WebInspector.WorkerListSidebarPane): | |
| 1258 (WebInspector.WorkerListSidebarPane.prototype._workerRemoved): | |
| 1259 (WebInspector.WorkerListSidebarPane.prototype._workersCleared): | |
| 1260 (WebInspector.WorkerListSidebarPane.prototype._addWorker): | |
| 1261 (WebInspector.WorkerListSidebarPane.prototype._workerItemClicked): | |
| 1262 (WebInspector.WorkerListSidebarPane.prototype._autoattachToWorkersClicke
d): | |
| 1263 (WebInspector.WorkerListSidebarPane.prototype._createSharedWorkersLink.l
ink.onclick): | |
| 1264 (WebInspector.WorkerListSidebarPane.prototype._createSharedWorkersLink): | |
| 1265 * inspector/front-end/elementsPanel.css: | |
| 1266 * inspector/front-end/inspectorCommon.css: | |
| 1267 (.sidebar-separator): | |
| 1268 (.sidebar-label): | |
| 1269 * inspector/front-end/scriptsPanel.css: | |
| 1270 (.dedicated-worker-item): | |
| 1271 (#shared-workers-list): | |
| 1272 (#pause-workers-checkbox > input): | |
| 1273 | |
| 1274 2011-10-25 Nico Weber <thakis@chromium.org> | |
| 1275 | |
| 1276 [chromium/mac] Fix an ODR violation. | |
| 1277 https://bugs.webkit.org/show_bug.cgi?id=70753 | |
| 1278 | |
| 1279 Reviewed by Anders Carlsson. | |
| 1280 | |
| 1281 Both ScrollAnimatorNone and ScrollAnimatorMac define ScrollAnimator::cre
ate() on OS X. | |
| 1282 Remove the unused one. | |
| 1283 | |
| 1284 * WebCore.gyp/WebCore.gyp: | |
| 1285 | |
| 1286 2011-10-25 Vsevolod Vlasov <vsevik@chromium.org> | |
| 1287 | |
| 1288 Web Inspector: Debugger fails when there is an invalid watch expression. | |
| 1289 https://bugs.webkit.org/show_bug.cgi?id=70718 | |
| 1290 | |
| 1291 Reviewed by Pavel Feldman. | |
| 1292 | |
| 1293 Test: inspector/debugger/watch-expressions-panel-switch.html | |
| 1294 | |
| 1295 * inspector/front-end/ScriptsPanel.js: | |
| 1296 (WebInspector.ScriptsPanel.prototype.evaluateInSelectedCallFrame): | |
| 1297 | |
| 1298 2011-10-24 Pavel Podivilov <podivilov@chromium.org> | |
| 1299 | |
| 1300 Web Inspector: fix empty line handling in source maps. | |
| 1301 https://bugs.webkit.org/show_bug.cgi?id=70726 | |
| 1302 | |
| 1303 Reviewed by Yury Semikhatsky. | |
| 1304 | |
| 1305 * inspector/front-end/CompilerSourceMapping.js: | |
| 1306 (WebInspector.ClosureCompilerSourceMapping.prototype._parseMappings): | |
| 1307 | |
| 1308 2011-10-25 Justin Schuh <jschuh@chromium.org> | |
| 1309 | |
| 1310 Check for empty string in parseArcFlag | |
| 1311 https://bugs.webkit.org/show_bug.cgi?id=70763 | |
| 1312 | |
| 1313 Reviewed by Dirk Schulze. | |
| 1314 | |
| 1315 Test: svg/path-invalid.html | |
| 1316 | |
| 1317 * svg/SVGParserUtilities.cpp: | |
| 1318 (WebCore::parseArcFlag): | |
| 1319 | |
| 1320 2011-10-24 Pavel Podivilov <podivilov@chromium.org> | |
| 1321 | |
| 1322 Web Inspector: keep old source mapping when new one could not be loaded. | |
| 1323 https://bugs.webkit.org/show_bug.cgi?id=70729 | |
| 1324 | |
| 1325 Reviewed by Yury Semikhatsky. | |
| 1326 | |
| 1327 * inspector/front-end/RawSourceCode.js: | |
| 1328 (WebInspector.RawSourceCode.prototype._updateSourceMapping.didCreateSour
ceMapping): | |
| 1329 (WebInspector.RawSourceCode.prototype._updateSourceMapping): | |
| 1330 (WebInspector.RawSourceCode.prototype._createSourceMapping.didLoadSource
Mapping): | |
| 1331 | |
| 1332 2011-10-25 Sachin Puranik <sachin.puranik@motorola.com> | |
| 1333 | |
| 1334 Double number step=.5 should be considered valid in <input type="number"
step=".5"> | |
| 1335 https://bugs.webkit.org/show_bug.cgi?id=70320 | |
| 1336 | |
| 1337 Reviewed by Kent Tamura. | |
| 1338 | |
| 1339 Test: fast/forms/input-step-as-double.html | |
| 1340 | |
| 1341 * html/parser/HTMLParserIdioms.cpp: | |
| 1342 (WebCore::parseToDoubleForNumberType): Changed the function to consider | |
| 1343 step as valid even if it starts with "." | |
| 1344 | |
| 1345 2011-10-25 Alexander Pavlov <apavlov@chromium.org> | |
| 1346 | |
| 1347 Web Inspector: [Chromium] Audits panel context menu for links not workin
g properly | |
| 1348 https://bugs.webkit.org/show_bug.cgi?id=70813 | |
| 1349 | |
| 1350 Reviewed by Pavel Feldman. | |
| 1351 | |
| 1352 * inspector/front-end/AuditResultView.js: | |
| 1353 (WebInspector.AuditResultView): | |
| 1354 (WebInspector.AuditResultView.prototype._contextMenuEventFired): | |
| 1355 | |
| 1356 2011-10-25 Vsevolod Vlasov <vsevik@chromium.org> | |
| 1357 | |
| 1358 Web Inspector: Resources panel: display the current search match index i
n the toolbar. | |
| 1359 https://bugs.webkit.org/show_bug.cgi?id=66050 | |
| 1360 | |
| 1361 Reviewed by Pavel Feldman. | |
| 1362 | |
| 1363 Test: http/tests/inspector/search/resources-search-match-index.html | |
| 1364 | |
| 1365 * inspector/front-end/ResourcesPanel.js: | |
| 1366 (WebInspector.ResourcesPanel.prototype.performSearch.callback): | |
| 1367 (WebInspector.ResourcesPanel.prototype.performSearch): | |
| 1368 (WebInspector.ResourcesPanel.prototype._showSearchResult.callback): | |
| 1369 (WebInspector.ResourcesPanel.prototype._showSearchResult): | |
| 1370 (WebInspector.BaseStorageTreeElement.prototype.get searchMatchesCount): | |
| 1371 (WebInspector.ResourcesSearchController): | |
| 1372 (WebInspector.ResourcesSearchController.prototype.nextSearchResult): | |
| 1373 (WebInspector.ResourcesSearchController.prototype.previousSearchResult): | |
| 1374 (WebInspector.ResourcesSearchController.prototype._searchResult): | |
| 1375 (WebInspector.SearchResultsTreeElementsTraverser.prototype.next): | |
| 1376 (WebInspector.SearchResultsTreeElementsTraverser.prototype.previous): | |
| 1377 (WebInspector.SearchResultsTreeElementsTraverser.prototype.matchIndex): | |
| 1378 (WebInspector.SearchResultsTreeElementsTraverser.prototype._elementSearc
hMatchesCount): | |
| 1379 (WebInspector.SearchResultsTreeElementsTraverser.prototype._traverseNext
): | |
| 1380 (WebInspector.SearchResultsTreeElementsTraverser.prototype._traversePrev
ious): | |
| 1381 * inspector/front-end/treeoutline.js: | |
| 1382 | |
| 1383 2011-10-25 Andrey Kosyakov <caseq@chromium.org> | |
| 1384 | |
| 1385 Web Inspector: JS exception in JavaScriptSourceFrame.onShowPopover/showO
bjectPopover() | |
| 1386 https://bugs.webkit.org/show_bug.cgi?id=70812 | |
| 1387 | |
| 1388 Reviewed by Pavel Feldman. | |
| 1389 | |
| 1390 Check if highlighted element is present while displaying object popover. | |
| 1391 | |
| 1392 * inspector/front-end/JavaScriptSourceFrame.js: | |
| 1393 (WebInspector.JavaScriptSourceFrame.prototype.onShowPopover.showObjectPo
pover): | |
| 1394 (WebInspector.JavaScriptSourceFrame.prototype.onShowPopover): | |
| 1395 | |
| 1396 2011-10-21 Nat Duca <nduca@chromium.org> | |
| 1397 | |
| 1398 [chromium] Route Console::time and Console::timeEnd to trace_event | |
| 1399 https://bugs.webkit.org/show_bug.cgi?id=70620 | |
| 1400 | |
| 1401 Reviewed by Pavel Feldman. | |
| 1402 | |
| 1403 * page/Console.cpp: | |
| 1404 (WebCore::Console::time): | |
| 1405 (WebCore::Console::timeEnd): | |
| 1406 | |
| 1407 2011-10-21 Andrey Kosyakov <caseq@chromium.org> | |
| 1408 | |
| 1409 Web Inspector: [Extensions API] allow extensions to specify script to be
injected on reload | |
| 1410 https://bugs.webkit.org/show_bug.cgi?id=70600 | |
| 1411 | |
| 1412 Reviewed by Pavel Feldman. | |
| 1413 | |
| 1414 - change webInspector.inspectedPage.reload() to accept multiple options
in an object | |
| 1415 - add an ability to inject a script upon a page reload | |
| 1416 - return script id in addScriptToEvaluateOnLoad() | |
| 1417 - provide removeScriptToEvaluateOnLoad() | |
| 1418 - store scripts to evaluate on load in inspector state cookie | |
| 1419 | |
| 1420 Test: inspector/extensions/extensions-reload.html | |
| 1421 | |
| 1422 * inspector/Inspector.json: | |
| 1423 * inspector/InspectorPageAgent.cpp: | |
| 1424 (WebCore::InspectorPageAgent::InspectorPageAgent): | |
| 1425 (WebCore::InspectorPageAgent::restore): | |
| 1426 (WebCore::InspectorPageAgent::addScriptToEvaluateOnLoad): | |
| 1427 (WebCore::InspectorPageAgent::removeScriptToEvaluateOnLoad): | |
| 1428 (WebCore::InspectorPageAgent::removeAllScriptsToEvaluateOnLoad): | |
| 1429 (WebCore::InspectorPageAgent::didClearWindowObjectInWorld): | |
| 1430 (WebCore::InspectorPageAgent::frameNavigated): | |
| 1431 * inspector/InspectorPageAgent.h: | |
| 1432 * inspector/front-end/ExtensionAPI.js: | |
| 1433 (injectedExtensionAPI.InspectedWindow.prototype.reload): | |
| 1434 * inspector/front-end/ExtensionServer.js: | |
| 1435 (WebInspector.ExtensionServer.prototype._onReload): | |
| 1436 * inspector/front-end/WorkersSidebarPane.js: | |
| 1437 (WebInspector.WorkersSidebarPane.prototype.setInstrumentation.callback): | |
| 1438 (WebInspector.WorkersSidebarPane.prototype.setInstrumentation): | |
| 1439 | |
| 1440 2011-10-24 Pavel Feldman <pfeldman@google.com> | |
| 1441 | |
| 1442 Web Inspector: print expired message count before remaining messages. | |
| 1443 https://bugs.webkit.org/show_bug.cgi?id=70736 | |
| 1444 | |
| 1445 Reviewed by Yury Semikhatsky. | |
| 1446 | |
| 1447 * inspector/Inspector-0.1.json: | |
| 1448 * inspector/Inspector.json: | |
| 1449 * inspector/InspectorConsoleAgent.cpp: | |
| 1450 (WebCore::InspectorConsoleAgent::enable): | |
| 1451 (WebCore::InspectorConsoleAgent::restore): | |
| 1452 * inspector/InspectorConsoleAgent.h: | |
| 1453 * inspector/front-end/ConsoleModel.js: | |
| 1454 | |
| 1455 2011-10-25 Sheriff Bot <webkit.review.bot@gmail.com> | |
| 1456 | |
| 1457 Unreviewed, rolling out r98309. | |
| 1458 http://trac.webkit.org/changeset/98309 | |
| 1459 https://bugs.webkit.org/show_bug.cgi?id=70801 | |
| 1460 | |
| 1461 Test fails on mac (Requested by benwells on #webkit). | |
| 1462 | |
| 1463 * html/canvas/CanvasRenderingContext2D.cpp: | |
| 1464 (WebCore::CanvasRenderingContext2D::fill): | |
| 1465 (WebCore::CanvasRenderingContext2D::fillRect): | |
| 1466 (WebCore::CanvasRenderingContext2D::drawImage): | |
| 1467 (WebCore::CanvasRenderingContext2D::shouldDisplayTransparencyElsewhere): | |
| 1468 (WebCore::CanvasRenderingContext2D::fillAndDisplayTransparencyElsewhere)
: | |
| 1469 * html/canvas/CanvasRenderingContext2D.h: | |
| 1470 | |
| 1471 2011-10-24 Geoffrey Garen <ggaren@apple.com> | |
| 1472 | |
| 1473 Chromium build fix: #include window.h for HANDLE. | |
| 1474 | |
| 1475 * platform/graphics/opentype/OpenTypeUtilities.h: | |
| 1476 | |
| 1477 2011-10-24 Ryosuke Niwa <rniwa@webkit.org> | |
| 1478 | |
| 1479 Include ThreadSafeRefCounted.h since the class declared in this header f
ile | |
| 1480 inherits from ThreadSafeRefCounted. | |
| 1481 | |
| 1482 * storage/IDBIndexBackendInterface.h: | |
| 1483 | |
| 1484 2011-10-24 Ryosuke Niwa <rniwa@webkit.org> | |
| 1485 | |
| 1486 Fix a typo. | |
| 1487 | |
| 1488 * bindings/v8/JavaScriptCallFrame.h: | |
| 1489 | |
| 1490 2011-10-24 Geoffrey Garen <ggaren@apple.com> | |
| 1491 | |
| 1492 Removed SharedUChar and tightened language around its previous uses | |
| 1493 https://bugs.webkit.org/show_bug.cgi?id=70698 | |
| 1494 | |
| 1495 Reviewed by David Levin. | |
| 1496 | |
| 1497 - Renamed "threadSafeCopy" and "crossThreadCopy" to "isolatedCopy" becau
se | |
| 1498 the former names gave the dangerous misimpression that the resulting obj
ect | |
| 1499 was thread-safe, which is not true. | |
| 1500 | |
| 1501 - Updated a bunch of files for header dependency changes, now that | |
| 1502 CrossThreadRefCounted is gone. | |
| 1503 | |
| 1504 * ForwardingHeaders/wtf/CrossThreadRefCounted.h: Removed. | |
| 1505 * WebCore.exp.in: | |
| 1506 * bindings/js/ScriptHeapSnapshot.h: | |
| 1507 * bindings/v8/SerializedScriptValue.cpp: | |
| 1508 (WebCore::SerializedScriptValue::release): | |
| 1509 (WebCore::SerializedScriptValue::SerializedScriptValue): | |
| 1510 * css/CSSPropertySourceData.h: | |
| 1511 * css/CSSValue.h: | |
| 1512 * css/StyleMedia.h: | |
| 1513 * css/WebKitCSSMatrix.h: | |
| 1514 * dom/QualifiedName.h: | |
| 1515 * fileapi/LocalFileSystem.h: | |
| 1516 (WebCore::LocalFileSystem::SystemBasePath::operator String): | |
| 1517 * history/CachedFrame.h: | |
| 1518 * history/CachedPage.h: | |
| 1519 * history/HistoryItem.h: | |
| 1520 * html/canvas/CanvasStyle.h: | |
| 1521 * inspector/InspectorResourceAgent.h: | |
| 1522 * loader/FormState.h: | |
| 1523 * loader/TextResourceDecoder.h: | |
| 1524 * loader/WorkerThreadableLoader.cpp: | |
| 1525 (WebCore::WorkerThreadableLoader::MainThreadBridge::MainThreadBridge): | |
| 1526 * loader/icon/IconDatabase.cpp: | |
| 1527 (WebCore::IconDatabase::open): | |
| 1528 (WebCore::IconDatabase::synchronousIconForPageURL): | |
| 1529 (WebCore::IconDatabase::synchronousIconURLForPageURL): | |
| 1530 (WebCore::IconDatabase::retainIconForPageURL): | |
| 1531 (WebCore::IconDatabase::releaseIconForPageURL): | |
| 1532 (WebCore::IconDatabase::setIconDataForIconURL): | |
| 1533 (WebCore::IconDatabase::setIconURLForPageURL): | |
| 1534 (WebCore::IconDatabase::databasePath): | |
| 1535 (WebCore::IconDatabase::defaultDatabaseFilename): | |
| 1536 (WebCore::ImportedIconURLForPageURLWorkItem::ImportedIconURLForPageURLWo
rkItem): | |
| 1537 (WebCore::ImportedIconDataForPageURLWorkItem::ImportedIconDataForPageURL
WorkItem): | |
| 1538 * page/ContentSecurityPolicy.h: | |
| 1539 * page/Coordinates.h: | |
| 1540 (WebCore::Coordinates::isolatedCopy): | |
| 1541 * page/Geoposition.h: | |
| 1542 (WebCore::Geoposition::isolatedCopy): | |
| 1543 * page/SecurityOrigin.cpp: | |
| 1544 (WebCore::SecurityOrigin::SecurityOrigin): | |
| 1545 (WebCore::SecurityOrigin::isolatedCopy): | |
| 1546 * page/SecurityOrigin.h: | |
| 1547 * page/animation/AnimationBase.h: | |
| 1548 * platform/CrossThreadCopier.cpp: | |
| 1549 (WebCore::::copy): | |
| 1550 * platform/FileChooser.h: | |
| 1551 * platform/KURL.cpp: | |
| 1552 (WebCore::KURL::copy): | |
| 1553 * platform/cf/SchedulePair.h: | |
| 1554 * platform/network/BlobData.cpp: | |
| 1555 (WebCore::BlobDataItem::detachFromCurrentThread): | |
| 1556 (WebCore::BlobData::detachFromCurrentThread): | |
| 1557 * platform/network/HTTPHeaderMap.cpp: | |
| 1558 (WebCore::HTTPHeaderMap::copyData): | |
| 1559 * platform/network/MIMEHeader.h: | |
| 1560 * platform/network/ResourceErrorBase.cpp: | |
| 1561 (WebCore::ResourceErrorBase::copy): | |
| 1562 * platform/network/ResourceLoadInfo.h: | |
| 1563 * platform/network/ResourceRequestBase.cpp: | |
| 1564 (WebCore::ResourceRequestBase::copyData): | |
| 1565 * platform/network/ResourceResponseBase.cpp: | |
| 1566 (WebCore::ResourceResponseBase::copyData): | |
| 1567 * platform/sql/SQLValue.cpp: | |
| 1568 (WebCore::SQLValue::SQLValue): | |
| 1569 (WebCore::SQLValue::string): | |
| 1570 * rendering/style/QuotesData.h: | |
| 1571 * storage/AbstractDatabase.cpp: | |
| 1572 (WebCore::updateGuidVersionMap): | |
| 1573 (WebCore::AbstractDatabase::AbstractDatabase): | |
| 1574 (WebCore::AbstractDatabase::performOpenAndVerify): | |
| 1575 (WebCore::AbstractDatabase::stringIdentifier): | |
| 1576 (WebCore::AbstractDatabase::displayName): | |
| 1577 (WebCore::AbstractDatabase::fileName): | |
| 1578 (WebCore::AbstractDatabase::setExpectedVersion): | |
| 1579 (WebCore::AbstractDatabase::getCachedVersion): | |
| 1580 * storage/ChangeVersionWrapper.cpp: | |
| 1581 (WebCore::ChangeVersionWrapper::ChangeVersionWrapper): | |
| 1582 * storage/Database.cpp: | |
| 1583 (WebCore::Database::Database): | |
| 1584 (WebCore::Database::tableNames): | |
| 1585 * storage/DatabaseDetails.h: | |
| 1586 * storage/DatabaseTracker.cpp: | |
| 1587 (WebCore::DatabaseTracker::setDatabaseDirectoryPath): | |
| 1588 (WebCore::DatabaseTracker::databaseDirectoryPath): | |
| 1589 (WebCore::DatabaseTracker::trackerDatabasePath): | |
| 1590 (WebCore::DatabaseTracker::canEstablishDatabase): | |
| 1591 (WebCore::DatabaseTracker::originPath): | |
| 1592 (WebCore::DatabaseTracker::fullPathForDatabase): | |
| 1593 (WebCore::DatabaseTracker::populateOrigins): | |
| 1594 (WebCore::DatabaseTracker::databaseNamesForOrigin): | |
| 1595 (WebCore::DatabaseTracker::addOpenDatabase): | |
| 1596 (WebCore::DatabaseTracker::setQuota): | |
| 1597 (WebCore::DatabaseTracker::recordCreatingDatabase): | |
| 1598 (WebCore::DatabaseTracker::recordDeletingDatabase): | |
| 1599 (WebCore::DatabaseTracker::recordDeletingOrigin): | |
| 1600 (WebCore::DatabaseTracker::scheduleNotifyDatabaseChanged): | |
| 1601 * storage/OriginQuotaManager.cpp: | |
| 1602 (WebCore::OriginQuotaManager::trackOrigin): | |
| 1603 (WebCore::OriginQuotaManager::addDatabase): | |
| 1604 * storage/SQLError.h: | |
| 1605 (WebCore::SQLError::message): | |
| 1606 (WebCore::SQLError::SQLError): | |
| 1607 * storage/SQLResultSetRowList.h: | |
| 1608 * storage/SQLStatement.cpp: | |
| 1609 (WebCore::SQLStatement::SQLStatement): | |
| 1610 * storage/StorageAreaSync.cpp: | |
| 1611 (WebCore::StorageAreaSync::StorageAreaSync): | |
| 1612 (WebCore::StorageAreaSync::syncTimerFired): | |
| 1613 * storage/StorageAreaSync.h: | |
| 1614 * storage/StorageMap.cpp: | |
| 1615 (WebCore::StorageMap::importItem): | |
| 1616 * storage/StorageNamespaceImpl.cpp: | |
| 1617 (WebCore::StorageNamespaceImpl::StorageNamespaceImpl): | |
| 1618 * storage/StorageSyncManager.cpp: | |
| 1619 (WebCore::StorageSyncManager::StorageSyncManager): | |
| 1620 * storage/StorageTracker.cpp: | |
| 1621 (WebCore::StorageTracker::StorageTracker): | |
| 1622 (WebCore::StorageTracker::syncImportOriginIdentifiers): | |
| 1623 (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase): | |
| 1624 (WebCore::StorageTracker::setOriginDetails): | |
| 1625 (WebCore::StorageTracker::willDeleteAllOrigins): | |
| 1626 * svg/SVGPathSeg.h: | |
| 1627 * workers/DefaultSharedWorkerRepository.cpp: | |
| 1628 (WebCore::SharedWorkerProxy::url): | |
| 1629 (WebCore::SharedWorkerProxy::name): | |
| 1630 (WebCore::SharedWorkerProxy::SharedWorkerProxy): | |
| 1631 (WebCore::DefaultSharedWorkerRepository::getProxy): | |
| 1632 * workers/SharedWorkerThread.cpp: | |
| 1633 (WebCore::SharedWorkerThread::SharedWorkerThread): | |
| 1634 * workers/WorkerMessagingProxy.cpp: | |
| 1635 (WebCore::WorkerExceptionTask::WorkerExceptionTask): | |
| 1636 (WebCore::PostMessageToPageInspectorTask::PostMessageToPageInspectorTask
): | |
| 1637 * workers/WorkerRunLoop.cpp: | |
| 1638 (WebCore::WorkerRunLoop::postTaskForMode): | |
| 1639 (WebCore::WorkerRunLoop::Task::Task): | |
| 1640 * workers/WorkerThread.cpp: | |
| 1641 (WebCore::WorkerThreadStartupData::WorkerThreadStartupData): | |
| 1642 | |
| 1643 2011-10-24 Adam Barth <abarth@webkit.org> | |
| 1644 | |
| 1645 Remove empty directory. | |
| 1646 | |
| 1647 * p2p: Removed. | |
| 1648 | |
| 1649 2011-10-24 Shawn Singh <shawnsingh@chromium.org> | |
| 1650 | |
| 1651 [chromium] Refactor painting/updating/drawing code. | |
| 1652 https://bugs.webkit.org/show_bug.cgi?id=70057 | |
| 1653 | |
| 1654 Reviewed by James Robinson. | |
| 1655 | |
| 1656 This refactoring separates the "early exits" from the actual loop | |
| 1657 that draws layers. As part of this, it was also appropriate to | |
| 1658 clean up the way that masks and replicas are dealt with when | |
| 1659 painting and updating. The purpose of all this is to make things | |
| 1660 easier to test, and for a scissoring optimization that needs to | |
| 1661 know exatly what gets drawn. Existing layout tests were able to | |
| 1662 verify the refactoring did not change behavior. | |
| 1663 | |
| 1664 * platform/graphics/chromium/LayerRendererChromium.cpp: | |
| 1665 (WebCore::LayerRendererChromium::drawLayersOntoRenderSurfaces): | |
| 1666 (WebCore::LayerRendererChromium::drawLayersInternal): | |
| 1667 (WebCore::LayerRendererChromium::drawLayer): | |
| 1668 * platform/graphics/chromium/LayerRendererChromium.h: | |
| 1669 * platform/graphics/chromium/cc/CCLayerTreeHost.cpp: | |
| 1670 (WebCore::CCLayerTreeHost::paintMaskAndReplicaForRenderSurface): | |
| 1671 (WebCore::CCLayerTreeHost::paintLayerContents): | |
| 1672 (WebCore::CCLayerTreeHost::updateCompositorResources): | |
| 1673 * platform/graphics/chromium/cc/CCLayerTreeHost.h: | |
| 1674 * platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp: | |
| 1675 (WebCore::layerShouldBeAppended): | |
| 1676 (WebCore::calculateDrawTransformsAndVisibilityInternal): | |
| 1677 * platform/graphics/chromium/cc/CCLayerTreeHostCommon.h: | |
| 1678 (WebCore::CCLayerTreeHostCommon::calculateVisibleLayerRect): | |
| 1679 | |
| 1680 2011-10-24 Luke Macpherson <macpherson@chromium.org> | |
| 1681 | |
| 1682 REGRESSION(80893): HTML5 spec takes 2s longer to load due to time spent
in CSSStyleSelector | |
| 1683 https://bugs.webkit.org/show_bug.cgi?id=68944 | |
| 1684 | |
| 1685 Reviewed by Antti Koivisto. | |
| 1686 | |
| 1687 No new tests / Covered by existing tests. | |
| 1688 | |
| 1689 Removes all virtual dispatch from CSSStyleApplyProperty by converting to
use static function pointers for dispatch. | |
| 1690 Uses class templates instead of function templates to allow default para
meters and also to share parameter declarations across static functions. | |
| 1691 All constructor parameters become template parameters. This improves the
level of compiler optimization that can be achieved. | |
| 1692 Overall this achieved a ~2% overall speedup on run-safari PerformanceTes
ts/Parser/html5-full-render.html, | |
| 1693 and profiling showed a reduction in the time spent inside CSSStyleSelect
or::applyProperty(). | |
| 1694 | |
| 1695 * css/CSSStyleApplyProperty.cpp: | |
| 1696 (WebCore::ApplyPropertyExpanding::applyInheritValue): | |
| 1697 (WebCore::ApplyPropertyExpanding::applyInitialValue): | |
| 1698 (WebCore::ApplyPropertyExpanding::applyValue): | |
| 1699 (WebCore::ApplyPropertyExpanding::createHandler): | |
| 1700 (WebCore::ApplyPropertyDefaultBase::setValue): | |
| 1701 (WebCore::ApplyPropertyDefaultBase::value): | |
| 1702 (WebCore::ApplyPropertyDefaultBase::initial): | |
| 1703 (WebCore::ApplyPropertyDefaultBase::applyInheritValue): | |
| 1704 (WebCore::ApplyPropertyDefaultBase::applyInitialValue): | |
| 1705 (WebCore::ApplyPropertyDefaultBase::applyValue): | |
| 1706 (WebCore::ApplyPropertyDefaultBase::createHandler): | |
| 1707 (WebCore::ApplyPropertyDefault::setValue): | |
| 1708 (WebCore::ApplyPropertyDefault::applyValue): | |
| 1709 (WebCore::ApplyPropertyDefault::createHandler): | |
| 1710 (WebCore::ApplyPropertyStyleImage::applyValue): | |
| 1711 (WebCore::ApplyPropertyStyleImage::createHandler): | |
| 1712 (WebCore::ApplyPropertyAuto::setValue): | |
| 1713 (WebCore::ApplyPropertyAuto::value): | |
| 1714 (WebCore::ApplyPropertyAuto::hasAuto): | |
| 1715 (WebCore::ApplyPropertyAuto::setAuto): | |
| 1716 (WebCore::ApplyPropertyAuto::applyInheritValue): | |
| 1717 (WebCore::ApplyPropertyAuto::applyInitialValue): | |
| 1718 (WebCore::ApplyPropertyAuto::applyValue): | |
| 1719 (WebCore::ApplyPropertyAuto::createHandler): | |
| 1720 (WebCore::defaultInitialColor): | |
| 1721 (WebCore::ApplyPropertyColor::applyInheritValue): | |
| 1722 (WebCore::ApplyPropertyColor::applyInitialValue): | |
| 1723 (WebCore::ApplyPropertyColor::applyValue): | |
| 1724 (WebCore::ApplyPropertyColor::createHandler): | |
| 1725 (WebCore::ApplyPropertyDirection::applyValue): | |
| 1726 (WebCore::ApplyPropertyDirection::createHandler): | |
| 1727 (WebCore::ApplyPropertyLength::setValue): | |
| 1728 (WebCore::ApplyPropertyLength::applyValue): | |
| 1729 (WebCore::ApplyPropertyLength::createHandler): | |
| 1730 (WebCore::ApplyPropertyString::setValue): | |
| 1731 (WebCore::ApplyPropertyString::applyValue): | |
| 1732 (WebCore::ApplyPropertyString::createHandler): | |
| 1733 (WebCore::ApplyPropertyBorderRadius::setValue): | |
| 1734 (WebCore::ApplyPropertyBorderRadius::applyValue): | |
| 1735 (WebCore::ApplyPropertyBorderRadius::createHandler): | |
| 1736 (WebCore::ApplyPropertyFillLayer::applyInheritValue): | |
| 1737 (WebCore::ApplyPropertyFillLayer::applyInitialValue): | |
| 1738 (WebCore::ApplyPropertyFillLayer::applyValue): | |
| 1739 (WebCore::ApplyPropertyFillLayer::createHandler): | |
| 1740 (WebCore::ApplyPropertyComputeLength::setValue): | |
| 1741 (WebCore::ApplyPropertyComputeLength::applyValue): | |
| 1742 (WebCore::ApplyPropertyComputeLength::createHandler): | |
| 1743 (WebCore::ApplyPropertyFont::applyInheritValue): | |
| 1744 (WebCore::ApplyPropertyFont::applyInitialValue): | |
| 1745 (WebCore::ApplyPropertyFont::applyValue): | |
| 1746 (WebCore::ApplyPropertyFont::createHandler): | |
| 1747 (WebCore::ApplyPropertyFontWeight::applyValue): | |
| 1748 (WebCore::ApplyPropertyFontWeight::createHandler): | |
| 1749 (WebCore::ApplyPropertyCounter::emptyFunction): | |
| 1750 (WebCore::ApplyPropertyCounter::applyValue): | |
| 1751 (WebCore::ApplyPropertyCounter::createHandler): | |
| 1752 (WebCore::ApplyPropertyCursor::applyInheritValue): | |
| 1753 (WebCore::ApplyPropertyCursor::applyInitialValue): | |
| 1754 (WebCore::ApplyPropertyCursor::applyValue): | |
| 1755 (WebCore::ApplyPropertyCursor::createHandler): | |
| 1756 (WebCore::ApplyPropertyTextEmphasisStyle::applyInheritValue): | |
| 1757 (WebCore::ApplyPropertyTextEmphasisStyle::applyInitialValue): | |
| 1758 (WebCore::ApplyPropertyTextEmphasisStyle::applyValue): | |
| 1759 (WebCore::ApplyPropertyTextEmphasisStyle::createHandler): | |
| 1760 (WebCore::ApplyPropertyAnimation::setValue): | |
| 1761 (WebCore::ApplyPropertyAnimation::value): | |
| 1762 (WebCore::ApplyPropertyAnimation::test): | |
| 1763 (WebCore::ApplyPropertyAnimation::clear): | |
| 1764 (WebCore::ApplyPropertyAnimation::initial): | |
| 1765 (WebCore::ApplyPropertyAnimation::map): | |
| 1766 (WebCore::ApplyPropertyAnimation::accessAnimations): | |
| 1767 (WebCore::ApplyPropertyAnimation::animations): | |
| 1768 (WebCore::ApplyPropertyAnimation::applyInheritValue): | |
| 1769 (WebCore::ApplyPropertyAnimation::applyInitialValue): | |
| 1770 (WebCore::ApplyPropertyAnimation::applyValue): | |
| 1771 (WebCore::ApplyPropertyAnimation::createHandler): | |
| 1772 (WebCore::ApplyPropertyOutlineStyle::applyInheritValue): | |
| 1773 (WebCore::ApplyPropertyOutlineStyle::applyInitialValue): | |
| 1774 (WebCore::ApplyPropertyOutlineStyle::applyValue): | |
| 1775 (WebCore::ApplyPropertyOutlineStyle::createHandler): | |
| 1776 (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty): | |
| 1777 * css/CSSStyleApplyProperty.h: | |
| 1778 (WebCore::PropertyHandler::PropertyHandler): | |
| 1779 (WebCore::PropertyHandler::applyInheritValue): | |
| 1780 (WebCore::PropertyHandler::applyInitialValue): | |
| 1781 (WebCore::PropertyHandler::applyValue): | |
| 1782 (WebCore::PropertyHandler::isValid): | |
| 1783 (WebCore::PropertyHandler::inheritFunction): | |
| 1784 (WebCore::PropertyHandler::initialFunction): | |
| 1785 (WebCore::PropertyHandler::applyFunction): | |
| 1786 (WebCore::CSSStyleApplyProperty::propertyHandler): | |
| 1787 (WebCore::CSSStyleApplyProperty::setPropertyHandler): | |
| 1788 * css/CSSStyleSelector.cpp: | |
| 1789 (WebCore::CSSStyleSelector::applyProperty): | |
| 1790 * rendering/style/RenderStyle.h: | |
| 1791 (WebCore::InheritedFlags::invalidColor): | |
| 1792 | |
| 1793 2011-10-24 Ben Wells <benwells@chromium.org> | |
| 1794 | |
| 1795 Canvas drawImage with SourceIn, DestinationIn, SourceOut, DestinationAto
p and Copy have errors | |
| 1796 https://bugs.webkit.org/show_bug.cgi?id=66920 | |
| 1797 | |
| 1798 Reviewed by James Robinson. | |
| 1799 | |
| 1800 Test: fast/canvas/canvas-composite-image.html | |
| 1801 | |
| 1802 Use the same method as fills to handle composited drawImage calls that w
ill affect the whole | |
| 1803 canvas. To do this code used when doing fills has been factored into sep
erate functions and | |
| 1804 used by drawImage. Some functions used to do these types of operations h
ave also been renamed. | |
| 1805 | |
| 1806 * html/canvas/CanvasRenderingContext2D.cpp: | |
| 1807 (WebCore::isFullCanvasCompositeMode): | |
| 1808 (WebCore::CanvasRenderingContext2D::fill): | |
| 1809 (WebCore::CanvasRenderingContext2D::fillRect): | |
| 1810 (WebCore::CanvasRenderingContext2D::drawImage): | |
| 1811 (WebCore::CanvasRenderingContext2D::calculateCompositingBufferRect): | |
| 1812 (WebCore::CanvasRenderingContext2D::createCompositingBuffer): | |
| 1813 (WebCore::CanvasRenderingContext2D::compositeBuffer): | |
| 1814 (WebCore::CanvasRenderingContext2D::fullCanvasCompositedDrawImage): | |
| 1815 (WebCore::CanvasRenderingContext2D::fullCanvasCompositedFill): | |
| 1816 * html/canvas/CanvasRenderingContext2D.h: | |
| 1817 | |
| 1818 2011-10-24 Sheriff Bot <webkit.review.bot@gmail.com> | |
| 1819 | |
| 1820 Unreviewed, rolling out r98294 and r98306. | |
| 1821 http://trac.webkit.org/changeset/98294 | |
| 1822 http://trac.webkit.org/changeset/98306 | |
| 1823 https://bugs.webkit.org/show_bug.cgi?id=70790 | |
| 1824 | |
| 1825 the first patch broke chromium-mac and the second gclient | |
| 1826 (Requested by jchaffraix on #webkit). | |
| 1827 | |
| 1828 * WebCore.gyp/WebCore.gyp: | |
| 1829 | |
| 1830 2011-10-24 Ryosuke Niwa <rniwa@webkit.org> | |
| 1831 | |
| 1832 Build fix after r98300. | |
| 1833 | |
| 1834 * WebCore.gypi: | |
| 1835 * WebCore.pro: | |
| 1836 | |
| 1837 2011-10-24 Anders Carlsson <andersca@apple.com> | |
| 1838 | |
| 1839 It should be possible for Widget subclasses to control whether transform
s affect the frame rect | |
| 1840 https://bugs.webkit.org/show_bug.cgi?id=70787 | |
| 1841 | |
| 1842 Reviewed by Sam Weinig. | |
| 1843 | |
| 1844 Currently RenderWidget sets the frame rect of it's hosted widget to the
bounding box of the transformed | |
| 1845 content box rect (unless the Widget is a frame view). It should be possi
ble for Widget subclasses to override | |
| 1846 this behavior and have the frame rect set to the absolute content box wi
thout any transforms applied. | |
| 1847 | |
| 1848 * platform/Widget.h: | |
| 1849 (WebCore::Widget::transformsAffectFrameRect): | |
| 1850 Add new member function. | |
| 1851 | |
| 1852 * rendering/RenderWidget.cpp: | |
| 1853 (WebCore::RenderWidget::updateWidgetGeometry): | |
| 1854 Move shared code from setWidget and updateWidgetPosition out into a new
function. If transformsAffectFrameRect returns | |
| 1855 false, just set the frame rect to the absolute content box. | |
| 1856 | |
| 1857 (WebCore::RenderWidget::setWidget): | |
| 1858 (WebCore::RenderWidget::updateWidgetPosition): | |
| 1859 Call updateWidgetGeometry. | |
| 1860 | |
| 1861 * rendering/RenderWidget.h: | |
| 1862 | |
| 1863 2011-10-24 Arko Saha <arko@motorola.com> | |
| 1864 | |
| 1865 Microdata: Add itemprop, itemref, itemvalue attributes. | |
| 1866 https://bugs.webkit.org/show_bug.cgi?id=69839 | |
| 1867 | |
| 1868 Reviewed by Ryosuke Niwa. | |
| 1869 | |
| 1870 Tests: fast/dom/MicroData/itemprop-add-remove-tokens.html | |
| 1871 fast/dom/MicroData/itemprop-for-an-element-must-be-correct.html | |
| 1872 fast/dom/MicroData/itemprop-must-be-read-only.html | |
| 1873 fast/dom/MicroData/itemprop-reflected-by-itemProp-property.html | |
| 1874 fast/dom/MicroData/itemref-add-remove-tokens.html | |
| 1875 fast/dom/MicroData/itemref-attribute-reflected-by-itemRef-propert
y.html | |
| 1876 fast/dom/MicroData/itemref-for-an-element-must-be-correct.html | |
| 1877 fast/dom/MicroData/itemref-must-be-read-only.html | |
| 1878 fast/dom/MicroData/itemvalue-reflects-data-attr-on-object-element
.html | |
| 1879 fast/dom/MicroData/itemvalue-reflects-href-attr.html | |
| 1880 fast/dom/MicroData/itemvalue-reflects-src-attribute-on-img-elemen
t.html | |
| 1881 fast/dom/MicroData/itemvalue-reflects-the-content-attr-on-meta-el
ement.html | |
| 1882 fast/dom/MicroData/itemvalue-reflects-the-src-attr.html | |
| 1883 fast/dom/MicroData/itemvalue-returns-element-itself.html | |
| 1884 fast/dom/MicroData/itemvalue-returns-null.html | |
| 1885 fast/dom/MicroData/itemvalue-throws-excpetion-onsetting-001.html | |
| 1886 fast/dom/MicroData/itemvalue-throws-excpetion-onsetting-002.html | |
| 1887 | |
| 1888 * CMakeLists.txt: | |
| 1889 * GNUmakefile.list.am: | |
| 1890 * WebCore.gypi: | |
| 1891 * WebCore.pro: | |
| 1892 * WebCore.vcproj/WebCore.vcproj: | |
| 1893 * bindings/js/JSHTMLElementCustom.cpp: | |
| 1894 (WebCore::toJS): | |
| 1895 (WebCore::JSHTMLElement::itemValue): | |
| 1896 (WebCore::JSHTMLElement::setItemValue): | |
| 1897 * bindings/v8/custom/V8HTMLElementCustom.cpp: | |
| 1898 (WebCore::toV8Object): | |
| 1899 (WebCore::V8HTMLElement::itemValueAccessorGetter): | |
| 1900 (WebCore::V8HTMLElement::itemValueAccessorSetter): | |
| 1901 * dom/MicroDataItemList.cpp: | |
| 1902 * html/HTMLAnchorElement.cpp: | |
| 1903 (WebCore::HTMLAnchorElement::itemValueText): | |
| 1904 (WebCore::HTMLAnchorElement::setItemValueText): | |
| 1905 * html/HTMLAnchorElement.h: | |
| 1906 * html/HTMLAreaElement.cpp: | |
| 1907 (WebCore::HTMLAreaElement::itemValueText): | |
| 1908 (WebCore::HTMLAreaElement::setItemValueText): | |
| 1909 * html/HTMLAreaElement.h: | |
| 1910 * html/HTMLAttributeNames.in: | |
| 1911 * html/HTMLElement.cpp: | |
| 1912 (WebCore::HTMLElement::parseMappedAttribute): | |
| 1913 (WebCore::HTMLElement::itemProp): Returns element's itemprop content att
ribute. | |
| 1914 (WebCore::HTMLElement::setItemProp): Sets itemprop value on changing ele
met's | |
| 1915 itemprop attribute. | |
| 1916 (WebCore::HTMLElement::itemRef): Returns element's itemref content attri
bute. | |
| 1917 (WebCore::HTMLElement::setItemRef): Sets itemref value on changing eleme
t's | |
| 1918 itemref attribute. | |
| 1919 (WebCore::HTMLElement::setItemValue): Sets element's itemvalue. If the e
lement has no | |
| 1920 itemprop attribute or if element has an itemscope attribute, it throws I
NVALID_ACCESS_ERR | |
| 1921 exception. | |
| 1922 (WebCore::HTMLElement::itemValue): Returns the elements itemvalue. | |
| 1923 | |
| 1924 If the element has no itemprop attribute it returns null. | |
| 1925 If the element has an itemscope attribute, it returns the element itself
. | |
| 1926 If the element is a meta element: It acts as it would if it was reflecti
ng the element's | |
| 1927 content content attribute. | |
| 1928 If the element is an audio, embed, iframe, img, source, track, or video
element: It acts | |
| 1929 as it would if it was reflecting the element's src content attribute. | |
| 1930 If the element is an a, area, or link element: It act as it would if it
was reflecting the | |
| 1931 href content attribute. | |
| 1932 If the element is an object element: It acts as it would if it was refl
ecting the element's | |
| 1933 data content attribute. | |
| 1934 | |
| 1935 (WebCore::HTMLElement::itemValueText): | |
| 1936 (WebCore::HTMLElement::setItemValueText): | |
| 1937 * html/HTMLElement.h: | |
| 1938 * html/HTMLElement.idl: | |
| 1939 * html/HTMLEmbedElement.cpp: | |
| 1940 (WebCore::HTMLEmbedElement::itemValueText): | |
| 1941 (WebCore::HTMLEmbedElement::setItemValueText): | |
| 1942 * html/HTMLEmbedElement.h: | |
| 1943 * html/HTMLIFrameElement.cpp: | |
| 1944 (WebCore::HTMLIFrameElement::itemValueText): | |
| 1945 (WebCore::HTMLIFrameElement::setItemValueText): | |
| 1946 * html/HTMLIFrameElement.h: | |
| 1947 * html/HTMLImageElement.cpp: | |
| 1948 (WebCore::HTMLImageElement::itemValueText): | |
| 1949 (WebCore::HTMLImageElement::setItemValueText): | |
| 1950 * html/HTMLImageElement.h: | |
| 1951 * html/HTMLLinkElement.cpp: | |
| 1952 (WebCore::HTMLLinkElement::itemValueText): | |
| 1953 (WebCore::HTMLLinkElement::setItemValueText): | |
| 1954 * html/HTMLLinkElement.h: | |
| 1955 * html/HTMLMediaElement.cpp: | |
| 1956 (WebCore::HTMLMediaElement::itemValueText): | |
| 1957 (WebCore::HTMLMediaElement::setItemValueText): | |
| 1958 * html/HTMLMediaElement.h: | |
| 1959 * html/HTMLMetaElement.cpp: | |
| 1960 (WebCore::HTMLMetaElement::itemValueText): | |
| 1961 (WebCore::HTMLMetaElement::setItemValueText): | |
| 1962 * html/HTMLMetaElement.h: | |
| 1963 * html/HTMLObjectElement.cpp: | |
| 1964 (WebCore::HTMLObjectElement::itemValueText): | |
| 1965 (WebCore::HTMLObjectElement::setItemValueText): | |
| 1966 * html/HTMLObjectElement.h: | |
| 1967 * html/HTMLSourceElement.cpp: | |
| 1968 (WebCore::HTMLSourceElement::itemValueText): | |
| 1969 (WebCore::HTMLSourceElement::setItemValueText): | |
| 1970 * html/HTMLSourceElement.h: | |
| 1971 * html/HTMLTrackElement.cpp: | |
| 1972 (WebCore::HTMLTrackElement::itemValueText): | |
| 1973 (WebCore::HTMLTrackElement::setItemValueText): | |
| 1974 * html/HTMLTrackElement.h: | |
| 1975 * html/MicroDataItemValue.cpp: Added. | |
| 1976 (WebCore::MicroDataItemValue::MicroDataItemValue): | |
| 1977 (WebCore::MicroDataItemValue::createFromString): | |
| 1978 (WebCore::MicroDataItemValue::createFromNode): | |
| 1979 * html/MicroDataItemValue.h: Added. | |
| 1980 (WebCore::MicroDataItemValue::isNode): | |
| 1981 (WebCore::MicroDataItemValue::getNode): | |
| 1982 (WebCore::MicroDataItemValue::getString): | |
| 1983 | |
| 1984 2011-10-24 Joseph Pecoraro <joepeck@webkit.org> | |
| 1985 | |
| 1986 Remove unused instance variable | |
| 1987 https://bugs.webkit.org/show_bug.cgi?id=70750 | |
| 1988 | |
| 1989 Reviewed by Dimitri Glazkov. | |
| 1990 | |
| 1991 * rendering/RenderTextControl.h: | |
| 1992 | |
| 1993 2011-10-24 Nico Weber <thakis@chromium.org> | |
| 1994 | |
| 1995 [chromium/mac] Fix an ODR violation. | |
| 1996 https://bugs.webkit.org/show_bug.cgi?id=70753 | |
| 1997 | |
| 1998 Reviewed by Anders Carlsson. | |
| 1999 | |
| 2000 Both ScrollAnimatorNone and ScrollAnimatorMac define ScrollAnimator::cre
ate() on OS X. | |
| 2001 Remove the unused one. | |
| 2002 | |
| 2003 * WebCore.gyp/WebCore.gyp: | |
| 2004 | |
| 2005 2011-10-24 Tim Horton <timothy_horton@apple.com> | |
| 2006 | |
| 2007 feColorMatrix doesn't use the correct default "matrix" type when no type
attribute is specified | |
| 2008 https://bugs.webkit.org/show_bug.cgi?id=70035 | |
| 2009 <rdar://problem/10280177> | |
| 2010 | |
| 2011 Reviewed by Nikolas Zimmermann. | |
| 2012 | |
| 2013 Make feColorMatrix's type attribute be "matrix" by default. | |
| 2014 | |
| 2015 Test: svg/filters/feColorMatrix-default-type.svg | |
| 2016 | |
| 2017 * svg/SVGFEColorMatrixElement.cpp: | |
| 2018 (WebCore::SVGFEColorMatrixElement::SVGFEColorMatrixElement): | |
| 2019 | |
| 2020 2011-10-24 Joshua Bell <jsbell@chromium.org> | |
| 2021 | |
| 2022 Unbreak binding generation tests | |
| 2023 https://bugs.webkit.org/show_bug.cgi?id=70768 | |
| 2024 | |
| 2025 Reviewed by Darin Adler. | |
| 2026 | |
| 2027 Update the expected output of V8 binding tests to match | |
| 2028 results c/o https://bugs.webkit.org/show_bug.cgi?id=70065 | |
| 2029 | |
| 2030 * bindings/scripts/test/V8/V8TestObj.cpp: | |
| 2031 (WebCore::TestObjInternal::idbKeyCallback): | |
| 2032 | |
| 2033 2011-10-21 Nat Duca <nduca@chromium.org> | |
| 2034 | |
| 2035 [chromium] Add isTraceEventEnabled to PlatformSupport. | |
| 2036 https://bugs.webkit.org/show_bug.cgi?id=70618 | |
| 2037 | |
| 2038 Reviewed by Darin Fisher. | |
| 2039 | |
| 2040 * platform/chromium/PlatformSupport.h: | |
| 2041 | |
| 2042 2011-10-24 Mihnea Ovidenie <mihnea@adobe.com> | |
| 2043 | |
| 2044 Use StringBuilder in CSSRuleList::rulesText()/CSSSelectorList::selectors
Text() | |
| 2045 https://bugs.webkit.org/show_bug.cgi?id=70746 | |
| 2046 | |
| 2047 Reviewed by Tony Chang. | |
| 2048 | |
| 2049 Covered by existing tests. | |
| 2050 | |
| 2051 * css/CSSRuleList.cpp: | |
| 2052 (WebCore::CSSRuleList::rulesText): | |
| 2053 * css/CSSSelectorList.cpp: | |
| 2054 (WebCore::CSSSelectorList::selectorsText): | |
| 2055 * css/WebKitCSSKeyframesRule.cpp: | |
| 2056 (WebCore::WebKitCSSKeyframesRule::cssText): Use CSSRuleList::rulesText()
method instead of explicit loop. | |
| 2057 | |
| 2058 2011-10-24 Michael Saboff <msaboff@apple.com> | |
| 2059 | |
| 2060 WebKit doesn't build with recent changes to libdispatch | |
| 2061 https://bugs.webkit.org/show_bug.cgi?id=70737 | |
| 2062 | |
| 2063 Added initialization for new WebKitSystemInterface function | |
| 2064 CreateVMPressureDispatchOnMainQueue. Changed MemoryPressureHandler::ins
tall | |
| 2065 to use new function. | |
| 2066 | |
| 2067 Reviewed by Geoffrey Garen. | |
| 2068 | |
| 2069 No new tests. Moved functionality to WebKitSystemInterface. | |
| 2070 | |
| 2071 * WebCore.exp.in: | |
| 2072 * platform/mac/MemoryPressureHandlerMac.mm: | |
| 2073 (WebCore::MemoryPressureHandler::install): | |
| 2074 * platform/mac/WebCoreSystemInterface.h: | |
| 2075 * platform/mac/WebCoreSystemInterface.mm: | |
| 2076 | |
| 2077 2011-10-24 Joshua Bell <jsbell@chromium.org> | |
| 2078 | |
| 2079 IndexedDB: Throw DATA_ERR on invalid keys, remove null key support | |
| 2080 https://bugs.webkit.org/show_bug.cgi?id=70065 | |
| 2081 | |
| 2082 Reviewed by Tony Chang. | |
| 2083 | |
| 2084 Part 1 of a two-sided commit. Renames IDBKey::NullType to | |
| 2085 IDBKey::InvalidType. JS binding yields this type rather | |
| 2086 than throwing immediately so the correct exception type can | |
| 2087 be raised. Checks for invalid keys added to front-end classes. | |
| 2088 | |
| 2089 * bindings/js/JSIDBKeyCustom.cpp: | |
| 2090 (WebCore::toJS): | |
| 2091 * bindings/scripts/CodeGeneratorV8.pm: | |
| 2092 (TypeCanFailConversion): | |
| 2093 * bindings/v8/IDBBindingUtilities.cpp: | |
| 2094 (WebCore::createIDBKeyFromValue): | |
| 2095 * bindings/v8/custom/V8IDBKeyCustom.cpp: | |
| 2096 (WebCore::toV8): | |
| 2097 * storage/IDBCursor.cpp: | |
| 2098 (WebCore::IDBCursor::continueFunction): | |
| 2099 * storage/IDBFactory.cpp: | |
| 2100 (WebCore::IDBFactory::cmp): | |
| 2101 * storage/IDBIndex.cpp: | |
| 2102 (WebCore::IDBIndex::get): | |
| 2103 (WebCore::IDBIndex::getKey): | |
| 2104 * storage/IDBKey.cpp: | |
| 2105 (WebCore::IDBKey::IDBKey): | |
| 2106 (WebCore::IDBKey::compare): | |
| 2107 * storage/IDBKey.h: | |
| 2108 (WebCore::IDBKey::createInvalid): | |
| 2109 * storage/IDBKeyRange.cpp: | |
| 2110 (WebCore::IDBKeyRange::only): | |
| 2111 (WebCore::IDBKeyRange::lowerBound): | |
| 2112 (WebCore::IDBKeyRange::upperBound): | |
| 2113 (WebCore::IDBKeyRange::bound): | |
| 2114 * storage/IDBKeyRange.h: | |
| 2115 (WebCore::IDBKeyRange::lowerBound): | |
| 2116 (WebCore::IDBKeyRange::upperBound): | |
| 2117 (WebCore::IDBKeyRange::bound): | |
| 2118 * storage/IDBKeyRange.idl: | |
| 2119 * storage/IDBLevelDBCoding.cpp: | |
| 2120 (WebCore::IDBLevelDBCoding::encodeIDBKey): | |
| 2121 (WebCore::IDBLevelDBCoding::decodeIDBKey): | |
| 2122 * storage/IDBObjectStore.cpp: | |
| 2123 (WebCore::IDBObjectStore::get): | |
| 2124 (WebCore::IDBObjectStore::add): | |
| 2125 (WebCore::IDBObjectStore::put): | |
| 2126 (WebCore::IDBObjectStore::deleteFunction): | |
| 2127 * storage/IDBObjectStoreBackendImpl.cpp: | |
| 2128 (WebCore::IDBObjectStoreBackendImpl::put): | |
| 2129 (WebCore::IDBObjectStoreBackendImpl::putInternal): | |
| 2130 (WebCore::IDBObjectStoreBackendImpl::deleteFunction): | |
| 2131 * storage/IDBSQLiteBackingStore.cpp: | |
| 2132 (WebCore::whereSyntaxForKey): | |
| 2133 (WebCore::bindKeyToQuery): | |
| 2134 (WebCore::lowerCursorWhereFragment): | |
| 2135 (WebCore::upperCursorWhereFragment): | |
| 2136 (WebCore::bindKeyToQueryWithNulls): | |
| 2137 (WebCore::keyFromQuery): | |
| 2138 | |
| 2139 2011-10-24 Alok Priyadarshi <alokp@chromium.org> | |
| 2140 | |
| 2141 [chromium] Make accelerated drawing work with threaded compositing | |
| 2142 https://bugs.webkit.org/show_bug.cgi?id=70656 | |
| 2143 | |
| 2144 Reviewed by James Robinson. | |
| 2145 | |
| 2146 Make sure that the compositor context is not used outside LayerTextureUp
dater::updateTextureRect(). | |
| 2147 Created a FrameBuffer class that wraps skia gpu canvas and manages GL re
sources. | |
| 2148 | |
| 2149 * platform/graphics/chromium/ContentLayerChromium.cpp: | |
| 2150 (WebCore::ContentLayerChromium::createTextureUpdater): | |
| 2151 * platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp: | |
| 2152 (WebCore::FrameBuffer::FrameBuffer::FrameBuffer): | |
| 2153 (WebCore::FrameBuffer::FrameBuffer::~FrameBuffer): | |
| 2154 (WebCore::FrameBuffer::FrameBuffer::initialize): | |
| 2155 (WebCore::LayerTextureUpdaterSkPicture::LayerTextureUpdaterSkPicture): | |
| 2156 (WebCore::LayerTextureUpdaterSkPicture::~LayerTextureUpdaterSkPicture): | |
| 2157 (WebCore::LayerTextureUpdaterSkPicture::prepareToUpdate): | |
| 2158 (WebCore::LayerTextureUpdaterSkPicture::updateTextureRect): | |
| 2159 * platform/graphics/chromium/LayerTextureUpdaterCanvas.h: | |
| 2160 * platform/graphics/chromium/cc/CCLayerTreeHost.cpp: | |
| 2161 (WebCore::CCLayerTreeHost::initialize): | |
| 2162 | |
| 2163 2011-10-24 Adam Klein <adamk@chromium.org> | |
| 2164 | |
| 2165 Optimize Node::isInShadowTree to execute in constant-time | |
| 2166 https://bugs.webkit.org/show_bug.cgi?id=67686 | |
| 2167 | |
| 2168 Reviewed by Dimitri Glazkov. | |
| 2169 | |
| 2170 No expected change in behavior, so no new tests. | |
| 2171 | |
| 2172 * dom/Node.cpp: | |
| 2173 (WebCore::Node::isInShadowTree): | |
| 2174 | |
| 2175 2011-10-24 Nat Duca <nduca@chromium.org> | |
| 2176 | |
| 2177 [chromium] Expose WebThread::postDelayedTask to CCThread | |
| 2178 https://bugs.webkit.org/show_bug.cgi?id=70712 | |
| 2179 | |
| 2180 Reviewed by James Robinson. | |
| 2181 | |
| 2182 * platform/graphics/chromium/cc/CCThread.h: | |
| 2183 | |
| 2184 2011-10-24 Levi Weintraub <leviw@chromium.org> | |
| 2185 | |
| 2186 <svg> fails to use explicit width and height inside <html> inside IFRAME | |
| 2187 https://bugs.webkit.org/show_bug.cgi?id=64823 | |
| 2188 | |
| 2189 Reviewed by Nikolas Zimmermann. | |
| 2190 | |
| 2191 Checking that embedded SVG is in an SVG document before negotiating size | |
| 2192 with the host document. | |
| 2193 | |
| 2194 Test: svg/as-object/svg-embedded-in-html-in-iframe.html | |
| 2195 | |
| 2196 * rendering/svg/RenderSVGRoot.cpp: | |
| 2197 (WebCore::isEmbeddedThroughFrameContainingSVGDocument): | |
| 2198 (WebCore::RenderSVGRoot::computeReplacedLogicalWidth): | |
| 2199 (WebCore::RenderSVGRoot::computeReplacedLogicalHeight): | |
| 2200 | |
| 2201 2011-10-24 Rafael Weinstein <rafaelw@chromium.org> | |
| 2202 | |
| 2203 Node::registeredMutationObserversOfType should be prefixed by "get" | |
| 2204 https://bugs.webkit.org/show_bug.cgi?id=70359 | |
| 2205 | |
| 2206 Reviewed by Ojan Vafai. | |
| 2207 | |
| 2208 This change renames Node::registeredMutationObserversOfType to | |
| 2209 Node::getRegisteredMutationObserversOfType per the WebKit style guide. | |
| 2210 | |
| 2211 No tests needed as the change is only method renaming. | |
| 2212 | |
| 2213 * dom/CharacterData.cpp: | |
| 2214 (WebCore::CharacterData::dispatchModifiedEvent): | |
| 2215 * dom/ChildListMutationScope.cpp: | |
| 2216 (WebCore::MutationAccumulationRouter::MutationAccumulationRouter::increm
entScopingLevel): | |
| 2217 * dom/Element.cpp: | |
| 2218 (WebCore::enqueueAttributesMutationRecord): | |
| 2219 * dom/Node.cpp: | |
| 2220 (WebCore::Node::getRegisteredMutationObserversOfType): | |
| 2221 * dom/Node.h: | |
| 2222 | |
| 2223 2011-10-24 Mark Hahnenberg <mhahnenberg@apple.com> | |
| 2224 | |
| 2225 Rename static getOwnPropertySlot to getOwnPropertySlotByIndex | |
| 2226 https://bugs.webkit.org/show_bug.cgi?id=70271 | |
| 2227 | |
| 2228 Reviewed by Darin Adler. | |
| 2229 | |
| 2230 No new tests. | |
| 2231 | |
| 2232 Renaming versions of getOwnPropertySlot that use an unsigned as the prop
erty | |
| 2233 name to "getOwnPropertySlotByIndex" in preparation for adding them to th
e | |
| 2234 MethodTable, which requires unique names for each method. | |
| 2235 | |
| 2236 * bindings/js/SerializedScriptValue.cpp: | |
| 2237 (WebCore::CloneSerializer::getSparseIndex): | |
| 2238 * bindings/scripts/CodeGeneratorJS.pm: | |
| 2239 (GenerateHeader): | |
| 2240 (GenerateImplementation): | |
| 2241 * bridge/runtime_array.cpp: | |
| 2242 (JSC::RuntimeArray::getOwnPropertySlotVirtual): | |
| 2243 (JSC::RuntimeArray::getOwnPropertySlotByIndex): | |
| 2244 * bridge/runtime_array.h: | |
| 2245 | |
| 2246 2011-10-24 Joshua Bell <jsbell@chromium.org> | |
| 2247 | |
| 2248 IndexedDB add should fail adding an inline and passed key simultaneously | |
| 2249 https://bugs.webkit.org/show_bug.cgi?id=58598 | |
| 2250 | |
| 2251 Reviewed by Tony Chang. | |
| 2252 | |
| 2253 Test: storage/indexeddb/mozilla/key-requirements-inline-and-passed.html | |
| 2254 | |
| 2255 Implement the spec clause: passing a key into add() or put() when | |
| 2256 the object store has a key path ("inline key") is an error. | |
| 2257 | |
| 2258 * storage/IDBObjectStoreBackendImpl.cpp: | |
| 2259 (WebCore::IDBObjectStoreBackendImpl::put): | |
| 2260 | |
| 2261 2011-10-24 Simon Fraser <simon.fraser@apple.com> | |
| 2262 | |
| 2263 Improve debug compositing border colors | |
| 2264 https://bugs.webkit.org/show_bug.cgi?id=70742 | |
| 2265 | |
| 2266 Reviewed by Dean Jackson. | |
| 2267 | |
| 2268 Improve the appearance of the debug borders used to indicate compositing
: | |
| 2269 1. Use green for normal layers, orange for tiled layers | |
| 2270 2. Make the repaint counter translucent | |
| 2271 3. Change the color of the repaint counter to show when accelerated draw
ing is enabled. | |
| 2272 | |
| 2273 * platform/graphics/GraphicsLayer.cpp: | |
| 2274 (WebCore::GraphicsLayer::updateDebugIndicators): | |
| 2275 * platform/graphics/mac/WebLayer.mm: | |
| 2276 (drawLayerContents): | |
| 2277 | |
| 2278 2011-10-24 Carlos Garcia Campos <cgarcia@igalia.com> | |
| 2279 | |
| 2280 [GTK] Fix make distcheck build | |
| 2281 https://bugs.webkit.org/show_bug.cgi?id=69745 | |
| 2282 | |
| 2283 Reviewed by Martin Robinson. | |
| 2284 | |
| 2285 * GNUmakefile.am: | |
| 2286 * GNUmakefile.list.am: | |
| 2287 | |
| 2288 2011-10-24 Alexander Pavlov <apavlov@chromium.org> | |
| 2289 | |
| 2290 Web Inspector: [Styles] Adding a new style rule breaks things | |
| 2291 https://bugs.webkit.org/show_bug.cgi?id=70721 | |
| 2292 | |
| 2293 Reviewed by Pavel Feldman. | |
| 2294 | |
| 2295 We had used to swap BlankStylePropertiesSection prototype and recently g
ot rid of this hack, | |
| 2296 but still had dependencies on the old behavior. | |
| 2297 | |
| 2298 * inspector/front-end/StylesSidebarPane.js: | |
| 2299 (WebInspector.StylesSidebarPane.prototype._refreshStyleRules): | |
| 2300 (WebInspector.ComputedStylePropertiesSection.prototype.rebuildComputedTr
ace): | |
| 2301 (WebInspector.BlankStylePropertiesSection.prototype.get isBlank): | |
| 2302 (WebInspector.BlankStylePropertiesSection.prototype.expand): | |
| 2303 (WebInspector.BlankStylePropertiesSection.prototype.editingSelectorCommi
tted.successCallback): | |
| 2304 (WebInspector.BlankStylePropertiesSection.prototype.editingSelectorCommi
tted): | |
| 2305 (WebInspector.BlankStylePropertiesSection.prototype.editingSelectorCance
lled): | |
| 2306 (WebInspector.BlankStylePropertiesSection.prototype.makeNormal): | |
| 2307 | |
| 2308 2011-10-24 Pavel Feldman <pfeldman@google.com> | |
| 2309 | |
| 2310 Web Inspector: do not force document loading on reload (should happen on
demand). | |
| 2311 https://bugs.webkit.org/show_bug.cgi?id=70724 | |
| 2312 | |
| 2313 Reviewed by Yury Semikhatsky. | |
| 2314 | |
| 2315 * inspector/front-end/ConsoleMessage.js: | |
| 2316 (WebInspector.ConsoleMessageImpl.prototype._formatParameterAsNode): | |
| 2317 * inspector/front-end/DOMAgent.js: | |
| 2318 (WebInspector.DOMAgent.prototype._documentUpdated): | |
| 2319 * inspector/front-end/ElementsPanel.js: | |
| 2320 (WebInspector.ElementsPanel.prototype.wasShown): | |
| 2321 * inspector/front-end/ElementsTreeOutline.js: | |
| 2322 (WebInspector.ElementsTreeOutline.prototype.setVisible): | |
| 2323 | |
| 2324 2011-10-24 Eric Carlson <eric.carlson@apple.com> | |
| 2325 | |
| 2326 Drop MutableTextTrack and make TextTrack always mutable | |
| 2327 https://bugs.webkit.org/show_bug.cgi?id=62890 | |
| 2328 | |
| 2329 The MutableTextTrack type was removed from the spec, all text tracks are
now mutable. | |
| 2330 | |
| 2331 Reviewed by Sam Weinig. | |
| 2332 | |
| 2333 No new tests needed, the changes just refactor existing code. | |
| 2334 | |
| 2335 * CMakeLists.txt: Remove all traces of MutableTextTrack. | |
| 2336 * CodeGenerators.pri: Ditto. | |
| 2337 * DerivedSources.cpp: Ditto. | |
| 2338 * DerivedSources.make: Ditto. | |
| 2339 * GNUmakefile.list.am: Ditto. | |
| 2340 * WebCore.gypi: Ditto. | |
| 2341 * WebCore.pro: Ditto. | |
| 2342 * WebCore.xcodeproj/project.pbxproj: Ditto. | |
| 2343 * bindings/gobject/GNUmakefile.am: Ditto. | |
| 2344 * bindings/gobject/WebKitHTMLElementWrapperFactory.cpp: Ditto. | |
| 2345 * bindings/js/JSBindingsAllInOne.cpp: Ditto. | |
| 2346 | |
| 2347 * bindings/js/JSTextTrackCustom.cpp: Removed. | |
| 2348 | |
| 2349 * html/HTMLMediaElement.cpp: | |
| 2350 (WebCore::HTMLMediaElement::addTrack): Return a TextTrack instead of a M
utableTextTrack. | |
| 2351 * html/HTMLMediaElement.h: | |
| 2352 * html/HTMLMediaElement.idl: | |
| 2353 | |
| 2354 * html/LoadableTextTrack.cpp: | |
| 2355 (WebCore::LoadableTextTrack::LoadableTextTrack): Return a TextTrack inst
ead of a MutableTextTrack. | |
| 2356 | |
| 2357 * html/MutableTextTrack.cpp: Removed. | |
| 2358 * html/MutableTextTrack.h: Removed. | |
| 2359 * html/MutableTextTrack.idl: Removed. | |
| 2360 | |
| 2361 * html/TextTrack.cpp: | |
| 2362 (WebCore::TextTrack::TextTrack): Remove Type parameter. | |
| 2363 (WebCore::TextTrack::addCue): New, moved from MutableTextTrack. | |
| 2364 (WebCore::TextTrack::removeCue): Ditto. | |
| 2365 (WebCore::TextTrack::newCuesLoaded): Ditto. | |
| 2366 (WebCore::TextTrack::fetchNewestCues): Ditto. | |
| 2367 * html/TextTrack.h: | |
| 2368 (WebCore::TextTrack::create): Remove Type parameter | |
| 2369 * html/TextTrack.idl: Add addCue and removeCue. | |
| 2370 | |
| 2371 2011-10-24 Yury Semikhatsky <yurys@chromium.org> | |
| 2372 | |
| 2373 Web Inspector: allow debugging dedicated worker initialization | |
| 2374 https://bugs.webkit.org/show_bug.cgi?id=70723 | |
| 2375 | |
| 2376 Now it is possible to pause each new dedicated worker on start. The user | |
| 2377 needs to select a checkbox and then each newly created dedicated worker | |
| 2378 will be paused on the first statement until the user resumes it explicit
ely. | |
| 2379 | |
| 2380 Reviewed by Pavel Feldman. | |
| 2381 | |
| 2382 * inspector/Inspector.json: resume command is added. It is similar to GD
B's run | |
| 2383 command, i.e. worker execution will be paused until explicit "resume" co
mmand is | |
| 2384 received. | |
| 2385 * inspector/InspectorInstrumentation.cpp: | |
| 2386 (WebCore::InspectorInstrumentation::shouldPauseDedicatedWorkerOnStartImp
l): | |
| 2387 * inspector/InspectorInstrumentation.h: | |
| 2388 (WebCore::InspectorInstrumentation::shouldPauseDedicatedWorkerOnStart): | |
| 2389 * inspector/InspectorRuntimeAgent.cpp: | |
| 2390 (WebCore::InspectorRuntimeAgent::resume): | |
| 2391 (WebCore::InspectorRuntimeAgent::pauseWorkerContext): | |
| 2392 * inspector/InspectorRuntimeAgent.h: | |
| 2393 * inspector/InspectorWorkerAgent.cpp: | |
| 2394 (WebCore::InspectorWorkerAgent::shouldPauseDedicatedWorkerOnStart): retu
rns true | |
| 2395 if the user chose to automatically pause all new workers. | |
| 2396 * inspector/InspectorWorkerAgent.h: | |
| 2397 * inspector/WorkerInspectorController.cpp: | |
| 2398 (WebCore::WorkerInspectorController::resume): | |
| 2399 * inspector/front-end/WorkerManager.js: | |
| 2400 (WebInspector.WorkerManager.loaded): | |
| 2401 (WebInspector.WorkerManager.loadCompleted): | |
| 2402 (WebInspector.WorkerManager.prototype._workerCreated): | |
| 2403 (WebInspector.WorkerManager.prototype.openWorkerInspector): | |
| 2404 (WebInspector.WorkerManager.prototype._openInspectorWindow): | |
| 2405 * inspector/front-end/inspector.js: | |
| 2406 (WebInspector.loaded): | |
| 2407 * workers/Worker.cpp: | |
| 2408 (WebCore::Worker::notifyFinished): | |
| 2409 * workers/WorkerContextProxy.h: | |
| 2410 * workers/WorkerMessagingProxy.cpp: | |
| 2411 (WebCore::WorkerMessagingProxy::startWorkerContext): additional flag spe
cifying | |
| 2412 worker initial state(paused/not paused) is added to the factory method.
The flag | |
| 2413 will be carried to the corresponding WorkerThread. | |
| 2414 (WebCore::WorkerMessagingProxy::connectToInspector): | |
| 2415 * workers/WorkerMessagingProxy.h: | |
| 2416 | |
| 2417 2011-10-21 Nikita Vasilyev <me@elv1s.ru> | |
| 2418 | |
| 2419 Web Inspector: Make indent configurable | |
| 2420 https://bugs.webkit.org/show_bug.cgi?id=69986 | |
| 2421 | |
| 2422 Add a setting to choose an indent from "8 spaces", "4 spaces" (default),
"2 spaces", or "Tab character". | |
| 2423 | |
| 2424 Reviewed by Pavel Feldman. | |
| 2425 | |
| 2426 * English.lproj/localizedStrings.js: | |
| 2427 * inspector/front-end/SettingsScreen.js: | |
| 2428 (WebInspector.SettingsScreen): | |
| 2429 (WebInspector.SettingsScreen.prototype._createSelectSetting.get p): | |
| 2430 (WebInspector.SettingsScreen.prototype._createSelectSetting.changeListen
er): | |
| 2431 * inspector/front-end/TextEditorModel.js: | |
| 2432 (WebInspector.TextEditorModel): | |
| 2433 * inspector/front-end/TextViewer.js: | |
| 2434 | |
| 2435 2011-10-17 Andrey Kosyakov <caseq@chromium.org> | |
| 2436 | |
| 2437 Web Inspector: add "Add to Watch" option to context menu on selection in
source frame | |
| 2438 https://bugs.webkit.org/show_bug.cgi?id=69924 | |
| 2439 | |
| 2440 Reviewed by Pavel Feldman. | |
| 2441 | |
| 2442 - added 'Add to Watch' context menu item in scripts panel; | |
| 2443 - include both default and custom items into a context menu if selection
is present; | |
| 2444 | |
| 2445 * inspector/front-end/ScriptsPanel.js: | |
| 2446 (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.suggestedFile
Name): | |
| 2447 (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.addToWatch): | |
| 2448 * inspector/front-end/SourceFrame.js: | |
| 2449 (WebInspector.SourceFrame.prototype.populateSelectionContextMenu): | |
| 2450 (WebInspector.TextViewerDelegateForSourceFrame.prototype.populateSelecti
onContextMenu): | |
| 2451 (WebInspector.SourceFrameDelegate.prototype.suggestedFileName): | |
| 2452 (WebInspector.SourceFrameDelegate.prototype.addToWatch): | |
| 2453 * inspector/front-end/TextViewer.js: | |
| 2454 (WebInspector.TextViewer.prototype._contextMenu): | |
| 2455 (WebInspector.TextViewerDelegate.prototype.populateSelectionContextMenu)
: | |
| 2456 * inspector/front-end/WatchExpressionsSidebarPane.js: | |
| 2457 (WebInspector.WatchExpressionsSidebarPane.prototype.addExpression): | |
| 2458 (WebInspector.WatchExpressionsSidebarPane.prototype._addButtonClicked): | |
| 2459 (WebInspector.WatchExpressionsSection.prototype.addExpression): | |
| 2460 (WebInspector.WatchExpressionsSection.prototype.addNewExpressionAndEdit)
: | |
| 2461 * page/ContextMenuController.cpp: | |
| 2462 (WebCore::ContextMenuController::showContextMenu): | |
| 2463 | |
| 2464 2011-10-21 Alexander Pavlov <apavlov@chromium.org> | |
| 2465 | |
| 2466 Web Inspector: Audits hang on pages without img[src] elements | |
| 2467 https://bugs.webkit.org/show_bug.cgi?id=70604 | |
| 2468 | |
| 2469 Reviewed by Pavel Feldman. | |
| 2470 | |
| 2471 Test: inspector/audits/audits-panel-noimages-functional.html | |
| 2472 | |
| 2473 * inspector/front-end/AuditRules.js: | |
| 2474 (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun.getStyles): | |
| 2475 | |
| 2476 2011-10-24 Deepak Sherveghar <bpwv64@motorola.com> | |
| 2477 | |
| 2478 [Qt] fast/events/media-focus-in-standalone-media-document.html fails | |
| 2479 https://bugs.webkit.org/show_bug.cgi?id=70110 | |
| 2480 | |
| 2481 Reviewed by Simon Hausmann. | |
| 2482 | |
| 2483 ExtensionMap should also include media files mapping. | |
| 2484 | |
| 2485 * platform/qt/MIMETypeRegistryQt.cpp: Added media files mapping. | |
| 2486 | |
| 2487 2011-10-24 Pavel Feldman <pfeldman@google.com> | |
| 2488 | |
| 2489 Not reviewed: [chromium] follow up to 98228 - added missing css. | |
| 2490 | |
| 2491 * WebCore.gypi: | |
| 2492 | |
| 2493 2011-10-24 Pavel Feldman <pfeldman@chromium.org> | |
| 2494 | |
| 2495 Web Inspector: Make CSS files load upon View demand; split inspector.css
into views. | |
| 2496 https://bugs.webkit.org/show_bug.cgi?id=70694 | |
| 2497 | |
| 2498 Reviewed by Yury Semikhatsky. | |
| 2499 | |
| 2500 * WebCore.gypi: | |
| 2501 * WebCore.vcproj/WebCore.vcproj: | |
| 2502 * inspector/front-end/AuditsPanel.js: | |
| 2503 (WebInspector.AuditsPanel): | |
| 2504 * inspector/front-end/DataGrid.js: | |
| 2505 (WebInspector.DataGrid): | |
| 2506 * inspector/front-end/ElementsPanel.js: | |
| 2507 * inspector/front-end/NetworkPanel.js: | |
| 2508 (WebInspector.NetworkLogView): | |
| 2509 * inspector/front-end/PanelEnablerView.js: | |
| 2510 * inspector/front-end/ProfilesPanel.js: | |
| 2511 * inspector/front-end/ResourceView.js: | |
| 2512 (WebInspector.ResourceView): | |
| 2513 * inspector/front-end/ResourcesPanel.js: | |
| 2514 * inspector/front-end/ScriptsPanel.js: | |
| 2515 * inspector/front-end/TextViewer.js: | |
| 2516 * inspector/front-end/TimelinePanel.js: | |
| 2517 (WebInspector.TimelinePanel): | |
| 2518 * inspector/front-end/WebKit.qrc: | |
| 2519 * inspector/front-end/WelcomeView.js: | |
| 2520 (WebInspector.WelcomeView): | |
| 2521 * inspector/front-end/auditsPanel.css: Renamed from Source/WebCore/inspe
ctor/front-end/audits.css. | |
| 2522 | |
| 2523 2011-10-24 Pavel Feldman <pfeldman@chromium.org> | |
| 2524 | |
| 2525 Web Inspector: make view load CSS files upon show. | |
| 2526 https://bugs.webkit.org/show_bug.cgi?id=70696 | |
| 2527 | |
| 2528 Reviewed by Yury Semikhatsky. | |
| 2529 | |
| 2530 Test: inspector/view-css.html | |
| 2531 | |
| 2532 * inspector/front-end/View.js: | |
| 2533 (WebInspector.View): | |
| 2534 (WebInspector.View.prototype._callOnVisibleChildren): | |
| 2535 (WebInspector.View.prototype._processWillShow): | |
| 2536 (WebInspector.View.prototype._processWasShown): | |
| 2537 (WebInspector.View.prototype._processWillHide): | |
| 2538 (WebInspector.View.prototype._processWasHidden): | |
| 2539 (WebInspector.View.prototype._processOnResize): | |
| 2540 (WebInspector.View.prototype.show): | |
| 2541 (WebInspector.View.prototype.detach): | |
| 2542 (WebInspector.View.prototype.registerRequiredCSS): | |
| 2543 (WebInspector.View.prototype._loadCSSIfNeeded): | |
| 2544 (WebInspector.View.prototype._doLoadCSS): | |
| 2545 (WebInspector.View.prototype._disableCSSIfNeeded): | |
| 2546 (WebInspector.View.prototype._doUnloadCSS): | |
| 2547 | |
| 2548 2011-10-24 Pavel Feldman <pfeldman@chromium.org> | |
| 2549 | |
| 2550 Web Inspector: make DataGrid a view | |
| 2551 https://bugs.webkit.org/show_bug.cgi?id=70695 | |
| 2552 | |
| 2553 Reviewed by Yury Semikhatsky. | |
| 2554 | |
| 2555 * inspector/front-end/ApplicationCacheItemsView.js: | |
| 2556 (WebInspector.ApplicationCacheItemsView.prototype._createDataGrid): | |
| 2557 * inspector/front-end/CookieItemsView.js: | |
| 2558 (WebInspector.CookieItemsView.prototype._updateWithCookies): | |
| 2559 (WebInspector.SimpleCookiesTable): | |
| 2560 (WebInspector.SimpleCookiesTable.prototype.setCookies): | |
| 2561 * inspector/front-end/CookiesTable.js: | |
| 2562 (WebInspector.CookiesTable): | |
| 2563 * inspector/front-end/DOMStorageItemsView.js: | |
| 2564 (WebInspector.DOMStorageItemsView.prototype._showDOMStorageEntries): | |
| 2565 * inspector/front-end/DataGrid.js: | |
| 2566 (WebInspector.DataGrid): | |
| 2567 (WebInspector.DataGrid.prototype.onResize): | |
| 2568 * inspector/front-end/DatabaseQueryView.js: | |
| 2569 (WebInspector.DatabaseQueryView.prototype._queryFinished): | |
| 2570 (WebInspector.DatabaseQueryView.prototype._queryError): | |
| 2571 (WebInspector.DatabaseQueryView.prototype._appendViewQueryResult): | |
| 2572 (WebInspector.DatabaseQueryView.prototype._appendErrorQueryResult): | |
| 2573 (WebInspector.DatabaseQueryView.prototype._appendQueryResult): | |
| 2574 * inspector/front-end/DatabaseTableView.js: | |
| 2575 (WebInspector.DatabaseTableView.prototype._queryFinished): | |
| 2576 * inspector/front-end/DetailedHeapshotView.js: | |
| 2577 (WebInspector.DetailedHeapshotView.prototype.wasShown.profileCallback2): | |
| 2578 (WebInspector.DetailedHeapshotView.prototype.wasShown): | |
| 2579 (WebInspector.DetailedHeapshotView.prototype.onResize): | |
| 2580 * inspector/front-end/NetworkPanel.js: | |
| 2581 (WebInspector.NetworkLogView.prototype.onResize): | |
| 2582 (WebInspector.NetworkLogView.prototype._createTable): | |
| 2583 * inspector/front-end/ProfileView.js: | |
| 2584 * inspector/front-end/ResourceCookiesView.js: | |
| 2585 (WebInspector.ResourceCookiesView.prototype._buildCookiesTable): | |
| 2586 * inspector/front-end/ResourceView.js: | |
| 2587 (WebInspector.ResourceView): | |
| 2588 | |
| 2589 2011-10-24 Yosifumi Inoue <yosin@chromium.org> | |
| 2590 | |
| 2591 [Forms] Setting defaultValue should hide an input placeholder. | |
| 2592 https://bugs.webkit.org/show_bug.cgi?id=70586 | |
| 2593 | |
| 2594 Reviewed by Kent Tamura. | |
| 2595 | |
| 2596 Tests: fast/forms/placeholder-and-default-value-expected.html | |
| 2597 fast/forms/placeholder-and-default-value.html | |
| 2598 | |
| 2599 When input element has default value, we should not display | |
| 2600 placeholder. Changing default value should tell rendering engine about | |
| 2601 changing display of input element. | |
| 2602 | |
| 2603 * html/HTMLInputElement.cpp: | |
| 2604 (WebCore::HTMLInputElement::parseMappedAttribute): Calls updatePlacehold
erVisibility for valueAttr if it doesn't have dirty value. | |
| 2605 | |
| 2606 2011-10-23 Darin Adler <darin@apple.com> | |
| 2607 | |
| 2608 Eliminate OptionElement (second and final part) | |
| 2609 https://bugs.webkit.org/show_bug.cgi?id=70710 | |
| 2610 | |
| 2611 Reviewed by Kent Tamura. | |
| 2612 | |
| 2613 * CMakeLists.txt: Removed OptionElement.h and OptionElement.cpp. | |
| 2614 * GNUmakefile.list.am: Ditto. | |
| 2615 * WebCore.gypi: Ditto. | |
| 2616 * WebCore.pro: Ditto. | |
| 2617 * WebCore.vcproj/WebCore.vcproj: Ditto. | |
| 2618 * WebCore.xcodeproj/project.pbxproj: Ditto. | |
| 2619 * dom/DOMAllInOne.cpp: Ditto. | |
| 2620 | |
| 2621 * dom/OptionElement.cpp: Removed. | |
| 2622 * dom/OptionElement.h: Removed. | |
| 2623 | |
| 2624 * html/HTMLSelectElement.cpp: | |
| 2625 (WebCore::HTMLSelectElement::saveLastSelection): Eliminate use of the | |
| 2626 toOptionElement function. Use hasTagName and toHTMLOptionElement instead
. | |
| 2627 (WebCore::HTMLSelectElement::setActiveSelectionAnchorIndex): Ditto. | |
| 2628 (WebCore::HTMLSelectElement::updateListBoxSelection): Ditto. | |
| 2629 (WebCore::HTMLSelectElement::listBoxOnChange): Ditto. | |
| 2630 (WebCore::HTMLSelectElement::recalcListItems): Ditto. | |
| 2631 (WebCore::HTMLSelectElement::selectedIndex): Ditto. | |
| 2632 (WebCore::HTMLSelectElement::setSelectedIndex): Ditto. | |
| 2633 (WebCore::HTMLSelectElement::deselectItemsWithoutValidation): Ditto. | |
| 2634 (WebCore::HTMLSelectElement::saveFormControlState): Ditto. | |
| 2635 (WebCore::HTMLSelectElement::restoreFormControlState): Ditto. | |
| 2636 (WebCore::HTMLSelectElement::appendFormData): Ditto. | |
| 2637 (WebCore::HTMLSelectElement::reset): Ditto. | |
| 2638 (WebCore::HTMLSelectElement::updateSelectedState): Ditto. | |
| 2639 (WebCore::HTMLSelectElement::lastSelectedListIndex): Ditto. | |
| 2640 (WebCore::HTMLSelectElement::typeAheadFind): Ditto. | |
| 2641 (WebCore::HTMLSelectElement::accessKeySetSelectedIndex): Ditto. | |
| 2642 | |
| 2643 * html/HTMLSelectElement.h: Changed the argument type of the | |
| 2644 deselectItemsWithoutValidation function to HTMLElement* since that's | |
| 2645 the type of an item in our items vector now. | |
| 2646 | |
| 2647 2011-10-23 Yuzo Fujishima <yuzo@google.com> | |
| 2648 | |
| 2649 [chromium] Attempt to fix compilation error for Chromium OS. | |
| 2650 | |
| 2651 Unreviewed. | |
| 2652 | |
| 2653 * mediastream/MediaStreamTrack.cpp: | |
| 2654 (WebCore::MediaStreamTrack::kind): | |
| 2655 | |
| 2656 2011-10-23 Adam Barth <abarth@webkit.org> | |
| 2657 | |
| 2658 <img crossorigin> should fail to load when CORS check fails | |
| 2659 https://bugs.webkit.org/show_bug.cgi?id=69732 | |
| 2660 | |
| 2661 Reviewed by Darin Adler. | |
| 2662 | |
| 2663 When loading an image with the crossorigin attribute, the spec says | |
| 2664 that we're not supposed to load the image if the CORS check fails. | |
| 2665 This "fails fast" behavior is intended to help developers understand | |
| 2666 whether they've configured CORS correctly (instead of only catching the | |
| 2667 error later when trying to read back the canvas). | |
| 2668 | |
| 2669 Our new behavior matches the spec and Firefox. | |
| 2670 | |
| 2671 Test: http/tests/security/img-with-failed-cors-check-fails-to-load.html | |
| 2672 | |
| 2673 * loader/ImageLoader.cpp: | |
| 2674 (WebCore::ImageLoader::notifyFinished): | |
| 2675 | |
| 2676 2011-10-23 Noel Gordon <noel.gordon@gmail.com> | |
| 2677 | |
| 2678 [chromium] Remove GeolocationServiceGtk.{h,cpp} from the gyp projects | |
| 2679 https://bugs.webkit.org/show_bug.cgi?id=70702 | |
| 2680 | |
| 2681 Reviewed by Kent Tamura. | |
| 2682 | |
| 2683 platform/gtk/GeolocationServiceGtk.{h,cpp} were removed in r97746, so | |
| 2684 remove references to these files from the gyp files. | |
| 2685 | |
| 2686 * WebCore.gypi: | |
| 2687 | |
| 2688 2011-10-23 Andreas Kling <kling@webkit.org> | |
| 2689 | |
| 2690 Move StyleSheet::addSubresourceStyleURLs() to CSSStyleSheet. | |
| 2691 https://bugs.webkit.org/show_bug.cgi?id=70690 | |
| 2692 | |
| 2693 Reviewed by Antti Koivisto. | |
| 2694 | |
| 2695 This method isn't part of the StyleSheet DOM interface, nor is it used b
y | |
| 2696 XSLStyleSheet, so move it down to CSSStyleSheet and make it non-virtual. | |
| 2697 Also remove some nearby unneeded casts from CSSStyleSheet* to StyleSheet
*. | |
| 2698 | |
| 2699 * css/CSSStyleSheet.h: | |
| 2700 * css/StyleSheet.h: | |
| 2701 * html/HTMLLinkElement.cpp: | |
| 2702 (WebCore::HTMLLinkElement::isLoading): | |
| 2703 (WebCore::HTMLLinkElement::addSubresourceAttributeURLs): | |
| 2704 * html/HTMLStyleElement.cpp: | |
| 2705 (WebCore::HTMLStyleElement::addSubresourceAttributeURLs): | |
| 2706 (WebCore::HTMLStyleElement::disabled): | |
| 2707 (WebCore::HTMLStyleElement::setDisabled): | |
| 2708 | |
| 2709 2011-10-23 Andreas Kling <kling@webkit.org> | |
| 2710 | |
| 2711 Remove style sheet constructors that take a style sheet parent. | |
| 2712 https://bugs.webkit.org/show_bug.cgi?id=70692 | |
| 2713 | |
| 2714 Reviewed by Antti Koivisto. | |
| 2715 | |
| 2716 Style sheets are never directly parented by other style sheets, they alw
ays | |
| 2717 go via a rule (such as @import.) | |
| 2718 | |
| 2719 * css/CSSStyleSheet.cpp: | |
| 2720 * css/CSSStyleSheet.h: | |
| 2721 (WebCore::CSSStyleSheet::create): | |
| 2722 * css/StyleSheet.cpp: | |
| 2723 * css/StyleSheet.h: | |
| 2724 | |
| 2725 2011-10-23 Mark Hahnenberg <mhahnenberg@apple.com> | |
| 2726 | |
| 2727 Add deleteProperty to the MethodTable | |
| 2728 https://bugs.webkit.org/show_bug.cgi?id=70162 | |
| 2729 | |
| 2730 Reviewed by Sam Weinig. | |
| 2731 | |
| 2732 No new tests. | |
| 2733 | |
| 2734 * WebCore.exp.in: | |
| 2735 | |
| 2736 2011-10-23 Adam Barth <abarth@webkit.org> | |
| 2737 | |
| 2738 Update baselines for run-bindings-tests. | |
| 2739 | |
| 2740 * bindings/scripts/test/JS/JSTestInterface.cpp: | |
| 2741 * bindings/scripts/test/JS/JSTestInterface.h: | |
| 2742 * bindings/scripts/test/JS/JSTestObj.cpp: | |
| 2743 | |
| 2744 2011-10-23 Mark Hahnenberg <mhahnenberg@apple.com> | |
| 2745 | |
| 2746 Remove getConstructDataVirtual | |
| 2747 https://bugs.webkit.org/show_bug.cgi?id=70638 | |
| 2748 | |
| 2749 Reviewed by Darin Adler. | |
| 2750 | |
| 2751 No new tests. | |
| 2752 | |
| 2753 Removed all declarations and definitions of getConstructDataVirtual. | |
| 2754 Also replaced all call sites to getConstructDataVirtual with a | |
| 2755 corresponding lookup in the MethodTable. | |
| 2756 | |
| 2757 * WebCore.exp.in: | |
| 2758 * bindings/js/JSAudioConstructor.cpp: | |
| 2759 * bindings/js/JSAudioConstructor.h: | |
| 2760 * bindings/js/JSImageConstructor.cpp: | |
| 2761 * bindings/js/JSImageConstructor.h: | |
| 2762 * bindings/js/JSOptionConstructor.cpp: | |
| 2763 * bindings/js/JSOptionConstructor.h: | |
| 2764 * bindings/js/ScriptFunctionCall.cpp: | |
| 2765 (WebCore::ScriptFunctionCall::construct): | |
| 2766 * bindings/scripts/CodeGeneratorJS.pm: | |
| 2767 (GenerateConstructorDeclaration): | |
| 2768 (GenerateConstructorDefinition): | |
| 2769 * bridge/runtime_object.cpp: | |
| 2770 * bridge/runtime_object.h: | |
| 2771 | |
| 2772 2011-10-22 Geoffrey Garen <ggaren@apple.com> | |
| 2773 | |
| 2774 Separated string lifetime bits from character buffer state bits | |
| 2775 https://bugs.webkit.org/show_bug.cgi?id=70673 | |
| 2776 | |
| 2777 Reviewed by Anders Carlsson. | |
| 2778 | |
| 2779 * bindings/scripts/CodeGeneratorJS.pm: | |
| 2780 (GenerateHashValue): Updated for string hashing changes in JavaScriptCor
e. | |
| 2781 | |
| 2782 2011-10-22 Pratik Solanki <psolanki@apple.com> | |
| 2783 | |
| 2784 HTTPBodyStream in NSURLRequest gets lost when using CFNetwork loader | |
| 2785 https://bugs.webkit.org/show_bug.cgi?id=70583 | |
| 2786 <rdar://problem/10281227> | |
| 2787 | |
| 2788 Reviewed by Darin Adler. | |
| 2789 | |
| 2790 Call WebCore::setHTTPBody() only if we actually have a FormData. Uncondi
tionally calling it | |
| 2791 results in us passing 0 to wkCFURLRequestSetHTTPRequestBodyParts() which
resets any input | |
| 2792 stream specified by the user on the NSURLRequest. This code matches the
behavior in the | |
| 2793 Foundation version of doUpdatePlatformRequest(). | |
| 2794 | |
| 2795 * platform/network/cf/ResourceRequestCFNet.cpp: | |
| 2796 (WebCore::ResourceRequest::doUpdatePlatformRequest): | |
| 2797 | |
| 2798 2011-10-22 Adam Bergkvist <adam.bergkvist@ericsson.com> | |
| 2799 | |
| 2800 Move all MediaStream and PeerConnection related non-platform files to We
bCore/mediastream | |
| 2801 https://bugs.webkit.org/show_bug.cgi?id=70233 | |
| 2802 | |
| 2803 Reviewed by Adam Barth. | |
| 2804 | |
| 2805 Removed affected files from build systems that don't have a MEDIA_STREAM
build flag. | |
| 2806 | |
| 2807 No new tests since we're just moving files. | |
| 2808 | |
| 2809 * CMakeLists.txt: | |
| 2810 * CodeGenerators.pri: | |
| 2811 * DerivedSources.cpp: | |
| 2812 * DerivedSources.make: | |
| 2813 * GNUmakefile.am: | |
| 2814 * GNUmakefile.list.am: | |
| 2815 * UseJSC.cmake: | |
| 2816 * WebCore.gyp/WebCore.gyp: | |
| 2817 * WebCore.gypi: | |
| 2818 * WebCore.pro: | |
| 2819 * WebCore.vcproj/WebCore.vcproj: | |
| 2820 * WebCore.xcodeproj/project.pbxproj: | |
| 2821 * bindings/js/JSBindingsAllInOne.cpp: | |
| 2822 * dom/DOMAllInOne.cpp: | |
| 2823 * dom/DispatchTask.h: Removed unused file. | |
| 2824 * dom/ScriptExecutionContext.cpp: | |
| 2825 * mediastream/LocalMediaStream.cpp: Renamed from Source/WebCore/dom/Loca
lMediaStream.cpp. | |
| 2826 (WebCore::LocalMediaStream::create): | |
| 2827 (WebCore::LocalMediaStream::LocalMediaStream): | |
| 2828 (WebCore::LocalMediaStream::stop): | |
| 2829 (WebCore::LocalMediaStream::stopTimerFired): | |
| 2830 (WebCore::LocalMediaStream::~LocalMediaStream): | |
| 2831 (WebCore::LocalMediaStream::toLocalMediaStream): | |
| 2832 * mediastream/LocalMediaStream.h: Renamed from Source/WebCore/dom/LocalM
ediaStream.h. | |
| 2833 * mediastream/LocalMediaStream.idl: Renamed from Source/WebCore/dom/Loca
lMediaStream.idl. | |
| 2834 * mediastream/MediaStream.cpp: Renamed from Source/WebCore/dom/MediaStre
am.cpp. | |
| 2835 (WebCore::MediaStream::create): | |
| 2836 (WebCore::MediaStream::MediaStream): | |
| 2837 (WebCore::MediaStream::~MediaStream): | |
| 2838 (WebCore::MediaStream::readyState): | |
| 2839 (WebCore::MediaStream::toMediaStream): | |
| 2840 (WebCore::MediaStream::streamEnded): | |
| 2841 (WebCore::MediaStream::scriptExecutionContext): | |
| 2842 (WebCore::MediaStream::eventTargetData): | |
| 2843 (WebCore::MediaStream::ensureEventTargetData): | |
| 2844 * mediastream/MediaStream.h: Renamed from Source/WebCore/dom/MediaStream
.h. | |
| 2845 (WebCore::MediaStream::label): | |
| 2846 (WebCore::MediaStream::tracks): | |
| 2847 (WebCore::MediaStream::descriptor): | |
| 2848 (WebCore::MediaStream::refEventTarget): | |
| 2849 (WebCore::MediaStream::derefEventTarget): | |
| 2850 * mediastream/MediaStream.idl: Renamed from Source/WebCore/dom/MediaStre
am.idl. | |
| 2851 * mediastream/MediaStreamClient.h: Renamed from Source/WebCore/page/Medi
aStreamClient.h. | |
| 2852 (WebCore::MediaStreamClient::~MediaStreamClient): | |
| 2853 * mediastream/MediaStreamController.cpp: Renamed from Source/WebCore/pag
e/MediaStreamController.cpp. | |
| 2854 (WebCore::MediaStreamController::Request::Request): | |
| 2855 (WebCore::MediaStreamController::Request::localId): | |
| 2856 (WebCore::MediaStreamController::Request::frameController): | |
| 2857 (WebCore::MediaStreamController::MediaStreamController): | |
| 2858 (WebCore::MediaStreamController::~MediaStreamController): | |
| 2859 (WebCore::MediaStreamController::isClientAvailable): | |
| 2860 (WebCore::MediaStreamController::unregisterFrameController): | |
| 2861 (WebCore::MediaStreamController::registerRequest): | |
| 2862 (WebCore::MediaStreamController::generateStream): | |
| 2863 (WebCore::MediaStreamController::streamGenerated): | |
| 2864 (WebCore::MediaStreamController::streamGenerationFailed): | |
| 2865 * mediastream/MediaStreamController.h: Renamed from Source/WebCore/page/
MediaStreamController.h. | |
| 2866 * mediastream/MediaStreamEvent.cpp: Renamed from Source/WebCore/p2p/Medi
aStreamEvent.cpp. | |
| 2867 (WebCore::MediaStreamEvent::create): | |
| 2868 (WebCore::MediaStreamEvent::MediaStreamEvent): | |
| 2869 (WebCore::MediaStreamEvent::~MediaStreamEvent): | |
| 2870 (WebCore::MediaStreamEvent::initMediaStreamEvent): | |
| 2871 (WebCore::MediaStreamEvent::stream): | |
| 2872 * mediastream/MediaStreamEvent.h: Renamed from Source/WebCore/p2p/MediaS
treamEvent.h. | |
| 2873 (WebCore::MediaStreamEvent::isMediaStreamEvent): | |
| 2874 * mediastream/MediaStreamEvent.idl: Renamed from Source/WebCore/p2p/Medi
aStreamEvent.idl. | |
| 2875 * mediastream/MediaStreamFrameController.cpp: Renamed from Source/WebCor
e/page/MediaStreamFrameController.cpp. | |
| 2876 (WebCore::MediaStreamFrameController::Request::~Request): | |
| 2877 (WebCore::MediaStreamFrameController::Request::scriptExecutionContext): | |
| 2878 (WebCore::MediaStreamFrameController::Request::isGenerateStreamRequest): | |
| 2879 (WebCore::MediaStreamFrameController::Request::Request): | |
| 2880 (WebCore::MediaStreamFrameController::GenerateStreamRequest::create): | |
| 2881 (WebCore::MediaStreamFrameController::GenerateStreamRequest::~GenerateSt
reamRequest): | |
| 2882 (WebCore::MediaStreamFrameController::GenerateStreamRequest::isGenerateS
treamRequest): | |
| 2883 (WebCore::MediaStreamFrameController::GenerateStreamRequest::abort): | |
| 2884 (WebCore::MediaStreamFrameController::GenerateStreamRequest::successCall
back): | |
| 2885 (WebCore::MediaStreamFrameController::GenerateStreamRequest::errorCallba
ck): | |
| 2886 (WebCore::MediaStreamFrameController::GenerateStreamRequest::GenerateStr
eamRequest): | |
| 2887 (WebCore::MediaStreamFrameController::RequestMap::abort): | |
| 2888 (WebCore::MediaStreamFrameController::RequestMap::abortAll): | |
| 2889 (WebCore::MediaStreamFrameController::MediaStreamFrameController): | |
| 2890 (WebCore::MediaStreamFrameController::~MediaStreamFrameController): | |
| 2891 (WebCore::MediaStreamFrameController::securityOrigin): | |
| 2892 (WebCore::MediaStreamFrameController::scriptExecutionContext): | |
| 2893 (WebCore::MediaStreamFrameController::pageController): | |
| 2894 (WebCore::MediaStreamFrameController::enterDetachedState): | |
| 2895 (WebCore::MediaStreamFrameController::isClientAvailable): | |
| 2896 (WebCore::MediaStreamFrameController::disconnectPage): | |
| 2897 (WebCore::MediaStreamFrameController::disconnectFrame): | |
| 2898 (WebCore::MediaStreamFrameController::transferToNewPage): | |
| 2899 (WebCore::MediaStreamFrameController::parseGenerateStreamOptions): | |
| 2900 (WebCore::MediaStreamFrameController::generateStream): | |
| 2901 (WebCore::MediaStreamFrameController::streamGenerated): | |
| 2902 (WebCore::MediaStreamFrameController::streamGenerationFailed): | |
| 2903 * mediastream/MediaStreamFrameController.h: Renamed from Source/WebCore/
page/MediaStreamFrameController.h. | |
| 2904 (WebCore::MediaStreamFrameController::IdGenerator::IdGenerator): | |
| 2905 (WebCore::MediaStreamFrameController::IdGenerator::getNextId): | |
| 2906 * mediastream/MediaStreamList.cpp: Renamed from Source/WebCore/dom/Media
StreamList.cpp. | |
| 2907 (WebCore::MediaStreamList::create): | |
| 2908 (WebCore::MediaStreamList::MediaStreamList): | |
| 2909 (WebCore::MediaStreamList::~MediaStreamList): | |
| 2910 (WebCore::MediaStreamList::length): | |
| 2911 (WebCore::MediaStreamList::item): | |
| 2912 (WebCore::MediaStreamList::append): | |
| 2913 (WebCore::MediaStreamList::remove): | |
| 2914 (WebCore::MediaStreamList::contains): | |
| 2915 * mediastream/MediaStreamList.h: Renamed from Source/WebCore/dom/MediaSt
reamList.h. | |
| 2916 * mediastream/MediaStreamList.idl: Renamed from Source/WebCore/dom/Media
StreamList.idl. | |
| 2917 * mediastream/MediaStreamRegistry.cpp: Renamed from Source/WebCore/platf
orm/MediaStreamRegistry.cpp. | |
| 2918 (WebCore::MediaStreamRegistry::registry): | |
| 2919 (WebCore::MediaStreamRegistry::registerMediaStreamURL): | |
| 2920 (WebCore::MediaStreamRegistry::unregisterMediaStreamURL): | |
| 2921 (WebCore::MediaStreamRegistry::mediaStream): | |
| 2922 * mediastream/MediaStreamRegistry.h: Renamed from Source/WebCore/platfor
m/MediaStreamRegistry.h. | |
| 2923 * mediastream/MediaStreamTrack.cpp: Renamed from Source/WebCore/dom/Medi
aStreamTrack.cpp. | |
| 2924 (WebCore::MediaStreamTrack::create): | |
| 2925 (WebCore::MediaStreamTrack::MediaStreamTrack): | |
| 2926 (WebCore::MediaStreamTrack::~MediaStreamTrack): | |
| 2927 (WebCore::MediaStreamTrack::kind): | |
| 2928 (WebCore::MediaStreamTrack::label): | |
| 2929 (WebCore::MediaStreamTrack::enabled): | |
| 2930 (WebCore::MediaStreamTrack::setEnabled): | |
| 2931 * mediastream/MediaStreamTrack.h: Renamed from Source/WebCore/dom/MediaS
treamTrack.h. | |
| 2932 * mediastream/MediaStreamTrack.idl: Renamed from Source/WebCore/dom/Medi
aStreamTrack.idl. | |
| 2933 * mediastream/MediaStreamTrackList.cpp: Renamed from Source/WebCore/dom/
MediaStreamTrackList.cpp. | |
| 2934 (WebCore::MediaStreamTrackList::create): | |
| 2935 (WebCore::MediaStreamTrackList::MediaStreamTrackList): | |
| 2936 (WebCore::MediaStreamTrackList::~MediaStreamTrackList): | |
| 2937 (WebCore::MediaStreamTrackList::length): | |
| 2938 (WebCore::MediaStreamTrackList::item): | |
| 2939 * mediastream/MediaStreamTrackList.h: Renamed from Source/WebCore/dom/Me
diaStreamTrackList.h. | |
| 2940 * mediastream/MediaStreamTrackList.idl: Renamed from Source/WebCore/dom/
MediaStreamTrackList.idl. | |
| 2941 * mediastream/PeerConnection.cpp: Renamed from Source/WebCore/p2p/PeerCo
nnection.cpp. | |
| 2942 (WebCore::PeerConnection::create): | |
| 2943 (WebCore::PeerConnection::PeerConnection): | |
| 2944 (WebCore::PeerConnection::~PeerConnection): | |
| 2945 (WebCore::PeerConnection::processSignalingMessage): | |
| 2946 (WebCore::PeerConnection::readyState): | |
| 2947 (WebCore::PeerConnection::send): | |
| 2948 (WebCore::PeerConnection::addStream): | |
| 2949 (WebCore::PeerConnection::removeStream): | |
| 2950 (WebCore::PeerConnection::localStreams): | |
| 2951 (WebCore::PeerConnection::remoteStreams): | |
| 2952 (WebCore::PeerConnection::close): | |
| 2953 (WebCore::PeerConnection::iceProcessingCompleted): | |
| 2954 (WebCore::PeerConnection::sdpGenerated): | |
| 2955 (WebCore::PeerConnection::dataStreamMessageReceived): | |
| 2956 (WebCore::PeerConnection::remoteStreamAdded): | |
| 2957 (WebCore::PeerConnection::remoteStreamRemoved): | |
| 2958 (WebCore::PeerConnection::toPeerConnection): | |
| 2959 (WebCore::PeerConnection::scriptExecutionContext): | |
| 2960 (WebCore::PeerConnection::stop): | |
| 2961 (WebCore::PeerConnection::eventTargetData): | |
| 2962 (WebCore::PeerConnection::ensureEventTargetData): | |
| 2963 (WebCore::PeerConnection::scheduleInitialNegotiation): | |
| 2964 (WebCore::PeerConnection::initialNegotiationTimerFired): | |
| 2965 (WebCore::PeerConnection::ensureStreamChangeScheduled): | |
| 2966 (WebCore::PeerConnection::streamChangeTimerFired): | |
| 2967 (WebCore::PeerConnection::scheduleReadyStateChange): | |
| 2968 (WebCore::PeerConnection::readyStateChangeTimerFired): | |
| 2969 (WebCore::PeerConnection::changeReadyState): | |
| 2970 * mediastream/PeerConnection.h: Renamed from Source/WebCore/p2p/PeerConn
ection.h. | |
| 2971 (WebCore::PeerConnection::refEventTarget): | |
| 2972 (WebCore::PeerConnection::derefEventTarget): | |
| 2973 * mediastream/PeerConnection.idl: Renamed from Source/WebCore/p2p/PeerCo
nnection.idl. | |
| 2974 * mediastream/SignalingCallback.h: Renamed from Source/WebCore/p2p/Signa
lingCallback.h. | |
| 2975 (WebCore::SignalingCallback::~SignalingCallback): | |
| 2976 * mediastream/SignalingCallback.idl: Renamed from Source/WebCore/p2p/Sig
nalingCallback.idl. | |
| 2977 * page/Frame.cpp: | |
| 2978 * page/Navigator.cpp: | |
| 2979 * page/Page.cpp: | |
| 2980 | |
| 2981 2011-10-20 Pavel Feldman <pfeldman@google.com> | |
| 2982 | |
| 2983 Web Inspector: get rid of View::hide, View::set visible, View::attach, | |
| 2984 View::set visible. | |
| 2985 https://bugs.webkit.org/show_bug.cgi?id=70523 | |
| 2986 | |
| 2987 This change also introduces assetions that forces view attach / detach o
perations | |
| 2988 to be performed explicitly. | |
| 2989 | |
| 2990 Reviewed by Yury Semikhatsky. | |
| 2991 | |
| 2992 * inspector/front-end/ApplicationCacheItemsView.js: | |
| 2993 (WebInspector.ApplicationCacheItemsView.prototype.wasShown): | |
| 2994 (WebInspector.ApplicationCacheItemsView.prototype.willHide): | |
| 2995 (WebInspector.ApplicationCacheItemsView.prototype._updateCallback): | |
| 2996 * inspector/front-end/AuditsPanel.js: | |
| 2997 (WebInspector.AuditsPanel.prototype.wasShown): | |
| 2998 * inspector/front-end/ConsolePanel.js: | |
| 2999 (WebInspector.ConsolePanel.prototype.wasShown): | |
| 3000 (WebInspector.ConsolePanel.prototype.willHide): | |
| 3001 * inspector/front-end/ConsoleView.js: | |
| 3002 (WebInspector.ConsoleView.prototype.wasShown): | |
| 3003 * inspector/front-end/CookieItemsView.js: | |
| 3004 (WebInspector.CookieItemsView.prototype.wasShown): | |
| 3005 (WebInspector.CookieItemsView.prototype.willHide): | |
| 3006 (WebInspector.CookieItemsView.prototype._updateWithCookies): | |
| 3007 * inspector/front-end/DOMStorageItemsView.js: | |
| 3008 (WebInspector.DOMStorageItemsView.prototype.wasShown): | |
| 3009 (WebInspector.DOMStorageItemsView.prototype.willHide): | |
| 3010 * inspector/front-end/DatabaseQueryView.js: | |
| 3011 * inspector/front-end/DatabaseTableView.js: | |
| 3012 (WebInspector.DatabaseTableView.prototype.wasShown): | |
| 3013 * inspector/front-end/DetailedHeapshotView.js: | |
| 3014 (WebInspector.DetailedHeapshotView.prototype.willHide): | |
| 3015 (WebInspector.DetailedHeapshotView.prototype._changeView): | |
| 3016 * inspector/front-end/Drawer.js: | |
| 3017 (WebInspector.Drawer.prototype.hide): | |
| 3018 * inspector/front-end/ElementsPanel.js: | |
| 3019 (WebInspector.ElementsPanel.prototype.wasShown): | |
| 3020 (WebInspector.ElementsPanel.prototype.willHide): | |
| 3021 * inspector/front-end/EmptyView.js: | |
| 3022 (WebInspector.EmptyView.prototype.wasShown): | |
| 3023 * inspector/front-end/FontView.js: | |
| 3024 (WebInspector.FontView.prototype.wasShown): | |
| 3025 * inspector/front-end/IFrameView.js: | |
| 3026 (WebInspector.IFrameView): | |
| 3027 * inspector/front-end/ImageView.js: | |
| 3028 (WebInspector.ImageView.prototype.wasShown): | |
| 3029 * inspector/front-end/NetworkItemView.js: | |
| 3030 (WebInspector.NetworkItemView.prototype.wasShown): | |
| 3031 (WebInspector.ResourceContentView.prototype.wasShown): | |
| 3032 * inspector/front-end/NetworkPanel.js: | |
| 3033 (WebInspector.NetworkLogView.prototype.wasShown): | |
| 3034 (WebInspector.NetworkLogView.prototype.willHide): | |
| 3035 (WebInspector.NetworkPanel.prototype.wasShown): | |
| 3036 * inspector/front-end/Panel.js: | |
| 3037 (WebInspector.Panel): | |
| 3038 (WebInspector.Panel.prototype.show): | |
| 3039 (WebInspector.Panel.prototype.wasShown): | |
| 3040 (WebInspector.Panel.prototype.willHide): | |
| 3041 * inspector/front-end/PanelEnablerView.js: | |
| 3042 * inspector/front-end/ProfileView.js: | |
| 3043 (WebInspector.CPUProfileView.prototype.willHide): | |
| 3044 * inspector/front-end/ProfilesPanel.js: | |
| 3045 (WebInspector.ProfilesPanel.prototype.wasShown): | |
| 3046 (WebInspector.ProfilesPanel.prototype._addProfileHeader): | |
| 3047 (WebInspector.ProfilesPanel.prototype._updateInterface): | |
| 3048 (WebInspector.ProfilesPanel.prototype._enableDetailedHeapProfiles): | |
| 3049 * inspector/front-end/ResourceCookiesView.js: | |
| 3050 (WebInspector.ResourceCookiesView.prototype.wasShown): | |
| 3051 * inspector/front-end/ResourceHTMLView.js: | |
| 3052 (WebInspector.ResourceHTMLView.prototype.wasShown): | |
| 3053 (WebInspector.ResourceHTMLView.prototype.willHide): | |
| 3054 * inspector/front-end/ResourceJSONView.js: | |
| 3055 (WebInspector.ResourceJSONView.parseJSON.WebInspector.ResourceJSONView.p
rototype.wasShown): | |
| 3056 * inspector/front-end/ResourceTimingView.js: | |
| 3057 (WebInspector.ResourceTimingView.prototype.wasShown): | |
| 3058 * inspector/front-end/ResourcesPanel.js: | |
| 3059 (WebInspector.ResourcesPanel.prototype.wasShown): | |
| 3060 * inspector/front-end/ScriptsPanel.js: | |
| 3061 (WebInspector.ScriptsPanel.prototype.wasShown): | |
| 3062 (WebInspector.ScriptsPanel.prototype._updateDebuggerButtons): | |
| 3063 * inspector/front-end/SourceFrame.js: | |
| 3064 (WebInspector.SourceFrame.prototype.wasShown): | |
| 3065 * inspector/front-end/TimelinePanel.js: | |
| 3066 (WebInspector.TimelinePanel.prototype.wasShown): | |
| 3067 (WebInspector.TimelinePanel.prototype.willHide): | |
| 3068 * inspector/front-end/View.js: | |
| 3069 (WebInspector.View): | |
| 3070 (WebInspector.View.prototype.get visible): | |
| 3071 (WebInspector.View.prototype.setHideOnDetach): | |
| 3072 (WebInspector.View.prototype._wasShown): | |
| 3073 (WebInspector.View.prototype._willHide): | |
| 3074 (WebInspector.View.prototype._onResize): | |
| 3075 (WebInspector.View.prototype.wasShown): | |
| 3076 (WebInspector.View.prototype.willHide): | |
| 3077 (WebInspector.View.prototype.onResize): | |
| 3078 (WebInspector.View.prototype.show): | |
| 3079 (WebInspector.View.prototype.detach): | |
| 3080 (WebInspector.View.prototype.doResize): | |
| 3081 (WebInspector.View.prototype.dispatchToSelfAndChildren): | |
| 3082 (WebInspector.View.prototype.dispatchToChildren): | |
| 3083 (WebInspector.View.prototype._handleInsertedIntoDocument): | |
| 3084 | |
| 3085 2011-10-22 Kent Tamura <tkent@chromium.org> | |
| 3086 | |
| 3087 REGRESSION(r92480): Passing uninitialized variable in HTMLElement::calcu
lateAndAdjustDirectionality() | |
| 3088 https://bugs.webkit.org/show_bug.cgi?id=70582 | |
| 3089 | |
| 3090 Reviewed by Darin Adler. | |
| 3091 | |
| 3092 No new tests. It's very hard to make a reliable test. | |
| 3093 | |
| 3094 * html/HTMLElement.cpp: | |
| 3095 (WebCore::HTMLElement::directionality): | |
| 3096 Clear *strongDirectionalityTextNode even if hasStrongDirectionality is f
alse. | |
| 3097 | |
| 3098 2011-10-21 Dan Bernstein <mitz@apple.com> | |
| 3099 | |
| 3100 Caret is drawn in the wrong place in multi-column blocks | |
| 3101 https://bugs.webkit.org/show_bug.cgi?id=70662 | |
| 3102 | |
| 3103 Reviewed by Gavin Barraclough. | |
| 3104 | |
| 3105 * manual-tests/caret-in-columns.html: Added. | |
| 3106 * rendering/RenderBlock.cpp: | |
| 3107 (WebCore::RenderBlock::paintCaret): Removed the call to offsetForContent
s(). That function takes | |
| 3108 a point in local coordinates, whereas this function was applying it to a
point in painting root | |
| 3109 coordinates. The desired effect was only to undo the scroll adjustment d
one by the caller, | |
| 3110 paintObject(). | |
| 3111 (WebCore::RenderBlock::paintObject): Pass the original, rather than scro
ll-adjusted, paint offset | |
| 3112 to paintCaret(). | |
| 3113 | |
| 3114 2011-10-21 Nat Duca <nduca@chromium.org> | |
| 3115 | |
| 3116 [chromium] Make setVisibility extension- and thread-correct | |
| 3117 https://bugs.webkit.org/show_bug.cgi?id=70635 | |
| 3118 | |
| 3119 Reviewed by Kenneth Russell. | |
| 3120 | |
| 3121 * platform/graphics/chromium/Extensions3DChromium.h: | |
| 3122 * platform/graphics/chromium/LayerRendererChromium.cpp: | |
| 3123 (WebCore::LayerRendererChromium::initialize): | |
| 3124 (WebCore::LayerRendererChromium::setVisible): | |
| 3125 * platform/graphics/chromium/LayerRendererChromium.h: | |
| 3126 * platform/graphics/chromium/cc/CCLayerTreeHost.h: | |
| 3127 (WebCore::LayerRendererCapabilities::LayerRendererCapabilities): | |
| 3128 * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp: | |
| 3129 (WebCore::CCLayerTreeHostImpl::setVisible): | |
| 3130 | |
| 3131 2011-10-21 Beth Dakin <bdakin@apple.com> | |
| 3132 | |
| 3133 https://bugs.webkit.org/show_bug.cgi?id=70647 | |
| 3134 Common but unreproducible crash under [ScrollbarPartAnimation setCurrent
Progress:] | |
| 3135 -and corresponding- | |
| 3136 <rdar://problem/9542018> | |
| 3137 | |
| 3138 Reviewed by Sam Weinig. | |
| 3139 | |
| 3140 This patch implements two speculative fixes for this crash. | |
| 3141 | |
| 3142 First, block exceptions around all of the code responsible for calling | |
| 3143 stopAnimation. If that code throws any exceptions, we want to make sure
the other | |
| 3144 animations are still stopped. | |
| 3145 * platform/mac/ScrollAnimatorMac.mm: | |
| 3146 (-[WebScrollbarPartAnimation scrollAnimatorDestroyed]): | |
| 3147 (-[WebScrollbarPainterDelegate scrollAnimatorDestroyed]): | |
| 3148 (WebCore::ScrollAnimatorMac::~ScrollAnimatorMac): | |
| 3149 | |
| 3150 Only send AppKit these notifications for active pages. I originally made
these | |
| 3151 assertions, and I found that they were hit a surprising number of times.
If we | |
| 3152 only send notifications for active pages, then we should greatly reduce
and | |
| 3153 possibly eliminate our chances of hitting this crash. | |
| 3154 (WebCore::ScrollAnimatorMac::notifyPositionChanged): | |
| 3155 (WebCore::ScrollAnimatorMac::contentAreaWillPaint): | |
| 3156 (WebCore::ScrollAnimatorMac::mouseEnteredContentArea): | |
| 3157 (WebCore::ScrollAnimatorMac::mouseExitedContentArea): | |
| 3158 (WebCore::ScrollAnimatorMac::mouseMovedInContentArea): | |
| 3159 (WebCore::ScrollAnimatorMac::willStartLiveResize): | |
| 3160 (WebCore::ScrollAnimatorMac::contentsResized): | |
| 3161 (WebCore::ScrollAnimatorMac::willEndLiveResize): | |
| 3162 (WebCore::ScrollAnimatorMac::contentAreaDidShow): | |
| 3163 (WebCore::ScrollAnimatorMac::contentAreaDidHide): | |
| 3164 (WebCore::ScrollAnimatorMac::didBeginScrollGesture): | |
| 3165 (WebCore::ScrollAnimatorMac::didEndScrollGesture): | |
| 3166 | |
| 3167 2011-10-21 Mark Hahnenberg <mhahnenberg@apple.com> | |
| 3168 | |
| 3169 Add put to the MethodTable | |
| 3170 https://bugs.webkit.org/show_bug.cgi?id=70439 | |
| 3171 | |
| 3172 Reviewed by Oliver Hunt. | |
| 3173 | |
| 3174 No new tests. | |
| 3175 | |
| 3176 * WebCore.exp.in: | |
| 3177 * bindings/js/JSDOMWindowCustom.cpp: Added static put since it was overl
ooked in | |
| 3178 previous patches. | |
| 3179 (WebCore::JSDOMWindow::putVirtual): | |
| 3180 (WebCore::JSDOMWindow::put): | |
| 3181 * bindings/js/JSDOMWindowShell.cpp: Ditto. | |
| 3182 (WebCore::JSDOMWindowShell::putVirtual): | |
| 3183 (WebCore::JSDOMWindowShell::put): | |
| 3184 * bindings/js/JSDOMWindowShell.h: | |
| 3185 | |
| 3186 2011-10-21 Dmitry Lomov <dslomov@google.com> | |
| 3187 | |
| 3188 https://bugs.webkit.org/show_bug.cgi?id=70580 | |
| 3189 [Chromium] Implement MessagePort transfer in chromium port of webkit. | |
| 3190 | |
| 3191 Reviewed by David Levin. | |
| 3192 | |
| 3193 * bindings/v8/SerializedScriptValue.cpp: | |
| 3194 (WebCore::V8ObjectMap::Writer::writeTransferredMessagePort): | |
| 3195 (WebCore::V8ObjectMap::Serializer::Serializer): | |
| 3196 (WebCore::V8ObjectMap::Serializer::doSerialize): | |
| 3197 (WebCore::V8ObjectMap::Reader::read): | |
| 3198 (WebCore::V8ObjectMap::Deserializer::Deserializer): | |
| 3199 (WebCore::V8ObjectMap::Deserializer::tryGetTransferredMessagePort): | |
| 3200 (WebCore::SerializedScriptValue::SerializedScriptValue): | |
| 3201 (WebCore::SerializedScriptValue::deserialize): | |
| 3202 | |
| 3203 2011-10-21 Ojan Vafai <ojan@chromium.org> | |
| 3204 | |
| 3205 r97693 caused 42 failures on the chromium mac bots | |
| 3206 https://bugs.webkit.org/show_bug.cgi?id=70300 | |
| 3207 | |
| 3208 Can't test this until https://bugs.webkit.org/show_bug.cgi?id=70660 | |
| 3209 is fixed. The fix for that bug will test this codepath as well though. | |
| 3210 | |
| 3211 * rendering/RenderBlock.cpp: | |
| 3212 (WebCore::RenderBlock::computeBlockPreferredLogicalWidths): | |
| 3213 | |
| 3214 2011-10-21 Vineet Chaudhary <vineet.chaudhary@motorola.com> | |
| 3215 | |
| 3216 Setting form.enctype reflected attribute behaves strangely. | |
| 3217 https://bugs.webkit.org/show_bug.cgi?id=44879 | |
| 3218 | |
| 3219 Reviewed by Darin Adler. | |
| 3220 | |
| 3221 The spec says form.enctype should be application/x-www-form-urlencoded, | |
| 3222 So as "text", "plain", "multipart" or "form-data" these are not a valid
value so must be ignored. | |
| 3223 | |
| 3224 * loader/FormSubmission.cpp: | |
| 3225 (WebCore::FormSubmission::Attributes::parseEncodingType): | |
| 3226 | |
| 3227 2011-10-21 Matthew Delaney <mdelaney@apple.com> | |
| 3228 | |
| 3229 Ensure periodic flushing of canvas drawing context | |
| 3230 https://bugs.webkit.org/show_bug.cgi?id=70646 | |
| 3231 | |
| 3232 Reviewed by Simon Fraser. | |
| 3233 | |
| 3234 No new tests. No current way to track tests that cause hangs or | |
| 3235 non-deterministic drops in performance. | |
| 3236 | |
| 3237 * platform/graphics/cg/ImageBufferDataCG.h: Adds a timestamp of last tra
cked flush. | |
| 3238 * platform/graphics/cg/ImageBufferCG.cpp: Ensures periodic flushes on th
e drawing context. | |
| 3239 (WebCore::ImageBuffer::ImageBuffer): | |
| 3240 (WebCore::ImageBuffer::context): Flushes context if we're beyond flush i
nterval. | |
| 3241 (WebCore::ImageBuffer::copyNativeImage): Updates last flush timestamp. | |
| 3242 (WebCore::ImageBuffer::getUnmultipliedImageData): Updates last flush tim
estamp. | |
| 3243 (WebCore::ImageBuffer::getPremultipliedImageData): Updates last flush ti
mestamp. | |
| 3244 (WebCore::ImageBuffer::putUnmultipliedImageData): Updates last flush tim
estamp. | |
| 3245 (WebCore::ImageBuffer::putPremultipliedImageData): Updates last flush ti
mestamp. | |
| 3246 | |
| 3247 2011-10-21 Adam Barth <abarth@webkit.org> | |
| 3248 | |
| 3249 Introduce Event::hasInterface to make uses of interfaceName more readabl
e | |
| 3250 https://bugs.webkit.org/show_bug.cgi?id=70652 | |
| 3251 | |
| 3252 Reviewed by Eric Seidel. | |
| 3253 | |
| 3254 Eric felt that this approach would be more readable because it requires | |
| 3255 less syntax at each callsite. | |
| 3256 | |
| 3257 * bindings/js/JSErrorHandler.cpp: | |
| 3258 (WebCore::JSErrorHandler::handleEvent): | |
| 3259 * bindings/objc/DOMEvents.mm: | |
| 3260 (kitClass): | |
| 3261 * bindings/v8/V8WindowErrorHandler.cpp: | |
| 3262 (WebCore::V8WindowErrorHandler::callListenerFunction): | |
| 3263 * bindings/v8/V8WorkerContextErrorHandler.cpp: | |
| 3264 (WebCore::V8WorkerContextErrorHandler::callListenerFunction): | |
| 3265 * dom/Event.cpp: | |
| 3266 (WebCore::Event::hasInterface): | |
| 3267 * dom/Event.h: | |
| 3268 * dom/EventDispatcher.cpp: | |
| 3269 (WebCore::EventDispatcher::determineDispatchBehavior): | |
| 3270 * dom/Node.cpp: | |
| 3271 (WebCore::Node::defaultEventHandler): | |
| 3272 * html/HTMLInputElement.cpp: | |
| 3273 (WebCore::HTMLInputElement::defaultEventHandler): | |
| 3274 * html/HTMLTextAreaElement.cpp: | |
| 3275 (WebCore::HTMLTextAreaElement::defaultEventHandler): | |
| 3276 * html/TextFieldInputType.cpp: | |
| 3277 (WebCore::TextFieldInputType::forwardEvent): | |
| 3278 (WebCore::TextFieldInputType::shouldSubmitImplicitly): | |
| 3279 * inspector/InspectorDOMStorageResource.cpp: | |
| 3280 (WebCore::InspectorDOMStorageResource::handleEvent): | |
| 3281 | |
| 3282 2011-10-21 Adam Klein <adamk@chromium.org> | |
| 3283 | |
| 3284 [MutationObservers] Implement basic subtree observation | |
| 3285 https://bugs.webkit.org/show_bug.cgi?id=70436 | |
| 3286 | |
| 3287 Reviewed by Ryosuke Niwa. | |
| 3288 | |
| 3289 Note that this patch only implements "basic" subtree semantics, | |
| 3290 not the fully robust semantics described in | |
| 3291 http://lists.w3.org/Archives/Public/public-webapps/2011JulSep/1622.html. | |
| 3292 Most importantly, this change does not handle the case where mutations | |
| 3293 occur in a temporarily detached subtree. | |
| 3294 | |
| 3295 The plan is to implement those semantics in a followup to avoid | |
| 3296 blocking other parts of the MutationObserver spec that rely on | |
| 3297 the existence of subtree observation but not its specific | |
| 3298 implementation. | |
| 3299 | |
| 3300 Test: fast/mutation/observe-subtree.html | |
| 3301 | |
| 3302 * dom/Node.cpp: | |
| 3303 (WebCore::addMatchingObservers): Static helper method for registeredMuta
tionObserversOfType(). | |
| 3304 (WebCore::Node::registeredMutationObserversOfType): Walk up the tree loo
king for observers. | |
| 3305 * dom/NodeRareData.h: | |
| 3306 (WebCore::MutationObserverEntry::hasAllOptions): A stricter, renamed fro
m matches(). | |
| 3307 | |
| 3308 2011-10-21 Joshua Bell <jsbell@chromium.org> | |
| 3309 | |
| 3310 IndexedDB: objectStore.transaction property should be readonly | |
| 3311 https://bugs.webkit.org/show_bug.cgi?id=62395 | |
| 3312 | |
| 3313 Reviewed by Tony Chang. | |
| 3314 | |
| 3315 Implement the IDBObjectStore.transaction property defined by the spec. | |
| 3316 | |
| 3317 Test: storage/indexeddb/readonly-properties.html | |
| 3318 | |
| 3319 * storage/IDBObjectStore.cpp: | |
| 3320 (WebCore::IDBObjectStore::transaction): | |
| 3321 * storage/IDBObjectStore.h: | |
| 3322 * storage/IDBObjectStore.idl: | |
| 3323 | |
| 3324 2011-10-21 Adam Barth <abarth@webkit.org> | |
| 3325 | |
| 3326 Event.h has too many virtual isMumbleEvent() functions | |
| 3327 https://bugs.webkit.org/show_bug.cgi?id=70636 | |
| 3328 | |
| 3329 Reviewed by Dimitri Glazkov. | |
| 3330 | |
| 3331 We should use the new interfaceName() way of doing run-time type inferen
ce. | |
| 3332 | |
| 3333 * bindings/js/JSErrorHandler.cpp: | |
| 3334 (WebCore::JSErrorHandler::handleEvent): | |
| 3335 * bindings/js/JSEventCustom.cpp: | |
| 3336 (WebCore::JSEvent::clipboardData): | |
| 3337 * bindings/objc/DOMEvents.mm: | |
| 3338 (kitClass): | |
| 3339 * bindings/v8/V8WindowErrorHandler.cpp: | |
| 3340 (WebCore::V8WindowErrorHandler::callListenerFunction): | |
| 3341 * bindings/v8/V8WorkerContextErrorHandler.cpp: | |
| 3342 (WebCore::V8WorkerContextErrorHandler::callListenerFunction): | |
| 3343 * bindings/v8/custom/V8EventCustom.cpp: | |
| 3344 (WebCore::V8Event::clipboardDataAccessorGetter): | |
| 3345 * dom/BeforeLoadEvent.h: | |
| 3346 (WebCore::BeforeLoadEvent::interfaceName): | |
| 3347 * dom/BeforeTextInsertedEvent.h: | |
| 3348 * dom/ClipboardEvent.cpp: | |
| 3349 * dom/ClipboardEvent.h: | |
| 3350 * dom/CompositionEvent.cpp: | |
| 3351 * dom/CompositionEvent.h: | |
| 3352 * dom/ErrorEvent.cpp: | |
| 3353 * dom/ErrorEvent.h: | |
| 3354 * dom/Event.cpp: | |
| 3355 (WebCore::Event::storesResultAsString): | |
| 3356 (WebCore::Event::storeResult): | |
| 3357 (WebCore::Event::clipboardData): | |
| 3358 * dom/Event.h: | |
| 3359 * dom/Event.idl: | |
| 3360 - Remove this interface from the CPP bindings because this function | |
| 3361 no longer exists. It's unclear to me how strong our API | |
| 3362 commitments are in the CPP bindings. | |
| 3363 * dom/EventDispatcher.cpp: | |
| 3364 (WebCore::EventDispatcher::determineDispatchBehavior): | |
| 3365 * dom/MessageEvent.cpp: | |
| 3366 * dom/MessageEvent.h: | |
| 3367 * dom/MutationEvent.cpp: | |
| 3368 * dom/MutationEvent.h: | |
| 3369 * dom/Node.cpp: | |
| 3370 (WebCore::Node::defaultEventHandler): | |
| 3371 * dom/OverflowEvent.cpp: | |
| 3372 * dom/OverflowEvent.h: | |
| 3373 * dom/PageTransitionEvent.h: | |
| 3374 * dom/ProgressEvent.h: | |
| 3375 * dom/TextEvent.cpp: | |
| 3376 * dom/TextEvent.h: | |
| 3377 * dom/WheelEvent.cpp: | |
| 3378 * dom/WheelEvent.h: | |
| 3379 * html/HTMLInputElement.cpp: | |
| 3380 (WebCore::HTMLInputElement::defaultEventHandler): | |
| 3381 * html/HTMLTextAreaElement.cpp: | |
| 3382 (WebCore::HTMLTextAreaElement::defaultEventHandler): | |
| 3383 * html/TextFieldInputType.cpp: | |
| 3384 (WebCore::TextFieldInputType::forwardEvent): | |
| 3385 (WebCore::TextFieldInputType::shouldSubmitImplicitly): | |
| 3386 * html/shadow/TextControlInnerElements.cpp: | |
| 3387 (WebCore::TextControlInnerTextElement::defaultEventHandler): | |
| 3388 * svg/SVGZoomEvent.cpp: | |
| 3389 * svg/SVGZoomEvent.h: | |
| 3390 | |
| 3391 2011-10-21 Raymond Toy <rtoy@google.com> | |
| 3392 | |
| 3393 Flush denormals in Biquad, ZeroPole, and DynamicsCompressor. | |
| 3394 | |
| 3395 We only flush when saving the state variables instead of in the | |
| 3396 loops so that we don't impact performance too much when there are | |
| 3397 no denormals. This will at least not propagate the denormals any | |
| 3398 further within the class. | |
| 3399 | |
| 3400 https://bugs.webkit.org/show_bug.cgi?id=70626 | |
| 3401 | |
| 3402 Reviewed by Kenneth Russell. | |
| 3403 | |
| 3404 * platform/audio/Biquad.cpp: | |
| 3405 (WebCore::Biquad::process): | |
| 3406 Flush denormals when storing the filter state back in to class | |
| 3407 filter state. | |
| 3408 * platform/audio/DynamicsCompressorKernel.cpp: | |
| 3409 (WebCore::DynamicsCompressorKernel::process): | |
| 3410 Ditto. | |
| 3411 * platform/audio/ZeroPole.cpp: | |
| 3412 (WebCore::ZeroPole::process): | |
| 3413 Ditto. | |
| 3414 | |
| 3415 2011-10-21 Vsevolod Vlasov <vsevik@chromium.org> | |
| 3416 | |
| 3417 Web Inspector: Advanced search results should be cleared on navigation. | |
| 3418 https://bugs.webkit.org/show_bug.cgi?id=70627 | |
| 3419 | |
| 3420 Reviewed by Pavel Feldman. | |
| 3421 | |
| 3422 * inspector/front-end/AdvancedSearchController.js: | |
| 3423 (WebInspector.AdvancedSearchController): | |
| 3424 (WebInspector.AdvancedSearchController.prototype._frameNavigated): | |
| 3425 | |
| 3426 2011-10-21 Rafael Weinstein <rafaelw@chromium.org> | |
| 3427 | |
| 3428 [MutationObservers] Implement WebKitMutationObserver.observe for childLi
st changes | |
| 3429 https://bugs.webkit.org/show_bug.cgi?id=68955 | |
| 3430 | |
| 3431 Reviewed by Ryosuke Niwa. | |
| 3432 | |
| 3433 This patch adds a ChildListMutationScope object which manages the coales
cing of | |
| 3434 multiple child removals and additions within DOM operations into single
childList | |
| 3435 mutation records. | |
| 3436 | |
| 3437 Note that this patch doesn't cover all the cases which can be coalesced
(it only | |
| 3438 covers ContainerNode.*, and Node.innerHTML/innerText). A separate bug, | |
| 3439 https://bugs.webkit.org/show_bug.cgi?id=70385, has been opened to track
the | |
| 3440 remaining cases. | |
| 3441 | |
| 3442 Test: fast/mutation/observe-childList.html | |
| 3443 | |
| 3444 * CMakeLists.txt: | |
| 3445 * GNUmakefile.list.am: | |
| 3446 * WebCore.gypi: | |
| 3447 * WebCore.pro: | |
| 3448 * WebCore.vcproj/WebCore.vcproj: | |
| 3449 * WebCore.xcodeproj/project.pbxproj: | |
| 3450 * dom/ChildListMutationScope.cpp: Added. | |
| 3451 (WebCore::ChildListAccumulation::ChildListAccumulation::ChildListAccumul
ation): | |
| 3452 (WebCore::ChildListAccumulation::ChildListAccumulation::~ChildListAccumu
lation): | |
| 3453 (WebCore::ChildListAccumulation::ChildListAccumulation::childAdded): | |
| 3454 (WebCore::ChildListAccumulation::ChildListAccumulation::willRemoveChild)
: | |
| 3455 (WebCore::ChildListAccumulation::ChildListAccumulation::dispatch): | |
| 3456 (WebCore::ChildListAccumulation::ChildListAccumulation::clear): | |
| 3457 (WebCore::ChildListAccumulation::ChildListAccumulation::isEmpty): | |
| 3458 (WebCore::ChildListAccumulation::ChildListAccumulator::ChildListAccumula
tor): | |
| 3459 (WebCore::ChildListAccumulation::ChildListAccumulator::~ChildListAccumul
ator): | |
| 3460 (WebCore::ChildListAccumulation::ChildListAccumulator::initialize): | |
| 3461 (WebCore::ChildListAccumulation::ChildListAccumulator::instance): | |
| 3462 (WebCore::ChildListAccumulation::ChildListAccumulator::childAdded): | |
| 3463 (WebCore::ChildListAccumulation::ChildListAccumulator::willRemoveChild): | |
| 3464 (WebCore::ChildListAccumulation::ChildListAccumulator::incrementScopingL
evel): | |
| 3465 (WebCore::ChildListAccumulation::ChildListAccumulator::decrementScopingL
evel): | |
| 3466 (WebCore::ChildListMutationScope::ChildListMutationScope): | |
| 3467 (WebCore::ChildListMutationScope::~ChildListMutationScope): | |
| 3468 (WebCore::ChildListMutationScope::childAdded): | |
| 3469 (WebCore::ChildListMutationScope::willRemoveChild): | |
| 3470 * dom/ChildListMutationScope.h: Added. | |
| 3471 * dom/ContainerNode.cpp: | |
| 3472 (WebCore::ContainerNode::insertBefore): | |
| 3473 (WebCore::ContainerNode::replaceChild): | |
| 3474 (WebCore::willRemoveChildren): | |
| 3475 (WebCore::dispatchChildInsertionEvents): | |
| 3476 (WebCore::dispatchChildRemovalEvents): | |
| 3477 * dom/Element.cpp: | |
| 3478 (WebCore::enqueueAttributesMutationRecord): | |
| 3479 * dom/Node.cpp: | |
| 3480 (WebCore::Node::setTextContent): | |
| 3481 (WebCore::Node::registeredMutationObserversOfType): | |
| 3482 * dom/WebKitMutationObserver.cpp: | |
| 3483 (WebCore::WebKitMutationObserver::disconnect): | |
| 3484 * html/HTMLElement.cpp: | |
| 3485 (WebCore::replaceChildrenWithFragment): | |
| 3486 (WebCore::replaceChildrenWithText): | |
| 3487 | |
| 3488 2011-10-21 Sheriff Bot <webkit.review.bot@gmail.com> | |
| 3489 | |
| 3490 Unreviewed, rolling out r98079. | |
| 3491 http://trac.webkit.org/changeset/98079 | |
| 3492 https://bugs.webkit.org/show_bug.cgi?id=70624 | |
| 3493 | |
| 3494 The extensions tests enabled are failing on the Chromium Win | |
| 3495 Dbg bot (Requested by jchaffraix on #webkit). | |
| 3496 | |
| 3497 * inspector/front-end/ExtensionAPI.js: | |
| 3498 (buildExtensionAPIInjectedScript): | |
| 3499 | |
| 3500 2011-10-21 Dan Bernstein <mitz@apple.com> | |
| 3501 | |
| 3502 Column rules positioned incorrectly in vertical-rl block with horizontal
border or padding | |
| 3503 https://bugs.webkit.org/show_bug.cgi?id=70622 | |
| 3504 | |
| 3505 Reviewed by Beth Dakin. | |
| 3506 | |
| 3507 Tests: fast/multicol/vertical-lr/rules-with-border-before.html | |
| 3508 fast/multicol/vertical-rl/rules-with-border-before.html | |
| 3509 | |
| 3510 * rendering/RenderBlock.cpp: | |
| 3511 (WebCore::RenderBlock::paintColumnRules): Changed to use the physical le
ft border and padding for the | |
| 3512 left edge of the horizontal column rule. | |
| 3513 | |
| 3514 2011-10-21 Simon Fraser <simon.fraser@apple.com> | |
| 3515 | |
| 3516 Fix Windows build. | |
| 3517 | |
| 3518 * rendering/RenderLayerCompositor.cpp: | |
| 3519 (WebCore::RenderLayerCompositor::hasAnyAdditionalCompositedLayers): | |
| 3520 | |
| 3521 2011-10-21 Devdatta Deshpande <pwjd73@motorola.com> | |
| 3522 | |
| 3523 [Gtk] mousemove event always has metaKey == true | |
| 3524 https://bugs.webkit.org/show_bug.cgi?id=35299 | |
| 3525 | |
| 3526 Reviewed by Martin Robinson. | |
| 3527 | |
| 3528 GDK_MOD2_MASK doesn't always mean meta so we can't use it to identify | |
| 3529 the meta key state. Use GDK_META_MASK instead. | |
| 3530 | |
| 3531 Test: platform/gtk/fast/events/event-sender-metakey.html | |
| 3532 | |
| 3533 * platform/gtk/PlatformMouseEventGtk.cpp: | |
| 3534 (WebCore::PlatformMouseEvent::PlatformMouseEvent): | |
| 3535 | |
| 3536 2011-10-21 Andreas Kling <kling@webkit.org> | |
| 3537 | |
| 3538 Style and Link elements' sheet() should return CSSStyleSheet. | |
| 3539 https://bugs.webkit.org/show_bug.cgi?id=70608 | |
| 3540 | |
| 3541 Reviewed by Antti Koivisto. | |
| 3542 | |
| 3543 Return a CSSStyleSheet* instead of a StyleSheet* in these functions | |
| 3544 since we know they are always CSSStyleSheets. | |
| 3545 Also remove some now-unnecessary isCSSStyleSheet() checks. | |
| 3546 | |
| 3547 * dom/StyleElement.h: | |
| 3548 (WebCore::StyleElement::sheet): | |
| 3549 * html/HTMLLinkElement.cpp: | |
| 3550 * html/HTMLLinkElement.h: | |
| 3551 (WebCore::HTMLLinkElement::sheet): | |
| 3552 * page/PageSerializer.cpp: | |
| 3553 (WebCore::PageSerializer::serializeFrame): | |
| 3554 | |
| 3555 2011-10-21 Vsevolod Vlasov <vsevik@chromium.org> | |
| 3556 | |
| 3557 Web Inspector: Advanced search is working very slowly and does not show
searching progress. | |
| 3558 https://bugs.webkit.org/show_bug.cgi?id=70611 | |
| 3559 | |
| 3560 Search implementation changed so that we do not start searching in the n
ext file unless | |
| 3561 the previous one was already searched. This allows to interrupt search. | |
| 3562 Not all search matches are added on UI by default now, only first 20 for
each file. | |
| 3563 Search progress information and search stop button were added to drawer
status bar. | |
| 3564 | |
| 3565 Reviewed by Pavel Feldman. | |
| 3566 | |
| 3567 * English.lproj/localizedStrings.js: | |
| 3568 * inspector/ContentSearchUtils.cpp: | |
| 3569 (WebCore::ContentSearchUtils::getRegularExpressionMatchesByLines): | |
| 3570 (WebCore::ContentSearchUtils::countRegularExpressionMatches): | |
| 3571 * inspector/front-end/AdvancedSearchController.js: | |
| 3572 (WebInspector.AdvancedSearchController.prototype._onSearchResult): | |
| 3573 (WebInspector.AdvancedSearchController.prototype._onSearchFinished): | |
| 3574 (WebInspector.AdvancedSearchController.prototype.startSearch): | |
| 3575 (WebInspector.AdvancedSearchController.prototype.resetSearch): | |
| 3576 (WebInspector.AdvancedSearchController.prototype.stopSearch): | |
| 3577 (WebInspector.SearchView): | |
| 3578 (WebInspector.SearchView.prototype.get statusBarItems): | |
| 3579 (WebInspector.SearchView.prototype.get counterElement): | |
| 3580 (WebInspector.SearchView.prototype.set resultsPane): | |
| 3581 (WebInspector.SearchView.prototype.searchStarted): | |
| 3582 (WebInspector.SearchView.prototype._updateSearchResultsMessage): | |
| 3583 (WebInspector.SearchView.prototype._updateSearchProgress): | |
| 3584 (WebInspector.SearchView.prototype.resetResults): | |
| 3585 (WebInspector.SearchView.prototype._resetCounters): | |
| 3586 (WebInspector.SearchView.prototype.nothingFound): | |
| 3587 (WebInspector.SearchView.prototype.addSearchResult): | |
| 3588 (WebInspector.SearchView.prototype.searchFinished): | |
| 3589 (WebInspector.SearchView.prototype._searchStopButtonPressed): | |
| 3590 (WebInspector.SearchResultsPane): | |
| 3591 (WebInspector.FileBasedSearchResultsPane): | |
| 3592 (WebInspector.FileBasedSearchResultsPane.prototype.addSearchResult): | |
| 3593 (WebInspector.FileBasedSearchResultsPane.prototype._fileTreeElementExpan
ded): | |
| 3594 (WebInspector.FileBasedSearchResultsPane.prototype._appendSearchMatches)
: | |
| 3595 (WebInspector.FileBasedSearchResultsPane.prototype._appendShowMoreMatche
sElement): | |
| 3596 (WebInspector.FileBasedSearchResultsPane.prototype._showMoreMatchesEleme
ntSelected): | |
| 3597 (WebInspector.FileBasedSearchResultsPane.prototype._addFileTreeElement): | |
| 3598 (WebInspector.FileBasedSearchResultsPane.prototype._regexMatchRanges): | |
| 3599 * inspector/front-end/Drawer.js: | |
| 3600 (WebInspector.Drawer.prototype.hide): | |
| 3601 * inspector/front-end/Images/statusbarButtonGlyphs.png: | |
| 3602 * inspector/front-end/ScriptsSearchScope.js: | |
| 3603 (WebInspector.ScriptsSearchScope): | |
| 3604 (WebInspector.ScriptsSearchScope.prototype.performSearch.filterOutConten
tScripts): | |
| 3605 (WebInspector.ScriptsSearchScope.prototype.performSearch.continueSearch)
: | |
| 3606 (WebInspector.ScriptsSearchScope.prototype.performSearch.searchCallbackW
rapper): | |
| 3607 (WebInspector.ScriptsSearchScope.prototype.performSearch): | |
| 3608 (WebInspector.ScriptsSearchScope.prototype.stopSearch): | |
| 3609 * inspector/front-end/TimelinePanel.js: | |
| 3610 (WebInspector.TimelinePanel.prototype._registerShortcuts): | |
| 3611 * inspector/front-end/inspector.css: | |
| 3612 (#drawer-status-bar .search-status-bar-item): | |
| 3613 (#drawer-status-bar .search-status-bar-message): | |
| 3614 (#drawer-status-bar .search-status-bar-progress): | |
| 3615 (#drawer-status-bar .search-status-bar-stop-button-item): | |
| 3616 (#drawer-status-bar .search-status-bar-stop-button .glyph): | |
| 3617 (#drawer-status-bar .search-results-status-bar-message): | |
| 3618 (.search-view .search-results): | |
| 3619 (#search-results-pane-file-based .search-results-outline-disclosure): | |
| 3620 (#search-results-pane-file-based .search-result): | |
| 3621 (#search-results-pane-file-based .search-result:hover): | |
| 3622 (#search-results-pane-file-based .show-more-matches): | |
| 3623 (#search-results-pane-file-based .show-more-matches:hover): | |
| 3624 (#search-results-pane-file-based .search-match:hover): | |
| 3625 * inspector/front-end/utilities.js: | |
| 3626 (): | |
| 3627 | |
| 3628 2011-10-20 Zhenyao Mo <zmo@google.com> | |
| 3629 | |
| 3630 Implement mechanism to enable privileged webgl extensions | |
| 3631 https://bugs.webkit.org/show_bug.cgi?id=70538 | |
| 3632 | |
| 3633 Reviewed by Darin Fisher. | |
| 3634 | |
| 3635 * html/canvas/WebGLRenderingContext.cpp: | |
| 3636 (WebCore::WebGLRenderingContext::allowPrivilegedExtensions): check page/
Settings flag. | |
| 3637 * page/Settings.cpp: Add the flag. | |
| 3638 (WebCore::Settings::Settings): | |
| 3639 (WebCore::Settings::setPrivilegedWebGLExtensionsEnabled): | |
| 3640 * page/Settings.h: Ditto. | |
| 3641 (WebCore::Settings::privilegedWebGLExtensionsEnabled): | |
| 3642 | |
| 3643 2011-10-20 Pavel Podivilov <podivilov@chromium.org> | |
| 3644 | |
| 3645 Web Inspector: first line in file is not highlighted. | |
| 3646 https://bugs.webkit.org/show_bug.cgi?id=70504 | |
| 3647 | |
| 3648 Reviewed by Pavel Feldman. | |
| 3649 | |
| 3650 * inspector/front-end/SourceFrame.js: | |
| 3651 (WebInspector.SourceFrame.prototype._initializeTextViewer): | |
| 3652 | |
| 3653 2011-10-21 Andreas Kling <kling@webkit.org> | |
| 3654 | |
| 3655 Simplify CSSStyleRule::setSelectorText(). | |
| 3656 https://bugs.webkit.org/show_bug.cgi?id=70607 | |
| 3657 | |
| 3658 Reviewed by Antti Koivisto. | |
| 3659 | |
| 3660 Remove unnecessary isCSSStyleSheet() check and redundant Document findin
g | |
| 3661 logic (CSSStyleSheet::document() will return the owner node's Document j
ust | |
| 3662 like this code would.) | |
| 3663 | |
| 3664 * css/CSSStyleRule.cpp: | |
| 3665 (WebCore::CSSStyleRule::setSelectorText): | |
| 3666 | |
| 3667 2011-10-21 Alejandro G. Castro <alex@igalia.com> | |
| 3668 | |
| 3669 [cairo] Forward declaration of GraphicsContextState uses class instead o
f struct | |
| 3670 https://bugs.webkit.org/show_bug.cgi?id=70522 | |
| 3671 | |
| 3672 The type is a struct not a class, replace the definition in the | |
| 3673 forward declaration. | |
| 3674 | |
| 3675 Reviewed by Martin Robinson. | |
| 3676 | |
| 3677 * platform/graphics/cairo/PlatformContextCairo.h: | |
| 3678 | |
| 3679 2011-10-20 Andrey Kosyakov <caseq@chromium.org> | |
| 3680 | |
| 3681 Web Inspector: make extension tests pass on chromium | |
| 3682 https://bugs.webkit.org/show_bug.cgi?id=70334 | |
| 3683 | |
| 3684 Reviewed by Pavel Feldman. | |
| 3685 | |
| 3686 * inspector/front-end/ExtensionAPI.js: | |
| 3687 (buildExtensionAPIInjectedScript): | |
| 3688 | |
| 3689 2011-10-20 Peter Rybin <peter.rybin@gmail.com> | |
| 3690 | |
| 3691 Web Inspector: reimplement protocol backend/frontend source generator | |
| 3692 https://bugs.webkit.org/show_bug.cgi?id=69295 | |
| 3693 | |
| 3694 Reviewed by Pavel Feldman. | |
| 3695 | |
| 3696 Old 2-stage python+perf generator that uses intermediate IDL output is | |
| 3697 being replaced with a solid python script. This is for simplicity and | |
| 3698 as a base for the future JSON validator. | |
| 3699 | |
| 3700 * CMakeLists.txt: | |
| 3701 * CodeGenerators.pri: | |
| 3702 * DerivedSources.make: | |
| 3703 * GNUmakefile.am: | |
| 3704 * WebCore.gyp/WebCore.gyp: | |
| 3705 * inspector/CodeGeneratorInspector.pm: Removed. | |
| 3706 * inspector/CodeGeneratorInspector.py: Added. | |
| 3707 * inspector/Inspector.json: | |
| 3708 * inspector/generate-inspector-idl: Removed. | |
| 3709 | |
| 3710 2011-10-20 Adam Barth <abarth@webkit.org> | |
| 3711 | |
| 3712 Attemp to fix a bunch of tests PLATFORM(MAC). We can't use a static | |
| 3713 map because that's shared between threads (and events exist in worker | |
| 3714 threads). It migh be better to add a thread-specific map, but we can | |
| 3715 do that in another patch. | |
| 3716 | |
| 3717 * bindings/js/JSEventCustom.cpp: | |
| 3718 (WebCore::toJS): | |
| 3719 * bindings/v8/custom/V8EventCustom.cpp: | |
| 3720 (WebCore::toV8): | |
| 3721 | |
| 3722 2011-10-20 Simon Fraser <simon.fraser@apple.com> | 1 2011-10-20 Simon Fraser <simon.fraser@apple.com> |
| 3723 | 2 |
| 3724 Hidden composited iframes cause infinite loop | 3 Hidden composited iframes cause infinite loop |
| 3725 https://bugs.webkit.org/show_bug.cgi?id=52655 | 4 https://bugs.webkit.org/show_bug.cgi?id=52655 |
| 3726 | 5 |
| 3727 Reviewed by Darin Adler. | 6 Reviewed by Darin Adler. |
| 3728 | 7 |
| 3729 visibility:hidden is problematic for compositing, because it causes | 8 visibility:hidden is problematic for compositing, because it causes |
| 3730 RenderLayers to be removed from the z-order layer tree. This confuses | 9 RenderLayers to be removed from the z-order layer tree. This confuses |
| 3731 RenderLayerCompositor in several ways; it never sees these layers | 10 RenderLayerCompositor in several ways; it never sees these layers |
| (...skipping 1590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5322 (WebCore::MessageEvent::dataAsArrayBuffer): Ditto. | 1601 (WebCore::MessageEvent::dataAsArrayBuffer): Ditto. |
| 5323 * dom/MessageEvent.idl: Changed SerializedScriptValue to DOMObject (i.e.
ScriptValue). This patch does not touch an ObjC part. Removed [CachedAttribute]
from MessageEvent.data, since it is now a DOMObject and needs not to be cached. | 1602 * dom/MessageEvent.idl: Changed SerializedScriptValue to DOMObject (i.e.
ScriptValue). This patch does not touch an ObjC part. Removed [CachedAttribute]
from MessageEvent.data, since it is now a DOMObject and needs not to be cached. |
| 5324 | 1603 |
| 5325 2011-10-19 Adam Barth <abarth@webkit.org> | 1604 2011-10-19 Adam Barth <abarth@webkit.org> |
| 5326 | 1605 |
| 5327 Attempt to fix GTK build. | 1606 Attempt to fix GTK build. |
| 5328 | 1607 |
| 5329 * GNUmakefile.am: | 1608 * GNUmakefile.am: |
| 5330 | 1609 |
| 5331 == Rolled over to ChangeLog-2011-10-19 == | 1610 == Rolled over to ChangeLog-2011-10-19 == |
| OLD | NEW |