- 04 Jan, 2011 13 commits
-
-
rniwa@webkit.org authored
Reviewed by Dan Bernstein. Clicking on the first or the last letter of LTR/RTL text in a RTL/LTR block puts caret on the opposite side. https://bugs.webkit.org/show_bug.cgi?id=50992 Fixed the bug by interchanging the offset when the direction of inline text box and the containing block does not match. Reused the code added by http://trac.webkit.org/changeset/73553. Test: editing/selection/caret-bidi-first-and-last-letters.html * rendering/InlineTextBox.cpp: (WebCore::InlineTextBox::offsetForPosition): 2011-01-04 Ryosuke Niwa <rniwa@webkit.org> Reviewed by Dan Bernstein. Clicking on the first or the last letter of LTR/RTL text in a RTL/LTR block puts caret on the opposite side. https://bugs.webkit.org/show_bug.cgi?id=50992 Added a test to ensure WebKit places the caret on the side user clicked even when text's natural direction and the containing block's direction do not match. * editing/selection/caret-bidi-first-and-last-letters-expected.txt: Added. * editing/selection/caret-bidi-first-and-last-letters.html: Added. * editing/selection/resources/caret-edge-shared.js: Avoid calling verify() outside of DRT. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74971 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
beidson@apple.com authored
Pass encoded back/forward tree data from the WebProcess to the UIProcess Reviewed by Darin Adler. Remove the WKBackForwardListItemCopyOriginalURL API as it's not needed: * UIProcess/API/C/WKBackForwardListItem.cpp: * UIProcess/API/C/WKBackForwardListItem.h: * UIProcess/API/qt/qwkhistory.cpp: * UIProcess/API/qt/qwkhistory.h: * UIProcess/WebBackForwardListItem.cpp: (WebKit::WebBackForwardListItem::WebBackForwardListItem): * UIProcess/WebBackForwardListItem.h: (WebKit::WebBackForwardListItem::create): (WebKit::WebBackForwardListItem::setBackForwardData): (WebKit::WebBackForwardListItem::backForwardData): * UIProcess/WebProcessProxy.cpp: (WebKit::WebProcessProxy::addBackForwardItem): * UIProcess/WebProcessProxy.h: * UIProcess/WebProcessProxy.messages.in: * WebProcess/WebPage/WebBackForwardListProxy.cpp: (WebKit::updateBackForwardItem): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74970 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
tonyg@chromium.org authored
Reviewed by Darin Adler. Remove 2 unnecessary includes from Document.h https://bugs.webkit.org/show_bug.cgi?id=51727 No new tests because no changed functionality. * dom/Document.cpp: * dom/Document.h: * editing/Editor.cpp: * editing/SpellChecker.h: * editing/SplitTextNodeCommand.cpp: * editing/TextCheckingHelper.cpp: * page/FrameView.cpp: * page/Page.cpp: * rendering/HitTestResult.cpp: * rendering/InlineTextBox.cpp: * rendering/InlineTextBox.h: * rendering/svg/SVGInlineFlowBox.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74969 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
paroga@webkit.org authored
Unreviewed WinCE build fix. * CMakeListsWinCE.txt: Added missing include directories, files and libraries. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74968 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kbalazs@webkit.org authored
Reviewed by Kenneth Rohde Christiansen. [Qt][WK2] Incomplete clean up on termination https://bugs.webkit.org/show_bug.cgi?id=51474 Do not kill the web process to force it's termination. Fix object destruction and cleanup logic and make the cleanup more reliable. Do not try to cleanup on crash because it is not reliable. * Platform/CoreIPC/qt/ConnectionQt.cpp: (CoreIPC::Connection::platformInvalidate): Do not delete the socket if we do not own it. This is the case with a server connection. * Platform/qt/MappedMemoryPool.cpp: Turn MappedMemoryPool into a QObject so the CleanupHandler can destruct it in the same way as the other objects. (WebKit::MappedMemoryPool::instance): (WebKit::MappedMemoryPool::~MappedMemoryPool): * Platform/qt/MappedMemoryPool.h: (WebKit::MappedMemoryPool::MappedMemoryPool): * Platform/qt/SharedMemoryQt.cpp: (WebKit::SharedMemory::create): No need to care about QCoreApplication::aboutToQuit. It is handled by the CleanupHandler. (WebKit::SharedMemory::~SharedMemory): Ditto. * Shared/qt/CleanupHandler.cpp: Renamed from WebKit2/Shared/qt/CrashHandler.cpp. No longer try to handle crash but just normal termination. (WebKit::CleanupHandler::CleanupHandler): Connect deleteObjects with QCoreApplication::aboutToQuit. Ensure appropriate thread affinity. (WebKit::CleanupHandler::sigTermHandler): Stop the main event loop. (WebKit::CleanupHandler::deleteObjects): Use deleteLater instead of delete since it is more reliable. * Shared/qt/CleanupHandler.h: Renamed from WebKit2/Shared/qt/CrashHandler.h. (WebKit::CleanupHandler::instance): (WebKit::CleanupHandler::markForCleanup): (WebKit::CleanupHandler::unmark): * UIProcess/Launcher/qt/ProcessLauncherQt.cpp: Do not kill the web process immidiately but give it a chance to cleanup. Use QLocalServer::removeServer for assuring that the socket file will be removed. (WebKit::ProcessLauncherHelper::serverName): (WebKit::cleanupAtExit): Renamed from cleanupProcesses. Only kill the web process when it times out terminating. Fixed the bug of changing the list while iterating it over by disconnecting from the processStateChanged slot. (WebKit::QtWebProcess::QtWebProcess): Added missing meta type registration of QProcess::ProcessState. (WebKit::ProcessLauncherHelper::~ProcessLauncherHelper): (WebKit::ProcessLauncherHelper::ProcessLauncherHelper): No need to add the the instance to the CleanupHandler because we will remove the socket file in cleanupAtExit. (WebKit::ProcessLauncherHelper::instance): (WebKit::ProcessLauncher::terminateProcess): * WebKit2.pro: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74967 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
paroga@webkit.org authored
Unreviewed WinCE build fix. * WebCoreSupport/ChromeClientWinCE.cpp: (WebKit::ChromeClientWinCE::exceededDatabaseQuota): Added missing semicolon. (WebKit::ChromeClientWinCE::reachedApplicationCacheOriginQuota): * WebCoreSupport/ChromeClientWinCE.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74966 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Simon Hausmann. Provide an interface to require using fullscreen mediaplayer https://bugs.webkit.org/show_bug.cgi?id=51133 Only video should be displayed in fullscreen when requiresFullscreenForVideoPlayback is specified. No new tests because no client implements requiresFullscreenForVideoPlayback yet. * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::updatePlayState): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74965 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
benjamin.poulain@nokia.com authored
Reviewed by Kenneth Rohde Christiansen. [Qt] [WK2] create an initial implementation of the context menu handling for WebKit 2 https://bugs.webkit.org/show_bug.cgi?id=51825 Implement contextMenuItemVector() for Qt, this method is used in WebKit 2 to get the platform independent menu informations. * platform/qt/ContextMenuQt.cpp: (WebCore::contextMenuItemVector): 2011-01-04 Benjamin Poulain <benjamin.poulain@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] [WK2] create an initial implementation of the context menu handling for WebKit 2 https://bugs.webkit.org/show_bug.cgi?id=51825 Implement the necessary methods to get a basic context menu working for Qt. Only 4 basic WebAction have been added on the UIProcess side: back, forward, stop and reload. * UIProcess/API/qt/qgraphicswkview.cpp: (QGraphicsWKView::QGraphicsWKView): (QGraphicsWKView::showContextMenu): (QGraphicsWKViewPrivate::QGraphicsWKViewPrivate): * UIProcess/API/qt/qgraphicswkview.h: * UIProcess/API/qt/qwkpage.cpp: (QWKPagePrivate::createContextMenuProxy): * UIProcess/API/qt/qwkpage.h: * UIProcess/qt/WebContextMenuProxyQt.cpp: (WebKit::webActionForContextMenuAction): (WebKit::WebContextMenuProxyQt::WebContextMenuProxyQt): (WebKit::WebContextMenuProxyQt::create): (WebKit::WebContextMenuProxyQt::showContextMenu): (WebKit::WebContextMenuProxyQt::hideContextMenu): (WebKit::WebContextMenuProxyQt::createContextMenu): * UIProcess/qt/WebContextMenuProxyQt.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74964 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Unreviewed, rolling out r74960. http://trac.webkit.org/changeset/74960 https://bugs.webkit.org/show_bug.cgi?id=51868 Rollout since we hit an assert after this patch. (Requested by krit on #webkit). * svg/custom/recursive-use-expected.txt: Removed. * svg/custom/recursive-use.svg: Removed. 2011-01-04 Sheriff Bot <webkit.review.bot@gmail.com> Unreviewed, rolling out r74960. http://trac.webkit.org/changeset/74960 https://bugs.webkit.org/show_bug.cgi?id=51868 Rollout since we hit an assert after this patch. (Requested by krit on #webkit). * svg/SVGUseElement.cpp: (WebCore::SVGUseElement::buildInstanceTree): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74963 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
philn@webkit.org authored
Unreviewed, rolling out r74961. http://trac.webkit.org/changeset/74961 https://bugs.webkit.org/show_bug.cgi?id=51867 breaks 32/64-bits debug bots build (Requested by philn-tp on #webkit). * platform/graphics/gstreamer/GStreamerGWorld.cpp: (WebCore::GStreamerGWorld::setWindowOverlay): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74962 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
philn@webkit.org authored
Rubber-stamped by Eric Seidel. [GStreamer] build fails with gstreamer core 0.10.31 and -plugins-base 0.10.30 https://bugs.webkit.org/show_bug.cgi?id=51810 Based on a patch by Mart Raudsepp. No new tests, build fix only. * platform/graphics/gstreamer/GStreamerGWorld.cpp: (WebCore::GStreamerGWorld::setWindowOverlay): Use the new xoverlay API if the GST_CHECK_PLUGINS_BASE_VERSION macro is defined. It was introduced in same version as the xoverlay API change. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74961 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Dirk Schulze. Malformed SVG causes crash in updateContainerOffset https://bugs.webkit.org/show_bug.cgi?id=44610 Test case for recursive svg <use>. This test case passes if no crash occurs. * svg/custom/recursive-use-expected.txt: Added. * svg/custom/recursive-use.svg: Added. 2011-01-04 Leo Yang <leo.yang@torchmobile.com.cn> Reviewed by Dirk Schulze. Malformed SVG causes crash in updateContainerOffset https://bugs.webkit.org/show_bug.cgi?id=44610 We should check recursive <use> at the begining of WebCore::SVGUseElement::buildInstanceTree instead of at the end of it because the target element's children may cause infinite recursive <use>. Test: svg/custom/recursive-use.svg * svg/SVGUseElement.cpp: (WebCore::SVGUseElement::buildInstanceTree): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74960 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
tkent@chromium.org authored
Unreviewed, build fix. Try to fix Clang build. * css/CSSParser.cpp: (WebCore::valueFromSideKeyword): (WebCore::CSSParser::parseLinearGradient): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74959 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 03 Jan, 2011 27 commits
-
-
tkent@chromium.org authored
Unreviewed, test expectation update Add expectations of r74954 tests for Chromium. * platform/chromium-linux/fast/css-generated-content/table-before-after-child-add-expected.checksum: Added. * platform/chromium-linux/fast/css-generated-content/table-before-after-child-add-expected.png: Added. * platform/chromium-linux/fast/css-generated-content/table-cell-before-after-child-add-expected.checksum: Added. * platform/chromium-linux/fast/css-generated-content/table-cell-before-after-child-add-expected.png: Added. * platform/chromium-linux/fast/css-generated-content/table-row-before-after-child-add-expected.checksum: Added. * platform/chromium-linux/fast/css-generated-content/table-row-before-after-child-add-expected.png: Added. * platform/chromium-linux/fast/css-generated-content/table-table-before-after-child-add-expected.checksum: Added. * platform/chromium-linux/fast/css-generated-content/table-table-before-after-child-add-expected.png: Added. * platform/chromium-mac/fast/css-generated-content/table-before-after-child-add-expected.checksum: Added. * platform/chromium-mac/fast/css-generated-content/table-before-after-child-add-expected.png: Added. * platform/chromium-mac/fast/css-generated-content/table-cell-before-after-child-add-expected.checksum: Added. * platform/chromium-mac/fast/css-generated-content/table-cell-before-after-child-add-expected.png: Added. * platform/chromium-mac/fast/css-generated-content/table-row-before-after-child-add-expected.checksum: Added. * platform/chromium-mac/fast/css-generated-content/table-row-before-after-child-add-expected.png: Added. * platform/chromium-mac/fast/css-generated-content/table-table-before-after-child-add-expected.checksum: Added. * platform/chromium-mac/fast/css-generated-content/table-table-before-after-child-add-expected.png: Added. * platform/chromium-win/fast/css-generated-content/table-before-after-child-add-expected.checksum: Added. * platform/chromium-win/fast/css-generated-content/table-before-after-child-add-expected.png: Added. * platform/chromium-win/fast/css-generated-content/table-before-after-child-add-expected.txt: Added. * platform/chromium-win/fast/css-generated-content/table-cell-before-after-child-add-expected.checksum: Added. * platform/chromium-win/fast/css-generated-content/table-cell-before-after-child-add-expected.png: Added. * platform/chromium-win/fast/css-generated-content/table-cell-before-after-child-add-expected.txt: Added. * platform/chromium-win/fast/css-generated-content/table-row-before-after-child-add-expected.checksum: Added. * platform/chromium-win/fast/css-generated-content/table-row-before-after-child-add-expected.png: Added. * platform/chromium-win/fast/css-generated-content/table-row-before-after-child-add-expected.txt: Added. * platform/chromium-win/fast/css-generated-content/table-table-before-after-child-add-expected.checksum: Added. * platform/chromium-win/fast/css-generated-content/table-table-before-after-child-add-expected.png: Added. * platform/chromium-win/fast/css-generated-content/table-table-before-after-child-add-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74958 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ddkilzer@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=48596 Patch by Julie-Jeongeun-Kim <Jeongeun.Kim@obigo.com> on 2011-01-03 Reviewed by Darin Adler. border attribute was not parsed in HTMLObjectElement. I added code for it as HTMLImageElement handled. new test:fast/html/object-border.html * html/HTMLObjectElement.cpp: (WebCore::HTMLObjectElement::parseMappedAttribute): LayoutTests: HTML5 Conformance Test failure: approved/xhtml5/object_border_pixel.xhtml https://bugs.webkit.org/show_bug.cgi?id=48596 Patch by Julie-Jeongeun-Kim <Jeongeun.Kim@obigo.com> on 2011-01-03 Reviewed by Darin Adler. * fast/html/object-border-expected.txt: Added. * fast/html/object-border.html: Added. * fast/html/resources/images/blue-border.png: Added. * fast/html/resources/images/blue.png: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74957 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
* history/HistoryItem.cpp: (WebCore::HistoryItem::encodeBackForwardTreeNode): Added a V8 case here. Not sure this ever will be used with V8. (WebCore::HistoryItem::decodeBackForwardTree): Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74956 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
* history/HistoryItem.cpp: Use a consistent type, uint64_t, for the size variable. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74955 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
inferno@chromium.org authored
Reviewed by Darin Adler. Fixes before child calculation when adding anonymous childs to table parts. https://bugs.webkit.org/show_bug.cgi?id=50932 Fix in r74364 was incomplete. When before child is equal to the table part(to which the new child is getting added), it confuses the table part to add it incorrectly as an after child. The patch fixes by passing the before child as the table part's first child. Tests: fast/css-generated-content/table-before-after-child-add.html fast/css-generated-content/table-cell-before-after-child-add.html fast/css-generated-content/table-row-before-after-child-add.html fast/css-generated-content/table-row-before-after-child-add.html * rendering/RenderTable.cpp: (WebCore::RenderTable::addChild): * rendering/RenderTableRow.cpp: (WebCore::RenderTableRow::addChild): * rendering/RenderTableSection.cpp: (WebCore::RenderTableSection::addChild): 2010-12-20 Abhishek Arya <inferno@chromium.org> Reviewed by Darin Adler. Tests that "before" and "after" childs are added to table correctly. https://bugs.webkit.org/show_bug.cgi?id=50932 * fast/css-generated-content/table-before-after-child-add.html: Added. * fast/css-generated-content/table-before-child-add.html: Removed. * fast/css-generated-content/table-cell-before-after-child-add.html: Added. * fast/css-generated-content/table-row-before-after-child-add.html: Added. * platform/mac/fast/css-generated-content/table-before-after-child-add-expected.checksum: Added. * platform/mac/fast/css-generated-content/table-before-after-child-add-expected.png: Added. * platform/mac/fast/css-generated-content/table-before-after-child-add-expected.txt: Added. * platform/mac/fast/css-generated-content/table-before-child-add-expected.txt: Removed. * platform/mac/fast/css-generated-content/table-cell-before-after-child-add-expected.checksum: Added. * platform/mac/fast/css-generated-content/table-cell-before-after-child-add-expected.png: Added. * platform/mac/fast/css-generated-content/table-cell-before-after-child-add-expected.txt: Added. * platform/mac/fast/css-generated-content/table-row-before-after-child-add-expected.checksum: Added. * platform/mac/fast/css-generated-content/table-row-before-after-child-add-expected.png: Added. * platform/mac/fast/css-generated-content/table-row-before-after-child-add-expected.txt: Added. * platform/mac/fast/css-generated-content/table-table-before-after-child-add-expected.checksum: Added. * platform/mac/fast/css-generated-content/table-table-before-after-child-add-expected.png: Added. * platform/mac/fast/css-generated-content/table-table-before-after-child-add-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74954 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=51858 Reviewed by Simon Fraser. * html/HTMLTableCellElement.cpp: (WebCore::HTMLTableCellElement::HTMLTableCellElement): Removed intialization of m_row and m_col. * html/HTMLTableCellElement.h: Removed m_row and m_col and their accessors. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74953 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
* platform/network/FormData.cpp: (WebCore::FormData::create): Roll back uint8_t change. (WebCore::FormData::flatten): Ditto. (WebCore::FormData::flattenToString): Ditto. (WebCore::encode): Ditto. (WebCore::decode): Ditto. (WebCore::FormData::encodeForBackForward): * platform/network/FormData.h: Ditto. * platform/network/mac/FormDataStreamMac.mm: (WebCore::advanceCurrentStream): Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74952 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
Reviewed by Brady Eidson. Add code to encode/decode the back/forward tree https://bugs.webkit.org/show_bug.cgi?id=51853 * history/HistoryItem.cpp: (WebCore::HistoryItem::encodeBackForwardTree): Added. (WebCore::HistoryItem::encodeBackForwardTreeNode): Added. (WebCore::HistoryItem::decodeBackForwardTree): Added. * history/HistoryItem.h: Added functions above. * platform/network/FormData.cpp: (WebCore::FormData::create): Changed type to Vector<uint8_t> instead of Vector<char>. This type is used in our newer code for vectors of bytes. (WebCore::FormData::flatten): Ditto. (WebCore::FormData::flattenToString): Ditto. Had to add a cast here. (WebCore::FormData::encodeForBackForward): Added. (WebCore::FormData::decodeForBackForward): Added. * platform/network/FormData.h: Changed type to Vector<uint8_t> instead of Vector<char>. Also made some single-argument constructors explicit. Also added the new functions. * platform/network/mac/FormDataStreamMac.mm: (WebCore::advanceCurrentStream): Changed to use uint8_t to match above. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74951 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Attempt to fix GTK build. * platform/graphics/gtk/FontGtk.cpp: (WebCore::drawGlyphsShadow): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74950 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
psolanki@apple.com authored
* WebCoreSupport/WebInspectorClientCF.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74949 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bweinstein@apple.com authored
* WebCoreSupport/WebInspectorClientCF.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74948 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Simon Fraser. ContextShadow can avoid code duplication for getting the CTM https://bugs.webkit.org/show_bug.cgi?id=51799 ContextShadow defines its own getTransformationMatrixFromContext() which does exactly the same as GraphicsContext::getCTM(). Existing tests: fast/canvas/canvas*shadow*html * platform/graphics/ContextShadow.cpp: (WebCore::ContextShadow::mustUseContextShadow): (WebCore::ContextShadow::adjustBlurDistance): (WebCore::ContextShadow::calculateLayerBoundingRect): * platform/graphics/ContextShadow.h: * platform/graphics/cairo/ContextShadowCairo.cpp: (WebCore::ContextShadow::beginShadowLayer): (WebCore::ContextShadow::endShadowLayer): (WebCore::ContextShadow::drawRectShadowWithoutTiling): * platform/graphics/cairo/FontCairo.cpp: (WebCore::drawGlyphsShadow): * platform/graphics/cairo/GraphicsContextCairo.cpp: (WebCore::drawPathShadow): * platform/graphics/cairo/ImageCairo.cpp: (WebCore::BitmapImage::draw): * platform/graphics/gtk/FontGtk.cpp: (WebCore::drawGlyphsShadow): * platform/graphics/qt/ContextShadowQt.cpp: (WebCore::ContextShadow::beginShadowLayer): (WebCore::ContextShadow::endShadowLayer): * platform/graphics/qt/FontQt.cpp: (WebCore::drawTextCommon): * platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContext::fillPath): (WebCore::GraphicsContext::strokePath): (WebCore::GraphicsContext::fillRect): (WebCore::GraphicsContext::fillRoundedRect): * platform/graphics/qt/ImageQt.cpp: (WebCore::BitmapImage::draw): * platform/graphics/qt/StillImageQt.cpp: (WebCore::StillImage::draw): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74947 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
Reviewed by Dan Bernstein. InsertTextCommand::m_charactersAdded is unused https://bugs.webkit.org/show_bug.cgi?id=51849 * editing/InsertTextCommand.cpp: (WebCore::InsertTextCommand::InsertTextCommand): Don't initialize m_charactersAdded. (WebCore::InsertTextCommand::input): Don't update m_charactersAdded. * editing/InsertTextCommand.h: Removed charactersAdded function and m_charactersAdded data member. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74946 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Martin Robinson. [GTK] Move paintMenuListButton() to RenderThemeGtk.cpp https://bugs.webkit.org/show_bug.cgi?id=51832 Method paintMenuListButton() contains code common to both gtk 2 and 3, so it can be moved to RenderThemeGtk.cpp instead of duplicating it. * platform/gtk/RenderThemeGtk.cpp: (WebCore::RenderThemeGtk::paintMenuListButton): * platform/gtk/RenderThemeGtk2.cpp: * platform/gtk/RenderThemeGtk3.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74945 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
xan@webkit.org authored
Reviewed by Martin Robinson. * autogen.sh: also pass $ACLOCAL_FLAGS for tools that set that env variable (like jhbuild). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74944 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
psolanki@apple.com authored
Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=51850 Put CFNetwork loader code inside USE(CFNETWORK) Add USE(CFNETWORK) macros around all the cf/mac network files. Also added all CFNetwork files to the WebCore Xcode project. * WebCore.xcodeproj/project.pbxproj: * loader/cf/ResourceLoaderCFNet.cpp: * loader/mac/ResourceLoaderMac.mm: * platform/network/cf/AuthenticationCF.cpp: * platform/network/cf/AuthenticationCF.h: * platform/network/cf/CookieJarCFNet.cpp: * platform/network/cf/CookieStorageCFNet.cpp: * platform/network/cf/CookieStorageCFNet.h: * platform/network/cf/CredentialStorageCFNet.cpp: * platform/network/cf/FormDataStreamCFNet.cpp: * platform/network/cf/FormDataStreamCFNet.h: * platform/network/cf/LoaderRunLoopCF.cpp: * platform/network/cf/LoaderRunLoopCF.h: * platform/network/cf/ResourceError.h: * platform/network/cf/ResourceHandleCFNet.cpp: * platform/network/cf/ResourceRequest.h: * platform/network/cf/ResourceRequestCFNet.cpp: * platform/network/cf/ResourceRequestCFNet.h: * platform/network/cf/ResourceResponse.h: * platform/network/cf/ResourceResponseCFNet.cpp: * platform/network/mac/AuthenticationMac.h: * platform/network/mac/AuthenticationMac.mm: * platform/network/mac/FormDataStreamMac.h: * platform/network/mac/FormDataStreamMac.mm: * platform/network/mac/ResourceError.h: * platform/network/mac/ResourceHandleMac.mm: * platform/network/mac/ResourceRequest.h: * platform/network/mac/ResourceRequestMac.mm: * platform/network/mac/ResourceResponse.h: * platform/network/mac/ResourceResponseMac.mm: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74943 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
xan@webkit.org authored
Reviewed by Martin Robinson. Use autoreconf instead of calling manually all the usual commands. * autogen.sh: call autoreconf instead of aclocal/autoheader/autoconf/automake/libtoolize. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74942 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Adam Barth. [Qt] Add SelectAll option to the context menu for the editor https://bugs.webkit.org/show_bug.cgi?id=50049 Set shortcut for the SelectAll action. * QtTestBrowser/mainwindow.cpp: (MainWindow::buildUI): 2011-01-03 Yi Shen <yi.4.shen@nokia.com> Reviewed by Adam Barth. [Qt] Add SelectAll option to the context menu for the editor https://bugs.webkit.org/show_bug.cgi?id=50049 Enable SelectAll for the Qt context menu. * page/ContextMenuController.cpp: (WebCore::ContextMenuController::populate): * platform/ContextMenuItem.h: * platform/LocalizationStrategy.h: * platform/LocalizedStrings.cpp: (WebCore::contextMenuItemTagSelectAll): * platform/LocalizedStrings.h: 2011-01-03 Yi Shen <yi.4.shen@nokia.com> Reviewed by Adam Barth. [Qt] Add SelectAll option to the context menu for the editor https://bugs.webkit.org/show_bug.cgi?id=50049 Enable SelectAll for the Qt context menu. * Api/qwebpage.cpp: (webActionForContextMenuAction): (QWebPage::action): * WebCoreSupport/WebPlatformStrategies.cpp: (WebPlatformStrategies::contextMenuItemTagSelectAll): * WebCoreSupport/WebPlatformStrategies.h: 2011-01-03 Yi Shen <yi.4.shen@nokia.com> Reviewed by Adam Barth. [Qt] Add SelectAll option to the context menu for the editor https://bugs.webkit.org/show_bug.cgi?id=50049 Add WebPlatformStrategies::contextMenuItemTagSelectAll for Qt. * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: (WebKit::WebPlatformStrategies::contextMenuItemTagSelectAll): * WebProcess/WebCoreSupport/WebPlatformStrategies.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74941 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
Patch by Chris Fleizach <cfleizach@apple.com> on 2011-01-03 WebKit2: Accessibility support (42130) <rdar://problem/7660629> * WebKitSystemInterface.h: * libWebKitSystemInterfaceLeopard.a: * libWebKitSystemInterfaceSnowLeopard.a: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74940 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mihaip@chromium.org authored
Unreviewed, Chromium test expectation update. Group tests that fail on Leopard but pass on Snow Leopard (due to stale platform/mac baselines). * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74939 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
paroga@webkit.org authored
Reviewed by Darin Adler. [WINCE] Provide third party directory via environment variable https://bugs.webkit.org/show_bug.cgi?id=51643 * Source/cmake/OptionsWinCE.cmake: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74938 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=51847 Reviewed by Darin Adler. * rendering/RootInlineBox.cpp: (WebCore::RootInlineBox::alignBoxesInBlockDirection): Changed to use the baselineType() accessor. * rendering/RootInlineBox.h: Rolled m_baselineType into a bitfield. Changed its type to unsigned because otherwise MSVC treats it as signed. (WebCore::RootInlineBox::baselineType): Added a cast. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74937 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
Reviewed by Brady Eidson. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74936 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kov@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74935 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
levin@chromium.org authored
Reviewed by Eric Seidel. check-webkit-style shouldn't consider "value" automatically to be a meaningless name. https://bugs.webkit.org/show_bug.cgi?id=51842 * Scripts/webkitpy/style/checkers/cpp.py: Remove the check for value. * Scripts/webkitpy/style/checkers/cpp_unittest.py: Remove the test for value. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74934 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kov@webkit.org authored
2011-01-03 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> Reviewed by Martin Robinson. [GTK] Split webkitprivate.{cpp,h} in more manageable chunks https://bugs.webkit.org/show_bug.cgi?id=50698 Final patch, removing webkitprivate.{cpp,h}, and adding a webkitglobals module to hold non-object-specific functions and definitions that do not make sense on their own. * GNUmakefile.am: * WebCoreSupport/ChromeClientGtk.cpp: (WebKit::ChromeClient::createWindow): * WebCoreSupport/ContextMenuClientGtk.cpp: * WebCoreSupport/DocumentLoaderGtk.cpp: (WebKit::DocumentLoader::attachToFrame): * WebCoreSupport/DragClientGtk.cpp: * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: * WebCoreSupport/EditorClientGtk.cpp: (WebKit::EditorClient::ignoreWordInSpellDocument): (WebKit::EditorClient::learnWord): (WebKit::EditorClient::checkSpellingOfString): (WebKit::EditorClient::getGuessesForWord): * WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::createDocumentLoader): * WebCoreSupport/InspectorClientGtk.cpp: * webkit/webkit.h: * webkit/webkitapplicationcache.cpp: (webkit_application_cache_set_maximum_size): * webkit/webkitdownload.cpp: (webkit_download_class_init): * webkit/webkitgeolocationpolicydecision.cpp: * webkit/webkitglobals.cpp: Added. (webkit_get_default_session): (webkit_set_cache_model): (webkit_get_cache_model): (webkit_get_web_plugin_database): (currentToplevelCallback): (closeIconDatabaseOnExit): (webkitInit): (WebKit::pasteboardHelperInstance): * webkit/webkitglobals.h: Added. * webkit/webkitglobalsprivate.h: Copied from WebKit/gtk/webkit/webkitwebsettingsprivate.h. * webkit/webkithittestresult.cpp: (webkit_hit_test_result_class_init): * webkit/webkitnetworkrequest.cpp: (webkit_network_request_class_init): * webkit/webkitnetworkresponse.cpp: (webkit_network_response_class_init): * webkit/webkitprivate.cpp: Removed. * webkit/webkitprivate.h: Removed. * webkit/webkitsecurityorigin.cpp: * webkit/webkitviewportattributes.cpp: * webkit/webkitwebbackforwardlist.cpp: (webkit_web_back_forward_list_class_init): * webkit/webkitwebdatabase.cpp: * webkit/webkitwebdatasource.cpp: (webkit_web_data_source_class_init): (webkit_web_data_source_new_with_request): (WebKit::kitNew): * webkit/webkitwebframe.cpp: (webkit_web_frame_class_init): * webkit/webkitwebframeprivate.h: * webkit/webkitwebhistoryitem.cpp: (webkit_web_history_item_class_init): * webkit/webkitwebinspector.cpp: * webkit/webkitwebnavigationaction.cpp: * webkit/webkitwebplugin.cpp: (webkit_web_plugin_class_init): * webkit/webkitwebplugindatabase.cpp: (webkit_web_plugin_database_class_init): * webkit/webkitwebpluginprivate.h: * webkit/webkitwebpolicydecision.cpp: * webkit/webkitwebresource.cpp: * webkit/webkitwebsettings.cpp: (webkit_web_settings_class_init): (webkitWebViewGetEnchantDicts): (WebKit::core): * webkit/webkitwebsettingsprivate.h: * webkit/webkitwebview.cpp: (webkit_web_view_class_init): (webkit_web_view_update_settings): (webkit_web_view_settings_notify): * webkit/webkitwebview.h: * webkit/webkitwebwindowfeatures.cpp: (webkit_web_window_features_class_init): (WebKit::kitNew): WebCore 2011-01-03 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> Reviewed by Martin Robinson. [GTK] Split webkitprivate.{cpp,h} in more manageable chunks https://bugs.webkit.org/show_bug.cgi?id=50698 Fix DOM bindings generation to no longer include the now-gone webkitprivate.h header, including the appropriate replacements instead. * bindings/scripts/CodeGeneratorGObject.pm: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74933 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Unreviewed crash fix. Follow up of r74891: potential crash fix (bogus assertion). * WebCoreSupport/EditorClientQt.cpp: (WebCore::editorCommandForKeyDownEvent): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74932 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-