• rjw's avatar
    WebKit: · d45e194e
    rjw authored
            Reviewed by trey.  This change was actually made by trey.  It
            make the "Empty Cache" menu release the page cache.
    
            * AppController.m:
            (-[AppController confirmEmptyCache:]):
    
    WebCore:
            Fixed 3116584.  Made letter-spacing, word-spacing, and text-decoration play
            well together.
            Reviewed by hyatt.
    
            Changes made with trey to enable to release of page cache from the
            "Empty Cache" menu item in Alex.
            Reviewed by trey.
    
            * khtml/rendering/font.cpp:
            (Font::drawLineForText):
            (Font::drawText):
            * khtml/rendering/font.h:
            * khtml/rendering/render_text.cpp:
            (TextSlave::paintDecoration):
            (RenderText::paintObject):
            * khtml/rendering/render_text.h:
            * kwq/KWQPainter.h:
            * kwq/KWQPainter.mm:
            (QPainter::drawLineForText):
            * kwq/WebCoreBridge.h:
            * kwq/WebCoreBridge.mm:
            (-[WebCoreBridge dealloc]):
            (-[WebCoreBridge openURL:reload:headers:lastModified:pageCache:]):
            (-[KWQPageState invalidate]):
            (-[KWQPageState dealloc]):
            * kwq/WebCoreTextRenderer.h:
    
    WebKit:
            Changes to fix 3116584.
            Reviewed by hyatt.
    
            Changes to support emptying the page cache from the
            "Empty Cache" menu.
            Reviewed by trey.
    
            * ChangeLog:
            * History.subproj/WebBackForwardList.h:
            * History.subproj/WebBackForwardList.m:
            (-[WebBackForwardList clearPageCache]):
            * History.subproj/WebHistoryItem.m:
            (+[WebHistoryItem _scheduleReleaseTimer]):
            (-[WebHistoryItem _scheduleRelease]):
            (+[WebHistoryItem _releasePageCache:]):
            (-[WebHistoryItem setHasPageCache:]):
            * WebCoreSupport.subproj/WebTextRenderer.m:
            * WebView.subproj/WebFramePrivate.m:
            (-[WebFrame _opened]):
    
    Tests:
            * html/letterspacing.html:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3030 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d45e194e
ChangeLog-2005-08-23 48.4 KB