summaryrefslogtreecommitdiff
path: root/src/mbgl/storage
Commit message (Collapse)AuthorAgeFilesLines
* [core] remove trailing whitespace, add trailing newlines, add space after //Konstantin Käfer2017-01-271-1/+1
|
* [core] LocalFileSource implementation and testsIvo van Dongen2016-09-301-0/+25
|
* [core] ensure network::Reachable is called only onceIvo van Dongen2016-09-231-3/+3
|
* [core] Convert uses of std::set to std::unordered_set (#6325)Lucas Wojciechowski2016-09-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * src/mbgl/annotation/annotation_manager.hpp * src/mbgl/algorithm/update_renderables.hpp * src/mbgl/geometry/glyph_atlas.hpp * src/mbgl/renderer/painter.cpp and src/mbgl/renderer/render_item.hpp * src/mbgl/renderer/symbol_bucket.hpp and src/mbgl/text/glyph_store.hpp * src/mbgl/sprite/sprite_atlas.hpp * include/mbgl/storage/network_status.hpp * src/mbgl/text/collision_tile.cpp * src/mbgl/style/update_batch.hpp * platform/default/mbgl/storage/offline_download.hpp * Add GlyphRangeSet typedef * Fix whitespace & unused imports
* [core] OnlineFileSource - rate limitIvo van Dongen2016-09-131-2/+4
|
* [core] support "scheme": "tms" in TileJSON filesKonstantin Käfer2016-08-161-0/+4
|
* [core] Revert workaround for std::atomic on ARMv5Thiago Marcos P. Santos2016-07-131-1/+1
| | | | | | Got fix on r12. https://github.com/android-ndk/ndk/issues/31
* Quadkey tokens in tile URL templates, limited WMS support (#5628)Minh Nguyễn2016-07-121-0/+38
| | | | | | | | | | | | | | * [core] Quadkey tokens in tile URL templates Fixes #5485. * [core] WMS tokens in tile URL templates Fixes #822. * [macos] Added WMS debug style Added a style to the macosapp resource bundle that can be used to test WMS support. To use it, zoom in to somewhere in New Jersey, then go to View ‣ Custom Style and enter “wms.json”.
* [core] Fix typo in mbgl::ResponseBruno de Oliveira Abinader2016-06-181-1/+1
| | | | WIP: Use Enum<Type> for mbgl::Storage::Response::Value.
* [tidy] Check modernize-pass-by-valueBruno de Oliveira Abinader2016-06-131-2/+2
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html
* [tidy] Check llvm-namespace-commentBruno de Oliveira Abinader2016-06-131-1/+1
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/llvm-namespace-comment.html
* [android] #5254 - fix ARMv5 supportThiago Marcos P. Santos2016-06-061-1/+1
| | | | Backported patches fixing ARMv5 support for issue #3985.
* [core] use #pragma once instead of ifdef include guardsKonstantin Käfer2016-05-252-8/+2
|
* [core] move from microsecond precision timestamp to integer second precisionKonstantin Käfer2016-05-131-2/+8
|
* [core] Use the proper type for font stacksJohn Firebaugh2016-04-221-2/+2
|
* [Qt] Introduce the Qt HTTPRequest and HTTPFileSourceThiago Marcos P. Santos2016-04-201-2/+2
|
* [all] Replace HTTPContextBase/HTTPRequestBase with FileSourceJohn Firebaugh2016-04-145-90/+25
|
* [core] Unify FileRequest and WorkRequestJohn Firebaugh2016-03-241-1/+1
|
* [core] Add client defined network statusThiago Marcos P. Santos2016-03-081-0/+22
| | | | | | | | This API will let the client force a network status. If set to Offline, we won't make network requests. When set make to Online, it will trigger the pending requests and try to fetch tiles from the network.
* [core] Always store tiles without ratio support with ratio = 1John Firebaugh2016-02-101-1/+2
|
* [core] Throttle the number of concurrent requests to 20John Firebaugh2016-02-101-0/+1
|
* Add binary for smoke-testing offline downloadsJohn Firebaugh2016-02-101-0/+22
|
* [all] Don't interpret 404s on non-tile resources as "no content"John Firebaugh2016-02-101-0/+1
|
* [core] Reimplement existing caching within an offline-capable database schemaJohn Firebaugh2016-02-101-44/+0
|
* [core] Change TileData pixelRatio to an integerJohn Firebaugh2016-01-291-1/+1
|
* [core] Rationalize Resource initializationJohn Firebaugh2016-01-291-0/+82
|
* [core] Include prior values of caching headers in ResourceJohn Firebaugh2016-01-223-11/+9
| | | | This allows the FileSource interface itself to support revalidation. We could (and probably should) now rewrite HTTPContextBase implementations as FileSource implementations.
* [core] Use better types for modified / expires / etagJohn Firebaugh2016-01-212-8/+13
|
* [core] Eliminate Response::stale and inline Response::isExpired()John Firebaugh2016-01-211-6/+0
| | | | Response::isExpired() had subtle and potentially confusing behavior around Seconds::zero(). It's best to inline it and comment why.
* [core] Eliminate RequestBaseJohn Firebaugh2016-01-213-40/+17
| | | | HTTPRequestBase can now itself be the base class.
* [core] Support multiple paths in SQLiteCache::getShared()Konstantin Käfer2016-01-151-1/+0
| | | | If you use many different caches, expired weak_ptrs will pile up in the unordered_map, but that is an edge case, and you probably shouldn't do that anyway.
* [core] move SharedSQLiteCache::get to SQLiteCache::getSharedKonstantin Käfer2016-01-151-9/+2
|
* [core] Let SQLiteCache decide when store or refresh responsesJohn Firebaugh2016-01-141-2/+1
|
* [core] Add an explicit "not modified" indicator to ResponseJohn Firebaugh2016-01-141-0/+1
|
* [core] std::shared_ptr<const Response> ⇢ const Response&John Firebaugh2016-01-141-1/+1
|
* [core] Eliminate FileCache interfaceJohn Firebaugh2016-01-142-7/+15
| | | | There is only one implementation and we're unlikely to add more.
* [core] Simplify asset:// implementationJohn Firebaugh2016-01-132-20/+26
| | | | | | | | * Move asset:// URL handling to DefaultFileSource. * AssetFileSource implements FileSource interface and follows familiar implementation patterns. * Move default implementation to platform/default, zip implementation to platform/android. * Don't bother with modified / expires / etag -- assets are not cached so it doesn't matter. * Don't bother with interleaving individual IO calls on the implementation thread. That adds a lot of complexity for very little benefit.
* [core] Privatize SQLiteCacheJohn Firebaugh2016-01-081-0/+44
|
* [core] Remove `Resource` dependency from low-level classesJohn Firebaugh2015-12-234-8/+8
| | | | These classes should not be coupled to domain-specific resource types.
* [core] Move OnlineFileSource to platformJohn Firebaugh2015-12-223-522/+0
| | | | Preparation for OfflineFileSource which depends on SQLite
* [core] Prepare for OfflineFileSourceJohn Firebaugh2015-12-213-434/+501
| | | | | * Rename existing DefaultFileSource to OnlineFileSource * Restore a DefaultFileSource that's a passthrough to OnlineFileSource
* [core] Merge default_file_source_impl.hpp into default_file_source.cppJohn Firebaugh2015-12-182-116/+102
| | | | After previous refactors, no other files include default_file_source_imp.hpp.
* [core] add std::move to constructorsKonstantin Käfer2015-12-031-1/+2
|
* [core] add namespace comment to closing braceKonstantin Käfer2015-12-034-4/+4
|
* [core] Introduce Timer abstractionThiago Marcos P. Santos2015-12-012-5/+4
|
* [core] Removed dependency on uv_loop from the file sourceThiago Marcos P. Santos2015-12-015-24/+18
|
* [core] Abstract main loop inside RunLoop classThiago Marcos P. Santos2015-12-011-1/+1
|
* [core] Replace time_t with std::chrono::secondsBruno de Oliveira Abinader2015-11-275-28/+23
| | | | | | | Added aliases for std::chrono typedefs (eg. 'Seconds' for std::chrono::seconds). These aliases are used together with templated helper functions to replace time_t with std::chrono::seconds for most cases, in particular for 'modified' and 'expires' values in Response.
* [core] more robust max-age parsingKonstantin Käfer2015-11-201-5/+5
|
* [core] Use std::unique_ptr for FileSource requestJohn Firebaugh2015-11-165-173/+69
|