2010-02-12 Dan Bernstein Reviewed by Simon Fraser. REGRESSION (r50301): Problem selecting text in a Devanagari website https://bugs.webkit.org/show_bug.cgi?id=34865 Test: fast/text/glyph-reordering.html * platform/graphics/mac/ComplexTextController.cpp: (WebCore::ComplexTextController::ComplexTextRun::ComplexTextRun): (WebCore::ComplexTextController::ComplexTextRun::setIsNonMonotonic): Added. Sets m_isMonotonic and populates m_glyphEndOffsets with the end offsets of each glyph’s corresponding character range. (WebCore::ComplexTextController::advance): For non-monotonic runs, use endOffsetAt() to get glyphs’ end offsets. (WebCore::ComplexTextController::adjustGlyphsAndAdvances): Check for monotonicity and call setIsNonMonotonic() if needed. * platform/graphics/mac/ComplexTextController.h: (WebCore::ComplexTextController::ComplexTextRun::lastIndexAt): Added this getter. (WebCore::ComplexTextController::ComplexTextRun::isMonotonic): Ditto. * platform/graphics/mac/ComplexTextControllerATSUI.cpp: (WebCore::ComplexTextController::ComplexTextRun::ComplexTextRun): Initialize m_isMonotonic. * platform/graphics/mac/ComplexTextControllerCoreText.cpp: (WebCore::ComplexTextController::ComplexTextRun::ComplexTextRun): Ditto. 2010-02-12 Alexey Proskuryakov Reviewed by David Levin. https://bugs.webkit.org/show_bug.cgi?id=34866 Leopard Debug Bot crashed on fast/forms/old-names.html * html/HTMLFormCollection.cpp: (WebCore::HTMLFormCollection::formCollectionInfo): Removed a misplaced checkConsistency() call. We are not looking at cache content at this point, and caches will be reset on next access. 2010-02-12 Pavel Feldman Reviewed by Timothy Hatcher. Web Inspector: restore highlighting animation, bring back keyboard navigation, beautify search results. https://bugs.webkit.org/show_bug.cgi?id=34853 * inspector/front-end/TextViewer.js: (WebInspector.TextViewer): (WebInspector.TextViewer.prototype.highlightLine): * inspector/front-end/textViewer.css: 2010-02-12 Anton Muhin Reviewed by Adam Barth. [v8] handle to the document can only own Objects, not Values https://bugs.webkit.org/show_bug.cgi?id=34854 * bindings/v8/V8DOMWindowShell.cpp: (WebCore::V8DOMWindowShell::updateDocumentWrapper): (WebCore::V8DOMWindowShell::updateDocumentWrapperCache): * bindings/v8/V8DOMWindowShell.h: * bindings/v8/custom/V8DocumentCustom.cpp: (WebCore::toV8): 2010-02-12 Simon Hausmann Reviewed by Holger Freyther. Replaced stray CRLF with LF. * wml/WMLInputElement.cpp: (WebCore::WMLInputElement::suggestedValue): * wml/WMLInputElement.h: 2010-02-10 Jocelyn Turcotte Reviewed by Tor Arne Vestbø. [Qt] Make qtlauncher and qgvlauncher use the generated headers path to make sure they are correctly generated. * WebCore.pro: 2010-02-10 Jocelyn Turcotte Reviewed by Tor Arne Vestbø. [Qt] Ensure relative paths in generated .pri files to ensure that a source package with pre-generated derived sources can be compiled. - Re-add a separate headers.pri file for WEBKIT_API_HEADERS - Rename the generated headers.pri to classheaders.pri to avoid confusion with the one generated by synqt since they don't have the same content. - Remove private headers list variable from classheaders.pri - Use $$PWD in classheaders.pri - Remove classheaders.pri from the installed files * WebCore.pro: 2010-02-10 Jocelyn Turcotte Reviewed by Tor Arne Vestbø. [Qt] Manually add support for the install target on Symbian. This is required to copy the headers over the ones in Qt. * WebCore.pro: 2010-02-10 Jocelyn Turcotte Reviewed by Tor Arne Vestbø. [Qt] Minor fixes on QtWebKit headers generation. - Adds QtWebKit to the generated headers destination path - Improve compatibility with MinGW * WebCore.pro: 2010-02-11 Fumitoshi Ukai Reviewed by Alexey Proskuryakov. WebSocket ignores HttpOnly cookies, but should use in Handshake. https://bugs.webkit.org/show_bug.cgi?id=34289 Test: websocket/tests/cookies/httponly-cookie.pl * platform/CookieJar.h: add cookieRequestHeaderFieldValue() * platform/chromium/ChromiumBridge.h: * platform/haiku/CookieJarHaiku.cpp: (WebCore::cookieRequestHeaderFieldValue): * platform/mac/CookieJar.mm: (WebCore::cookies): (WebCore::cookieRequestHeaderFieldValue): * platform/network/android/CookieJarAndroid.cpp: (WebCore::cookieRequestHeaderFieldValue): * platform/network/chromium/CookieJarChromium.cpp: (WebCore::cookieRequestHeaderFieldValue): * platform/network/curl/CookieJarCurl.cpp: (WebCore::cookieRequestHeaderFieldValue): * platform/network/soup/CookieJarSoup.cpp: (WebCore::cookieRequestHeaderFieldValue): * platform/network/win/CookieJarCFNetWin.cpp: (WebCore::cookieRequestHeaderFieldValue): * platform/network/win/CookieJarWin.cpp: (WebCore::cookieRequestHeaderFieldValue): * platform/qt/CookieJarQt.cpp: (WebCore::cookieRequestHeaderFieldValue): * websockets/WebSocketHandshake.cpp: (WebCore::WebSocketHandshake::clientHandshakeMessage): use cookieRequestHeaderFieldValue() instead of cookies() to include HttpOnly cookies. 2010-02-11 Ariya Hidayat Reviewed by Kenneth Rohde Christiansen. [Qt] Use clipRegion instead of clipPath to save lots of CPU cycles. https://bugs.webkit.org/show_bug.cgi?id=32375 * platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContext::clipOut): (WebCore::GraphicsContext::clipOutEllipseInRect): 2010-02-11 Yuzo Fujishima Reviewed by Shinichiro Hamaji. Rename underscored identifiers in WebCore/css/CSSParser.cpp. https://bugs.webkit.org/show_bug.cgi?id=34877 Also fix whitespace erros that surface due to the above fix. This doesn't change the code logic. Hence no new tests are required. * css/CSSParser.cpp: (WebCore::CSSParser::parseValue): 2010-02-11 Joseph Pecoraro Reviewed by Timothy Hatcher. Web Inspector: Focusing a resource in the inspector should default to content not header https://bugs.webkit.org/show_bug.cgi?id=34861 * inspector/front-end/Settings.js: (WebInspector.Settings.prototype._load): changed initial default to content tab 2010-02-11 Joseph Pecoraro Reviewed by Timothy Hatcher. Web Inspector: Editing Styles Cannot Tab Backwards from a New Style Item https://bugs.webkit.org/show_bug.cgi?id=34872 * inspector/front-end/StylesSidebarPane.js: (WebInspector.StylePropertiesSection.prototype.update): triggers afterUpdate (WebInspector.StylePropertiesSection.prototype.afterUpdate): factored out _afterUpdate handling 2010-02-11 Nikolas Zimmermann Reviewed by Eric Seidel. Add roundedIntSize() convenience method converting FloatSize to IntSize, just like roundedIntPoint() converting FloatPoint to IntPoint. * platform/graphics/FloatSize.h: (WebCore::roundedIntSize): 2010-02-11 Kent Tamura Reviewed by Darin Adler. Fix two issues on maxLength. https://bugs.webkit.org/show_bug.cgi?id=34783 - ValidityState.tooLong behavior was inconsistent with UIs of and