| OLD | NEW |
| 1 2011-06-08 Justin Novosad <junov@chromium.org> | |
| 2 | |
| 3 Reviewed by James Robinson. | |
| 4 | |
| 5 [Chromium] Crash when closing a tab with accelerated 2d canvas | |
| 6 https://bugs.webkit.org/show_bug.cgi?id=62324 | |
| 7 Upon graphics context destruction, it is important to signal skia | |
| 8 to abandon all of its resource handles. This prevents a crash caused | |
| 9 by skia attempting to release resources that were in the destroyed | |
| 10 graphics context. | |
| 11 | |
| 12 * platform/graphics/gpu/SharedGraphicsContext3D.cpp: | |
| 13 (WebCore::SharedGraphicsContext3D::~SharedGraphicsContext3D): | |
| 14 | |
| 15 2011-06-08 James Robinson <jamesr@chromium.org> | |
| 16 | |
| 17 Reviewed by Darin Fisher. | |
| 18 | |
| 19 REGRESSION(88260): 10-50% performance regression across many page cycler
s | |
| 20 https://bugs.webkit.org/show_bug.cgi?id=62349 | |
| 21 | |
| 22 r88260 fixed a font cache resource leak and lowered the inactive font ca
che threshold. The latter caused a | |
| 23 significant performance regression across many chromium page cyclers, fo
r example | |
| 24 http://build.chromium.org/f/chromium/perf/linux-release-webkit-latest/mo
z/report.html?history=50&rev=88279. | |
| 25 | |
| 26 This restores the previous inactive font size thresholds to their previo
us values, but retains the font cleanup | |
| 27 logic. | |
| 28 | |
| 29 * platform/graphics/FontCache.cpp: | |
| 30 | |
| 31 2011-06-08 Hayato Ito <hayato@chromium.org> | |
| 32 | |
| 33 Reviewed by Dimitri Glazkov. | |
| 34 | |
| 35 A forward/backward tab traversal now visits focusable elements in a shad
ow root. | |
| 36 https://bugs.webkit.org/show_bug.cgi?id=61410 | |
| 37 | |
| 38 Test: fast/dom/shadow/tab-order-iframe-and-shadow.html | |
| 39 | |
| 40 Like a iframe element, a shadow host becomes a scope of | |
| 41 tabindex. That means all descendant elements in a shadow root are | |
| 42 skipped if the host node of the shadow root is not focusable. | |
| 43 | |
| 44 The patch doesn't affect HTMLInputElement and HTMLTextAreaElement, | |
| 45 which uses a shadow root and do extra works in their focus() | |
| 46 method. | |
| 47 | |
| 48 A shadow root's <content> is not considered in this patch. | |
| 49 That will be addressed in a following patch. | |
| 50 | |
| 51 * page/FocusController.cpp: | |
| 52 (WebCore::shadowRoot): | |
| 53 (WebCore::isTreeScopeOwner): | |
| 54 (WebCore::FocusController::deepFocusableNode): | |
| 55 (WebCore::FocusController::advanceFocusInDocumentOrder): | |
| 56 (WebCore::FocusController::findFocusableNodeAcrossTreeScope): | |
| 57 (WebCore::FocusController::findFocusableNode): | |
| 58 (WebCore::FocusController::nextFocusableNode): | |
| 59 (WebCore::FocusController::previousFocusableNode): | |
| 60 (WebCore::FocusController::ownerOfTreeScope): | |
| 61 * page/FocusController.h: | |
| 62 | |
| 63 2011-06-08 Hayato Ito <hayato@chromium.org> | |
| 64 | |
| 65 Reviewed by Hajime Morita. | |
| 66 | |
| 67 Makes sure that document.activeElement won't be an element in shadow roo
t. | |
| 68 | |
| 69 https://bugs.webkit.org/show_bug.cgi?id=61413 | |
| 70 | |
| 71 Test: fast/dom/shadow/activeelement-should-be-shadowhost.html | |
| 72 | |
| 73 * html/HTMLDocument.cpp: | |
| 74 (WebCore::focusedFrameOwnerElement): | |
| 75 (WebCore::HTMLDocument::activeElement): | |
| 76 | |
| 77 2011-06-08 Kent Tamura <tkent@chromium.org> | |
| 78 | |
| 79 Reviewed by Dimitri Glazkov. | |
| 80 | |
| 81 Allow drawing a slider thumb for any nodes. | |
| 82 https://bugs.webkit.org/show_bug.cgi?id=62196 | |
| 83 | |
| 84 RenderObject::node() should provide various information which is | |
| 85 necessary for rendering. We don't need to refer the parent renderer. | |
| 86 | |
| 87 * dom/Node.cpp: | |
| 88 (WebCore::Node::focusDe1egate): Added. | |
| 89 * dom/Node.h: Added a declaration. | |
| 90 * html/shadow/MediaControlElements.cpp: | |
| 91 (WebCore::toParentMediaElement): | |
| 92 Added an overload of toParentMediaElement() with Node* parameter. | |
| 93 * html/shadow/MediaControlElements.h: | |
| 94 (WebCore::toParentMediaElement): ditto. | |
| 95 * html/shadow/SliderThumbElement.cpp: | |
| 96 (WebCore::SliderThumbElement::isEnabledFormControl): | |
| 97 Returns the status of the host node. | |
| 98 (WebCore::SliderThumbElement::isReadOnlyFormControl): ditto. | |
| 99 (WebCore::SliderThumbElement::focusDe1egate): | |
| 100 Returns the host node so that RenderTheme::isFocused() returns true. | |
| 101 (WebCore::SliderThumbElement::detach): Style nit. | |
| 102 (WebCore::SliderThumbElement::hostInput): | |
| 103 Make it const because it is called by const functions. | |
| 104 * html/shadow/SliderThumbElement.h: | |
| 105 - Remove inDragMode() | |
| 106 - Update declarations | |
| 107 * platform/qt/RenderThemeQt.cpp: | |
| 108 (WebCore::RenderThemeQt::paintMediaSliderThumb): | |
| 109 Use Node::shadowAncestorNode() instead of RenderObject::parent() to | |
| 110 support deeper thumb nodes. | |
| 111 * rendering/RenderMediaControlsChromium.cpp: | |
| 112 (WebCore::paintMediaSliderThumb): ditto. | |
| 113 (WebCore::paintMediaVolumeSliderThumb): Remove isSlider() check. | |
| 114 * rendering/RenderSlider.cpp: | |
| 115 (WebCore::RenderSlider::inDragMode): | |
| 116 SliderThumbElement::inDragMode() was removed, and Node::active() has | |
| 117 the same information. | |
| 118 * rendering/RenderTheme.cpp: | |
| 119 (WebCore::RenderTheme::paint): Remove isSlider() checks. | |
| 120 (WebCore::RenderTheme::isFocused): Apply Node::focusDelegate(). | |
| 121 * rendering/RenderThemeChromiumLinux.cpp: | |
| 122 (WebCore::RenderThemeChromiumLinux::paintSliderThumb): | |
| 123 isPressed() is enough. | |
| 124 * rendering/RenderThemeChromiumWin.cpp: | |
| 125 isEnabled(), isFocused(), and isPressed() are enough. | |
| 126 (WebCore::RenderThemeChromiumWin::determineSliderThumbState): | |
| 127 (WebCore::RenderThemeChromiumWin::determineClassicState): | |
| 128 * rendering/RenderThemeMac.mm: | |
| 129 (WebCore::RenderThemeMac::paintSliderThumb): | |
| 130 - Remove isSlider() check. | |
| 131 - Passing 'o' to udpateFooState functions is enough. | |
| 132 - isPressed() is enough. | |
| 133 * rendering/RenderThemeSafari.cpp: | |
| 134 (WebCore::RenderThemeSafari::paintSliderThumb): | |
| 135 We don't need special handling anymore. | |
| 136 * rendering/RenderThemeWin.cpp: | |
| 137 (WebCore::RenderThemeWin::determineSliderThumbState): | |
| 138 isEnabled(), isFocused(), and isPressed() are enough. | |
| 139 | |
| 140 2011-06-08 Adam Barth <abarth@webkit.org> | |
| 141 | |
| 142 Reviewed by Eric Seidel. | |
| 143 | |
| 144 constructTreeFromToken can re-enter parser, causing ASSERTs | |
| 145 https://bugs.webkit.org/show_bug.cgi?id=62160 | |
| 146 | |
| 147 This patch clears the HTMLToken before constructing the tree from the | |
| 148 token, putting the HTMLDocumentParser in a good state to be re-entered. | |
| 149 | |
| 150 Tests: fast/parser/document-write-onload-nesting.html | |
| 151 fast/parser/document-write-onload-ordering.html | |
| 152 | |
| 153 * html/parser/HTMLDocumentParser.cpp: | |
| 154 (WebCore::HTMLDocumentParser::pumpTokenizer): | |
| 155 * html/parser/HTMLToken.h: | |
| 156 (WebCore::HTMLToken::isUninitialized): | |
| 157 * html/parser/HTMLTreeBuilder.cpp: | |
| 158 (WebCore::HTMLTreeBuilder::constructTreeFromToken): | |
| 159 | |
| 160 2011-06-08 Kent Tamura <tkent@chromium.org> | |
| 161 | |
| 162 Fix Qt build for r88405. | |
| 163 https://bugs.webkit.org/show_bug.cgi?id=62208 | |
| 164 | |
| 165 * platform/qt/RenderThemeQt.h: | |
| 166 | |
| 167 2011-06-08 Kent Tamura <tkent@chromium.org> | |
| 168 | |
| 169 Reviewed by Dimitri Glazkov. | |
| 170 | |
| 171 Change the argument of RenderTheme::adjustSliderThumbSize(): RenderObjec
t* -> RenderStyle* | |
| 172 https://bugs.webkit.org/show_bug.cgi?id=62208 | |
| 173 | |
| 174 Change the argument type of RenderTheme::adjustSliderThumbSize() and | |
| 175 RenderMediaControls::adjustMediaSliderThumbSize() from RenderObject* to
RenderStyle*. | |
| 176 | |
| 177 Also, each of adjustSliderThumbStyle() overrides calls RenderTheme:: | |
| 178 adjustSliderThumbStyle() for future changes. | |
| 179 | |
| 180 No new tests. This is a refactoring and should not change any behavior. | |
| 181 | |
| 182 * html/shadow/SliderThumbElement.cpp: | |
| 183 (WebCore::RenderSliderThumb::layout): Passing RenderStyle* and remove a
FIXME comment. | |
| 184 * platform/efl/RenderThemeEfl.cpp: | |
| 185 (WebCore::RenderThemeEfl::adjustSliderThumbStyle): Calls RenderTheme::ad
justSliderThumbStyle(). | |
| 186 * platform/gtk/RenderThemeGtk.cpp: | |
| 187 (WebCore::RenderThemeGtk::adjustSliderThumbStyle): ditto. | |
| 188 (WebCore::RenderThemeGtk::adjustMediaSliderThumbSize): | |
| 189 * platform/gtk/RenderThemeGtk.h: | |
| 190 * platform/gtk/RenderThemeGtk2.cpp: | |
| 191 (WebCore::RenderThemeGtk::adjustSliderThumbSize): | |
| 192 * platform/gtk/RenderThemeGtk3.cpp: | |
| 193 (WebCore::RenderThemeGtk::adjustSliderThumbSize): | |
| 194 * platform/qt/RenderThemeQt.cpp: | |
| 195 (WebCore::RenderThemeQt::adjustSliderThumbStyle): ditto. | |
| 196 (WebCore::RenderThemeQt::adjustSliderThumbSize): | |
| 197 * rendering/RenderMediaControls.cpp: | |
| 198 (WebCore::RenderMediaControls::adjustMediaSliderThumbSize): | |
| 199 * rendering/RenderMediaControls.h: | |
| 200 * rendering/RenderMediaControlsChromium.cpp: | |
| 201 (WebCore::RenderMediaControlsChromium::adjustMediaSliderThumbSize): | |
| 202 * rendering/RenderMediaControlsChromium.h: | |
| 203 * rendering/RenderSlider.cpp: | |
| 204 (WebCore::RenderSlider::layout): Passing RenderStyle* and remove a FIXME
comment. | |
| 205 * rendering/RenderTheme.cpp: | |
| 206 (WebCore::RenderTheme::adjustSliderThumbStyle): Add a comment. | |
| 207 (WebCore::RenderTheme::adjustSliderThumbSize): | |
| 208 * rendering/RenderTheme.h: | |
| 209 * rendering/RenderThemeChromiumLinux.cpp: | |
| 210 (WebCore::RenderThemeChromiumLinux::adjustSliderThumbSize): | |
| 211 * rendering/RenderThemeChromiumLinux.h: | |
| 212 * rendering/RenderThemeChromiumMac.h: | |
| 213 * rendering/RenderThemeChromiumMac.mm: | |
| 214 (WebCore::RenderThemeChromiumMac::adjustMediaSliderThumbSize): | |
| 215 * rendering/RenderThemeChromiumSkia.cpp: | |
| 216 (WebCore::RenderThemeChromiumSkia::adjustSliderThumbSize): | |
| 217 * rendering/RenderThemeChromiumSkia.h: | |
| 218 * rendering/RenderThemeChromiumWin.cpp: | |
| 219 (WebCore::RenderThemeChromiumWin::adjustSliderThumbSize): | |
| 220 * rendering/RenderThemeChromiumWin.h: | |
| 221 * rendering/RenderThemeMac.h: | |
| 222 * rendering/RenderThemeMac.mm: | |
| 223 (WebCore::RenderThemeMac::adjustSliderThumbStyle): Calls RenderTheme::ad
justSliderThumbStyle(). | |
| 224 (WebCore::RenderThemeMac::adjustSliderThumbSize): | |
| 225 (WebCore::RenderThemeMac::adjustMediaSliderThumbSize): | |
| 226 * rendering/RenderThemeSafari.cpp: | |
| 227 (WebCore::RenderThemeSafari::adjustSliderThumbStyle): Calls RenderTheme:
:adjustSliderThumbStyle(). | |
| 228 (WebCore::RenderThemeSafari::adjustSliderThumbSize): | |
| 229 * rendering/RenderThemeSafari.h: | |
| 230 * rendering/RenderThemeWin.cpp: | |
| 231 (WebCore::RenderThemeWin::adjustSliderThumbSize): | |
| 232 * rendering/RenderThemeWin.h: | |
| 233 * rendering/RenderThemeWinCE.cpp: | |
| 234 (WebCore::RenderThemeWinCE::adjustSliderThumbSize): | |
| 235 * rendering/RenderThemeWinCE.h: | |
| 236 | |
| 237 2011-06-08 Brian Salomon <bsalomon@google.com> | |
| 238 | |
| 239 Reviewed by James Robinson. | |
| 240 | |
| 241 Avoid always binding FBO 0 implicitly when deleting FBO in DrawingBuffer
code because it invalidates Ganesh's cache of the current FBO. | |
| 242 https://bugs.webkit.org/show_bug.cgi?id=62318 | |
| 243 | |
| 244 Chromium-only crash | |
| 245 Failures takes multiple seconds to occur, relying on JS garbage-collecti
on to occur | |
| 246 http://www.hotbazooka.com/privatejoe-large | |
| 247 | |
| 248 * platform/graphics/gpu/DrawingBuffer.cpp: | |
| 249 (WebCore::DrawingBuffer::clear): | |
| 250 | |
| 251 2011-06-08 Emil A Eklund <eae@chromium.org> | |
| 252 | |
| 253 Reviewed by Eric Seidel. | |
| 254 | |
| 255 RenderEmbeddedObject::getReplacementTextGeometry | |
| 256 https://bugs.webkit.org/show_bug.cgi?id=62313 | |
| 257 | |
| 258 Replace the last use of tx, ty with IntPoint. | |
| 259 | |
| 260 Covered by existing tests. | |
| 261 | |
| 262 * platform/graphics/FloatRect.h: | |
| 263 (WebCore::FloatRect::move): | |
| 264 (WebCore::FloatRect::moveBy): | |
| 265 * rendering/RenderEmbeddedObject.cpp: | |
| 266 (WebCore::RenderEmbeddedObject::paintReplaced): | |
| 267 (WebCore::RenderEmbeddedObject::getReplacementTextGeometry): | |
| 268 (WebCore::RenderEmbeddedObject::isInMissingPluginIndicator): | |
| 269 * rendering/RenderEmbeddedObject.h: | |
| 270 | |
| 271 2011-06-08 Tim Horton <timothy_horton@apple.com> | |
| 272 | |
| 273 Reviewed by Ryosuke Niwa. | |
| 274 | |
| 275 Use correct CFURLStorageSessionRef definition on Leopard, as | |
| 276 we created an inconsistency in const-ness between | |
| 277 WebCoreSystemInterface.h and these two files in the case | |
| 278 of Leopard only. | |
| 279 https://bugs.webkit.org/show_bug.cgi?id=62223 | |
| 280 | |
| 281 * platform/network/ResourceHandle.h: | |
| 282 * platform/network/cf/ResourceRequest.h: | |
| 283 | |
| 284 2011-06-08 Sailesh Agrawal <sail@chromium.org> | |
| 285 | |
| 286 Reviewed by Mihai Parparita. | |
| 287 | |
| 288 Chromium Mac: Enable overlay scrollbars | |
| 289 https://bugs.webkit.org/show_bug.cgi?id=59756 | |
| 290 | |
| 291 Sync ScrollbarThemeChromiumMac.mm/.h with ScrollbarThemeMac.mm to pick u
p support for overlay scrollbars. The only changes are renaming ScrollbarThemeMa
c to ScrollbarThemeChromiumMac and using runtime checks instead of #ifdef's. | |
| 292 | |
| 293 No new tests, since this code is only enabled on future versions of Mac
OS X. | |
| 294 | |
| 295 * platform/chromium/ScrollAnimatorChromiumMac.mm: All changes to this fi
le except in scroll() were to swap #if USE(WK_SCROLLBAR_PAINTER) with runtime ch
ecks. | |
| 296 (WebCore::ScrollAnimatorChromiumMac::ScrollAnimatorChromiumMac): | |
| 297 (WebCore::ScrollAnimatorChromiumMac::~ScrollAnimatorChromiumMac): | |
| 298 (WebCore::ScrollAnimatorChromiumMac::notityPositionChanged): | |
| 299 (WebCore::ScrollAnimatorChromiumMac::contentAreaWillPaint): | |
| 300 (WebCore::ScrollAnimatorChromiumMac::mouseEnteredContentArea): | |
| 301 (WebCore::ScrollAnimatorChromiumMac::mouseExitedContentArea): | |
| 302 (WebCore::ScrollAnimatorChromiumMac::mouseMovedInContentArea): | |
| 303 (WebCore::ScrollAnimatorChromiumMac::willStartLiveResize): | |
| 304 (WebCore::ScrollAnimatorChromiumMac::contentsResized): | |
| 305 (WebCore::ScrollAnimatorChromiumMac::willEndLiveResize): | |
| 306 (WebCore::ScrollAnimatorChromiumMac::contentAreaDidShow): | |
| 307 (WebCore::ScrollAnimatorChromiumMac::contentAreaDidHide): | |
| 308 (WebCore::ScrollAnimatorChromiumMac::didBeginScrollGesture): | |
| 309 (WebCore::ScrollAnimatorChromiumMac::didEndScrollGesture): | |
| 310 (WebCore::ScrollAnimatorChromiumMac::didAddVerticalScrollbar): | |
| 311 (WebCore::ScrollAnimatorChromiumMac::willRemoveVerticalScrollbar): | |
| 312 (WebCore::ScrollAnimatorChromiumMac::didAddHorizontalScrollbar): | |
| 313 (WebCore::ScrollAnimatorChromiumMac::willRemoveHorizontalScrollbar): | |
| 314 (WebCore::ScrollAnimatorChromiumMac::cancelAnimations): | |
| 315 * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm: | |
| 316 (preferredScrollerStyle): Disabled overlay scrollbar styles due to trail
ing artifacts. | |
| 317 (wkScrollbarPainterPaint): Fixed a problem where the scrollbar track was
n't being drawn. | |
| 318 (wkScrollbarPainterKnobRect): Implemented a previously unimplemented fun
ction. | |
| 319 (wkSetScrollbarPainterKnobStyle): Implemented a function that's now supp
orted by the latest Mac OS X seeds. | |
| 320 (isScrollbarOverlayAPIAvailable): Enabled new scrollbar code. | |
| 321 * platform/chromium/ScrollbarThemeChromiumMac.h: | |
| 322 * platform/chromium/ScrollbarThemeChromiumMac.mm: Sync with ScrollbarThe
meMac.mm. | |
| 323 (WebCore::scrollbarMap): | |
| 324 (+[ScrollbarPrefsObserver appearancePrefsChanged:]): | |
| 325 (WebCore::updateArrowPlacement): | |
| 326 (WebCore::ScrollbarThemeChromiumMac::registerScrollbar): | |
| 327 (WebCore::ScrollbarThemeChromiumMac::unregisterScrollbar): | |
| 328 (WebCore::ScrollbarThemeChromiumMac::setNewPainterForScrollbar): | |
| 329 (WebCore::ScrollbarThemeChromiumMac::painterForScrollbar): | |
| 330 (WebCore::ScrollbarThemeChromiumMac::scrollbarThickness): | |
| 331 (WebCore::ScrollbarThemeChromiumMac::usesOverlayScrollbars): | |
| 332 (WebCore::ScrollbarThemeChromiumMac::hasButtons): | |
| 333 (WebCore::ScrollbarThemeChromiumMac::hasThumb): | |
| 334 (WebCore::buttonRepaintRect): | |
| 335 (WebCore::ScrollbarThemeChromiumMac::minimumThumbLength): | |
| 336 (WebCore::ScrollbarThemeChromiumMac::shouldDragDocumentInsteadOfThumb): | |
| 337 (WebCore::toScrollbarPainterKnobStyle): | |
| 338 (WebCore::ScrollbarThemeChromiumMac::paint): | |
| 339 | |
| 340 2011-06-06 Nate Chapin <japhet@chromium.org> | |
| 341 | |
| 342 Reviewed by Adam Barth. | |
| 343 | |
| 344 Remove all knowledge of CachedResourceRequests from | |
| 345 CachedResourceLoader. This puts the full burden of | |
| 346 canceling these requests on DocumentLoader (via | |
| 347 SubresourceLoader), and makes a CachedResourceRequest | |
| 348 an OwnPtr in CachedResource. | |
| 349 | |
| 350 https://bugs.webkit.org/show_bug.cgi?id=62308 | |
| 351 | |
| 352 * loader/FrameLoader.cpp: | |
| 353 (WebCore::FrameLoader::stopLoading): | |
| 354 * loader/cache/CachedResource.cpp: | |
| 355 (WebCore::CachedResource::CachedResource): | |
| 356 (WebCore::CachedResource::load): | |
| 357 (WebCore::CachedResource::stopLoading): | |
| 358 * loader/cache/CachedResource.h: | |
| 359 * loader/cache/CachedResourceLoader.cpp: | |
| 360 (WebCore::CachedResourceLoader::~CachedResourceLoader): | |
| 361 (WebCore::CachedResourceLoader::loadDone): | |
| 362 * loader/cache/CachedResourceLoader.h: | |
| 363 * loader/cache/CachedResourceRequest.cpp: | |
| 364 (WebCore::CachedResourceRequest::CachedResourceRequest): | |
| 365 (WebCore::CachedResourceRequest::~CachedResourceRequest): | |
| 366 (WebCore::CachedResourceRequest::load): | |
| 367 (WebCore::CachedResourceRequest::didFinishLoading): | |
| 368 (WebCore::CachedResourceRequest::didFail): | |
| 369 (WebCore::CachedResourceRequest::didReceiveResponse): | |
| 370 (WebCore::CachedResourceRequest::end): | |
| 371 * loader/cache/CachedResourceRequest.h: | |
| 372 | |
| 373 2011-06-08 Mike Reed <reed@google.com> | |
| 374 | |
| 375 Reviewed by James Robinson. | |
| 376 | |
| 377 [Skia] check for null-shader from gradient factory | |
| 378 https://bugs.webkit.org/show_bug.cgi?id=62319 | |
| 379 | |
| 380 * platform/graphics/skia/GradientSkia.cpp: | |
| 381 (WebCore::Gradient::platformDestroy): | |
| 382 (WebCore::Gradient::platformGradient): | |
| 383 | |
| 384 2011-06-08 Kenneth Russell <kbr@google.com> | |
| 385 | |
| 386 Reviewed by Adam Barth. | |
| 387 | |
| 388 Disallow use of cross-domain media (images, video) in WebGL | |
| 389 https://bugs.webkit.org/show_bug.cgi?id=62257 | |
| 390 | |
| 391 Updated WebGL implementation to track recent spec updates in this area. | |
| 392 | |
| 393 Tests: http/tests/security/webgl-remote-read-remote-image-allowed-with-c
redentials.html | |
| 394 http/tests/security/webgl-remote-read-remote-image-allowed.html | |
| 395 http/tests/security/webgl-remote-read-remote-image-blocked-no-cro
ssorigin.html | |
| 396 | |
| 397 * html/canvas/CanvasRenderingContext.cpp: | |
| 398 (WebCore::CanvasRenderingContext::wouldTaintOrigin): | |
| 399 (WebCore::CanvasRenderingContext::checkOrigin): | |
| 400 * html/canvas/CanvasRenderingContext.h: | |
| 401 (WebCore::CanvasRenderingContext::checkOrigin): | |
| 402 * html/canvas/WebGLRenderingContext.cpp: | |
| 403 (WebCore::WebGLRenderingContext::readPixels): | |
| 404 (WebCore::WebGLRenderingContext::texImage2D): | |
| 405 (WebCore::WebGLRenderingContext::videoFrameToImage): | |
| 406 (WebCore::WebGLRenderingContext::texSubImage2D): | |
| 407 * html/canvas/WebGLRenderingContext.h: | |
| 408 | |
| 409 2011-06-08 John Bauman <jbauman@chromium.org> | |
| 410 | |
| 411 Reviewed by James Robinson. | |
| 412 | |
| 413 Only draw portions of tiles in contentRect | |
| 414 https://bugs.webkit.org/show_bug.cgi?id=62243 | |
| 415 | |
| 416 Old garbage data can remain in tiles, so make sure to draw only those | |
| 417 portions that are supposed to be drawn. | |
| 418 | |
| 419 Test: compositing/repaint/shrink-layer.html | |
| 420 | |
| 421 * platform/graphics/chromium/LayerTilerChromium.cpp: | |
| 422 (WebCore::LayerTilerChromium::draw): | |
| 423 | |
| 424 2011-06-08 Emil A Eklund <eae@chromium.org> | |
| 425 | |
| 426 Reviewed by Eric Seidel. | |
| 427 | |
| 428 Convert RenderBlock::isPointInOverflowControl to IntPoint | |
| 429 https://bugs.webkit.org/show_bug.cgi?id=62312 | |
| 430 | |
| 431 Covered by existing tests. | |
| 432 | |
| 433 * rendering/RenderBlock.cpp: | |
| 434 (WebCore::RenderBlock::isPointInOverflowControl): | |
| 435 (WebCore::RenderBlock::nodeAtPoint): | |
| 436 * rendering/RenderBlock.h: | |
| 437 * rendering/RenderListBox.cpp: | |
| 438 (WebCore::RenderListBox::isPointInOverflowControl): | |
| 439 * rendering/RenderListBox.h: | |
| 440 | |
| 441 2011-06-08 James Simonsen <simonjam@chromium.org> | |
| 442 | |
| 443 Reviewed by Tony Gentilcore. | |
| 444 | |
| 445 Fix clang issue, virtual function const mismatch | |
| 446 https://bugs.webkit.org/show_bug.cgi?id=62307 | |
| 447 | |
| 448 No new tests. Built with clang & ran layout tests. | |
| 449 | |
| 450 * page/MediaStreamFrameController.h: | |
| 451 (WebCore::MediaStreamFrameController::GenericClient::isGenericClient): | |
| 452 | |
| 453 2011-06-08 Chris Rogers <crogers@google.com> | |
| 454 | |
| 455 Reviewed by Kenneth Russell. | |
| 456 | |
| 457 Implement BiquadFilterNode for filter types: LOWPASS, HIGHPASS, BANDPASS
, LOWSHELF, HIGHSHELF, PEAKING, NOTCH, ALLPASS | |
| 458 https://bugs.webkit.org/show_bug.cgi?id=62078 | |
| 459 | |
| 460 No new tests since audio API is not yet implemented. | |
| 461 | |
| 462 * DerivedSources.make: | |
| 463 * WebCore.gypi: | |
| 464 * WebCore.xcodeproj/project.pbxproj: | |
| 465 * platform/audio/Biquad.cpp: | |
| 466 (WebCore::Biquad::Biquad): | |
| 467 (WebCore::Biquad::reset): | |
| 468 (WebCore::Biquad::setLowpassParams): | |
| 469 (WebCore::Biquad::setHighpassParams): | |
| 470 (WebCore::Biquad::setNormalizedCoefficients): | |
| 471 (WebCore::Biquad::setLowShelfParams): | |
| 472 (WebCore::Biquad::setHighShelfParams): | |
| 473 (WebCore::Biquad::setPeakingParams): | |
| 474 (WebCore::Biquad::setAllpassParams): | |
| 475 (WebCore::Biquad::setNotchParams): | |
| 476 (WebCore::Biquad::setBandpassParams): | |
| 477 (WebCore::Biquad::setZeroPolePairs): | |
| 478 (WebCore::Biquad::setAllpassPole): | |
| 479 * platform/audio/Biquad.h: | |
| 480 * webaudio/AudioContext.cpp: | |
| 481 (WebCore::AudioContext::createBiquadFilter): | |
| 482 (WebCore::AudioContext::createLowPass2Filter): | |
| 483 (WebCore::AudioContext::createHighPass2Filter): | |
| 484 * webaudio/AudioContext.h: | |
| 485 * webaudio/AudioContext.idl: | |
| 486 * webaudio/AudioNode.h: | |
| 487 * webaudio/BiquadDSPKernel.cpp: | |
| 488 (WebCore::BiquadDSPKernel::process): | |
| 489 * webaudio/BiquadFilterNode.cpp: Added. | |
| 490 (WebCore::BiquadFilterNode::BiquadFilterNode): | |
| 491 * webaudio/BiquadFilterNode.h: Added. | |
| 492 (WebCore::BiquadFilterNode::create): | |
| 493 (WebCore::BiquadFilterNode::type): | |
| 494 (WebCore::BiquadFilterNode::setType): | |
| 495 (WebCore::BiquadFilterNode::frequency): | |
| 496 (WebCore::BiquadFilterNode::q): | |
| 497 (WebCore::BiquadFilterNode::gain): | |
| 498 (WebCore::BiquadFilterNode::biquadProcessor): | |
| 499 * webaudio/BiquadFilterNode.idl: Added. | |
| 500 * webaudio/BiquadProcessor.cpp: | |
| 501 (WebCore::BiquadProcessor::BiquadProcessor): | |
| 502 * webaudio/BiquadProcessor.h: | |
| 503 (WebCore::BiquadProcessor::setType): | |
| 504 * webaudio/HighPass2FilterNode.cpp: | |
| 505 (WebCore::HighPass2FilterNode::HighPass2FilterNode): | |
| 506 * webaudio/LowPass2FilterNode.cpp: | |
| 507 (WebCore::LowPass2FilterNode::LowPass2FilterNode): | |
| 508 | |
| 509 2011-06-08 No'am Rosenthal <noam.rosenthal@nokia.com> | |
| 510 | |
| 511 Reviewed by Kenneth Rohde Christiansen. | |
| 512 | |
| 513 WebKit2: Enable serializing of data types needed for cross-process accel
erated compositing | |
| 514 https://bugs.webkit.org/show_bug.cgi?id=61694 | |
| 515 | |
| 516 No new tests, code path is not activated yet. | |
| 517 | |
| 518 * WebCore.xcodeproj/project.pbxproj: Changed the TransformOperation subc
lassed from "project" to "private" | |
| 519 | |
| 520 2011-06-08 Tom Sepez <tsepez@chromium.org> | |
| 521 | |
| 522 Reviewed by Adam Barth. | |
| 523 | |
| 524 Cause checks for insecure content blocking policy to callback to client. | |
| 525 https://bugs.webkit.org/show_bug.cgi?id=61946 | |
| 526 Tests: platform/chromium/http/tests/security/mixedContent/insecure-image
-in-main-frame-allowed.html | |
| 527 platform/chromium/http/tests/security/mixedContent/insecure-image
-in-main-frame-blocked.html | |
| 528 platform/chromium/http/tests/security/mixedContent/insecure-scrip
t-in-main-frame-allowed.html | |
| 529 platform/chromium/http/tests/security/mixedContent/insecure-scrip
t-in-main-frame-blocked.html | |
| 530 | |
| 531 * loader/FrameLoader.cpp: | |
| 532 (WebCore::FrameLoader::checkIfDisplayInsecureContent): | |
| 533 (WebCore::FrameLoader::checkIfRunInsecureContent): | |
| 534 * loader/FrameLoaderClient.h: | |
| 535 (WebCore::FrameLoaderClient::allowDisplayingInsecureContent): | |
| 536 (WebCore::FrameLoaderClient::allowRunningInsecureContent): | |
| 537 | |
| 538 2011-06-08 Kevin Ollivier <kevino@theolliviers.com> | |
| 539 | |
| 540 [wx] Build fix after introduction of FontCache::ShouldRetain | |
| 541 | |
| 542 * platform/graphics/wx/FontCacheWx.cpp: | |
| 543 (WebCore::FontCache::getFontDataForCharacters): | |
| 544 | |
| 545 2011-06-08 Sheriff Bot <webkit.review.bot@gmail.com> | |
| 546 | |
| 547 Unreviewed, rolling out r88365. | |
| 548 http://trac.webkit.org/changeset/88365 | |
| 549 https://bugs.webkit.org/show_bug.cgi?id=62301 | |
| 550 | |
| 551 windows bots broken (Requested by loislo_ on #webkit). | |
| 552 | |
| 553 * inspector/InspectorValues.cpp: | |
| 554 (WebCore::InspectorBasicValue::writeJSON): | |
| 555 | |
| 556 2011-06-08 Mikołaj Małecki <m.malecki@samsung.com> | |
| 557 | |
| 558 Reviewed by Pavel Feldman. | |
| 559 | |
| 560 Web Inspector: Crash by buffer overrun crash when serializing inspector
object tree. | |
| 561 https://bugs.webkit.org/show_bug.cgi?id=52791 | |
| 562 | |
| 563 No new tests. The problem can be reproduced by trying to create Inspecto
rValue | |
| 564 from 1.0e-100 and call ->toJSONString() on this. | |
| 565 | |
| 566 * inspector/InspectorValues.cpp: | |
| 567 (WebCore::InspectorBasicValue::writeJSON): | |
| 568 Added checking the predicted buffer size and choosing exponential format
, or | |
| 569 eventually "NaN" if the buffer is too small for decimal format. | |
| 570 | |
| 571 2011-06-08 Nico Weber <thakis@chromium.org> | |
| 572 | |
| 573 Reviewed by Darin Adler. | |
| 574 | |
| 575 Fix a ?: precedence error in ScrollbarThemeMac and ScrollbarThemeChromiu
m | |
| 576 https://bugs.webkit.org/show_bug.cgi?id=62295 | |
| 577 | |
| 578 This was found by a new warning recently added to clang's -Wparentheses | |
| 579 | |
| 580 * platform/chromium/ScrollbarThemeChromiumMac.mm: | |
| 581 (WebCore::ScrollbarThemeChromiumMac::backButtonRect): | |
| 582 * platform/mac/ScrollbarThemeMac.mm: | |
| 583 (WebCore::ScrollbarThemeMac::backButtonRect): | |
| 584 | |
| 585 2011-06-08 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> | |
| 586 | |
| 587 Reviewed by Andreas Kling. | |
| 588 | |
| 589 [Qt] Remove dead code from our JSC bridge | |
| 590 https://bugs.webkit.org/show_bug.cgi?id=62287 | |
| 591 | |
| 592 The m_defaultMethod member is not used since r36848 and QtMethod | |
| 593 was replaced by QtRuntimeMethod and subclasses in r29729. | |
| 594 | |
| 595 * bridge/qt/qt_instance.cpp: | |
| 596 (JSC::Bindings::QtInstance::removeCachedMethod): | |
| 597 (JSC::Bindings::QtInstance::visitAggregate): | |
| 598 * bridge/qt/qt_instance.h: | |
| 599 * bridge/qt/qt_runtime.h: | |
| 600 | |
| 601 2011-06-08 Ryan Sleevi <rsleevi@chromium.org> | |
| 602 | |
| 603 Reviewed by Tony Chang. | |
| 604 | |
| 605 Suppress C++0x compat warnings when compiling Chromium port with GCC 4.6 | |
| 606 | |
| 607 Compiling Chromium port under GCC 4.6 produces warnings about nullptr | |
| 608 https://bugs.webkit.org/show_bug.cgi?id=62242 | |
| 609 | |
| 610 * WebCore.gyp/WebCore.gyp: | |
| 611 | |
| 612 2011-05-25 Xiaomei Ji <xji@chromium.org> | |
| 613 | |
| 614 Reviewed by Ryosuke Niwa. | |
| 615 | |
| 616 --webkit-visual-word does not work well in words separated by multiple s
paces | |
| 617 https://bugs.webkit.org/show_bug.cgi?id=61324 | |
| 618 | |
| 619 Remove positionBeforeNextWord and positionAfterPreviousWord short-cuts.
They try to find the | |
| 620 right word boundary (before the space or after the space) by using previ
ousWordPosition and | |
| 621 nextWordPosition. But they assume words are separated by single space an
d are not correct | |
| 622 for words separated by multiple spaces and words not separated by space. | |
| 623 | |
| 624 Consider positionBeforeNextWord() for example, | |
| 625 | |
| 626 First, it checks whether the current position is after the current word
by checking current | |
| 627 position's previousWordPosition's nextWordPosition is the same as curren
t position, which is | |
| 628 wrong for words separated by multiple spaces. For example, given words A
and B separated by | |
| 629 3 continuous spaces "A B", position "A|", "A |", and "A |" should all
be considered as | |
| 630 position after current word. But for position "A |", its previousWordPos
ition's | |
| 631 nextWordPosition is position "A|", which is different from its current p
osition, so the | |
| 632 current position is not considered as a position after current word, con
sequently, | |
| 633 instead of returning the right position as "A |B", positionBeforeNextW
ord returns the | |
| 634 position before next next word, as "A B |C". Similar happens for posit
ion "A |". | |
| 635 | |
| 636 Second, given 3 Chinese words "ABC" that are not segmented by space, whe
n cursor is at | |
| 637 "A|BC", positionBeforeNextWord() returns the same position after calling
current position's | |
| 638 nextWordPosition's previousWordPosition. It should returns position "AB|
C". | |
| 639 | |
| 640 For those cases, we will have to collect all the word breaks inside the
box and look for | |
| 641 the one at left or right of current position. | |
| 642 | |
| 643 * editing/visible_units.cpp: | |
| 644 (WebCore::leftWordPosition): | |
| 645 (WebCore::rightWordPosition): | |
| 646 | |
| 647 2011-06-08 Greg Simon <gregsimon@chromium.org> | |
| 648 | |
| 649 Reviewed by Dimitri Glazkov. | |
| 650 | |
| 651 Control Indexeddb backends from LayoutTestController | |
| 652 https://bugs.webkit.org/show_bug.cgi?id=61000 | |
| 653 | |
| 654 Test: storage/indexeddb/migrate-basics.html | |
| 655 | |
| 656 * storage/IDBBackingStore.h: | |
| 657 * storage/IDBFactoryBackendImpl.cpp: | |
| 658 (WebCore::IDBFactoryBackendImpl::open): | |
| 659 (WebCore::IDBFactoryBackendImpl::migrate): | |
| 660 * storage/IDBFactoryBackendImpl.h: | |
| 661 * storage/IDBFactoryBackendInterface.h: | |
| 662 * storage/IDBLevelDBBackingStore.cpp: | |
| 663 (WebCore::IDBLevelDBBackingStore::backingStoreExists): | |
| 664 * storage/IDBLevelDBBackingStore.h: | |
| 665 (WebCore::IDBLevelDBBackingStore::backingStoreType): | |
| 666 * storage/IDBSQLiteBackingStore.cpp: | |
| 667 (WebCore::IDBSQLiteBackingStore::backingStoreExists): | |
| 668 * storage/IDBSQLiteBackingStore.h: | |
| 669 (WebCore::IDBSQLiteBackingStore::backingStoreType): | |
| 670 | |
| 671 2011-06-08 Dmitry Lomov <dslomov@google.com> | |
| 672 | |
| 673 Reviewed by Adam Barth. | |
| 674 | |
| 675 https://bugs.webkit.org/show_bug.cgi?id=62164 | |
| 676 Remove "multi-threaded" logic in V8 DOMData, DOMDataStore and friends | |
| 677 This functionality is untested and unused: | |
| 678 This is an old code from Lockers-based implementation of WebWorkers in | |
| 679 V8 bindings, to make sure that DOM objects are released on the right thr
ead | |
| 680 even though GC could have happened on any thread. It is currently unused
(since | |
| 681 current model is one worker per process) and is being removed because ne
w implementation | |
| 682 of WebWorkers will be using V8 isolates. | |
| 683 | |
| 684 * WebCore.gypi: | |
| 685 * WebCore.pro: | |
| 686 * bindings/v8/ChildThreadDOMData.cpp: Removed. | |
| 687 * bindings/v8/ChildThreadDOMData.h: Removed. | |
| 688 * bindings/v8/DOMData.cpp: | |
| 689 (WebCore::DOMData::DOMData): | |
| 690 (WebCore::DOMData::getCurrent): | |
| 691 (WebCore::DOMData::getMainThreadStore): | |
| 692 * bindings/v8/DOMData.h: | |
| 693 (WebCore::DOMData::getStore): | |
| 694 (WebCore::DOMData::getCurrentMainThreadStore): | |
| 695 (WebCore::DOMData::handleWeakObject): | |
| 696 * bindings/v8/DOMDataStore.cpp: | |
| 697 (WebCore::DOMDataStore::DOMDataStore): | |
| 698 (WebCore::DOMDataStore::~DOMDataStore): | |
| 699 (WebCore::DOMDataStore::weakNodeCallback): | |
| 700 * bindings/v8/DOMDataStore.h: | |
| 701 * bindings/v8/MainThreadDOMData.cpp: Removed. | |
| 702 * bindings/v8/MainThreadDOMData.h: Removed. | |
| 703 * bindings/v8/V8DOMMap.cpp: | |
| 704 (WebCore::getDOMDataStore): | |
| 705 (WebCore::removeAllDOMObjects): | |
| 706 (WebCore::visitDOMNodes): | |
| 707 (WebCore::visitDOMObjects): | |
| 708 (WebCore::visitActiveDOMObjects): | |
| 709 (WebCore::visitDOMSVGElementInstances): | |
| 710 * bindings/v8/V8DOMMap.h: | |
| 711 * bindings/v8/V8GCController.cpp: | |
| 712 (WebCore::V8GCController::gcPrologue): | |
| 713 (WebCore::V8GCController::gcEpilogue): | |
| 714 * bindings/v8/WorkerScriptController.cpp: | |
| 715 (WebCore::WorkerScriptController::~WorkerScriptController): | |
| 716 | |
| 717 2011-06-08 Yael Aharon <yael.aharon@nokia.com> | |
| 718 | |
| 719 Reviewed by Andreas Kling. | |
| 720 | |
| 721 [Qt] Build fix for building QtWebKit inside of Qt. | |
| 722 https://bugs.webkit.org/show_bug.cgi?id=62280 | |
| 723 | |
| 724 Remove CONFIG=staticlib, because it causes the configure script to add -
lwebcore | |
| 725 into QtWebKit.prl. | |
| 726 | |
| 727 No new tests, as this is just a build fix. | |
| 728 | |
| 729 * WebCore.pri: | |
| 730 | |
| 731 2011-06-08 Vsevolod Vlasov <vsevik@chromium.org> | |
| 732 | |
| 733 Reviewed by Pavel Feldman. | |
| 734 | |
| 735 Web Inspector: Render non-document HTML resources as HTML | |
| 736 https://bugs.webkit.org/show_bug.cgi?id=58886 | |
| 737 | |
| 738 * English.lproj/localizedStrings.js: | |
| 739 * WebCore.gypi: | |
| 740 * WebCore.vcproj/WebCore.vcproj: | |
| 741 * inspector/front-end/NetworkItemView.js: | |
| 742 (WebInspector.NetworkItemView): | |
| 743 * inspector/front-end/Resource.js: | |
| 744 (WebInspector.Resource.prototype._mimeTypeIsConsistentWithType): | |
| 745 (WebInspector.Resource.prototype.hasErrorStatusCode): | |
| 746 * inspector/front-end/ResourceHTMLView.js: Added. | |
| 747 (WebInspector.ResourceHTMLView): | |
| 748 (WebInspector.ResourceHTMLView.prototype.hasContent): | |
| 749 (WebInspector.ResourceHTMLView.prototype.show): | |
| 750 (WebInspector.ResourceHTMLView.prototype.hide): | |
| 751 (WebInspector.ResourceHTMLView.prototype._createIFrame): | |
| 752 * inspector/front-end/ResourcePreviewView.js: Added. | |
| 753 (WebInspector.ResourcePreviewView): | |
| 754 (WebInspector.ResourcePreviewView.prototype.hasContent): | |
| 755 (WebInspector.ResourcePreviewView.prototype.show): | |
| 756 (WebInspector.ResourcePreviewView.prototype._ensureInnerViewShown.callba
ck): | |
| 757 (WebInspector.ResourcePreviewView.prototype._ensureInnerViewShown): | |
| 758 (WebInspector.ResourcePreviewView.prototype._createInnerView): | |
| 759 * inspector/front-end/Settings.js: | |
| 760 (WebInspector.Settings): | |
| 761 * inspector/front-end/WebKit.qrc: | |
| 762 * inspector/front-end/inspector.css: | |
| 763 (.resource-view.html iframe): | |
| 764 * inspector/front-end/inspector.html: | |
| 765 | |
| 766 2011-05-18 Pavel Podivilov <podivilov@chromium.org> | |
| 767 | |
| 768 Reviewed by Yury Semikhatsky. | |
| 769 | |
| 770 Web Inspector: hide script location to ui location conversion details fr
om ScriptsPanel. | |
| 771 https://bugs.webkit.org/show_bug.cgi?id=61035 | |
| 772 | |
| 773 * inspector/front-end/DebuggerPresentationModel.js: | |
| 774 (WebInspector.DebuggerPresentationModel.prototype.sourceFileForScriptURL
): | |
| 775 (WebInspector.DebuggerPresentationModel.prototype.scriptLocationToUILoca
tion.didRequestSourceMapping): | |
| 776 (WebInspector.DebuggerPresentationModel.prototype.scriptLocationToUILoca
tion): | |
| 777 * inspector/front-end/ScriptsPanel.js: | |
| 778 (WebInspector.ScriptsPanel.prototype.showAnchorLocation.didGetUILocation
): | |
| 779 (WebInspector.ScriptsPanel.prototype.showAnchorLocation): | |
| 780 | |
| 781 2011-06-08 Tommy Widenflycht <tommyw@google.com> | |
| 782 | |
| 783 Reviewed by Tony Gentilcore. | |
| 784 | |
| 785 StreamEvent | |
| 786 | |
| 787 Media Stream PeerConnection API: adding StreamEvent class | |
| 788 https://bugs.webkit.org/show_bug.cgi?id=61537 | |
| 789 | |
| 790 Tests for the Media Stream API will be provided by the bug 56587. | |
| 791 | |
| 792 * CMakeLists.txt: | |
| 793 * CodeGenerators.pri: | |
| 794 * DerivedSources.cpp: | |
| 795 * DerivedSources.make: | |
| 796 * GNUmakefile.list.am: | |
| 797 * WebCore.gypi: | |
| 798 * WebCore.pro: | |
| 799 * WebCore.vcproj/WebCore.vcproj: | |
| 800 * WebCore.xcodeproj/project.pbxproj: | |
| 801 * bindings/js/JSEventCustom.cpp: | |
| 802 (WebCore::toJS): | |
| 803 * bindings/v8/custom/V8EventCustom.cpp: | |
| 804 (WebCore::toV8): | |
| 805 * dom/DOMAllInOne.cpp: | |
| 806 * dom/Event.cpp: | |
| 807 (WebCore::Event::isStreamEvent): | |
| 808 * dom/Event.h: | |
| 809 * dom/StreamEvent.cpp: Added. | |
| 810 (WebCore::StreamEvent::create): | |
| 811 (WebCore::StreamEvent::StreamEvent): | |
| 812 (WebCore::StreamEvent::~StreamEvent): | |
| 813 (WebCore::StreamEvent::initStreamEvent): | |
| 814 (WebCore::StreamEvent::stream): | |
| 815 * dom/StreamEvent.h: Added. | |
| 816 (WebCore::StreamEvent::isStreamEvent): | |
| 817 * dom/StreamEvent.idl: Added. | |
| 818 | |
| 819 2011-06-08 Tommy Widenflycht <tommyw@google.com> | |
| 820 | |
| 821 Reviewed by Tony Gentilcore. | |
| 822 | |
| 823 Media Stream API: integrate the Track List objects into the existing cod
e. | |
| 824 https://bugs.webkit.org/show_bug.cgi?id=60205 | |
| 825 | |
| 826 Tests for the Media Stream API will be provided by the bug 56587. | |
| 827 | |
| 828 * dom/ExclusiveTrackList.cpp: | |
| 829 (WebCore::ExclusiveTrackList::select): | |
| 830 (WebCore::ExclusiveTrackList::trackFailed): | |
| 831 * dom/ExclusiveTrackList.h: | |
| 832 * dom/GeneratedStream.cpp: | |
| 833 (WebCore::GeneratedStream::create): | |
| 834 (WebCore::GeneratedStream::GeneratedStream): | |
| 835 (WebCore::GeneratedStream::streamEnded): | |
| 836 (WebCore::GeneratedStream::audioTracks): | |
| 837 (WebCore::GeneratedStream::videoTracks): | |
| 838 (WebCore::GeneratedStream::stop): | |
| 839 * dom/GeneratedStream.h: | |
| 840 * dom/GeneratedStream.idl: | |
| 841 * dom/MultipleTrackList.cpp: | |
| 842 (WebCore::MultipleTrackList::trackFailed): | |
| 843 (WebCore::MultipleTrackList::enable): | |
| 844 (WebCore::MultipleTrackList::disable): | |
| 845 * dom/MultipleTrackList.h: | |
| 846 * dom/Stream.h: | |
| 847 * dom/TrackList.cpp: | |
| 848 (WebCore::TrackList::clear): | |
| 849 (WebCore::TrackList::associateStream): | |
| 850 (WebCore::TrackList::associatedStreamLabel): | |
| 851 (WebCore::TrackList::trackFailed): | |
| 852 (WebCore::TrackList::scriptExecutionContext): | |
| 853 * dom/TrackList.h: | |
| 854 * page/MediaStreamClient.h: | |
| 855 * page/MediaStreamController.cpp: | |
| 856 (WebCore::MediaStreamController::enableAudioTrack): | |
| 857 (WebCore::MediaStreamController::disableAudioTrack): | |
| 858 (WebCore::MediaStreamController::selectVideoTrack): | |
| 859 (WebCore::MediaStreamController::streamGenerated): | |
| 860 (WebCore::MediaStreamController::audioTrackFailed): | |
| 861 (WebCore::MediaStreamController::videoTrackFailed): | |
| 862 * page/MediaStreamController.h: | |
| 863 * page/MediaStreamFrameController.cpp: | |
| 864 (WebCore::MediaStreamFrameController::unregister): | |
| 865 (WebCore::MediaStreamFrameController::enterDetachedState): | |
| 866 (WebCore::MediaStreamFrameController::disconnectFrame): | |
| 867 (WebCore::MediaStreamFrameController::enableAudioTrack): | |
| 868 (WebCore::MediaStreamFrameController::disableAudioTrack): | |
| 869 (WebCore::MediaStreamFrameController::selectVideoTrack): | |
| 870 (WebCore::MediaStreamFrameController::streamGenerated): | |
| 871 (WebCore::MediaStreamFrameController::audioTrackFailed): | |
| 872 (WebCore::MediaStreamFrameController::videoTrackFailed): | |
| 873 * page/MediaStreamFrameController.h: | |
| 874 (WebCore::MediaStreamFrameController::ClientBase::isGenericClient): | |
| 875 (WebCore::MediaStreamFrameController::GenericClient::GenericClient): | |
| 876 (WebCore::MediaStreamFrameController::GenericClient::~GenericClient): | |
| 877 (WebCore::MediaStreamFrameController::GenericClient::isGenericClient): | |
| 878 (WebCore::MediaStreamFrameController::GenericClient::unregister): | |
| 879 | |
| 880 2011-06-08 Pavel Podivilov <podivilov@chromium.org> | |
| 881 | |
| 882 Reviewed by Yury Semikhatsky. | |
| 883 | |
| 884 Web Inspector: [REGRESSION] breakpoints are not persisted. | |
| 885 https://bugs.webkit.org/show_bug.cgi?id=62273 | |
| 886 | |
| 887 * inspector/front-end/Settings.js: | |
| 888 | |
| 889 2011-06-08 Alexander Pavlov <apavlov@chromium.org> | |
| 890 | |
| 891 Reviewed by Yury Semikhatsky. | |
| 892 | |
| 893 Web Inspector: node selection is slow in the Elements panel. | |
| 894 https://bugs.webkit.org/show_bug.cgi?id=60813 | |
| 895 | |
| 896 Schedule full style updates rather than request all node styles from the
backend immediately. | |
| 897 | |
| 898 * inspector/front-end/StylesSidebarPane.js: | |
| 899 (WebInspector.StylesSidebarPane.prototype.update.reloadAllStyles): | |
| 900 (WebInspector.StylesSidebarPane.prototype.update): | |
| 901 | |
| 902 2011-06-08 Andreas Kling <andreas.kling@nokia.com> | |
| 903 | |
| 904 Reviewed by Laszlo Gombos. | |
| 905 | |
| 906 [Symbian] Float{32,64}Array and Int16Array fail to build. | |
| 907 https://bugs.webkit.org/show_bug.cgi?id=62219 | |
| 908 | |
| 909 For some reason, RVCT 2.x is moaning about "class member designated by | |
| 910 a using-declaration must be visible in a direct base class". | |
| 911 Apply same fix as r69122 and r76592. | |
| 912 | |
| 913 * html/canvas/Float32Array.h: | |
| 914 (WebCore::Float32Array::set): | |
| 915 * html/canvas/Float64Array.h: | |
| 916 (WebCore::Float64Array::set): | |
| 917 * html/canvas/Int16Array.h: | |
| 918 (WebCore::Int16Array::set): | |
| 919 | |
| 920 2011-06-08 Syed Idris Shah <syed.idris-shah@nokia.com> | |
| 921 | |
| 922 Reviewed by Andreas Kling. | |
| 923 | |
| 924 [Qt] GL_POINT_SPRITE and GL_VERTEX_PROGRAM_POINT_SIZE should be enabled
for desktop WebGL | |
| 925 https://bugs.webkit.org/show_bug.cgi?id=61945 | |
| 926 | |
| 927 For OpenGL ES we do not need these features. | |
| 928 These features are available via shaders in OpenGL ES. But for desktop W
ebGL using QtWebKit they should be enabled. | |
| 929 | |
| 930 LayoutTests/fast/canvas/webgl/point-size.html | |
| 931 | |
| 932 * platform/graphics/qt/GraphicsContext3DQt.cpp: | |
| 933 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): | |
| 934 | |
| 935 2011-06-08 Gyuyoung Kim <gyuyoung.kim@samsung.com> | |
| 936 | |
| 937 Unreviewed. Fix style error. | |
| 938 | |
| 939 * platform/efl/RenderThemeEfl.cpp: | |
| 940 * platform/efl/RenderThemeEfl.h: | |
| 941 | |
| 942 2011-06-08 Hironori Bono <hbono@chromium.org> | |
| 943 | |
| 944 Reviewed by Brent Fulgham. | |
| 945 | |
| 946 Add SpellCheck API | |
| 947 https://bugs.webkit.org/show_bug.cgi?id=59693 | |
| 948 | |
| 949 This change adds two SpellCheck API functions (addSpellcheckRange and | |
| 950 removeSpellcheckRange) and one attribute (spellcheckRange) discussed in | |
| 951 the public-webapps ML. This change is currently available only on Chromi
um. | |
| 952 | |
| 953 Tests: editing/spelling/spellcheck-api-pixel.html | |
| 954 editing/spelling/spellcheck-api.html | |
| 955 | |
| 956 * WebCore.gypi: | |
| 957 * bindings/generic/RuntimeEnabledFeatures.cpp: | |
| 958 * bindings/generic/RuntimeEnabledFeatures.h: | |
| 959 (WebCore::RuntimeEnabledFeatures::spellCheckAPIEnabled): | |
| 960 (WebCore::RuntimeEnabledFeatures::setSpellCheckAPIEnabled): | |
| 961 * dom/DocumentMarker.h: | |
| 962 (WebCore::DocumentMarker::length): | |
| 963 * dom/DocumentMarkerController.cpp: | |
| 964 (WebCore::DocumentMarkerController::userSpellingMarkersForNode): | |
| 965 (WebCore::DocumentMarkerController::addUserSpellingMarker): | |
| 966 (WebCore::DocumentMarkerController::removeUserSpellingMarker): | |
| 967 (WebCore::DocumentMarkerController::userSpellingNode): | |
| 968 * dom/DocumentMarkerController.h: | |
| 969 * html/HTMLDivElement.cpp: | |
| 970 (WebCore::HTMLDivElement::spellcheckRanges): | |
| 971 (WebCore::HTMLDivElement::addSpellcheckRange): | |
| 972 (WebCore::HTMLDivElement::removeSpellcheckRange): | |
| 973 * html/HTMLDivElement.h: | |
| 974 * html/HTMLDivElement.idl: | |
| 975 * html/HTMLInputElement.cpp: | |
| 976 (WebCore::HTMLInputElement::spellcheckRanges): | |
| 977 (WebCore::HTMLInputElement::addSpellcheckRange): | |
| 978 (WebCore::HTMLInputElement::removeSpellcheckRange): | |
| 979 * html/HTMLInputElement.h: | |
| 980 * html/HTMLInputElement.idl: | |
| 981 * html/HTMLTextAreaElement.cpp: | |
| 982 (WebCore::HTMLTextAreaElement::spellcheckRanges): | |
| 983 (WebCore::HTMLTextAreaElement::addSpellcheckRange): | |
| 984 (WebCore::HTMLTextAreaElement::removeSpellcheckRange): | |
| 985 * html/HTMLTextAreaElement.h: | |
| 986 * html/HTMLTextAreaElement.idl: | |
| 987 * html/SpellcheckRange.cpp: Added. | |
| 988 (WebCore::SpellcheckRange::SpellcheckRange): | |
| 989 (WebCore::SpellcheckRange::~SpellcheckRange): | |
| 990 * html/SpellcheckRange.h: Added. | |
| 991 (WebCore::SpellcheckRange::create): | |
| 992 (WebCore::SpellcheckRange::start): | |
| 993 (WebCore::SpellcheckRange::length): | |
| 994 (WebCore::SpellcheckRange::suggestions): | |
| 995 (WebCore::SpellcheckRange::options): | |
| 996 * html/SpellcheckRange.idl: Added. | |
| 997 * html/SpellcheckRangeList.cpp: Added. | |
| 998 (WebCore::SpellcheckRangeList::SpellcheckRangeList): | |
| 999 (WebCore::SpellcheckRangeList::~SpellcheckRangeList): | |
| 1000 (WebCore::SpellcheckRangeList::item): | |
| 1001 * html/SpellcheckRangeList.h: Added. | |
| 1002 (WebCore::SpellcheckRangeList::create): | |
| 1003 (WebCore::SpellcheckRangeList::isEmpty): | |
| 1004 (WebCore::SpellcheckRangeList::clear): | |
| 1005 (WebCore::SpellcheckRangeList::append): | |
| 1006 (WebCore::SpellcheckRangeList::remove): | |
| 1007 (WebCore::SpellcheckRangeList::length): | |
| 1008 * html/SpellcheckRangeList.idl: Added. | |
| 1009 * rendering/InlineTextBox.cpp: | |
| 1010 (WebCore::textCheckingLineStyleForMarkerType): | |
| 1011 (WebCore::InlineTextBox::paintDocumentMarkers): | |
| 1012 | |
| 1013 2011-06-07 Andrey Kosyakov <caseq@chromium.org> | |
| 1014 | |
| 1015 Reviewed by Pavel Feldman. | |
| 1016 | |
| 1017 Web Inspector: remove shadow dom inspection from Elements panel by defau
lt. | |
| 1018 https://bugs.webkit.org/show_bug.cgi?id=62188 | |
| 1019 | |
| 1020 This reverts r85751 | |
| 1021 | |
| 1022 * dom/Element.cpp: | |
| 1023 (WebCore::Element::ensureShadowRoot): | |
| 1024 (WebCore::Element::removeShadowRoot): | |
| 1025 * inspector/Inspector.json: | |
| 1026 * inspector/InspectorDOMAgent.cpp: | |
| 1027 (WebCore::InspectorDOMAgent::pushChildNodesToFrontend): | |
| 1028 (WebCore::InspectorDOMAgent::buildObjectForNode): | |
| 1029 (WebCore::InspectorDOMAgent::didInsertDOMNode): | |
| 1030 (WebCore::InspectorDOMAgent::didRemoveDOMNode): | |
| 1031 * inspector/InspectorDOMAgent.h: | |
| 1032 * inspector/front-end/DOMAgent.js: | |
| 1033 (WebInspector.DOMNode): | |
| 1034 (WebInspector.DOMNode.prototype._renumber): | |
| 1035 (WebInspector.DOMAgent.prototype._bindNodes): | |
| 1036 (WebInspector.DOMAgent.prototype.querySelectorAll): | |
| 1037 (WebInspector.DOMDispatcher.prototype.searchResults): | |
| 1038 * inspector/front-end/ElementsPanel.js: | |
| 1039 (WebInspector.ElementsPanel): | |
| 1040 (WebInspector.ElementsPanel.prototype._attributesUpdated): | |
| 1041 (WebInspector.ElementsPanel.prototype._characterDataModified): | |
| 1042 (WebInspector.ElementsPanel.prototype._nodeInserted): | |
| 1043 (WebInspector.ElementsPanel.prototype._nodeRemoved): | |
| 1044 (WebInspector.ElementsPanel.prototype.updateModifiedNodes): | |
| 1045 (WebInspector.ElementsPanel.prototype.updateBreadcrumb): | |
| 1046 * inspector/front-end/ElementsTreeOutline.js: | |
| 1047 (WebInspector.ElementsTreeElement): | |
| 1048 (WebInspector.ElementsTreeElement.prototype._updateChildren.updateChildr
enOfNode): | |
| 1049 (WebInspector.ElementsTreeElement.prototype._updateChildren): | |
| 1050 (): | |
| 1051 * inspector/front-end/inspector.css: | |
| 1052 * inspector/front-end/utilities.js: | |
| 1053 (Element.prototype.query): | |
| 1054 | |
| 1055 2011-06-08 Mark Rowe <mrowe@apple.com> | |
| 1056 | |
| 1057 Fix the build. | |
| 1058 | |
| 1059 * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp: | |
| 1060 (WebCore::MediaPlayerPrivateAVFoundation::timeChanged): | |
| 1061 (WebCore::MediaPlayerPrivateAVFoundation::seekCompleted): | |
| 1062 | |
| 1063 2011-06-07 Keishi Hattori <keishi@webkit.org> | |
| 1064 | |
| 1065 Reviewed by Kent Tamura. | |
| 1066 | |
| 1067 Rename HTMLInputElement::m_value to m_valueIfDirty | |
| 1068 https://bugs.webkit.org/show_bug.cgi?id=61990 | |
| 1069 | |
| 1070 No new tests because no behavior change. | |
| 1071 | |
| 1072 * html/HTMLInputElement.cpp: Replaced m_value with m_valueIfDirty. | |
| 1073 (WebCore::HTMLInputElement::tooLong): | |
| 1074 (WebCore::HTMLInputElement::updateType): | |
| 1075 (WebCore::HTMLInputElement::parseMappedAttribute): | |
| 1076 (WebCore::HTMLInputElement::copyNonAttributeProperties): | |
| 1077 (WebCore::HTMLInputElement::value): | |
| 1078 (WebCore::HTMLInputElement::setValue): | |
| 1079 (WebCore::HTMLInputElement::setValueFromRenderer): | |
| 1080 (WebCore::HTMLInputElement::updateValueIfNeeded): | |
| 1081 * html/HTMLInputElement.h: Renamed m_value to m_valueIfDirty. | |
| 1082 (WebCore::HTMLInputElement::hasDirtyValue): Added. Returns the dirty val
ue flag. | |
| 1083 | |
| 1084 2011-06-07 Ian Henderson <ianh@apple.com> | |
| 1085 | |
| 1086 Reviewed by Dan Bernstein. | |
| 1087 | |
| 1088 (CG) Sub-image drawing clips unnecessarily | |
| 1089 https://bugs.webkit.org/show_bug.cgi?id=62258 | |
| 1090 | |
| 1091 If destRect completely encompasses the adjustedDestRect into which we | |
| 1092 draw, clipping to destRect will do nothing. Skip the call to | |
| 1093 CGContextClipToRect in this case. | |
| 1094 | |
| 1095 * platform/graphics/cg/ImageCG.cpp: | |
| 1096 (WebCore::BitmapImage::draw): | |
| 1097 | |
| 1098 2011-06-07 Emil A Eklund <eae@chromium.org> | |
| 1099 | |
| 1100 Reviewed by Eric Seidel. | |
| 1101 | |
| 1102 Convert nodeAtPoint to IntPoint | |
| 1103 https://bugs.webkit.org/show_bug.cgi?id=62145 | |
| 1104 | |
| 1105 Convert nodeAtPoint to take an IntPoint instead of a pair of ints for th
e | |
| 1106 accumulated offset. | |
| 1107 | |
| 1108 Covered by existing tests. | |
| 1109 | |
| 1110 * platform/graphics/FloatPoint.h: | |
| 1111 (WebCore::FloatPoint::moveBy): | |
| 1112 Add moveBy(IntPoint) method | |
| 1113 | |
| 1114 * rendering/EllipsisBox.cpp: | |
| 1115 (WebCore::EllipsisBox::nodeAtPoint): | |
| 1116 * rendering/EllipsisBox.h: | |
| 1117 * rendering/InlineBox.cpp: | |
| 1118 (WebCore::InlineBox::nodeAtPoint): | |
| 1119 * rendering/InlineBox.h: | |
| 1120 * rendering/InlineFlowBox.cpp: | |
| 1121 (WebCore::InlineFlowBox::nodeAtPoint): | |
| 1122 * rendering/InlineFlowBox.h: | |
| 1123 * rendering/InlineTextBox.cpp: | |
| 1124 (WebCore::InlineTextBox::nodeAtPoint): | |
| 1125 * rendering/InlineTextBox.h: | |
| 1126 * rendering/RenderBlock.cpp: | |
| 1127 (WebCore::RenderBlock::nodeAtPoint): | |
| 1128 (WebCore::RenderBlock::hitTestContents): | |
| 1129 * rendering/RenderBlock.h: | |
| 1130 * rendering/RenderBox.cpp: | |
| 1131 (WebCore::RenderBox::nodeAtPoint): | |
| 1132 * rendering/RenderBox.h: | |
| 1133 * rendering/RenderFrameSet.cpp: | |
| 1134 (WebCore::RenderFrameSet::nodeAtPoint): | |
| 1135 * rendering/RenderFrameSet.h: | |
| 1136 * rendering/RenderImage.cpp: | |
| 1137 (WebCore::RenderImage::nodeAtPoint): | |
| 1138 * rendering/RenderImage.h: | |
| 1139 * rendering/RenderInline.cpp: | |
| 1140 (WebCore::RenderInline::nodeAtPoint): | |
| 1141 * rendering/RenderInline.h: | |
| 1142 * rendering/RenderLineBoxList.cpp: | |
| 1143 (WebCore::RenderLineBoxList::hitTest): | |
| 1144 * rendering/RenderListBox.cpp: | |
| 1145 (WebCore::RenderListBox::nodeAtPoint): | |
| 1146 * rendering/RenderListBox.h: | |
| 1147 * rendering/RenderObject.cpp: | |
| 1148 (WebCore::RenderObject::hitTest): | |
| 1149 * rendering/RenderObject.h: | |
| 1150 * rendering/RenderTable.cpp: | |
| 1151 (WebCore::RenderTable::nodeAtPoint): | |
| 1152 * rendering/RenderTable.h: | |
| 1153 * rendering/RenderTableRow.cpp: | |
| 1154 (WebCore::RenderTableRow::nodeAtPoint): | |
| 1155 * rendering/RenderTableRow.h: | |
| 1156 * rendering/RenderTableSection.cpp: | |
| 1157 (WebCore::RenderTableSection::nodeAtPoint): | |
| 1158 * rendering/RenderTableSection.h: | |
| 1159 * rendering/RenderText.h: | |
| 1160 (WebCore::RenderText::nodeAtPoint): | |
| 1161 * rendering/RenderTextControlMultiLine.cpp: | |
| 1162 (WebCore::RenderTextControlMultiLine::nodeAtPoint): | |
| 1163 * rendering/RenderTextControlMultiLine.h: | |
| 1164 * rendering/RenderTextControlSingleLine.cpp: | |
| 1165 (WebCore::RenderTextControlSingleLine::nodeAtPoint): | |
| 1166 * rendering/RenderTextControlSingleLine.h: | |
| 1167 * rendering/RenderWidget.cpp: | |
| 1168 (WebCore::RenderWidget::nodeAtPoint): | |
| 1169 * rendering/RenderWidget.h: | |
| 1170 * rendering/RootInlineBox.cpp: | |
| 1171 (WebCore::RootInlineBox::nodeAtPoint): | |
| 1172 * rendering/RootInlineBox.h: | |
| 1173 * rendering/svg/RenderSVGForeignObject.cpp: | |
| 1174 (WebCore::RenderSVGForeignObject::nodeAtFloatPoint): | |
| 1175 (WebCore::RenderSVGForeignObject::nodeAtPoint): | |
| 1176 * rendering/svg/RenderSVGForeignObject.h: | |
| 1177 * rendering/svg/RenderSVGModelObject.cpp: | |
| 1178 (WebCore::RenderSVGModelObject::nodeAtPoint): | |
| 1179 * rendering/svg/RenderSVGModelObject.h: | |
| 1180 * rendering/svg/RenderSVGRoot.cpp: | |
| 1181 (WebCore::RenderSVGRoot::nodeAtPoint): | |
| 1182 * rendering/svg/RenderSVGRoot.h: | |
| 1183 * rendering/svg/RenderSVGText.cpp: | |
| 1184 (WebCore::RenderSVGText::nodeAtFloatPoint): | |
| 1185 (WebCore::RenderSVGText::nodeAtPoint): | |
| 1186 * rendering/svg/RenderSVGText.h: | |
| 1187 | |
| 1188 2011-06-07 Yi Shen <yi.4.shen@nokia.com> | |
| 1189 | |
| 1190 Reviewed by Simon Hausmann. | |
| 1191 | |
| 1192 [Qt] Fix the error code for media resource failures when using QtMobilit
y | |
| 1193 https://bugs.webkit.org/show_bug.cgi?id=55901 | |
| 1194 | |
| 1195 To indicate the media resource failures, set the network state to | |
| 1196 MediaPlayer::FormatError when receives QMediaPlayer::InvalidMedia or | |
| 1197 QMediaPlayer::ResourceError. | |
| 1198 | |
| 1199 * platform/graphics/qt/MediaPlayerPrivateQt.cpp: | |
| 1200 (WebCore::MediaPlayerPrivateQt::updateStates): | |
| 1201 | |
| 1202 2011-06-07 Emil A Eklund <eae@chromium.org> | |
| 1203 | |
| 1204 Reviewed by Eric Seidel. | |
| 1205 | |
| 1206 Change RenderBlock::hitTestFloats to IntPoint | |
| 1207 https://bugs.webkit.org/show_bug.cgi?id=62176 | |
| 1208 | |
| 1209 Covered by existing tests. | |
| 1210 | |
| 1211 * rendering/RenderBlock.cpp: | |
| 1212 (WebCore::RenderBlock::nodeAtPoint): | |
| 1213 (WebCore::RenderBlock::hitTestFloats): | |
| 1214 (WebCore::RenderBlock::hitTestColumns): | |
| 1215 * rendering/RenderBlock.h: | |
| 1216 | |
| 1217 2011-06-07 Tim Horton <timothy_horton@apple.com> | |
| 1218 | |
| 1219 Reviewed by Alexey Proskuryakov. | |
| 1220 | |
| 1221 Use correct CFURLStorageSessionRef definition on Snow Leopard | |
| 1222 https://bugs.webkit.org/show_bug.cgi?id=62223 | |
| 1223 | |
| 1224 * platform/mac/WebCoreSystemInterface.h: | |
| 1225 * platform/network/ResourceHandle.h: | |
| 1226 * platform/network/cf/ResourceRequest.h: | |
| 1227 | |
| 1228 2011-06-07 Emil A Eklund <eae@chromium.org> | |
| 1229 | |
| 1230 Reviewed by Eric Seidel. | |
| 1231 | |
| 1232 Change RenderBlock::hitTestColumns to IntPoint | |
| 1233 https://bugs.webkit.org/show_bug.cgi?id=62172 | |
| 1234 | |
| 1235 Covered by existing tests. | |
| 1236 | |
| 1237 * rendering/RenderBlock.cpp: | |
| 1238 (WebCore::RenderBlock::nodeAtPoint): | |
| 1239 (WebCore::RenderBlock::hitTestColumns): | |
| 1240 * rendering/RenderBlock.h: | |
| 1241 | |
| 1242 2011-06-07 Simon Fraser <simon.fraser@apple.com> | |
| 1243 | |
| 1244 Reviewed by Darin Adler. | |
| 1245 | |
| 1246 Opacity transition doesn't work while content property is set. | |
| 1247 https://bugs.webkit.org/show_bug.cgi?id=59301 | |
| 1248 | |
| 1249 StyleRareNonInheritedData's copy constructor omitted to copy | |
| 1250 the m_content data, which caused us to detach and re-attach the renderer | |
| 1251 at the start of the transition, thereby killing the transition. | |
| 1252 | |
| 1253 Fix by making StyleRareNonInheritedData's copy ctor do the right thing. | |
| 1254 | |
| 1255 Test: transitions/transition-on-element-with-content.html | |
| 1256 | |
| 1257 * rendering/style/ContentData.h: | |
| 1258 * rendering/style/ContentData.cpp: | |
| 1259 (WebCore::ContentData::clone): New method to do a deep clone. (Can't use
a copy | |
| 1260 ctor because of the subclasses.) | |
| 1261 * rendering/style/CounterDirectives.h: Pack the data members to save spa
ce. | |
| 1262 Add a clone() function for the HashMap. | |
| 1263 * rendering/style/CounterDirectives.cpp: | |
| 1264 (WebCore::clone): Make a new HashMap and copy the contents over. | |
| 1265 * rendering/style/StyleRareNonInheritedData.cpp: | |
| 1266 (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData): Copy | |
| 1267 the content and counter directives over. | |
| 1268 (WebCore::StyleRareNonInheritedData::operator==): Rather than just compa
ring | |
| 1269 for pointer equality, do a correct check for m_counterDirectives equalit
y. | |
| 1270 (WebCore::StyleRareNonInheritedData::counterDataEquivalent): | |
| 1271 * rendering/style/StyleRareNonInheritedData.h: | |
| 1272 | |
| 1273 2011-06-07 Robert Kroeger <rjkroege@chromium.org> | |
| 1274 | |
| 1275 Reviewed by Adam Barth. | |
| 1276 | |
| 1277 [chromium] Add a basic gesture recognizer to the Chromium platform | |
| 1278 https://bugs.webkit.org/show_bug.cgi?id=54417 | |
| 1279 | |
| 1280 Adds a basic gesture recognizer to the Chromium platform. Adds an entry | |
| 1281 point to the GestureRecognizer to reset any internal state on a page res
et. | |
| 1282 Resetting the gesture recognizer on page load is necesary for reliable | |
| 1283 layout test execution and improves gesture recognizer operational | |
| 1284 robustness. | |
| 1285 | |
| 1286 Added an additional constructor to permit building a synthetic | |
| 1287 PlatformWheelEvent. | |
| 1288 | |
| 1289 Small modifications to the PlatformGestureRecognizer as required to | |
| 1290 implement the simple Chromium platform gesture recognizer. | |
| 1291 | |
| 1292 Tests: fast/events/touch/touch-gesture-click.html | |
| 1293 | |
| 1294 * WebCore.gypi: | |
| 1295 * page/EventHandler.cpp: | |
| 1296 (WebCore::EventHandler::resetGestureRecognizer): | |
| 1297 * page/EventHandler.h: | |
| 1298 * page/FrameView.cpp: | |
| 1299 (WebCore::FrameView::reset): | |
| 1300 * platform/PlatformGestureRecognizer.h: | |
| 1301 * platform/PlatformWheelEvent.h: | |
| 1302 (WebCore::PlatformWheelEvent::PlatformWheelEvent): | |
| 1303 * platform/chromium/GestureRecognizerChromium.cpp: Added. | |
| 1304 (WebCore::InnerGestureRecognizer::InnerGestureRecognizer): | |
| 1305 (WebCore::InnerGestureRecognizer::reset): | |
| 1306 (WebCore::InnerGestureRecognizer::~InnerGestureRecognizer): | |
| 1307 (WebCore::InnerGestureRecognizer::addEdgeFunction): | |
| 1308 (WebCore::InnerGestureRecognizer::isInClickTimeWindow): | |
| 1309 (WebCore::InnerGestureRecognizer::isInsideManhattanSquare): | |
| 1310 (WebCore::InnerGestureRecognizer::dispatchSyntheticClick): | |
| 1311 (WebCore::InnerGestureRecognizer::processTouchEventForGesture): | |
| 1312 (WebCore::InnerGestureRecognizer::scrollViaTouchMotion): | |
| 1313 (WebCore::InnerGestureRecognizer::updateValues): | |
| 1314 (WebCore::InnerGestureRecognizer::signature): | |
| 1315 (WebCore::touchDown): | |
| 1316 (WebCore::noGesture): | |
| 1317 (WebCore::click): | |
| 1318 (WebCore::isClickOrScroll): | |
| 1319 (WebCore::inScroll): | |
| 1320 (WebCore::PlatformGestureRecognizer::create): | |
| 1321 (WebCore::PlatformGestureRecognizer::PlatformGestureRecognizer): | |
| 1322 (WebCore::PlatformGestureRecognizer::~PlatformGestureRecognizer): | |
| 1323 (WebCore::GestureRecognizerChromium::GestureRecognizerChromium): | |
| 1324 (WebCore::GestureRecognizerChromium::~GestureRecognizerChromium): | |
| 1325 * platform/chromium/GestureRecognizerChromium.h: Added. | |
| 1326 (WebCore::InnerGestureRecognizer::setState): | |
| 1327 (WebCore::InnerGestureRecognizer::state): | |
| 1328 (WebCore::GestureRecognizerChromium::reset): | |
| 1329 (WebCore::GestureRecognizerChromium::processTouchEventForGesture): | |
| 1330 | |
| 1331 2011-06-07 No'am Rosenthal <noam.rosenthal@nokia.com> | |
| 1332 | |
| 1333 Reviewed by Andreas Kling. | |
| 1334 | |
| 1335 [Texmap][Qt] Enable TextureMapper by default | |
| 1336 https://bugs.webkit.org/show_bug.cgi?id=61740 | |
| 1337 | |
| 1338 Enable TextureMapper on Windows+Symbian, disabling the direct OpenGL pat
h. This would mean that | |
| 1339 for now QtWebKit on Windows/Symbian would use the Qt backend for Texture
Mapper. | |
| 1340 | |
| 1341 No new functionality so no new tests. | |
| 1342 | |
| 1343 * WebCore.pri: | |
| 1344 * WebCore.pro: | |
| 1345 * platform/graphics/qt/GraphicsContext3DQt.cpp: | |
| 1346 * platform/graphics/qt/TextureMapperQt.cpp: | |
| 1347 (WebCore::TextureMapper::create): | |
| 1348 | |
| 1349 2011-06-07 Emil A Eklund <eae@chromium.org> | |
| 1350 | |
| 1351 Reviewed by Eric Seidel. | |
| 1352 | |
| 1353 Convert RenderBox::absoluteRects to IntPoint | |
| 1354 https://bugs.webkit.org/show_bug.cgi?id=62130 | |
| 1355 | |
| 1356 Covered by existing tests. | |
| 1357 | |
| 1358 * dom/Node.cpp: | |
| 1359 (WebCore::Node::hasNonEmptyBoundingBox): | |
| 1360 * rendering/InlineBox.h: | |
| 1361 (WebCore::InlineBox::size): | |
| 1362 * rendering/RenderBlock.cpp: | |
| 1363 (WebCore::RenderBlock::absoluteRects): | |
| 1364 * rendering/RenderBlock.h: | |
| 1365 * rendering/RenderBox.cpp: | |
| 1366 (WebCore::RenderBox::absoluteRects): | |
| 1367 * rendering/RenderBox.h: | |
| 1368 * rendering/RenderInline.cpp: | |
| 1369 (WebCore::RenderInline::absoluteRects): | |
| 1370 * rendering/RenderInline.h: | |
| 1371 * rendering/RenderObject.cpp: | |
| 1372 (WebCore::RenderObject::absoluteBoundingBoxRect): | |
| 1373 * rendering/RenderObject.h: | |
| 1374 (WebCore::RenderObject::absoluteRects): | |
| 1375 * rendering/RenderText.cpp: | |
| 1376 (WebCore::RenderText::absoluteRects): | |
| 1377 * rendering/RenderText.h: | |
| 1378 * rendering/RenderView.cpp: | |
| 1379 (WebCore::RenderView::absoluteRects): | |
| 1380 * rendering/RenderView.h: | |
| 1381 * rendering/svg/RenderSVGBlock.cpp: | |
| 1382 (WebCore::RenderSVGBlock::absoluteRects): | |
| 1383 * rendering/svg/RenderSVGBlock.h: | |
| 1384 * rendering/svg/RenderSVGModelObject.cpp: | |
| 1385 (WebCore::RenderSVGModelObject::absoluteRects): | |
| 1386 * rendering/svg/RenderSVGModelObject.h: | |
| 1387 | |
| 1388 2011-06-07 Kent Tamura <tkent@chromium.org> | |
| 1389 | |
| 1390 Reviewed by Andreas Kling. | |
| 1391 | |
| 1392 [Qt] RenderThemeQt::adjustSliderThumbSize() should not refer to the pare
nt style. | |
| 1393 https://bugs.webkit.org/show_bug.cgi?id=62207 | |
| 1394 | |
| 1395 * css/mediaControlsQt.css: Add comments. | |
| 1396 (audio::-webkit-media-controls-timeline): | |
| 1397 (video::-webkit-media-controls-timeline): | |
| 1398 (audio::-webkit-media-controls-volume-slider): | |
| 1399 (video::-webkit-media-controls-volume-slider): | |
| 1400 * platform/qt/RenderThemeQt.cpp: Use fixed values to avoid referring to
o->parent(). | |
| 1401 (WebCore::RenderThemeQt::adjustSliderThumbSize): | |
| 1402 | |
| 1403 2011-06-07 Sailesh Agrawal <sail@chromium.org> | 1 2011-06-07 Sailesh Agrawal <sail@chromium.org> |
| 1404 | 2 |
| 1405 Reviewed by Mihai Parparita. | 3 Reviewed by Mihai Parparita. |
| 1406 | 4 |
| 1407 Chromium Mac: Fork ScrollAnimatorMac to ScrollAnimatorChromiumMac for ov
erlay scrollbar support | 5 Chromium Mac: Fork ScrollAnimatorMac to ScrollAnimatorChromiumMac for ov
erlay scrollbar support |
| 1408 https://bugs.webkit.org/show_bug.cgi?id=59753 | 6 https://bugs.webkit.org/show_bug.cgi?id=59753 |
| 1409 | 7 |
| 1410 No new tests. Just forking ScrollAnimatorMac to ScrollAnimatorChromiumMa
c. | 8 No new tests. Just forking ScrollAnimatorMac to ScrollAnimatorChromiumMa
c. |
| 1411 | 9 |
| 1412 * WebCore.gyp/WebCore.gyp: Added IntPointMac.mm. This is used by some fu
nctions in ScrollAnimatorChromiumMac. Also added filters for conflicting class n
ames in ScrollAnimatorChromiumMac. | 10 * WebCore.gyp/WebCore.gyp: Added IntPointMac.mm. This is used by some fu
nctions in ScrollAnimatorChromiumMac. Also added filters for conflicting class n
ames in ScrollAnimatorChromiumMac. |
| (...skipping 1651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3064 fast/viewport/viewport-45.html fails in GTK+/Qt | 1662 fast/viewport/viewport-45.html fails in GTK+/Qt |
| 3065 https://bugs.webkit.org/show_bug.cgi?id=47481 | 1663 https://bugs.webkit.org/show_bug.cgi?id=47481 |
| 3066 | 1664 |
| 3067 computeViewportAttributes does many math operations with float point ari
thmetic | 1665 computeViewportAttributes does many math operations with float point ari
thmetic |
| 3068 and in some cases there is loss of precision making tests have incorrect
values. | 1666 and in some cases there is loss of precision making tests have incorrect
values. |
| 3069 | 1667 |
| 3070 * dom/ViewportArguments.cpp: | 1668 * dom/ViewportArguments.cpp: |
| 3071 (WebCore::computeViewportAttributes): | 1669 (WebCore::computeViewportAttributes): |
| 3072 | 1670 |
| 3073 == Rolled over to ChangeLog-2011-06-04 == | 1671 == Rolled over to ChangeLog-2011-06-04 == |
| OLD | NEW |