Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Add OfflineDatabase.Pack unit test | Mikhail Pozdnyakov | 2019-12-02 | 1 | -3/+3 |
| | |||||
* | [core] Introduce OfflineDatabase::runPackDatabaseAutomatically() API | Mikhail Pozdnyakov | 2019-12-02 | 1 | -9/+21 |
| | | | | | - added a unit test - Updated inline comments in default_file_source.hpp | ||||
* | [core] Add new method to DefaultFileSource | Juha Alanen | 2019-11-21 | 1 | -0/+1 |
| | | | | | Add setMaximumConcurrentRequests() method for setting it on the OnlineFileSource. | ||||
* | [core] Extend DefaultFileSource API | Mikhail Pozdnyakov | 2019-11-12 | 1 | -3/+17 |
| | | | | Add `packDatabase()` method and `bool pack` argument to the `deleteOfflineRegion()` method. | ||||
* | [core] Use expected.hpp from mapbox-base | Mikhail Pozdnyakov | 2019-11-08 | 1 | -21/+15 |
| | |||||
* | [core] Fix performance-move-const-arg | Thiago Marcos P. Santos | 2019-09-25 | 1 | -2/+2 |
| | |||||
* | [core] Bitmask operations for enums | Mikhail Pozdnyakov | 2019-09-13 | 1 | -16/+2 |
| | |||||
* | [core] Add requiredTileCount to OfflineRegionStatus | Bruno de Oliveira Abinader | 2019-08-29 | 1 | -0/+5 |
| | |||||
* | [docs] Remove references to increasing offline tile limit | Heather Stenson | 2019-07-18 | 1 | -2/+1 |
| | |||||
* | [core] Minor change to silence documentation warning on iOS. | Julian Rex | 2019-07-02 | 1 | -2/+2 |
| | |||||
* | [core] DefaultFileSource dynamic support for cache-only requests | Bruno de Oliveira Abinader | 2019-06-25 | 2 | -12/+20 |
| | |||||
* | [core] Add method for setting a maximum size for the ambient cache | Thiago Marcos P. Santos | 2019-06-18 | 1 | -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 resources | Thiago Marcos P. Santos | 2019-06-18 | 1 | -7/+13 |
| | | | | | These methods were only affecting tiles, but they should really work on every resource like style, glyphs, etc. | ||||
* | [core] Rename resetCache to resetDatabase | Thiago Marcos P. Santos | 2019-06-18 | 1 | -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 APIs | Thiago Marcos P. Santos | 2019-06-13 | 1 | -0/+28 |
| | | | | | These APIs need to be on the DefaultFileSource in order to be visible for the SDKs bindings. | ||||
* | [core] Remove priority from the constructor | Thiago Marcos P. Santos | 2019-05-28 | 1 | -11/+7 |
| | | | | Make the constructor less verbose and set good defaults. | ||||
* | [core] Introduce usage tag for resources | Thiago Marcos P. Santos | 2019-05-28 | 1 | -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 Paczos | 2019-05-24 | 1 | -1/+4 |
| | |||||
* | [core] Make FileSource API clearer | Mikhail Pozdnyakov | 2019-05-14 | 1 | -6/+8 |
| | |||||
* | [core] Introduce resetCache API | Sudarsana Babu Nagineni | 2019-04-29 | 1 | -0/+9 |
| | | | | Add an API to delete existing database and re-initialize. | ||||
* | [core] ResoureOptions explicit copy via clone() | Bruno de Oliveira Abinader | 2019-03-25 | 1 | -2/+5 |
| | |||||
* | [core] Fix signature of fluent interface setters | Bruno de Oliveira Abinader | 2019-03-23 | 1 | -6/+6 |
| | |||||
* | [core] Replace shared_ptr with unique_ptr in {Map,Resource}Options | Bruno de Oliveira Abinader | 2019-03-22 | 1 | -11/+14 |
| | |||||
* | [core] Change definition of "complete" so offline packs created before ↵ | Julian Rex | 2019-03-21 | 1 | -1/+1 |
| | | | | #11055 can complete. (#14188) | ||||
* | [core] Remove file source from public Map ctor | Bruno de Oliveira Abinader | 2019-03-20 | 3 | -1/+129 |
| | |||||
* | [core] expose an option to change the db file path in runtime | Łukasz Paczos | 2019-03-13 | 1 | -0/+2 |
| | |||||
* | [core] Support for excluding ideographic glyphs from offline downloads. | Chris Loer | 2018-12-21 | 1 | -2/+4 |
| | |||||
* | [core] define number of concurrent downloads in online file source variable | Huyen Chau Nguyen | 2018-11-15 | 1 | -1/+3 |
| | |||||
* | [core] add tests for handling requests with different priorities | Huyen Chau Nguyen | 2018-10-23 | 1 | -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 resources | Huyen Chau Nguyen | 2018-10-23 | 1 | -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äfer | 2018-10-23 | 1 | -2/+0 |
| | |||||
* | [core] Promote DefaultFileSource::put to general use. | Chris Loer | 2018-10-17 | 1 | -1/+11 |
| | |||||
* | Enforce Offline tile limit when merging sideloaded databases | Asheem Mamoowala | 2018-08-28 | 1 | -3/+9 |
| | |||||
* | [core] Add DefaultFileSource::mergeRegions API and CLI support in the ↵ | Asheem Mamoowala | 2018-08-28 | 1 | -0/+17 |
| | | | | mbgl-offline tool. | ||||
* | [core] offline region definition - add support for arbitrary geometries | Ivo van Dongen | 2018-08-20 | 1 | -7/+27 |
| | |||||
* | WIP: use expected<T, E> for passing on errors | Konstantin Käfer | 2018-08-14 | 2 | -8/+9 |
| | |||||
* | [core] harden OfflineDatabase | Konstantin Käfer | 2018-08-14 | 1 | -1/+1 |
| | |||||
* | [core] Move SourceType to the 'style' namespace | Anand Thakker | 2017-10-16 | 1 | -3/+3 |
| | |||||
* | [core] make forcing cache/network only more explicit | Konstantin Käfer | 2017-10-12 | 3 | -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 target | Konstantin Käfer | 2017-09-28 | 1 | -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 offline | Konstantin Käfer | 2017-09-22 | 2 | -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 Mamoowala | 2017-09-20 | 1 | -1/+1 |
| | |||||
* | Fast tileCount with help from @mapbox/sphericalmercator module | Asheem Mamoowala | 2017-09-08 | 1 | -1/+3 |
| | |||||
* | [core] finish must-revalidate support | Konstantin Käfer | 2017-08-08 | 2 | -0/+11 |
| | |||||
* | [core] Use the ResourceTransform instead of callbacks | Thiago Marcos P. Santos | 2017-06-26 | 2 | -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 ResourceTransform | Thiago Marcos P. Santos | 2017-06-26 | 1 | -0/+26 |
| | | | | Wrapper for transforming URLs on the OnlineFileSource. | ||||
* | [core] Rename ThreadedObject to Thread | Thiago Marcos P. Santos | 2017-06-21 | 1 | -2/+2 |
| | | | | | Now that the old Thread class is gone, we can give ThreadedObject a better name. | ||||
* | [core] Convert DefaultFileSource to ThreadedObject | Thiago Marcos P. Santos | 2017-06-21 | 1 | -2/+2 |
| | | | | Fixes #6426 | ||||
* | [core] Offline support for Image Sources | Asheem Mamoowala | 2017-06-01 | 1 | -2/+4 |
| | |||||
* | [core] default file source - ensure thread safety for cached values | Ivo van Dongen | 2017-05-27 | 1 | -2/+7 |
| |