src/3rdparty/webkit/WebCore/ChangeLog
changeset 19 fcece45ef507
parent 18 2f34d5167611
child 22 79de32ba3296
equal deleted inserted replaced
18:2f34d5167611 19:fcece45ef507
       
     1 2010-03-25  yael aharon  <yael.aharon@nokia.com>
       
     2 
       
     3         Reviewed by Laszlo Gombos.
       
     4 
       
     5         [Qt] Windowed netscape plugins don't work with QGraphicsWebView on Symbian
       
     6         https://bugs.webkit.org/show_bug.cgi?id=35112
       
     7 
       
     8         Add a proxy widget when loading a QWidget based plugin in a QGraphicsWebView.
       
     9 
       
    10         * plugins/symbian/PluginContainerSymbian.cpp:
       
    11         (PluginContainerSymbian::PluginContainerSymbian):
       
    12         (PluginContainerSymbian::focusInEvent):
       
    13         * plugins/symbian/PluginContainerSymbian.h:
       
    14         (WebCore::PluginContainerSymbian::proxy):
       
    15         * plugins/symbian/PluginViewSymbian.cpp:
       
    16         (WebCore::PluginView::updatePluginWidget):
       
    17         (WebCore::PluginView::platformStart):
       
    18         (WebCore::PluginView::platformDestroy):
       
    19 
       
    20 2010-03-29  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
       
    21 
       
    22         Reviewed for the Qt 4.6 branch by Simon Hausmann.
       
    23 
       
    24         Accept XHTML-MP content type as XHTML content
       
    25         https://bugs.webkit.org/show_bug.cgi?id=34262
       
    26 
       
    27         Enable processing XHTML-MP mime type as an XHTML document
       
    28         even if XHTML-MP support is not enabled.
       
    29 
       
    30         * platform/MIMETypeRegistry.cpp:
       
    31         (WebCore::initializeSupportedNonImageMimeTypes):
       
    32 
       
    33 2010-03-22  Jakub Wieczorek  <jwieczorek@webkit.org>
       
    34 
       
    35         Reviewed by Simon Hausmann.
       
    36 
       
    37         [Qt] Don't construct a QLineEdit every time when painting a text field
       
    38         https://bugs.webkit.org/show_bug.cgi?id=36373
       
    39 
       
    40         Instead, keep one instance per RenderTheme around.
       
    41 
       
    42         * platform/qt/RenderThemeQt.cpp:
       
    43         (WebCore::findFrameLineWidth):
       
    44 
       
    45 2010-03-26  Janne Koskinen  <janne.p.koskinen@digia.com>
       
    46 
       
    47         Reviewed by Laszlo Gombos.
       
    48 
       
    49         Don't undefine SKIP_STATIC_CONSTRUCTORS_ON_GCC for Symbian HW targets.
       
    50         https://bugs.webkit.org/show_bug.cgi?id=34081
       
    51 
       
    52         Defining StringImpl instances as globals will cause a crash on process exit as 
       
    53         StringImpl::Remove expects TLS which was already deleted at time of exiting main and ends up
       
    54         constructing one exiting thread.
       
    55 
       
    56         * config.h:
       
    57 
       
    58 2010-02-02  Alexey Proskuryakov  <ap@apple.com>
       
    59 
       
    60         Reviewed by Darin Adler.
       
    61 
       
    62         https://bugs.webkit.org/show_bug.cgi?id=34076
       
    63         <rdar://problem/7594601> Crash in mangleme in WebCore::Element::getAttribute
       
    64 
       
    65         Test: fast/forms/misplaced-img-form-registration.html
       
    66 
       
    67         * html/HTMLFormElement.cpp:
       
    68         (WebCore::HTMLFormElement::registerImgElement): Assert that the same image isn't added
       
    69         to vector again.
       
    70         (WebCore::HTMLFormElement::removeImgElement): Similarly, assert that we're removing something
       
    71         that's actually registered.
       
    72 
       
    73         * html/HTMLImageElement.cpp: (WebCore::HTMLImageElement::~HTMLImageElement): If parser fails
       
    74         to insert the image element, then there will be no removed from tree notification either,
       
    75         need to unregister right away.
       
    76 
       
    77 2010-01-25  Alexey Proskuryakov  <ap@apple.com>
       
    78 
       
    79         Rubber-stamped by Geoffrey Garen.
       
    80 
       
    81         https://bugs.webkit.org/show_bug.cgi?id=34076
       
    82         An image remains accessible via form.property syntax after being removed from document.
       
    83 
       
    84         Fix crashing regression tests (tables/mozilla/bugs/bug4527.html et al.)
       
    85 
       
    86         * html/HTMLImageElement.cpp: (WebCore::HTMLImageElement::insertedIntoTree): Remove incorrect
       
    87         assertions added in the previous patch - it's mot true that m_for is always a parent; table
       
    88         parsing can reparent the image element, but m_form still needs to be set.
       
    89 
       
    90 2010-01-25  Alexey Proskuryakov  <ap@apple.com>
       
    91 
       
    92         Reviewed by Geoffrey Garen.
       
    93 
       
    94         https://bugs.webkit.org/show_bug.cgi?id=34076
       
    95         An image remains accessible via form.property syntax after being removed from document.
       
    96 
       
    97         Tests: fast/forms/removed-image-as-property.html
       
    98                fast/forms/reparented-image-as-property.html
       
    99 
       
   100         * html/HTMLImageElement.cpp:
       
   101         (WebCore::HTMLImageElement::~HTMLImageElement): This is called during GC - not a good time
       
   102         to make observable changes to DOM.
       
   103         (WebCore::HTMLImageElement::insertedIntoTree): This is the right place to do any work that
       
   104         depends on connectedness to some ancestor. We still allow for m_form to be set via constructor,
       
   105         which happens during parsing.
       
   106         (WebCore::HTMLImageElement::removedFromTree): Ditto.
       
   107 
       
   108         * html/HTMLImageElement.h: Added removedFromTree/insertedIntoTree, moved removedFromDocument
       
   109         and insertedIntoDocument to private section, as they shouldn't be called directly.
       
   110 
       
   111 2009-12-08  Brady Eidson  <beidson@apple.com>
       
   112 
       
   113         Reviewed by Darin Adler.
       
   114 
       
   115         Navigating to a cached page can result in accessing a destroyed HTMLInputElement.
       
   116         <rdar://problem/6856662> and https://webkit.org/b/32293
       
   117 
       
   118         Test: fast/loader/input-element-page-cache-crash.html
       
   119 
       
   120         * html/HTMLInputElement.cpp:
       
   121         (WebCore::HTMLInputElement::parseMappedAttribute): Make sure to unregister for the activation
       
   122           callback after the new m_autocomplete setting has been stored so the unregistration actually
       
   123           takes place.
       
   124 
       
   125 2009-12-13  Dan Bernstein  <mitz@apple.com>
       
   126 
       
   127         Reviewed by Simon Fraser.
       
   128 
       
   129         <rdar://problem/7341364> Crash at HTMLParser::popOneBlockCommon() after
       
   130         handling misnested residual style tags
       
   131 
       
   132         Test: fast/parser/residual-style-close-ref-clone.html
       
   133 
       
   134         * html/HTMLParser.cpp:
       
   135         (WebCore::HTMLParser::handleResidualStyleCloseTagAcrossBlocks): Gave the
       
   136         block stack a strong reference to the cloned residual style element. 
       
   137 
       
   138 2009-12-23  Dan Bernstein  <mitz@apple.com>
       
   139 
       
   140         Reviewed by Darin Adler.
       
   141 
       
   142         <rdar://problem/7487164> First line of text cannot be selected
       
   143         https://bugs.webkit.org/show_bug.cgi?id=32749
       
   144 
       
   145         Test: fast/text/remove-zero-length-run.html
       
   146 
       
   147         * rendering/RenderText.cpp:
       
   148         (WebCore::RenderText::positionLineBox): Changed code that assumed that if a box was being
       
   149             removed, it was the only box in the RenderText. Instead, correctly preserve the list of
       
   150             text boxes.
       
   151         (WebCore::RenderText::checkConsistency): Updated for earlier rename.
       
   152 
       
   153 2009-12-10  Oliver Hunt  <oliver@apple.com>
       
   154 
       
   155         Reviewed by Alexey Proskuryakov.
       
   156 
       
   157         Crash in XMLTokenizer::popCurrentNode if window.close() is called during parsing
       
   158         https://bugs.webkit.org/show_bug.cgi?id=31576
       
   159 
       
   160         Add a RefCounted wrapper object around xmlParserCtxtPtr so we can
       
   161         maintain it's lifetime more effectively.
       
   162 
       
   163         Test: fast/parser/xhtml-close-while-parsing.xhtml
       
   164 
       
   165         * dom/XMLTokenizer.cpp:
       
   166         (WebCore::XMLTokenizer::popCurrentNode):
       
   167         * dom/XMLTokenizer.h:
       
   168         (WebCore::XMLParserContext::context):
       
   169         (WebCore::XMLParserContext::XMLParserContext):
       
   170         (WebCore::XMLTokenizer::context):
       
   171         * dom/XMLTokenizerLibxml2.cpp:
       
   172         (WebCore::XMLParserContext::createStringParser):
       
   173         (WebCore::XMLParserContext::createMemoryParser):
       
   174         (WebCore::XMLParserContext::~XMLParserContext):
       
   175         (WebCore::XMLTokenizer::~XMLTokenizer):
       
   176         (WebCore::XMLTokenizer::doWrite):
       
   177         (WebCore::XMLTokenizer::initializeParserContext):
       
   178         (WebCore::XMLTokenizer::doEnd):
       
   179         (WebCore::XMLTokenizer::lineNumber):
       
   180         (WebCore::XMLTokenizer::columnNumber):
       
   181         (WebCore::XMLTokenizer::stopParsing):
       
   182         (WebCore::parseXMLDocumentFragment):
       
   183         (WebCore::parseAttributes):
       
   184 
       
   185 2009-11-09  Anders Carlsson  <andersca@apple.com>
       
   186 
       
   187         Reviewed by Darin Adler and Dan Bernstein.
       
   188 
       
   189         <rdar://problem/7328395>
       
   190         https://bugs.webkit.org/show_bug.cgi?id=31277
       
   191 
       
   192         When an object tag's style changes (for example when child nodes are added/removed),
       
   193         reuse its Frame (if it has one) instead of creating multiple Frames.
       
   194 
       
   195         Test: fast/dom/HTMLObjectElement/children-changed.html
       
   196 
       
   197         * loader/FrameLoader.cpp:
       
   198         (WebCore::FrameLoader::requestObject):
       
   199 
       
   200 2009-12-05  Adam Langley  <agl@google.com>
       
   201 
       
   202         Reviewed by Adam Barth.
       
   203 
       
   204         Check that a CSS format() argument is of a valid type.
       
   205 
       
   206         https://bugs.webkit.org/show_bug.cgi?id=31815
       
   207         http://code.google.com/p/chromium/issues/detail?id=28582
       
   208 
       
   209         Test: fast/css/url-format-non-string.html
       
   210 
       
   211         * css/CSSParser.cpp:
       
   212         (WebCore::CSSParser::parseFontFaceSrc):
       
   213 
       
   214 2010-03-19  Miikka Heikkinen  <miikka.heikkinen@digia.com>
       
   215 
       
   216         Reviewed by Simon Hausmann.
       
   217 
       
   218         [Qt] Support for QT_LIBINFIX in Symbian builds
       
   219 
       
   220         Configuring Qt with -qtlibinfix parameter will enable installing
       
   221         an alternate version of Qt on devices that already have it on ROM.
       
   222         This patch provides support for infixed builds of Webkit.
       
   223 
       
   224         * WebCore.pro:
       
   225 
       
   226 2010-01-31  Benjamin Poulain  <benjamin.poulain@nokia.com>
       
   227 
       
   228         Reviewed by Eric Seidel.
       
   229 
       
   230         [Qt] Enable FAST_MOBILE_SCROLLING on Qt embedded platforms
       
   231         https://bugs.webkit.org/show_bug.cgi?id=34168
       
   232 
       
   233         Enable FAST_MOBILE_SCROLLING for Qt on Maemo 5, Linux embedded
       
   234         and Symbian
       
   235 
       
   236         * WebCore.pro:
       
   237 
       
   238 2010-01-19  Daniel Bates  <dbates@rim.com>
       
   239 
       
   240         Reviewed by Adam Treat.
       
   241 
       
   242         https://bugs.webkit.org/show_bug.cgi?id=33408
       
   243 
       
   244         Implements an optimization to ignore fixed background images
       
   245         (i.e. background-attachment: fixed) when a page does not contain
       
   246         any fixed position elements so as to allow fast repaints (via bit
       
   247         blit) when scrolling a page.
       
   248 
       
   249         Currently, if a page has elements that specify either a fixed
       
   250         background or a fixed position then we perform a slow repaint
       
   251         (i.e disable blitting) so as to avoid rendering artifacts.
       
   252         However, on low-powered/mobile devices slow repaints can cause
       
   253         noticeable delays when scrolling a page with a fixed background
       
   254         image. By sacrificing support for fixed background images when
       
   255         there are no fixed elements on the page and with come care, we
       
   256         don't need to force slow repaints and can avoid rendering artifacts.
       
   257         Hence, on such devices we can improve the responsiveness of
       
   258         scrolling a page with a fixed background image.
       
   259 
       
   260         Note, this optimization is only enabled if the WebKit is built
       
   261         with FAST_MOBILE_SCROLLING enabled.
       
   262 
       
   263         Tests: fast/fast-mobile-scrolling/fixed-position-element.html
       
   264                fast/fast-mobile-scrolling/no-fixed-position-elements.html
       
   265 
       
   266         * rendering/RenderBoxModelObject.cpp:
       
   267         (WebCore::RenderBoxModelObject::calculateBackgroundImageGeometry):
       
   268         Disable fixed background attachment if we can blit on scroll.
       
   269         * rendering/RenderObject.cpp:
       
   270         (WebCore::RenderObject::styleWillChange):
       
   271 
       
   272 2010-03-11  Simon Hausmann  <simon.hausmann@nokia.com>
       
   273 
       
   274         Reviewed by Tor Arne Vestbø.
       
   275 
       
   276         [Qt] Avoid double-buffering with Qt image decoders
       
   277 
       
   278         Pass QIODevice::Unbuffered when opening the QBuffer that
       
   279         wraps the image data, to hint to Qt that no extra buffering
       
   280         is needed.
       
   281 
       
   282         * platform/graphics/qt/ImageDecoderQt.cpp:
       
   283         (WebCore::ImageDecoderQt::setData):
       
   284 
     1 2010-01-14  Diego Gonzalez  <diego.gonzalez@openbossa.org>
   285 2010-01-14  Diego Gonzalez  <diego.gonzalez@openbossa.org>
     2 
   286 
     3         Reviewed by Kenneth Christiansen.
   287         Reviewed by Kenneth Christiansen.
     4 
   288 
     5         [Qt] Missing fileSystemPath() method in Qt KURL implementation
   289         [Qt] Missing fileSystemPath() method in Qt KURL implementation