summaryrefslogtreecommitdiff
path: root/include/mbgl/storage
Commit message (Collapse)AuthorAgeFilesLines
* [docs] Remove references to increasing offline tile limitHeather Stenson2019-07-181-2/+1
|
* [core] Minor change to silence documentation warning on iOS.Julian Rex2019-07-021-2/+2
|
* [core] DefaultFileSource dynamic support for cache-only requestsBruno de Oliveira Abinader2019-06-252-12/+20
|
* [core] Add method for setting a maximum size for the ambient cacheThiago Marcos P. Santos2019-06-181-6/+24
| | | | | | | - 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-7/+13
| | | | | 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] Surface cache management APIsThiago Marcos P. Santos2019-06-131-0/+28
| | | | | These APIs need to be on the DefaultFileSource in order to be visible for the SDKs bindings.
* [core] Remove priority from the constructorThiago Marcos P. Santos2019-05-281-11/+7
| | | | Make the constructor less verbose and set good defaults.
* [core] Introduce usage tag for resourcesThiago Marcos P. Santos2019-05-281-0/+7
| | | | | | | Make the distinction if a resource is being requested for offline usage or if it will be used immediately. Fixes #14746
* [core] invoke optional resource path change completion listenerŁukasz Paczos2019-05-241-1/+4
|
* [core] Make FileSource API clearerMikhail Pozdnyakov2019-05-141-6/+8
|
* [core] Introduce resetCache APISudarsana Babu Nagineni2019-04-291-0/+9
| | | | Add an API to delete existing database and re-initialize.
* [core] ResoureOptions explicit copy via clone()Bruno de Oliveira Abinader2019-03-251-2/+5
|
* [core] Fix signature of fluent interface settersBruno de Oliveira Abinader2019-03-231-6/+6
|
* [core] Replace shared_ptr with unique_ptr in {Map,Resource}OptionsBruno de Oliveira Abinader2019-03-221-11/+14
|
* [core] Change definition of "complete" so offline packs created before ↵Julian Rex2019-03-211-1/+1
| | | | #11055 can complete. (#14188)
* [core] Remove file source from public Map ctorBruno de Oliveira Abinader2019-03-203-1/+129
|
* [core] expose an option to change the db file path in runtimeŁukasz Paczos2019-03-131-0/+2
|
* [core] Support for excluding ideographic glyphs from offline downloads.Chris Loer2018-12-211-2/+4
|
* [core] define number of concurrent downloads in online file source variableHuyen Chau Nguyen2018-11-151-1/+3
|
* [core] add tests for handling requests with different prioritiesHuyen Chau Nguyen2018-10-231-0/+1
| | | | | | - ensure that low priority requests are handled last - add option to set the number of maximum concurrent requests for tests - some style fixups
* [core] add priorities to resourcesHuyen Chau Nguyen2018-10-231-7/+19
| | | | | - priorities can be low or regular - offline downloads should have low priority to not throttle "regular requests"
* [core] remove some uses of <iostream> and <sstream>Konstantin Käfer2018-10-231-2/+0
|
* [core] Promote DefaultFileSource::put to general use.Chris Loer2018-10-171-1/+11
|
* Enforce Offline tile limit when merging sideloaded databasesAsheem Mamoowala2018-08-281-3/+9
|
* [core] Add DefaultFileSource::mergeRegions API and CLI support in the ↵Asheem Mamoowala2018-08-281-0/+17
| | | | mbgl-offline tool.
* [core] offline region definition - add support for arbitrary geometriesIvo van Dongen2018-08-201-7/+27
|
* WIP: use expected<T, E> for passing on errorsKonstantin Käfer2018-08-142-8/+9
|
* [core] harden OfflineDatabaseKonstantin Käfer2018-08-141-1/+1
|
* [core] Move SourceType to the 'style' namespaceAnand Thakker2017-10-161-3/+3
|
* [core] make forcing cache/network only more explicitKonstantin Käfer2017-10-123-11/+40
| | | | | | Previously, we used the existence of a `prior*` field in the Resource object as an indication for whether we should consult the cache or not. However, this is prone to error, since a failed cache lookup won't set any prior fields. Therefore, we manually set `priorExpires` to 0. This in turn triggered another bug where generated wrong expiration timestamps when the server response we got was expired (or expired between sending and receiving). This commit changes the flags so that we can now explicitly request CacheOnly/NetworkOnly (or All) loading methods, rather than the implicit Optional/Required naming scheme.
* [build] split out DefaultFileSource and dependents to a separate targetKonstantin Käfer2017-09-281-1/+0
| | | | We don't want to link it into the node bindings, so keep it in a separate target
* [test] add ability to take the OnlineFileSource offlineKonstantin Käfer2017-09-222-0/+4
| | | | This functionality is used for testing to ensure correct offline behavior when connectivity is missing.
* Fix platform dependent number type `unsigned long` -> `uint64_t`Asheem Mamoowala2017-09-201-1/+1
|
* Fast tileCount with help from @mapbox/sphericalmercator moduleAsheem Mamoowala2017-09-081-1/+3
|
* [core] finish must-revalidate supportKonstantin Käfer2017-08-082-0/+11
|
* [core] Use the ResourceTransform instead of callbacksThiago Marcos P. Santos2017-06-262-4/+10
| | | | | Based on the actor model, can be considered safer to use since we don't need to worry about object lifetime anymore.
* [core] Introduce the ResourceTransformThiago Marcos P. Santos2017-06-261-0/+26
| | | | Wrapper for transforming URLs on the OnlineFileSource.
* [core] Rename ThreadedObject to ThreadThiago Marcos P. Santos2017-06-211-2/+2
| | | | | Now that the old Thread class is gone, we can give ThreadedObject a better name.
* [core] Convert DefaultFileSource to ThreadedObjectThiago Marcos P. Santos2017-06-211-2/+2
| | | | Fixes #6426
* [core] Offline support for Image SourcesAsheem Mamoowala2017-06-011-2/+4
|
* [core] default file source - ensure thread safety for cached valuesIvo van Dongen2017-05-271-2/+7
|
* [core] default file source - ensure thread safety for local file and asset ↵Ivo van Dongen2017-05-271-2/+2
| | | | requests
* [android] use AAssetManager instead of libzipKonstantin Käfer2017-04-241-0/+3
|
* [ios] Guard against over calling pause or resumeJesse Bounds2017-03-181-3/+0
|
* [core] Cache file source base URL and access tokenJesse Bounds2017-03-011-0/+18
| | | | | This caches the base URL and access token values when they are set so that they can still be retrieved even when the thread is paused.
* [core] Add a pause/resume API to the DefaultFileSourceThiago Marcos P. Santos2017-02-251-0/+3
| | | | | It will halt the networking thread completely. Expired and error'ed tiles won't get re-requested until resume() is called again.
* [core] add ability to transform URLs before they're requested from the InternetKonstantin Käfer2017-02-202-0/+6
|
* [core] Do not consider error'ed responses freshThiago Marcos P. Santos2017-02-071-1/+1
| | | | | It has the unwanted side effect of not retrying anymore in case of error.
* [core] remove trailing whitespace, add trailing newlines, add space after //Konstantin Käfer2017-01-273-3/+3
|