Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] add priorities to resources | Huyen Chau Nguyen | 2018-10-23 | 1 | -12/+20 |
| | | | | | - 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äfer | 2018-10-23 | 1 | -25/+0 |
| | |||||
* | [core] don't use floating point versions of pow/log | Konstantin Käfer | 2018-06-04 | 1 | -2/+2 |
| | | | | | | GLIBC 2.27 added new versioned symbols of powf and logf, while the double versions of pow and log remained stable. Prefer the double version to avoid introducing a dependency on a newer version of GLIBC than strictly necessary. See https://lists.gnu.org/archive/html/info-gnu/2018-02/msg00000.html | ||||
* | [core] Align URL token replacement behavior with GL JS | John Firebaugh | 2018-05-18 | 1 | -4/+4 |
| | | | | I.e. preserve unknown tokens in URLs rather than replacing them with an empty string. | ||||
* | [core] align implementations of local and asset file source | Konstantin Käfer | 2018-01-25 | 1 | -0/+2 |
| | |||||
* | [core] correctly alter sprite URLs when attaching sprite.png/sprite.json ↵ | Konstantin Käfer | 2017-10-17 | 1 | -8/+10 |
| | | | | filenames | ||||
* | [core] make forcing cache/network only more explicit | Konstantin Käfer | 2017-10-12 | 1 | -2/+2 |
| | | | | | | 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 target | Konstantin Käfer | 2017-09-28 | 2 | -68/+0 |
| | | | | We don't want to link it into the node bindings, so keep it in a separate target | ||||
* | [core] remove dependencies on RunLoop | Ivo van Dongen | 2017-08-09 | 1 | -2/+2 |
| | |||||
* | [core] finish must-revalidate support | Konstantin Käfer | 2017-08-08 | 1 | -0/+1 |
| | |||||
* | [core] Introduce the ResourceTransform | Thiago Marcos P. Santos | 2017-06-26 | 1 | -0/+13 |
| | | | | Wrapper for transforming URLs on the OnlineFileSource. | ||||
* | [core] Rename ThreadedObject to Thread | Thiago Marcos P. Santos | 2017-06-21 | 2 | -4/+4 |
| | | | | | Now that the old Thread class is gone, we can give ThreadedObject a better name. | ||||
* | [core] Convert LocalFileSource to ThreadedObject | Thiago Marcos P. Santos | 2017-06-21 | 1 | -2/+3 |
| | |||||
* | [core] Convert AssetFileSource to ThreadedObject | Thiago Marcos P. Santos | 2017-06-21 | 1 | -2/+3 |
| | |||||
* | [core] Added the ThreadedObject | Thiago Marcos P. Santos | 2017-06-21 | 2 | -0/+68 |
| | | | | Actor model version of util::Thread. | ||||
* | [core] Offline support for Image Sources | Asheem Mamoowala | 2017-06-01 | 1 | -0/+7 |
| | |||||
* | [core] remove trailing whitespace, add trailing newlines, add space after // | Konstantin Käfer | 2017-01-27 | 1 | -1/+1 |
| | |||||
* | [core] LocalFileSource implementation and tests | Ivo van Dongen | 2016-09-30 | 1 | -0/+25 |
| | |||||
* | [core] ensure network::Reachable is called only once | Ivo van Dongen | 2016-09-23 | 1 | -3/+3 |
| | |||||
* | [core] Convert uses of std::set to std::unordered_set (#6325) | Lucas Wojciechowski | 2016-09-19 | 1 | -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 limit | Ivo van Dongen | 2016-09-13 | 1 | -2/+4 |
| | |||||
* | [core] support "scheme": "tms" in TileJSON files | Konstantin Käfer | 2016-08-16 | 1 | -0/+4 |
| | |||||
* | [core] Revert workaround for std::atomic on ARMv5 | Thiago Marcos P. Santos | 2016-07-13 | 1 | -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ễn | 2016-07-12 | 1 | -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::Response | Bruno de Oliveira Abinader | 2016-06-18 | 1 | -1/+1 |
| | | | | WIP: Use Enum<Type> for mbgl::Storage::Response::Value. | ||||
* | [tidy] Check modernize-pass-by-value | Bruno de Oliveira Abinader | 2016-06-13 | 1 | -2/+2 |
| | | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html | ||||
* | [tidy] Check llvm-namespace-comment | Bruno de Oliveira Abinader | 2016-06-13 | 1 | -1/+1 |
| | | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/llvm-namespace-comment.html | ||||
* | [android] #5254 - fix ARMv5 support | Thiago Marcos P. Santos | 2016-06-06 | 1 | -1/+1 |
| | | | | Backported patches fixing ARMv5 support for issue #3985. | ||||
* | [core] use #pragma once instead of ifdef include guards | Konstantin Käfer | 2016-05-25 | 2 | -8/+2 |
| | |||||
* | [core] move from microsecond precision timestamp to integer second precision | Konstantin Käfer | 2016-05-13 | 1 | -2/+8 |
| | |||||
* | [core] Use the proper type for font stacks | John Firebaugh | 2016-04-22 | 1 | -2/+2 |
| | |||||
* | [Qt] Introduce the Qt HTTPRequest and HTTPFileSource | Thiago Marcos P. Santos | 2016-04-20 | 1 | -2/+2 |
| | |||||
* | [all] Replace HTTPContextBase/HTTPRequestBase with FileSource | John Firebaugh | 2016-04-14 | 5 | -90/+25 |
| | |||||
* | [core] Unify FileRequest and WorkRequest | John Firebaugh | 2016-03-24 | 1 | -1/+1 |
| | |||||
* | [core] Add client defined network status | Thiago Marcos P. Santos | 2016-03-08 | 1 | -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 = 1 | John Firebaugh | 2016-02-10 | 1 | -1/+2 |
| | |||||
* | [core] Throttle the number of concurrent requests to 20 | John Firebaugh | 2016-02-10 | 1 | -0/+1 |
| | |||||
* | Add binary for smoke-testing offline downloads | John Firebaugh | 2016-02-10 | 1 | -0/+22 |
| | |||||
* | [all] Don't interpret 404s on non-tile resources as "no content" | John Firebaugh | 2016-02-10 | 1 | -0/+1 |
| | |||||
* | [core] Reimplement existing caching within an offline-capable database schema | John Firebaugh | 2016-02-10 | 1 | -44/+0 |
| | |||||
* | [core] Change TileData pixelRatio to an integer | John Firebaugh | 2016-01-29 | 1 | -1/+1 |
| | |||||
* | [core] Rationalize Resource initialization | John Firebaugh | 2016-01-29 | 1 | -0/+82 |
| | |||||
* | [core] Include prior values of caching headers in Resource | John Firebaugh | 2016-01-22 | 3 | -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 / etag | John Firebaugh | 2016-01-21 | 2 | -8/+13 |
| | |||||
* | [core] Eliminate Response::stale and inline Response::isExpired() | John Firebaugh | 2016-01-21 | 1 | -6/+0 |
| | | | | Response::isExpired() had subtle and potentially confusing behavior around Seconds::zero(). It's best to inline it and comment why. | ||||
* | [core] Eliminate RequestBase | John Firebaugh | 2016-01-21 | 3 | -40/+17 |
| | | | | HTTPRequestBase can now itself be the base class. | ||||
* | [core] Support multiple paths in SQLiteCache::getShared() | Konstantin Käfer | 2016-01-15 | 1 | -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::getShared | Konstantin Käfer | 2016-01-15 | 1 | -9/+2 |
| | |||||
* | [core] Let SQLiteCache decide when store or refresh responses | John Firebaugh | 2016-01-14 | 1 | -2/+1 |
| | |||||
* | [core] Add an explicit "not modified" indicator to Response | John Firebaugh | 2016-01-14 | 1 | -0/+1 |
| |