Skip to content
  • rjw's avatar
    WebFoundation: · 257f3ec5
    rjw authored
            Fixed 3127225.  Provide new SPI to get available system memory.
            (Also currently unused SPI to get number of processors.)
    
            Reviewed by gramps.
    
            * Misc.subproj/WebSystemBits.h:
            * Misc.subproj/WebSystemBits.m:
            (initCapabilities):
            (WebSystemMainMemory):
            (WebSystemProcessors):
            * WebFoundation.exp:
            * WebFoundation.pbproj/project.pbxproj:
    
    WebCore:
            Fixed 3127225.  Set WebCore object cache size when first bridge is created.
    
            Reviewed by gramps.
    
            * kwq/WebCoreBridge.h:
            * kwq/WebCoreBridge.mm:
            (-[WebCoreBridge init]):
    
    WebKit:
            Fixed 3127225.  Scale page cache based on available memory.
            Also added support for setting WebCore object cache size via
            a preference.
            Fixed 3126267.  Increase CG glyph cache size if font smoothing
            is turned on.
    
            Reviewed by gramps.
    
            * History.subproj/WebBackForwardList.m:
            (+[WebBackForwardList pageCacheSize]):
            * Misc.subproj/WebKitLogging.h:
            * Misc.subproj/WebKitLogging.m:
            * WebCoreSupport.subproj/WebBridge.m:
            (-[WebBridge getObjectCacheSize]):
            * WebCoreSupport.subproj/WebTextRendererFactory.m:
            (getAppDefaultValue):
            (getUserDefaultValue):
            (getLCDScaleParameters):
            * WebView.subproj/WebPreferences.m:
            (+[WebPreferences load]):
            (-[WebPreferences _pageCacheSize]):
            (-[WebPreferences _objectCacheSize]):
            * WebView.subproj/WebPreferencesPrivate.h:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3036 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    257f3ec5