1. 27 Mar, 2007 10 commits
    • justing's avatar
      LayoutTests: · dcdb2794
      justing authored
              Reviewed by darin
              
              <rdar://problem/5065910> REGRESSION: In Mail and GMail, Can't apply color to pasted line of text
              <rdar://problem/5084241> After deleting a paragraph of colored text, can't change text color
              <rdar://problem/5065605> REGRESSION: Text copied with Select All + Copy loses color on Paste
              <rdar://problem/4916887> GMAIL: Can't apply color to text once it becomes indented
      
              * editing/pasteboard/5065605-expected.checksum: Added.
              * editing/pasteboard/5065605-expected.png: Added.
              * editing/pasteboard/5065605-expected.txt: Added.
              * editing/pasteboard/5065605.html: Added.
              * editing/style/4916887-expected.checksum: Added.
              * editing/style/4916887-expected.png: Added.
              * editing/style/4916887-expected.txt: Added.
              * editing/style/4916887.html: Added.
              * editing/style/5065910-expected.checksum: Added.
              * editing/style/5065910-expected.png: Added.
              * editing/style/5065910-expected.txt: Added.
              * editing/style/5065910.html: Added.
              * editing/style/5084241-expected.checksum: Added.
              * editing/style/5084241-expected.png: Added.
              * editing/style/5084241-expected.txt: Added.
              * editing/style/5084241.html: Added.
      
      WebCore:
      
              Reviewed by darin
              
              <rdar://problem/5065910> REGRESSION: In Mail and GMail, Can't apply color to pasted line of text
              <rdar://problem/5084241> After deleting a paragraph of colored text, can't change text color
              <rdar://problem/5065605> REGRESSION: Text copied with Select All + Copy loses color on Paste
              <rdar://problem/4916887> GMAIL: Can't apply color to text once it becomes indented
      
              * css/CSSComputedStyleDeclaration.cpp:
              (WebCore::CSSComputedStyleDeclaration::copyInheritableProperties):
              If a node's text fill color is invalid, then its children use 
              their font-color as their text fill color (they don't inherit 
              it).  Likewise for stroke color.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20520 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dcdb2794
    • andersca's avatar
      * platform/ScrollBar.h: · c3c0159f
      andersca authored
              Use wtf/MathExtras.h instead of math.h
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20518 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c3c0159f
    • bdash's avatar
      2007-03-27 Mark Rowe <mrowe@apple.com> · 68cd801b
      bdash authored
              Reviewed by Dave Harrison.
      
              * Configurations/WebKit.xcconfig: Include UMBRELLA_FRAMEWORKS_DIR in framework search path.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20513 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      68cd801b
    • zack's avatar
      Fix the build · ad1986b4
      zack authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20512 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ad1986b4
    • oliver's avatar
      2007-03-27 Oliver Hunt <oliver@apple.com> · 93990f86
      oliver authored
              Reviewed by Maciej.
      
              The WebArchiver needs all the subresources of a document to be accessible
              through the DocLoader, so we can't remove a CachedResource simultaneously
              from the global Cache and all DocLoaders, just because it needs to be 
              reloaded in one.
      
              Fixes rdar://problem/5044366
      
              * loader/Cache.cpp:
              (WebCore::Cache::remove):
                 Don't evict the resource from all DocLoaders
              * manual-tests/test-iframes-loading-the-same-resource.html: Added.
                 Alas it wasn't possible to make a nice layout test, even this manual test
                 is not entirely deterministic
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20511 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      93990f86
    • bdash's avatar
      2007-03-27 Mark Rowe <mrowe@apple.com> · 0b93c7ef
      bdash authored
              Build fix.
      
              * platform/GlyphBuffer.h:
              (WebCore::GlyphBuffer::clear):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20510 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0b93c7ef
    • zack's avatar
      Fix the rendering crashes due to triggered · e44b3300
      zack authored
      asserts and improve a bit the layout scheduling in the
      Qt port
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20509 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e44b3300
    • hyatt's avatar
      Add support for glyph offsets to the GlyphBuffer. · 701900a4
      hyatt authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20508 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      701900a4
    • antti's avatar
      Keep buildbot happy. · 4e73c473
      antti authored
              * platform/mac/PlatformScrollBarMac.mm:
              (WebCore::PlatformScrollbar::scrollbarHit):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20507 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4e73c473
    • antti's avatar
      WebCore: · 8a4614cf
      antti authored
              Reviewed by Darin.
              
              On Mac, support fine grained wheel events generated by trackpad and Mighty Mouse.
              http://bugs.webkit.org/show_bug.cgi?id=13134
              <rdar://problem/5076249?
      
              * WebCore.exp:
                  Export _wkGetWheelEventDeltas
              * page/EventHandler.cpp:
              (WebCore::EventHandler::handleWheelEvent):
                  Remove (0, 0) scroll event hack, it is not needed anymore.
                  Do per-pixel scrolling for fine grained events.
              * platform/PlatformWheelEvent.h:
              (WebCore::PlatformWheelEvent::isContinuous):
                  Add new m_isContinuous boolean to indicate fine grained wheel events.
              * platform/ScrollBar.cpp:
              (WebCore::Scrollbar::Scrollbar):
              (WebCore::Scrollbar::setValue):
              (WebCore::Scrollbar::setSteps):
              (WebCore::Scrollbar::scroll):
              * platform/ScrollBar.h:
              (WebCore::Scrollbar::value):
                  Use float to represent current position to support finer grained scrolling.
                  Add ScrollByPixel, remove ScrollByWheel (which was same as ScrollByLine anyway)
              * platform/ScrollTypes.h:
              (WebCore::):
              * platform/gdk/WheelEventGdk.cpp:
              (WebCore::PlatformWheelEvent::PlatformWheelEvent):
                  Initalize m_isContinuous
              * platform/mac/WebCoreSystemInterface.h:
              * platform/mac/WebCoreSystemInterface.mm:
                  Add wkGetWheelEventDeltas for getting fine grained wheel events
              * platform/mac/WheelEventMac.mm:
              (WebCore::PlatformWheelEvent::PlatformWheelEvent):
                  Get the wheel deltas using new wkGetWheelEventDeltas interface
              * platform/qt/WheelEventQt.cpp:
              (WebCore::PlatformWheelEvent::PlatformWheelEvent):
                  Initalize m_isContinuous
              * rendering/RenderListBox.cpp:
              (WebCore::RenderListBox::calcHeight):
                  Pass item height to scrollbar
      
      WebKit:
      
              Reviewed by Darin.
              
              On Mac, support fine grained wheel events generated by trackpad and Mighty Mouse.
              http://bugs.webkit.org/show_bug.cgi?id=13134
              <rdar://problem/5076249?
      
              * WebCoreSupport/WebSystemInterface.m:
              (InitWebCoreSystemInterface): Expose GetWheelEventDeltas()
      
      WebKitLibraries:
      
              Reviewed by Darin.
              
              Added wkGetWheelEventDeltas
      
              * WebKitSystemInterface.h:
              * libWebKitSystemInterface.a:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20506 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8a4614cf
  2. 26 Mar, 2007 12 commits
  3. 25 Mar, 2007 15 commits
  4. 24 Mar, 2007 3 commits
    • hyatt's avatar
      Fix for bugzilla bug 13187, place a hard limit on the amount of... · 2ce7984c
      hyatt authored
              Fix for bugzilla bug 13187, place a hard limit on the amount of decoded data that WebCore will keep
              around even on live pages (pages being displayed in tabs/windows or in the back/forward cache).
              Images will decode to paint and once the decoded data exceeds the cache size, the decoded data will be
              tossed.
      
              Refine the flushing algorithm to apply the two-pass decode/evict model to each LRU-SP queue individually, rather
              than to all the lists at once.  This allows the cache to evict large encoded resources before flushing small
              or frequently accessed decoded onces.
      
              Added information on live/decoded data to the cache statistics.
      
              Reviewed by darin
      
              * loader/Cache.cpp:
              (WebCore::Cache::Cache):
              (WebCore::Cache::pruneLiveResources):
              (WebCore::Cache::pruneAllResources):
              (WebCore::Cache::setMaximumSize):
              (WebCore::Cache::remove):
              (WebCore::Cache::lruListFor):
              (WebCore::Cache::removeFromLRUList):
              (WebCore::Cache::insertInLRUList):
              (WebCore::Cache::liveLRUListFor):
              (WebCore::Cache::removeFromLiveResourcesList):
              (WebCore::Cache::insertInLiveResourcesList):
              (WebCore::Cache::addToLiveResourcesSize):
              (WebCore::Cache::removeFromLiveResourcesSize):
              (WebCore::Cache::adjustSize):
              (WebCore::Cache::getStatistics):
              * loader/Cache.h:
              (WebCore::Cache::TypeStatistic::TypeStatistic):
              * loader/CachedImage.cpp:
              (WebCore::CachedImage::decodedSizeWillChange):
              (WebCore::CachedImage::decodedSizeChanged):
              * loader/CachedImage.h:
              * loader/CachedResource.cpp:
              (WebCore::CachedResource::CachedResource):
              (WebCore::CachedResource::ref):
              (WebCore::CachedResource::deref):
              (WebCore::CachedResource::setEncodedSize):
              (WebCore::CachedResource::liveResourceAccessed):
              * loader/CachedResource.h:
              (WebCore::CachedResource::liveAccessCount):
              (WebCore::CachedResource::resetLiveAccessCount):
              (WebCore::CachedResource::increaseLiveAccessCount):
              * platform/graphics/BitmapImage.cpp:
              (WebCore::BitmapImage::destroyDecodedData):
              (WebCore::BitmapImage::cacheFrame):
              * platform/graphics/ImageObserver.h:
              * rendering/RenderBox.cpp:
              (WebCore::RenderBox::paintBackgroundExtended):
              * rendering/RenderImage.cpp:
              (WebCore::RenderImage::paint):
              * rendering/RenderListMarker.cpp:
              (WebCore::RenderListMarker::paint):
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::paintBorderImage):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20478 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2ce7984c
    • darin's avatar
      LayoutTests: · 16b5202e
      darin authored
              Reviewed by Mitz.
      
              - test for http://bugs.webkit.org/show_bug.cgi?id=13123
                CSS selectors that use :lang, :not, and namespaces do not serialize correctly
      
              * fast/css/css-selector-text-expected.txt: Added.
              * fast/css/css-selector-text.html: Added.
      
      WebCore:
      
              Reviewed by Mitz.
      
              - fix http://bugs.webkit.org/show_bug.cgi?id=13123
                CSS selectors that use :lang, :not, and namespaces do not serialize correctly
      
              Test: fast/css/css-selector-text.html
      
              * css/CSSSelector.cpp: (WebCore::CSSSelector::selectorText): Add the namespace
              prefix for tag or attribute names, the sub-selector for :not, and the argument
              for :lang.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20477 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      16b5202e
    • beidson's avatar
      JavaScriptCore: · 876fe369
      beidson authored
              Reviewed by Adam
      
              Whoops, RetainPtr should be in the WTF namespace
      
              * wtf/RetainPtr.h:
      
      WebKit:
      
              Reviewed by Adam
      
              RetainPtr is no longer in the WebCore namespace
      
              * History/WebBackForwardList.mm:
              * WebCoreSupport/WebEditorClient.h:
              * WebCoreSupport/WebFrameLoaderClient.h:
              * WebView/WebDocumentLoaderMac.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20476 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      876fe369