summaryrefslogtreecommitdiff
path: root/platform/default/src/mbgl/storage/main_resource_loader.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Set priorData from cache only if resource is useableAlexander Shalamov2020-02-141-1/+5
| | | | | | In cases when cached resource is useable, yet don't have an expiration timestamp, we provided data to the requester from the cache and the same data was returned once 304 response was received from the network.
* [core] Switch unordered_map to mapAlexander Shalamov2020-02-061-1/+2
| | | | | | Change container types where number of elements expected to be rather small. For instance, number of offline packs or sql statements.
* [core] Add hooks for setting experimental thread priorities for mbgl threadsAlexander Shalamov2020-02-061-1/+7
|
* [core] Move resource loader to dedicated thread with schedulerAlexander Shalamov2020-01-231-75/+48
|
* [core] Modularize FileSource codebase (#15768)Alexander Shalamov2020-01-131-0/+223
* [core] Introduce FileSourceManager and use it for default platform impl - Add `FileSourceManager` interface that provides access to `FileSource` instances and means of registering / unregistering `FileSource` factories - Split `DefaultFileSource` into smaller parts - Add `DatabaseFileSource` interface and it's default implementation - Remove inter-dependencies between concrete `FileSource` classes * [build] Add files to next build system * [core] Add generic property setters / getters * [core] Remove setOnlineStatus from OnlineFileSource interface * [core] Hide threading implementation details from DatabaseFileSource interface * [core] Make DB file source methods virtual * [core] Add documentation for DatabaseFileSource and rename one method * [core] Use simple callback instead of ActorRef * [core] Remove ActorRef from OnlineFileSource public header * [core] Add callback to FileSource::forward async API * [core] Pass OfflineRegionDefinition by value * [core] Update tests to use modular file sources * [core] Update unit tests * [core] Update unit tests after rebase * [core] Backport low prio fix for cached requests * [core] Backport pack database * [core] Return removed factory from unRegisterFileSourceFactory * [core] Rename shadowed args in onlinefilesource * [core] Remove simple std::function callback aliases * [core] Expose online file source property keys in public header file * [test-runner] Add proxy file source test runner * [cache] Update mbgl-cache utility to use new file source * [metrics] Rebaseline binary size metrics * [offline] Update offline utility * [core] Update changelog