1. 03 Oct, 2006 3 commits
    • eseidel's avatar
      2006-10-03 Nikolas Zimmermann <zimmermann@kde.org> · 3b0d9c94
      eseidel authored
              Reviewed by eseidel.  Landed by eseidel.
      
              Make all important scripts work with Qt/Linux.
      
              You can safely use this now:
              set-configuration-release --debug && build-webkit && run-javascriptcore-tests && run-webkit-tests
      
              * Scripts/build-dumprendertree:
              * Scripts/run-javascriptcore-tests:
              * Scripts/run-webkit-tests:
              * Scripts/webkitdirs.pm:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16735 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3b0d9c94
    • bdash's avatar
      2006-10-03 Nikolas Zimmermann <zimmermann@kde.org> · f0bb10da
      bdash authored
              Reviewed by Eric.
      
              build-webkit tweak: Use WebKitBuild/$config as output dir (Release/Debug).
      
              * Scripts/webkitdirs.pm:
      
      2006-10-03  Nikolas Zimmermann  <zimmermann@kde.org>
      
              Reviewed by Eric.
      
              Fix Qt/Linux build.
      
              * CMakeLists.txt: Add counter related files.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16734 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f0bb10da
    • bdash's avatar
      2006-10-03 Mark Rowe <bdash@webkit.org> · 52b3d239
      bdash authored
              Reviewed by Eric.
      
              Stop Bakefile-generated Makefile from running `pkg-config' multiple times per file.
      
              * presets.bkl: Make use of "options" and Python commands to run pkg-config etc up front.
      
      2006-10-03  Mark Rowe  <bdash@webkit.org>
      
              Reviewed by Eric.
      
              http://bugs.webkit.org/show_bug.cgi?id=10981
              Linux/GDK build fixes
      
              Based on a patch by Krzysztof Kowalczyk.
      
              * WebCoreSources.bkl:
              * platform/gdk/FrameGdk.cpp:
              (WebCore::doScroll):
              (WebCore::FrameGdk::handleGdkEvent):
              * platform/gdk/PlatformScrollBar.h: Added.
              (WebCore::PlatformScrollBar::isWidget):
              * platform/gdk/ScrollViewGdk.cpp:
              * platform/gdk/TemporaryLinkStubs.cpp:
              (FrameView::passMousePressEventToScrollbar):
              (FrameView::passMousePressEventToSubframe):
              (FrameView::passMouseReleaseEventToSubframe):
              (FrameView::passMouseMoveEventToSubframe):
              (FrameView::passWheelEventToSubframe):
              (Cursor::Cursor):
              (Widget::invalidate):
              (Widget::invalidateRect):
              (ScrollView::wheelEvent):
              (ScrollView::convertToContainingWindow):
              (ScrollView::convertFromContainingWindow):
              (GraphicsContext::clip):
              (PlatformScrollBar::PlatformScrollBar):
              (PlatformScrollBar::updateThumbPosition):
              (PlatformScrollBar::updateThumbProportion):
              (ScrollBar::ScrollBar):
              (ScrollBar::setProportion):
              (WebCore::supportedKeySizes):
              (WebCore::signedPublicKeyAndChallengeString):
              * platform/gdk/WheelEventGdk.cpp:
              (WebCore::PlatformWheelEvent::PlatformWheelEvent):
              * platform/gdk/WidgetGdk.cpp:
              (WebCore::Widget::convertToContainingWindow):
              (WebCore::Widget::convertFromContainingWindow):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16733 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      52b3d239
  2. 02 Oct, 2006 25 commits
    • aroben's avatar
      Reviewed by Maciej. · 193d470a
      aroben authored
              (Forgot this in previous checkin)
      
              Add message paramter to WebView::mouse* methods to pass down to
              PlatformMouseEvent.
      
              * COM/WebView.cpp:
              (WebView::mouseMoved):
              (WebView::mouseDown):
              (WebView::mouseUp):
              (WebView::mouseDoubleClick):
              (WebViewWndProc):
              * COM/WebView.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16732 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      193d470a
    • aroben's avatar
      Reviewed by Maciej. · 30630fc9
      aroben authored
              Let Windows determine which mouse button is pressed.
      
              * platform/PlatformMouseEvent.h: Add message parameter to constructor.
              * platform/win/MouseEventWin.cpp:
              (WebCore::PlatformMouseEvent::PlatformMouseEvent): Use message
              parameter to determine which mouse button is pressed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16731 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      30630fc9
    • mjs's avatar
      Reviewed by Alice. · d3da1eb3
      mjs authored
              
              - take away direct knowledge of WebFrame from WebDataSource
      
              * Loader/WebDocumentLoadState.h:
              * Loader/WebDocumentLoadState.m:
              (-[WebDocumentLoadState setFrameLoader:]):
              (-[WebDocumentLoadState detachFromFrameLoader]):
              * Loader/WebFrameLoader.m:
              (-[WebFrameLoader _setDocumentLoadState:]):
              (-[WebFrameLoader _setProvisionalDocumentLoadState:]):
              * WebView/WebDataSource.m:
              * WebView/WebDataSourceInternal.h:
              * WebView/WebDocumentLoadStateMac.m:
              (-[WebDocumentLoadStateMac detachFromFrameLoader]):
              * WebView/WebFrame.m:
              (-[WebFrame _loadDataSource:withLoadType:formState:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16730 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d3da1eb3
    • justing's avatar
      Reviewed by anders · b3bfc62f
      justing authored
              
              Build fix
              
              * editing/SelectionController.cpp:
              (WebCore::SelectionController::empty):
              * editing/SelectionController.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16729 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b3bfc62f
    • justing's avatar
      LayoutTests: · 538ce8bc
      justing authored
              Reviewed by john
      
              * editing/execCommand/create-list-with-hr-expected.checksum: Added.
              * editing/execCommand/create-list-with-hr-expected.png: Added.
              * editing/execCommand/create-list-with-hr-expected.txt: Added.
              * editing/execCommand/create-list-with-hr.html: Added.
      
      WebCore:
      
              Reviewed by john
              
              <rdar://problem/4755287>
              Writely Editor: Crash occurs at WebCore::maxDeepOffset(WebCore::Node const*) when attempting to create a OL/UL following a HR element
      
              * editing/markup.cpp:
              (WebCore::createMarkup): Migrate to isBlock (isBlockFlow is true for inline replaced 
              elements).  Don't skip blocks that aren't containers (like horizontal rules).
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16728 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      538ce8bc
    • darin's avatar
      2006-10-03 Darin Adler <darin@apple.com> · e64e1d7b
      darin authored
              Reviewed by Justin Garcia.
      
              - correct mistaken code that would restart blinking every
                time "invalidateSelection" is called even if the caret
                has not moved
      
              * editing/SelectionController.h:
              * editing/SelectionController.cpp:
              (WebCore::SelectionController::setSelection): Update for name change.
              (WebCore::SelectionController::recomputeCaretRect): New function.
              Computes caret rect and does any necessary invalidation if the rect
              changes.
              (WebCore::SelectionController::invalidateCaretRect): Renamed from
              needsCaretRepaint. Invalidates the caret rect unconditionally. Also
              calls recomputeCaretRect as a side effect.
      
              * page/Frame.cpp:
              (WebCore::Frame::invalidateSelection): Remove unneeded call to
              clearCaretRectIfNeeded.
              (WebCore::Frame::clearCaretRectIfNeeded): Updated for name change.
              (WebCore::Frame::selectionLayoutChanged): Restructured to use the new
              recomputeCaretRect function and not restart blinking if caret has
              not changed position.
              (WebCore::Frame::caretBlinkTimerFired): Removed some checks that
              are not needed since selectionLayoutChanged already checks these.
      
              * page/FramePrivate.h: Removed unused m_blinkCaret.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16727 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e64e1d7b
    • bdakin's avatar
      Reviewed by Adam. · 4559c71f
      bdakin authored
              Build fix. Add counters to vcproj.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16726 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4559c71f
    • mjs's avatar
      Reviewed by Darin. · 67d1929c
      mjs authored
              
              - move a big slice of data and logic from WebDataSource to WebDocumentLoadState
              
              * Loader/WebDocumentLoadState.h:
              * Loader/WebDocumentLoadState.m:
              (-[WebDocumentLoadState initWithRequest:]):
              (-[WebDocumentLoadState dealloc]):
              (-[WebDocumentLoadState originalRequestCopy]):
              (-[WebDocumentLoadState request]):
              (-[WebDocumentLoadState replaceRequestURLForAnchorScrollWithURL:]):
              (-[WebDocumentLoadState setRequest:]):
              (-[WebDocumentLoadState setResponse:]):
              (-[WebDocumentLoadState isStopping]):
              (-[WebDocumentLoadState bridge]):
              (-[WebDocumentLoadState setMainDocumentError:]):
              (-[WebDocumentLoadState mainDocumentError]):
              (-[WebDocumentLoadState clearErrors]):
              (-[WebDocumentLoadState mainReceivedError:complete:]):
              (-[WebDocumentLoadState stopLoading]):
              (-[WebDocumentLoadState setupForReplace]):
              (-[WebDocumentLoadState commitIfReady]):
              (-[WebDocumentLoadState finishedLoading]):
              (-[WebDocumentLoadState setCommitted:]):
              (-[WebDocumentLoadState isCommitted]):
              (-[WebDocumentLoadState setLoading:]):
              (-[WebDocumentLoadState isLoading]):
              (-[WebDocumentLoadState commitLoadWithData:]):
              (-[WebDocumentLoadState doesProgressiveLoadWithMIMEType:]):
              (-[WebDocumentLoadState receivedData:]):
              (-[WebDocumentLoadState setupForReplaceByMIMEType:]):
              (-[WebDocumentLoadState updateLoading]):
              (-[WebDocumentLoadState response]):
              * Loader/WebFrameLoader.h:
              * Loader/WebFrameLoader.m:
              (-[WebFrameLoader activeDocumentLoadState]):
              (-[WebFrameLoader activeDataSource]):
              (-[WebFrameLoader _archivedSubresourceForURL:]):
              (-[WebFrameLoader addPlugInStreamLoader:]):
              (-[WebFrameLoader removePlugInStreamLoader:]):
              (-[WebFrameLoader addSubresourceLoader:]):
              (-[WebFrameLoader removeSubresourceLoader:]):
              (-[WebFrameLoader documentLoadState]):
              (-[WebFrameLoader provisionalDocumentLoadState]):
              (-[WebFrameLoader stopLoading]):
              (-[WebFrameLoader _originalRequest]):
              (-[WebFrameLoader _receivedData:]):
              (-[WebFrameLoader _setRequest:]):
              (-[WebFrameLoader bridge]):
              (-[WebFrameLoader _handleFallbackContent]):
              (-[WebFrameLoader _isStopping]):
              (-[WebFrameLoader _setupForReplaceByMIMEType:]):
              (-[WebFrameLoader _setResponse:]):
              (-[WebFrameLoader _mainReceivedError:complete:]):
              (-[WebFrameLoader _finishedLoading]):
              (-[WebFrameLoader didReceiveServerRedirectForProvisionalLoadForFrame]):
              (-[WebFrameLoader finishedLoadingDocumentLoadState:]):
              (-[WebFrameLoader commitProvisitionalLoad]):
              (-[WebFrameLoader committedLoadWithDocumentLoadState:data:]):
              (-[WebFrameLoader isReplacing]):
              (-[WebFrameLoader setReplacing]):
              (-[WebFrameLoader revertToProvisionalWithDocumentLoadState:]):
              (-[WebFrameLoader documentLoadState:setMainDocumentError:]):
              (-[WebFrameLoader documentLoadState:mainReceivedCompleteError:]):
              (-[WebFrameLoader finalSetupForReplaceWithDocumentLoadState:]):
              * WebView/WebDataSource.m:
              (-[WebDataSourcePrivate dealloc]):
              (-[WebDataSource _prepareForLoadStart]):
              (-[WebDataSource _mainDocumentError]):
              (-[WebDataSource _finishedLoading]):
              (-[WebDataSource _receivedData:]):
              (-[WebDataSource _setMainDocumentError:]):
              (-[WebDataSource _clearUnarchivingState]):
              (-[WebDataSource _revertToProvisionalState]):
              (-[WebDataSource _receivedMainResourceError:complete:]):
              (-[WebDataSource _startLoading]):
              (-[WebDataSource _loadFromPageCache:]):
              (-[WebDataSource _bridge]):
              (-[WebDataSource _setPrimaryLoadComplete:]):
              (-[WebDataSource _URLForHistory]):
              (-[WebDataSource _setTitle:]):
              (-[WebDataSource _initWithDocumentLoadState:]):
              (-[WebDataSource request]):
              (-[WebDataSource response]):
              (-[WebDataSource isLoading]):
              (-[WebDataSource webArchive]):
              * WebView/WebDataSourceInternal.h:
              * WebView/WebDocumentLoadStateMac.m:
              (-[WebDocumentLoadStateMac initWithRequest:]):
              * WebView/WebFrame.m:
              (-[WebFrame _createItem:]):
              (-[WebFrame _receivedMainResourceError:]):
              (-[WebFrame _transitionToCommitted:]):
              (-[WebFrame _commitProvisionalLoad:]):
              (-[WebFrame _checkLoadCompleteForThisFrame]):
              (-[WebFrame _loadItem:withLoadType:]):
              (-[WebFrame _continueFragmentScrollAfterNavigationPolicy:formState:]):
              (-[WebFrame _didReceiveServerRedirectForProvisionalLoadForFrame]):
              (-[WebFrame _provisionalLoadStarted]):
              * WebView/WebFrameInternal.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16725 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      67d1929c
    • beidson's avatar
      Reviewed by Adele · 8f6e64c7
      beidson authored
              If the Icon DB schema changes underneath you, the latest ToT can crash and burn when writing
              icon data out because we don't correctly check SQL error conditions.
      
              * loader/icon/IconDataCache.cpp:
              (WebCore::IconDataCache::writeToDatabase):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16724 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8f6e64c7
    • sfalken's avatar
      2006-10-02 Steve Falkenburg <sfalken@apple.com> · 500aca6d
      sfalken authored
              Reviewed by Hyatt.
      
              Added method to find out whether a layout has occurred.
      
              * page/FrameView.cpp:
              (WebCore::FrameView::didFirstLayout):
              * page/FrameView.h:
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16723 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      500aca6d
    • bdakin's avatar
      Minor harassment followed by abject surrender provided by ggggaren. · e156faa7
      bdakin authored
              Tests for counters.
      
              * fast/css/counters/contentNone-expected.checksum: Added.
              * fast/css/counters/contentNone-expected.png: Added.
              * fast/css/counters/contentNone-expected.txt: Added.
              * fast/css/counters/contentNone.html: Added.
              * fast/css/counters/counter00-expected.checksum: Added.
              * fast/css/counters/counter00-expected.png: Added.
              * fast/css/counters/counter00-expected.txt: Added.
              * fast/css/counters/counter00.html: Added.
              * fast/css/counters/counter01-expected.checksum: Added.
              * fast/css/counters/counter01-expected.png: Added.
              * fast/css/counters/counter01-expected.txt: Added.
              * fast/css/counters/counter01.html: Added.
              * fast/css/counters/counter02-expected.checksum: Added.
              * fast/css/counters/counter02-expected.png: Added.
              * fast/css/counters/counter02-expected.txt: Added.
              * fast/css/counters/counter02.html: Added.
              * fast/css/counters/counter03-expected.checksum: Added.
              * fast/css/counters/counter03-expected.png: Added.
              * fast/css/counters/counter03-expected.txt: Added.
              * fast/css/counters/counter03.html: Added.
              * fast/css/counters/counter04-expected.checksum: Added.
              * fast/css/counters/counter04-expected.png: Added.
              * fast/css/counters/counter04-expected.txt: Added.
              * fast/css/counters/counter04.html: Added.
              * fast/css/counters/counter05-expected.checksum: Added.
              * fast/css/counters/counter05-expected.png: Added.
              * fast/css/counters/counter05-expected.txt: Added.
              * fast/css/counters/counter05.html: Added.
              * fast/css/counters/counter06-expected.checksum: Added.
              * fast/css/counters/counter06-expected.png: Added.
              * fast/css/counters/counter06-expected.txt: Added.
              * fast/css/counters/counter06.html: Added.
              * fast/css/counters/counter07-expected.checksum: Added.
              * fast/css/counters/counter07-expected.png: Added.
              * fast/css/counters/counter07-expected.txt: Added.
              * fast/css/counters/counter07.html: Added.
              * fast/css/counters/counter08-expected.checksum: Added.
              * fast/css/counters/counter08-expected.png: Added.
              * fast/css/counters/counter08-expected.txt: Added.
              * fast/css/counters/counter08.html: Added.
              * fast/css/counters/counter09-expected.checksum: Added.
              * fast/css/counters/counter09-expected.png: Added.
              * fast/css/counters/counter09-expected.txt: Added.
              * fast/css/counters/counter09.html: Added.
              * fast/css/counters/counter10-expected.checksum: Added.
              * fast/css/counters/counter10-expected.png: Added.
              * fast/css/counters/counter10-expected.txt: Added.
              * fast/css/counters/counter10.html: Added.
              * fast/css/counters/counter11-expected.checksum: Added.
              * fast/css/counters/counter11-expected.png: Added.
              * fast/css/counters/counter11-expected.txt: Added.
              * fast/css/counters/counter11.html: Added.
              * fast/css/counters/counter12-expected.checksum: Added.
              * fast/css/counters/counter12-expected.png: Added.
              * fast/css/counters/counter12-expected.txt: Added.
              * fast/css/counters/counter12.html: Added.
              * fast/css/counters/counter13-expected.checksum: Added.
              * fast/css/counters/counter13-expected.png: Added.
              * fast/css/counters/counter13-expected.txt: Added.
              * fast/css/counters/counter13.html: Added.
              * fast/css/counters/counter14-expected.checksum: Added.
              * fast/css/counters/counter14-expected.png: Added.
              * fast/css/counters/counter14-expected.txt: Added.
              * fast/css/counters/counter14.html: Added.
              * fast/css/counters/counter15-expected.checksum: Added.
              * fast/css/counters/counter15-expected.png: Added.
              * fast/css/counters/counter15-expected.txt: Added.
              * fast/css/counters/counter15.html: Added.
              * fast/css/counters/counter16-expected.checksum: Added.
              * fast/css/counters/counter16-expected.png: Added.
              * fast/css/counters/counter16-expected.txt: Added.
              * fast/css/counters/counter16.html: Added.
              * fast/css/counters/counters00-expected.checksum: Added.
              * fast/css/counters/counters00-expected.png: Added.
              * fast/css/counters/counters00-expected.txt: Added.
              * fast/css/counters/counters00.html: Added.
              * fast/css/counters/counters01-expected.checksum: Added.
              * fast/css/counters/counters01-expected.png: Added.
              * fast/css/counters/counters01-expected.txt: Added.
              * fast/css/counters/counters01.html: Added.
              * fast/css/counters/counters02-expected.checksum: Added.
              * fast/css/counters/counters02-expected.png: Added.
              * fast/css/counters/counters02-expected.txt: Added.
              * fast/css/counters/counters02.html: Added.
              * fast/css/counters/counters03-expected.checksum: Added.
              * fast/css/counters/counters03-expected.png: Added.
              * fast/css/counters/counters03-expected.txt: Added.
              * fast/css/counters/counters03.html: Added.
              * fast/css/counters/counters04-expected.checksum: Added.
              * fast/css/counters/counters04-expected.png: Added.
              * fast/css/counters/counters04-expected.txt: Added.
              * fast/css/counters/counters04.html: Added.
              * fast/css/counters/counters05-expected.checksum: Added.
              * fast/css/counters/counters05-expected.png: Added.
              * fast/css/counters/counters05-expected.txt: Added.
              * fast/css/counters/counters05.html: Added.
              * fast/css/counters/counters06-expected.checksum: Added.
              * fast/css/counters/counters06-expected.png: Added.
              * fast/css/counters/counters06-expected.txt: Added.
              * fast/css/counters/counters06.html: Added.
              * fast/css/counters/counters07-expected.checksum: Added.
              * fast/css/counters/counters07-expected.png: Added.
              * fast/css/counters/counters07-expected.txt: Added.
              * fast/css/counters/counters07.html: Added.
              * fast/css/counters/counters08-expected.checksum: Added.
              * fast/css/counters/counters08-expected.png: Added.
              * fast/css/counters/counters08-expected.txt: Added.
              * fast/css/counters/counters08.html: Added.
              * fast/css/counters/counters09-expected.checksum: Added.
              * fast/css/counters/counters09-expected.png: Added.
              * fast/css/counters/counters09-expected.txt: Added.
              * fast/css/counters/counters09.html: Added.
              * fast/css/counters/counters10-expected.checksum: Added.
              * fast/css/counters/counters10-expected.png: Added.
              * fast/css/counters/counters10-expected.txt: Added.
              * fast/css/counters/counters10.html: Added.
              * fast/css/counters/counters11-expected.checksum: Added.
              * fast/css/counters/counters11-expected.png: Added.
              * fast/css/counters/counters11-expected.txt: Added.
              * fast/css/counters/counters11.html: Added.
              * fast/css/counters/counters12-expected.checksum: Added.
              * fast/css/counters/counters12-expected.png: Added.
              * fast/css/counters/counters12-expected.txt: Added.
              * fast/css/counters/counters12.html: Added.
              * fast/css/counters/counters13-expected.checksum: Added.
              * fast/css/counters/counters13-expected.png: Added.
              * fast/css/counters/counters13-expected.txt: Added.
              * fast/css/counters/counters13.html: Added.
              * fast/css/counters/counters14-expected.checksum: Added.
              * fast/css/counters/counters14-expected.png: Added.
              * fast/css/counters/counters14-expected.txt: Added.
              * fast/css/counters/counters14.html: Added.
              * fast/css/counters/counters15-expected.checksum: Added.
              * fast/css/counters/counters15-expected.png: Added.
              * fast/css/counters/counters15-expected.txt: Added.
              * fast/css/counters/counters15.html: Added.
              * fast/css/counters/counters18-expected.checksum: Added.
              * fast/css/counters/counters18-expected.png: Added.
              * fast/css/counters/counters18-expected.txt: Added.
              * fast/css/counters/counters18.html: Added.
              * fast/css/counters/implied00-expected.checksum: Added.
              * fast/css/counters/implied00-expected.png: Added.
              * fast/css/counters/implied00-expected.txt: Added.
              * fast/css/counters/implied00.html: Added.
              * fast/css/counters/root-expected.checksum: Added.
              * fast/css/counters/root-expected.png: Added.
              * fast/css/counters/root-expected.txt: Added.
              * fast/css/counters/root.html: Added.
              * fast/css/counters/visibilityNone-expected.checksum: Added.
              * fast/css/counters/visibilityNone-expected.png: Added.
              * fast/css/counters/visibilityNone-expected.txt: Added.
              * fast/css/counters/visibilityNone.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16722 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e156faa7
    • bdakin's avatar
      Reviewed by Darin. · 5d6edd41
      bdakin authored
              Initial implementation of CSS2 counters. See http://
              bugs.webkit.org/show_bug.cgi?id=4980 for more details.
      
              * WebCore.xcodeproj/project.pbxproj:
              * css/CSSComputedStyleDeclaration.cpp: 
              (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Return 
              the increment/reset list now that this is implemented.
              * css/CSSPrimitiveValue.cpp:
              (WebCore::CSSPrimitiveValue::cssText): 
              * css/Counter.h:
              (WebCore::Counter::Counter):
              (WebCore::Counter::~Counter):
              (WebCore::Counter::identifier):
              (WebCore::Counter::listStyle):
              (WebCore::Counter::separator):
              (WebCore::Counter::listStyleNumber):
              (WebCore::Counter::setIdentifier):
              (WebCore::Counter::setListStyle):
              (WebCore::Counter::setSeparator):
              * css/cssparser.cpp:
              (WebCore::CSSParser::addProperty): Take care of reset/increment
              (WebCore::CSSParser::parseValue):
              (WebCore::CSSParser::parseContent): content can now take counters
              (WebCore::CSSParser::parseCounterContent): Parse counter() and 
              counters()
              (WebCore::CSSParser::parseCounter): Parse counter-reset and 
              counter-increment
              * css/cssparser.h:
              * css/cssstyleselector.cpp:
              (WebCore::CSSStyleSelector::matchUARules):
              (WebCore::CSSStyleSelector::applyProperty):
              * platform/PlatformString.h:
              * platform/String.cpp:
              (WebCore::String::insert): Implemented a version of insert that 
              accepts a UChar* and a length.
              * platform/StringImpl.cpp:
              (WebCore::StringImpl::insert): Same as above.
              * platform/StringImpl.h:
              * rendering/CounterListItem.h: Added.
              * rendering/CounterNode.cpp: Added.
              (WebCore::CounterNode::CounterNode):
              (WebCore::CounterNode::insertAfter):
              (WebCore::CounterNode::removeChild):
              (WebCore::CounterNode::remove):
              (WebCore::CounterNode::setUsesSeparator):
              (WebCore::CounterNode::recountAndGetNext):
              (WebCore::CounterNode::recountTree):
              (WebCore::CounterNode::setSelfDirty):
              (WebCore::CounterNode::setParentDirty):
              * rendering/CounterNode.h: Added.
              (WebCore::CounterNode::~CounterNode):
              (WebCore::CounterNode::parent):
              (WebCore::CounterNode::previousSibling):
              (WebCore::CounterNode::nextSibling):
              (WebCore::CounterNode::firstChild):
              (WebCore::CounterNode::lastChild):
              (WebCore::CounterNode::value):
              (WebCore::CounterNode::setValue):
              (WebCore::CounterNode::count):
              (WebCore::CounterNode::setCount):
              (WebCore::CounterNode::setHasSeparator):
              (WebCore::CounterNode::isReset):
              (WebCore::CounterNode::hasSeparator):
              (WebCore::CounterNode::willNeedLayout):
              (WebCore::CounterNode::setWillNeedLayout):
              (WebCore::CounterNode::isRoot):
              (WebCore::CounterNode::setRenderer):
              (WebCore::CounterNode::renderer):
              * rendering/CounterResetNode.cpp: Added.
              (WebCore::CounterResetNode::CounterResetNode):
              (WebCore::CounterResetNode::insertAfter):
              (WebCore::CounterResetNode::removeChild):
              (WebCore::CounterResetNode::recountAndGetNext):
              (WebCore::CounterResetNode::setParentDirty):
              (WebCore::CounterResetNode::updateTotal):
              * rendering/CounterResetNode.h: Added.
              (WebCore::CounterResetNode::firstChild):
              (WebCore::CounterResetNode::lastChild):
              (WebCore::CounterResetNode::isReset):
              (WebCore::CounterResetNode::total):
              * rendering/RenderContainer.cpp:
              (WebCore::RenderContainer::updatePseudoChildForObject): Account for 
              counter content.
              * rendering/RenderCounter.cpp: Added.
              (WebCore::RenderCounter::RenderCounter):
              (WebCore::RenderCounter::layout):
              (WebCore::toRoman):
              (WebCore::toLetterString):
              (WebCore::toHebrew):
              (WebCore::RenderCounter::convertValueToType):
              (WebCore::RenderCounter::calcMinMaxWidth):
              * rendering/RenderCounter.h: Added.
              (WebCore::RenderCounter::renderName):
              (WebCore::RenderCounter::isCounter):
              * rendering/RenderObject.cpp:
              (WebCore::getRenderObjectsToCounterNodeMaps): Maps RenderObjects to 
              maps of CounterNodes
              (WebCore::RenderObject::RenderObject):
              (WebCore::RenderObject::destroy): Destroy the maps.
              (WebCore::RenderObject::findCounter): Finds/creates counters.
              * rendering/RenderObject.h:
              (WebCore::RenderObject::isCounter):
              * rendering/RenderStyle.cpp:
              (WebCore::StyleVisualData::StyleVisualData):
              (WebCore::RenderStyle::arenaDelete):
              (WebCore::RenderStyle::RenderStyle):
              (WebCore::RenderStyle::diff):
              (WebCore::RenderStyle::setContent):
              (WebCore::ContentData::clearContent):
              (WebCore::RenderStyle::counterDataEquivalent):
              (WebCore::hasCounter):
              (WebCore::RenderStyle::hasCounterReset):
              (WebCore::RenderStyle::hasCounterIncrement):
              (WebCore::readCounter):
              (WebCore::RenderStyle::counterReset):
              (WebCore::RenderStyle::counterIncrement):
              * rendering/RenderStyle.h:
              (WebCore::StyleVisualData::operator==):
              (WebCore::CounterData::CounterData):
              (WebCore::CounterData::identifier):
              (WebCore::CounterData::listStyle):
              (WebCore::CounterData::separator):
              (WebCore::ContentData::contentCounter):
              (WebCore::ContentData::):
              (WebCore::RenderStyle::counterIncrement):
              (WebCore::RenderStyle::counterReset):
              (WebCore::RenderStyle::setCounterIncrement):
              (WebCore::RenderStyle::setCounterReset):
              (WebCore::RenderStyle::setCounterResetList):
              (WebCore::RenderStyle::setCounterIncrementList):
              (WebCore::RenderStyle::counterResetValueList):
              (WebCore::RenderStyle::counterIncrementValueList):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16721 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5d6edd41
    • aroben's avatar
      Reviewed by Tim H. · af43bf0e
      aroben authored
              This change fixes a couple of problems with the window-properties
              test. window-properties' output changes depending on the presence or
              non-presence of session history (see
              http://bugs.webkit.org/show_bug.cgi?id=10965 for details). For this
              reason, the test must always be run as part of a run of ALL layout
              tests. The test results checked in were generated from an individual
              run of this test, so the buildbots were always failing since they run
              all the tests at once.
      
              This change regenerates the results for the test using a full run of
              layout tests. The test now also prints out object class names, and
              will print an error message when the test is run by itself.
      
              * fast/js/window-properties-expected.txt:
              * fast/js/window-properties.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16720 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      af43bf0e
    • justing's avatar
      Reviewed by john · cd947c9d
      justing authored
              
              <rdar://problem/4757583>
              REGRESSION: tabbing into page focuses wrong control on 2nd pass
              <rdar://problem/4757594>
              REGRESSION: Form field is left with secondary selection after tabbing out of WebView
      
              * WebView/WebHTMLView.m:
              (-[NSArray maintainsInactiveSelection]): Replace code that I removed in error in the patch
              for 9642.  Only leave inactive editable selections in the WebHTMLView if the nextResponder 
              is in the same WebView.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16719 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd947c9d
    • adele's avatar
      LayoutTests: · 365db64e
      adele authored
              Reviewed by Adam.
      
              - Updated results for <rdar://problem/4463841> Switch to use new list box implementation for <select multiple>
      
              * fast/forms/HTMLOptionElement_label05-expected.checksum:
              * fast/forms/HTMLOptionElement_label05-expected.png:
              * fast/forms/HTMLOptionElement_label05-expected.txt:
              * fast/forms/form-element-geometry-expected.checksum:
              * fast/forms/form-element-geometry-expected.png:
              * fast/forms/form-element-geometry-expected.txt:
              * fast/forms/option-strip-whitespace-expected.checksum:
              * fast/forms/option-strip-whitespace-expected.png:
              * fast/forms/option-strip-whitespace-expected.txt:
              * fast/forms/password-doubleclick-selection-expected.txt: Added.
              * fast/forms/password-doubleclick-selection.html: Added.
              * fast/forms/select-change-popup-to-listbox-expected.checksum:
              * fast/forms/select-change-popup-to-listbox-expected.png:
              * fast/forms/select-change-popup-to-listbox-expected.txt:
              * fast/text/updateNewFont-expected.checksum:
              * fast/text/updateNewFont-expected.png:
              * fast/text/updateNewFont-expected.txt:
      
      WebCore:
      
              Reviewed by Adam.
      
              - Fix for <rdar://problem/4463841> Switch to use new list box implementation for <select multiple>
      
              There are a few outstanding issues, so I've left the old code in for now.  So you can use the old-style listboxes
              by using "-webkit-appearance:none".
      
              * css/html4.css:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16718 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      365db64e
    • aroben's avatar
      Backing out these accidental commits. · 819d7b38
      aroben authored
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16717 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      819d7b38
    • aroben's avatar
      2006-10-02 Nikolas Zimmermann <zimmermann@kde.org> · 9eae1ea4
      aroben authored
      JavaScriptCore:
      
              Reviewed/landed by Adam.
      
              Build testkjs on Qt/Linux.
      
              * CMakeLists.txt:
      
      WebKitTools:
      
              Reviewed/landed by Adam.
      
              Proper build-webkit support for Qt/Linux.
      
              Compilation process is similar to OSX now, aka.
              the build directory is RootCheckoutDir/WebKitBuild now.
      
              * Scripts/build-webkit: Recognize Qt.
              * Scripts/webkitdirs.pm: Add buildCMakeProject() logic.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16716 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9eae1ea4
    • harrison's avatar
      Reverted the code part of r16696, my patch for... · a4d6cdc1
      harrison authored
              Reverted the code part of r16696, my patch for <rdar://problem/4641262>, because the problem was
              addressed at a deeper level by r16696, the patch for <http://bugs.webkit.org/show_bug.cgi?id=10842>.
              Left the layout test.
              
              * rendering/bidi.cpp:
              (WebCore::checkMidpoints):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a4d6cdc1
    • eseidel's avatar
      2006-10-02 Nikolas Zimmermann <zimmermann@kde.org> · 0a779084
      eseidel authored
              Reviewed by eseidel.  Landed by eseidel.
      
              Fix win32 build, which has no inttypes.h
      
              * wtf/Assertions.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16713 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0a779084
    • eseidel's avatar
      2006-10-02 Nikolas Zimmermann <zimmermann@kde.org> · 56863645
      eseidel authored
              Reviewed by eseidel.  Landed by eseidel.
      
              Fix Qt/Linux build.
      
              * platform/qt/TemporaryLinkStubs.cpp: s/DeprecatedStringList/Vector<String>/
              (WebCore::supportedKeySizes):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16712 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      56863645
    • eseidel's avatar
      2006-10-02 Nikolas Zimmermann <zimmermann@kde.org> · 2aed556f
      eseidel authored
              Reviewed by eseidel & mjs.  Landed by eseidel.
      
              Fix Qt/Linux build with older gcc 3.3.4.
              http://bugs.webkit.org/show_bug.cgi?id=11116
      
              As discussed with Maciej, the GCC_ROOT_NS_HACK
              can be completely removed, as well as the friendship
              between cacheGlobalObject & the JS* objects.
      
              * bindings/scripts/CodeGeneratorJS.pm: Remove friendship.
              * platform/image-decoders/png/pnggccrd.c: Fix comments for gcc3.
              (png_read_filter_row_mmx_avg):
              * platform/image-decoders/png/pngvcrd.c: Ditto.
              (png_mmx_support):
              (png_read_filter_row_mmx_avg):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2aed556f
    • mjs's avatar
      Reviewed by Anders. · 39db9c21
      mjs authored
              
              - remove webFrame field from WebDataSourcePrivate, it can get it from WebDocumentLoadState now
      
              * Loader/WebDocumentLoadState.h:
              * Loader/WebDocumentLoadState.m:
              (-[WebDocumentLoadState frameLoader]):
              * WebView/WebDataSource.m:
              (-[WebDataSourcePrivate dealloc]):
              (-[WebDataSource _revertToProvisionalState]):
              (-[WebDataSource _setupForReplaceByMIMEType:]):
              (-[WebDataSource _updateLoading]):
              (-[WebDataSource _startLoading]):
              (-[WebDataSource _setWebFrame:]):
              (-[WebDataSource _defersCallbacksChanged]):
              (-[WebDataSource _stopLoading]):
              (-[WebDataSource _webView]):
              (-[WebDataSource _stopLoadingWithError:]):
              (-[WebDataSource _setPrimaryLoadComplete:]):
              (-[WebDataSource dealloc]):
              (-[WebDataSource webFrame]):
              (-[WebDataSource isLoading]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16710 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      39db9c21
    • mjs's avatar
      Reviewed by Anders. · a6a3baee
      mjs authored
              
              - fix crash on back/forward - reattach WebDocumentLoadState to data source when needed
      
              * WebView/WebDataSource.m:
              (-[WebDataSource _setWebFrame:]):
              (-[WebDataSource _initWithDocumentLoadState:]):
              * WebView/WebDataSourceInternal.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16709 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a6a3baee
    • mjs's avatar
      Build fix, not reviewed. · 4fb7933e
      mjs authored
              
              - Added missing files to fix build.
      
              * WebView/WebDocumentLoadStateMac.h: Added.
              * WebView/WebDocumentLoadStateMac.m: Added.
              (-[WebDocumentLoadStateMac initWithRequest:]):
              (-[WebDocumentLoadStateMac dealloc]):
              (-[WebDocumentLoadStateMac setDataSource:]):
              (-[WebDocumentLoadStateMac dataSource]):
              (-[WebDocumentLoadStateMac setFrameLoader:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16708 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4fb7933e
    • mjs's avatar
      Reviewed by Brady and Oliver. · 64e6db90
      mjs authored
              
              - move things around so that WebDataSource and WebDocumentLoadState know about each other in
              the right way. This lines things up to move nearly all functionality down to WebDocumentLoadState.
      
              * Loader/WebDocumentLoadState.h:
              * Loader/WebDocumentLoadState.m:
              (-[WebDocumentLoadState initWithRequest:]):
              (-[WebDocumentLoadState dealloc]):
              (-[WebDocumentLoadState originalRequest]):
              * Loader/WebFrameLoader.h:
              * Loader/WebFrameLoader.m:
              (-[WebFrameLoader dealloc]):
              (-[WebFrameLoader addSubresourceLoader:]):
              (-[WebFrameLoader startLoadingMainResourceWithRequest:identifier:]):
              (-[WebFrameLoader dataSource]):
              (-[WebFrameLoader _setDocumentLoadState:]):
              (-[WebFrameLoader policyDataSource]):
              (-[WebFrameLoader _setPolicyDocumentLoadState:]):
              (-[WebFrameLoader clearDataSource]):
              (-[WebFrameLoader provisionalDataSource]):
              (-[WebFrameLoader _setProvisionalDocumentLoadState:]):
              (-[WebFrameLoader _clearProvisionalDataSource]):
              (-[WebFrameLoader _setState:]):
              (-[WebFrameLoader clearProvisionalLoad]):
              (-[WebFrameLoader commitProvisionalLoad]):
              (-[WebFrameLoader stopLoading]):
              (-[WebFrameLoader startLoading]):
              (-[WebFrameLoader startProvisionalLoad:]):
              (-[WebFrameLoader setupForReplace]):
              (-[WebFrameLoader activeDocumentLoadState]):
              (-[WebFrameLoader activeDataSource]):
              (-[WebFrameLoader _loadRequest:archive:]):
              (-[WebFrameLoader _loadRequest:triggeringAction:loadType:formState:]):
              (-[WebFrameLoader _reloadAllowingStaleDataWithOverrideEncoding:]):
              (-[WebFrameLoader reload]):
              * WebKit.xcodeproj/project.pbxproj:
              * WebView/WebDataSource.m:
              (-[WebDataSourcePrivate dealloc]):
              (-[WebDataSource _startLoading]):
              (-[WebDataSource _setWebFrame:]):
              (-[WebDataSource _documentLoadState]):
              (-[WebDataSource _initWithDocumentLoadState:]):
              (-[WebDataSource initWithRequest:]):
              (-[WebDataSource initialRequest]):
              (-[WebDataSource unreachableURL]):
              * WebView/WebDataSourceInternal.h:
              * WebView/WebFrame.m:
              (-[WebFramePrivate dealloc]):
              (-[WebFrame _continueLoadRequestAfterNavigationPolicy:formState:]):
              (-[WebFrame _loadDataSource:withLoadType:formState:]):
              (-[WebFrame _policyDataSource]):
              (-[WebFrame _shouldReloadToHandleUnreachableURLFromRequest:]):
              (-[WebFrame _dataSourceForDocumentLoadState:]):
              (-[WebFrame _createDocumentLoadStateWithRequest:]):
              * WebView/WebFrameInternal.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16707 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      64e6db90
  3. 01 Oct, 2006 12 commits
    • mjs's avatar
      LayoutTests: · 07d17dc5
      mjs authored
              Rubber stamped by Alexey.
      
              - reverted fix for http://bugs.webkit.org/show_bug.cgi?id=10893 since it led to layout test crashes
      
              * fast/dom/css-insert-import-rule-expected.txt: Removed.
              * fast/dom/css-insert-import-rule.html: Removed.
      
      WebCore:
      
              Rubber stamped by Alexey.
      
              - reverted fix for http://bugs.webkit.org/show_bug.cgi?id=10893 since it led to layout test crashes
      
              * css/CSSGrammar.y:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16706 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      07d17dc5
    • eseidel's avatar
      2006-10-01 Eric Seidel <eric@webkit.org> · 64866156
      eseidel authored
              Reviewed by mjs.
      
              Eliminate a few more hotspots in SVG drawing code.
              
              No test cases were harmed in the making of this patch.  (And SVG has no perf tests.)
      
              * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
              (WebCore::KRenderingPaintServerSolidQuartz::setup): use a single shared colorspace, avoid a few mallocs
              * platform/mac/ColorMac.mm:
              (+[WebCoreControlTintObserver WebCore]): store a single shared colorspace instance
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16705 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      64866156
    • bdash's avatar
      2006-10-01 Mark Rowe <opendarwin.org@bdash.net.nz> · 747fe72e
      bdash authored
              Reviewed by Maciej.
      
              Add QT build slave to Buildbot.
      
              * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Add QT build slave, fix existing errors.
              * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Add QT build factory.
              * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Disable forcing of builds via web interface to prevent spamming.  Use the IRC bot in #webkit-build instead.
              * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Add CMake build step.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16704 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      747fe72e
    • ggaren's avatar
      LayoutTests: · fc3c26a8
      ggaren authored
              Added test for the viewource attribute, which applies to <frame> and
              <iframe> elements.
      
              * fast/frames/viewsource-attribute-expected.txt: Added.
              * fast/frames/viewsource-attribute.html: Added.
      
              * fast/frames/frameElement-widthheight.html: Removed stray character.
      
      WebCore:
      
              Reviewed by Maciej.
              
              More frame/iframe merging.
              
              - Removed needWidgetUpdate and related code. needWidgetUpdate is always
              false, so this was dead code.
              - Removed FIXME about setInViewSourceMode inside openURL(). openURL(), rather
              than attach(), is the correct place for setInViewSourceMode, because
              openURL() is the function that creates our frame.
              - Moved IFRAME insertedIntoDocument() code into FRAME, and removed FRAME
              code that did the same thing in other places.
              - Made FRAME's attach() method suffuciently generic so that IFRAME could
              call up to it, rather than skipping its superclass and calling up directly 
              to ELEMENT.
              - Changed a few IFRAME up-calls to ELEMENT into up-calls to FRAME.
              - Replaced ad hoc frame loading code in FRAME::attach() with call to
              openURL(), the designated frame loading function.
      
              Layout tests pass. I added a layout test for viewsource mode, since I
              broke it in the course of writing this patch.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16703 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fc3c26a8
    • eseidel's avatar
      2006-10-01 Nikolas Zimmermann <zimmermann@kde.org> · 52f3a0e9
      eseidel authored
              Reviewed by eseidel.
      
              * CMakeLists.txt: add option to disable colored output when building on the buildbot
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16702 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      52f3a0e9
    • andersca's avatar
      2006-10-01 Anders Carlsson <acarlsson@apple.com> · 6c1f4217
      andersca authored
              Reviewed by Geoff.
      
              * dom/Document.cpp:
              (WebCore::Document::recalcStyleSelector):
              * dom/Document.h:
              Get rid of availableStyleSheets() and remove DeprecatedStringList.h include.
              
              * dom/Node.h:
              Remove DeprecatedStringList class forward declaration.
              
              * editing/markup.cpp:
              Include DeprecatedStringList.h here since it's not included by Document.h anymore.
              
              * kcanvas/KCanvasTreeDebug.cpp:
              * kcanvas/KCanvasTreeDebug.h:
              Remove unused functions.
              
              * loader/loader.cpp:
              * page/Frame.cpp:
              * page/Frame.h:
              * page/FrameView.h:
              Fixup DeprecatedStringList.h includes.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6c1f4217
    • harrison's avatar
      LayoutTests: · a2c2e1bf
      harrison authored
              Reviewed by John Sullivan.
      
              <rdar://problem/4641262> REGRESSION: Japanese text corrupts on wrapping point
      
              * fast/text/international/wrap-CJK-001-expected.checksum: Added.
              * fast/text/international/wrap-CJK-001-expected.png: Added.
              * fast/text/international/wrap-CJK-001-expected.txt: Added.
              * fast/text/international/wrap-CJK-001.html: Added.
      
      WebCore:
      
              Reviewed by John Sullivan.
      
              <rdar://problem/4641262> REGRESSION: Japanese text corrupts on wrapping point
      
              Problem was that the decision to trim was based only on whether the character
              is a soft hyphen, which caused pretty much any Japanese character to go.
              Changed to decide based on whether the character is ignorable whitespace.
              
              Test:
              * fast/text/international/wrap-CJK-001.html
      
              * rendering/bidi.cpp:
              (WebCore::isTrimmableChar):
              New. Checks whether character is whitespace that can be ignored
              according to the text node's style.
              trimmed from the end of wrapped line.
              (WebCore::checkMidpoints):
              Call isTrimmable() rather than checking for char != SOFT_HYPHEN.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16700 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a2c2e1bf
    • andersca's avatar
      2006-10-01 Anders Carlsson <acarlsson@apple.com> · 604f4f32
      andersca authored
              Reviewed by Mitz Pettel.
      
              Convert the SVG code to use Vector<String> instead of DeprecatedStringList.
      
              * ksvg2/svg/SVGColor.cpp:
              (WebCore::SVGColor::setRGBColor):
              * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
              * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
              (WebCore::SVGFEDiffuseLightingElement::parseMappedAttribute):
              * ksvg2/svg/SVGFEGaussianBlurElement.cpp:
              (WebCore::SVGFEGaussianBlurElement::parseMappedAttribute):
              * ksvg2/svg/SVGFESpecularLightingElement.cpp:
              (SVGFESpecularLightingElement::parseMappedAttribute):
              * ksvg2/svg/SVGFETurbulenceElement.cpp:
              (WebCore::SVGFETurbulenceElement::parseMappedAttribute):
              * ksvg2/svg/SVGLengthList.cpp:
              * ksvg2/svg/SVGNumberList.cpp:
              (SVGNumberList::parse):
              * ksvg2/svg/SVGNumberList.h:
              * ksvg2/svg/SVGPreserveAspectRatio.cpp:
              (WebCore::SVGPreserveAspectRatio::parsePreserveAspectRatio):
              * ksvg2/svg/SVGStringList.cpp:
              (WebCore::SVGStringList::reset):
              * ksvg2/svg/SVGStringList.h:
              * ksvg2/svg/SVGTransformable.cpp:
              (SVGTransformable::parseTransformAttribute):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16699 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      604f4f32
    • ap's avatar
      2006-10-01 Nikolas Zimmermann <zimmermann@kde.org> · 4e81e6bc
      ap authored
              Reviewed by Eric, tweaked and landed by ap.
      
              Fix Qt/Linux build.
      
              * CMakeLists.txt:
              * platform/qt/PlatformScrollBar.h:
              * platform/qt/TemporaryLinkStubs.cpp:
              (WebCore::ScrollBar::ScrollBar):
              (WebCore::PlatformScrollBar::PlatformScrollBar):
              (FrameView::passMousePressEventToSubframe):
              (FrameView::passMouseMoveEventToSubframe):
              (FrameView::passMouseReleaseEventToSubframe):
              (FrameView::passWheelEventToSubframe):
              (FrameView::passMousePressEventToScrollbar):
              * ksvg2/svg/SVGDocument.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16698 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4e81e6bc
    • ap's avatar
      2006-10-01 Mitz Pettel <opendarwin.org@mitzpettel.com> · 692e06e4
      ap authored
              Reviewed by Darin.
      
              Fix for http://bugs.webkit.org/show_bug.cgi?id=10190
              REGRESSION: Repro crash when navigating away from an image document that hasn't finished loading
      
              No test case added (probably requires new DumpRenderTree functionality)
      
              * rendering/RenderImage.cpp:
              (WebCore::RenderImage::imageChanged): Added early return if the document is
              being destroyed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16697 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      692e06e4
    • ap's avatar
      Reviewed by Hyatt. · 932806a9
      ap authored
              Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=10842
              REGRESSION (r15418): contenteditable div truncates rightmost Japanese character
              
              Make sure we only break after a space (and not any other valid line-break) if
              the style is -webkit-line-break: after-white-space (e.g. for a contentEditable div).
              I also did a logic shuffle at Mitz's request to prevent doing an if on the same expression
              twice in quick succession.
      
              Test: fast/text/line-breaks-after-white-space.html
      
              * rendering/bidi.cpp:
              (WebCore::RenderBlock::findNextLineBreak): 
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16696 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      932806a9
    • ap's avatar
      Fixed Bugzilla references in ChangeLogs for my previous commit. · 243119ad
      ap authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16695 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      243119ad