lp:~osomon/oxide/maxCacheSize
- Get this branch:
- bzr branch lp:~osomon/oxide/maxCacheSize
Branch merges
- Chris Coulson: Approve
-
Diff: 382 lines (+110/-11)10 files modifiedqt/core/browser/oxide_qt_web_context.cc (+16/-1)
qt/core/browser/oxide_qt_web_context.h (+5/-1)
qt/core/glue/oxide_qt_web_context_adapter.cc (+9/-1)
qt/core/glue/oxide_qt_web_context_adapter.h (+4/-1)
qt/qmlplugin/oxide_qml_plugin.cc (+3/-1)
qt/quick/api/oxideqquickwebcontext.cc (+38/-1)
qt/quick/api/oxideqquickwebcontext_p.h (+8/-1)
qt/tests/qmltests/api/tst_WebContext_semi_construct_only_properties.qml (+2/-1)
shared/browser/oxide_browser_context.cc (+19/-2)
shared/browser/oxide_browser_context.h (+6/-1)
Related bugs
Bug #1277659: Add WebContext.maxCacheSizeHint property | Medium | Fix Released |
|
Related blueprints
Branch information
Recent revisions
- 1008. By Olivier Tilloy
-
Add a DCHECK for the passed in size in BrowserContextI
OData,
to make it clear to anyone who writes a new port that they need to limit the size. - 1006. By Olivier Tilloy
-
Make the unit for maxCacheSizeHint MB instead of bytes.
The initial cache size is about 1MB when it's created anyway, and given that this is not a hard limit it doesn’t make sense to create an illusion that applications can control the cache size to the nearest byte. - 1004. By Olivier Tilloy
-
Rename maxCacheSize to maxCacheSizeHint to reflect the fact that the limit is a soft one.
- 1003. By Olivier Tilloy
-
Default to 0 for the max cache size: chromium will pick a size based on available disk space.
- 1000. By Olivier Tilloy
-
Add a unit test to verify that restoring the state of a navigation that had triggered an error triggers the error again.
Also update an existing test to verify that reloading a page that had triggered an error generates the same sequence of load events.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~oxide-developers/oxide/oxide.trunk