summaryrefslogtreecommitdiff
path: root/platform/default/src/mbgl/storage/offline_database.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Mark offline region resources in batchesMikhail Pozdnyakov2019-08-291-16/+4
|
* [core] Add OfflineDatabase::markUsedResources()Mikhail Pozdnyakov2019-08-291-0/+13
|
* [core] Fix offline regions reporting the wrong number of tilesThiago Marcos P. Santos2019-06-191-8/+10
| | | | | | | | | | - The SQL query used for checking if the tile was already in the cache was wrong. - Tiles being refereed by two or more regions were not always counted as one. Fixes #13437.
* [core] Add method for setting a maximum size for the ambient cacheThiago Marcos P. Santos2019-06-181-4/+48
| | | | | | | - Removed this parameter from the constructor, now that we have a method to set it. - Add the method and enforce the limits if the ambient cache exceeds the size.
* [core] Clear/Invalidate should also work on non-tile resourcesThiago Marcos P. Santos2019-06-181-11/+48
| | | | | These methods were only affecting tiles, but they should really work on every resource like style, glyphs, etc.
* [core] Rename resetCache to resetDatabaseThiago Marcos P. Santos2019-06-181-1/+1
| | | | | Avoid confusion about what is being reset. In this case, the whole database and not only the ambient cache.
* [core] Fix bug of auto_vacuum not workingThiago Marcos P. Santos2019-06-131-6/+4
|
* [core] Add API for clearing tile cacheThiago Marcos P. Santos2019-06-131-0/+20
|
* [core] Add API for invalidating tilesThiago Marcos P. Santos2019-05-211-0/+41
| | | | | | | | | Add new APIs for invalidating tiles, effectively forcing Mapbox GL Native to check with the servers if the tiles are valid before using them. This is more efficient then deleting tiles, because in case of valid tiles, they won't get downloaded. Fixes #4376.
* [core] Introduce resetCache APISudarsana Babu Nagineni2019-04-291-0/+8
| | | | Add an API to delete existing database and re-initialize.
* [core] expose an option to change the db file path in runtimeŁukasz Paczos2019-03-131-10/+20
|
* [build] rework platform/default directory and add -files.txt for vendored libsKonstantin Käfer2018-12-141-0/+1129