1. 05 Oct, 2006 13 commits
    • ggaren's avatar
      Reviewed by Darin. · cd2cd536
      ggaren authored
              
              Fixed <rdar://problem/4766987>
              
              - renamed ScrollBar to Scrollbar and scroll bar to scrollbar in every case
              except for file names.
              
              - fixed RenderLayer to properly tear down scrollbars, removing them from
              their parents.
      
              * bindings/js/kjs_window.cpp:
              (KJS::showModalDialog):
              (KJS::setWindowFeature):
              (KJS::parseWindowFeatures):
              * bridge/BrowserExtension.h:
              * dom/Document.cpp:
              (WebCore::Document::setInPageCache):
              * html/HTMLFrameElement.cpp:
              (WebCore::HTMLFrameElement::init):
              (WebCore::HTMLFrameElement::parseMappedAttribute):
              * html/HTMLFrameElement.h:
              (WebCore::HTMLFrameElement::scrollingMode):
              * page/Frame.cpp:
              (WebCore::Frame::finishedParsing):
              (WebCore::Frame::scrollbarsVisible):
              * page/FrameView.cpp:
              (WebCore::FrameViewPrivate::FrameViewPrivate):
              (WebCore::FrameViewPrivate::reset):
              (WebCore::FrameView::~FrameView):
              (WebCore::FrameView::resetScrollbars):
              (WebCore::FrameView::clear):
              (WebCore::FrameView::initScrollbars):
              (WebCore::FrameView::applyOverflowToViewport):
              (WebCore::FrameView::layout):
              (WebCore::FrameView::handleMousePressEvent):
              (WebCore::selectCursor):
              (WebCore::FrameView::handleMouseMoveEvent):
              (WebCore::FrameView::setScrollbarsMode):
              (WebCore::FrameView::setVScrollbarMode):
              (WebCore::FrameView::setHScrollbarMode):
              (WebCore::FrameView::restoreScrollbar):
              (WebCore::FrameView::dispatchMouseEvent):
              (WebCore::FrameView::scrollbarMoved):
              * page/FrameView.h:
              * page/MouseEventWithHitTestResults.cpp:
              (WebCore::MouseEventWithHitTestResults::MouseEventWithHitTestResults):
              * page/MouseEventWithHitTestResults.h:
              (WebCore::MouseEventWithHitTestResults::scrollbar):
              * platform/ScrollBar.cpp:
              (WebCore::Scrollbar::Scrollbar):
              (WebCore::Scrollbar::setValue):
              (WebCore::Scrollbar::setProportion):
              (WebCore::Scrollbar::setSteps):
              (WebCore::Scrollbar::scroll):
              * platform/ScrollBar.h:
              (WebCore::):
              (WebCore::ScrollbarClient::~ScrollbarClient):
              (WebCore::Scrollbar::~Scrollbar):
              (WebCore::Scrollbar::orientation):
              (WebCore::Scrollbar::controlSize):
              (WebCore::Scrollbar::hasPlatformScrollbars):
              (WebCore::Scrollbar::client):
              * platform/ScrollBarMode.h:
              (WebCore::):
              * platform/ScrollView.h:
              * rendering/RenderBlock.cpp:
              (WebCore::RenderBlock::isPointInScrollbar):
              * rendering/RenderLayer.cpp:
              (WebCore::RenderLayer::RenderLayer):
              (WebCore::RenderLayer::~RenderLayer):
              (WebCore::RenderLayer::scrollToOffset):
              (WebCore::RenderLayer::horizontaScrollbarWidget):
              (WebCore::RenderLayer::verticalScrollbarWidget):
              (WebCore::RenderLayer::valueChanged):
              (WebCore::RenderLayer::createScrollbar):
              (WebCore::RenderLayer::destroyScrollbar):
              (WebCore::RenderLayer::setHasHorizontalScrollbar):
              (WebCore::RenderLayer::setHasVerticalScrollbar):
              (WebCore::RenderLayer::verticalScrollbarWidth):
              (WebCore::RenderLayer::horizontalScrollbarHeight):
              (WebCore::RenderLayer::updateScrollInfoAfterLayout):
              * rendering/RenderLayer.h:
              (WebCore::RenderLayer::horizontalScrollbar):
              (WebCore::RenderLayer::verticalScrollbar):
              * rendering/RenderListBox.cpp:
              (WebCore::RenderListBox::~RenderListBox):
              (WebCore::RenderListBox::calcMinMaxWidth):
              (WebCore::RenderListBox::isPointInScrollbar):
              (WebCore::RenderListBox::optionAtPoint):
              (WebCore::RenderListBox::valueChanged):
              * rendering/RenderListBox.h:
              * rendering/RenderObject.h:
              (WebCore::RenderObject::NodeInfo::scrollbar):
              (WebCore::RenderObject::NodeInfo::setScrollbar):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16815 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd2cd536
    • andersca's avatar
      2006-10-04 Anders Carlsson <acarlsson@apple.com> · 20a0d293
      andersca authored
              Reviewed by Darin.
      
              * Scripts/run-webkit-tests:
              Add an environment variable, WebKitExpectedTestResultsDirectory, which controls where expected test 
              results should be.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16814 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      20a0d293
    • ap's avatar
      2006-10-05 Nikolas Zimmermann <zimmermann@kde.org> · 1b5eae59
      ap authored
              Reviewed and landed by ap.
      
              Cmake: make it possible to install the libraries after having built using 'build-webkit'.
              Just set the "WebKitInstallationPrefix" environment variable to your desired prefix.
      
              * Scripts/webkitdirs.pm:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16813 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1b5eae59
    • ap's avatar
      2006-10-05 Don Gibson <dgibson77@gmail.com> · 6234af21
      ap authored
              Reviewed by Adam.
      
              http://bugs.webkit.org/show_bug.cgi?id=11138
              Incorrect mouse event generation on Windows
      
              * platform/win/MouseEventWin.cpp:
              (WebCore::PlatformMouseEvent::PlatformMouseEvent):
              (1) Set mouse button even for non-click-related messages.
              (2) Track clicks correctly for all buttons, not just the left button.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16811 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6234af21
    • ap's avatar
      2006-10-05 Nikolas Zimmermann <zimmermann@kde.org> · 67fdb789
      ap authored
              Reviewed and landed by ap.
      
              Fix Qt/Linux build, adapt to Eric's Quartz changes and to Maciej's ResourceLoader changes.
      
              * kcanvas/device/qt/KRenderingPaintServerGradientQt.cpp:
              (WebCore::KRenderingPaintServerLinearGradientQt::renderPath):
              (WebCore::KRenderingPaintServerLinearGradientQt::setup):
              (WebCore::KRenderingPaintServerRadialGradientQt::setup):
              (WebCore::KRenderingPaintServerRadialGradientQt::renderPath):
              * kcanvas/device/qt/KRenderingPaintServerPatternQt.cpp:
              (WebCore::KRenderingPaintServerPatternQt::renderPath):
              * kcanvas/device/qt/KRenderingPaintServerQt.cpp:
              (WebCore::KRenderingPaintServerQt::setPenProperties):
              * kcanvas/device/qt/KRenderingPaintServerSolidQt.cpp:
              (WebCore::KRenderingPaintServerSolidQt::setup):
              (WebCore::KRenderingPaintServerSolidQt::renderPath):
              * kcanvas/device/qt/RenderPathQt.cpp:
              (WebCore::getPathStroke):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16810 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      67fdb789
    • darin's avatar
      Reviewed by Kevin McCullough. · 6fca5761
      darin authored
              * wtf/Assertions.cpp: Fix build when _DEBUG is not defined.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16808 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6fca5761
    • ap's avatar
      Reviewed by Darin. · e712841d
      ap authored
              http://bugs.webkit.org/show_bug.cgi?id=11054
              REGRESSION: Traditional Chinese encoding in login authentication
      
              1. Treat GB2312 encoding as GBK (its more modern superset), to match other browsers.
              2. On the Web, GB2312 is encoded as EUC-CN or HZ, while ICU provides a native encoding
              for encoding GB_2312-80 and several others. So, we need to override this behavior, too.
      
      WebCore:
              * platform/StreamingTextDecoderICU.cpp:
              (WebCore::TextCodecICU::registerEncodingNames):
      
      LayoutTests:
              Each of these tests is passed by Firefox 1.5 and/or WinIE 6.
      
              * fast/encoding/GBK/EUC-CN-expected.txt: Added.
              * fast/encoding/GBK/EUC-CN.html: Added.
              * fast/encoding/GBK/chinese-expected.txt: Added.
              * fast/encoding/GBK/chinese.html: Added.
              * fast/encoding/GBK/cn-gb-expected.txt: Added.
              * fast/encoding/GBK/cn-gb.html: Added.
              * fast/encoding/GBK/csgb2312-expected.txt: Added.
              * fast/encoding/GBK/csgb2312.html: Added.
              * fast/encoding/GBK/csgb231280-expected.txt: Added.
              * fast/encoding/GBK/csgb231280.html: Added.
              * fast/encoding/GBK/gb2312-expected.txt: Added.
              * fast/encoding/GBK/gb2312.html: Added.
              * fast/encoding/GBK/gb_2312-80-expected.txt: Added.
              * fast/encoding/GBK/gb_2312-80.html: Added.
              * fast/encoding/GBK/gbk-expected.txt: Added.
              * fast/encoding/GBK/gbk.html: Added.
              * fast/encoding/GBK/iso-ir-58-expected.txt: Added.
              * fast/encoding/GBK/iso-ir-58.html: Added.
              * fast/encoding/GBK/x-euc-cn-expected.txt: Added.
              * fast/encoding/GBK/x-euc-cn.html: Added.
              * fast/encoding/GBK/x-gbk-expected.txt: Added.
              * fast/encoding/GBK/x-gbk.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16807 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e712841d
    • eseidel's avatar
      2006-10-05 Eric Seidel <eric@eseidel.com> · e94deeba
      eseidel authored
              Reviewed by mjs.
      
              Removed dead code.
              Filed http://bugs.webkit.org/show_bug.cgi?id=11167 to for followup on removed FIXMEs
      
              * WebCore.xcodeproj/project.pbxproj:
              * ksvg2/ecma/GlobalObject.cpp: Removed.
              * ksvg2/ecma/GlobalObject.h: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16806 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e94deeba
    • aroben's avatar
      Reviewed by Maciej. · 76b643b8
      aroben authored
              Small ResourceLoaderInternal tweak.
      
              * platform/ResourceLoaderInternal.h:
              (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16805 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      76b643b8
    • eseidel's avatar
      2006-10-05 Eric Seidel <eric@eseidel.com> · 91574f47
      eseidel authored
              Reviewed by mjs.
      
              More incremental KCanvas cleanup and optimization.
              Added SVGRenderStyle::hasFill() and hasStroke() removed more KSVGPainterFactory methods.
              Optimized dash array usage to not malloc.
              Also removed un-needed KSVGRenderingStyle includes.
      
              * kcanvas/KCanvasTreeDebug.cpp:
              (WebCore::operator<<):
              * kcanvas/RenderPath.cpp:
              (WebCore::RenderPath::nodeAtPoint):
              * kcanvas/device/quartz/KCanvasItemQuartz.mm:
              (WebCore::RenderPath::strokeBBox):
              * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
              (WebCore::KRenderingPaintServerGradientQuartz::setup):
              (WebCore::KRenderingPaintServerGradientQuartz::renderPath):
              (WebCore::KRenderingPaintServerGradientQuartz::teardown):
              * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
              (WebCore::KRenderingPaintServerSolidQuartz::setup):
              (WebCore::KRenderingPaintServerSolidQuartz::renderPath):
              (WebCore::KRenderingPaintServerPatternQuartz::setup):
              (WebCore::KRenderingPaintServerPatternQuartz::renderPath):
              * kcanvas/device/quartz/QuartzSupport.mm:
              (WebCore::applyStrokeStyleToContext):
              * ksvg2/css/SVGRenderStyle.h:
              (WebCore::SVGRenderStyle::hasStroke):
              (WebCore::SVGRenderStyle::hasFill):
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              (WebCore::KSVGPainterFactory::fillPaintServer):
              (WebCore::KSVGPainterFactory::strokePaintServer):
              * ksvg2/misc/KCanvasRenderingStyle.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16804 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      91574f47
    • mjs's avatar
      Reviewed by Adam. · 76169cad
      mjs authored
              - changed ResourceLoader to be refcounted
      
              It keeps a ref on itself while loading as well. This makes
              for a much saner memory management model than the previous.
      
              * bridge/mac/WebCoreResourceLoaderImp.mm:
              (-[WebCoreResourceLoaderImp finishJobAndHandle:]):
              * dom/XMLTokenizer.cpp:
              (WebCore::openFunc):
              * loader/icon/IconLoader.cpp:
              (IconLoader::IconLoader):
              (IconLoader::~IconLoader):
              (IconLoader::startLoading):
              (IconLoader::stopLoading):
              (IconLoader::receivedData):
              * loader/icon/IconLoader.h:
              * loader/loader.cpp:
              (WebCore::Loader::servePendingRequests):
              * platform/ResourceLoader.cpp:
              (WebCore::ResourceLoader::create):
              (WebCore::ResourceLoader::kill):
              * platform/ResourceLoader.h:
              * platform/ResourceLoaderInternal.h:
              (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
              * platform/mac/ResourceLoaderMac.mm:
              (WebCore::ResourceLoader::start):
              * xml/XSLTProcessor.cpp:
              (WebCore::docLoaderFunc):
              * xml/xmlhttprequest.cpp:
              (WebCore::XMLHttpRequest::send):
              * xml/xmlhttprequest.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16803 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      76169cad
    • eseidel's avatar
      2006-10-05 Eric Seidel <eric@eseidel.com> · ebc2c5e3
      eseidel authored
              Reviewed by mjs.
      
              Improve SVG opacity performance by clipping to the object bbox before starting a new opacity layer.
              http://bugs.webkit.org/show_bug.cgi?id=11163
              
              No SVG performance tests yet.
      
              * kcanvas/RenderForeignObject.cpp:
              (WebCore::RenderForeignObject::paint):
              * kcanvas/RenderSVGContainer.cpp:
              (WebCore::RenderSVGContainer::paint):
              * kcanvas/RenderSVGImage.cpp:
              (WebCore::RenderSVGImage::paint):
              * kcanvas/RenderSVGText.cpp:
              (WebCore::RenderSVGText::paint):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16802 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ebc2c5e3
    • hyatt's avatar
      Widget focusability work. · 049a95a8
      hyatt authored
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16801 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      049a95a8
  2. 04 Oct, 2006 27 commits