Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [test] Fix failing tests on iOS | Juha Alanen | 2020-02-14 | 1 | -4/+4 |
| | |||||
* | [core] Add unit test | Alexander Shalamov | 2020-02-14 | 1 | -0/+36 |
| | |||||
* | Add OfflineDatabase.UpdateDatabaseReadOnlyMode unit test | Mikhail Pozdnyakov | 2020-02-07 | 1 | -0/+16 |
| | |||||
* | Add OfflineDatabase.PutResourceReadOnlyMode unit test | Mikhail Pozdnyakov | 2020-02-07 | 1 | -0/+27 |
| | |||||
* | [test] Improve the stability of a test on Android | Juha Alanen | 2020-02-06 | 1 | -3/+10 |
| | |||||
* | [test] Remove node.js based HTTP server | Juha Alanen | 2020-01-30 | 1 | -175/+0 |
| | |||||
* | [core] Add unit test for pausing & resuming database fs | Alexander Shalamov | 2020-01-27 | 1 | -0/+25 |
| | |||||
* | [core] Modularize FileSource codebase (#15768) | Alexander Shalamov | 2020-01-13 | 7 | -273/+304 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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 | ||||
* | [core] Offline download must clear batch buffer at load interrupt | Mikhail Pozdnyakov | 2019-12-18 | 1 | -1/+82 |
| | | | | | | | Otherwise, the stale buffer data are processed again at the repeated load. It is causing various problems like missing load completion notification or crashes (if the previously used observer instance has been deleted). | ||||
* | [core] Add OfflineDatabase.Pack unit test | Mikhail Pozdnyakov | 2019-12-02 | 1 | -0/+30 |
| | |||||
* | [core] Introduce OfflineDatabase::runPackDatabaseAutomatically() API | Mikhail Pozdnyakov | 2019-12-02 | 1 | -2/+3 |
| | | | | | - added a unit test - Updated inline comments in default_file_source.hpp | ||||
* | [tests] Increase test tolerance | Thiago Marcos P. Santos | 2019-11-27 | 1 | -1/+1 |
| | | | | This test has been flaky on mac. | ||||
* | [test] Add test for priority of online requests for expired resources | Juha Alanen | 2019-11-21 | 1 | -1/+76 |
| | |||||
* | [core] OfflineDatabase pack API | Mikhail Pozdnyakov | 2019-11-12 | 1 | -11/+37 |
| | | | | | | - introduce `OfflineDatabase::pack()` standing for incremental vacuum - make pack optional at offline region deletion - update `OfflineDatabase.DeleteRegion` test accordingly to the items above | ||||
* | [core] Enable incremental vacuum for Offline DB | Mikhail Pozdnyakov | 2019-10-22 | 1 | -6/+46 |
| | | | | Thus we avoid re-creating the whole database and keeping the backup file as it happens on calling VACUUM. | ||||
* | [core] Fix performance-move-const-arg | Thiago Marcos P. Santos | 2019-09-25 | 1 | -2/+2 |
| | |||||
* | [core] Add Map.Issue15342 unit test | Mikhail Pozdnyakov | 2019-09-12 | 1 | -2/+2 |
| | | | | | The newly added test checks the fix for constant repaint, caused by `RenderSource::hasFadingTiles()` returning `true` all the time. | ||||
* | [core] Add unit test to verify that Offline usage tag is not set | Alexander Shalamov | 2019-09-11 | 1 | -1/+79 |
| | | | | | New unit test checks that Offline usage flag is not set for invalidated offline region resource requests. | ||||
* | Always call onSourceLoaded observers (#15548) | Konstantin Käfer | 2019-09-03 | 1 | -0/+50 |
| | | | | | | | | * [core] add sources to source collection before triggering load * [test] add testcase for #15514 * [core] also call onSourceLoaded observers when no network request was necessary | ||||
* | [core] Add requiredTileCount to OfflineRegionStatus | Bruno de Oliveira Abinader | 2019-08-29 | 1 | -0/+11 |
| | |||||
* | [core] Mark offline region resources in batches | Mikhail Pozdnyakov | 2019-08-29 | 1 | -20/+18 |
| | |||||
* | [core] Disable flaky OfflineDatabase.MaximumAmbientCacheSize test | Jason Wray | 2019-08-07 | 1 | -1/+2 |
| | |||||
* | [core] Add storage unit tests for MapboxTileLimitExceeded | Thiago Marcos P. Santos | 2019-06-19 | 1 | -0/+98 |
| | |||||
* | [tests] Add unit tests for cache size | Thiago Marcos P. Santos | 2019-06-18 | 1 | -0/+134 |
| | |||||
* | [core] Add method for setting a maximum size for the ambient cache | Thiago Marcos P. Santos | 2019-06-18 | 1 | -13/+34 |
| | | | | | | | - 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 | -29/+59 |
| | | | | | 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 | -3/+3 |
| | | | | | Avoid confusion about what is being reset. In this case, the whole database and not only the ambient cache. | ||||
* | [tests] Follow-up of previews PR, these tests need write permission | Thiago Marcos P. Santos | 2019-06-18 | 1 | -2/+2 |
| | |||||
* | [tests] Improve unit test for deleting offline region and concurrent use | Thiago Marcos P. Santos | 2019-06-13 | 1 | -12/+39 |
| | | | | | | Test if the physical size of the database will also reduce. Clear the cache while adding resource on another connection. | ||||
* | [tests] Add unit test for clearing the ambient cache | Thiago Marcos P. Santos | 2019-06-13 | 1 | -11/+39 |
| | |||||
* | [core] Remove priority from the constructor | Thiago Marcos P. Santos | 2019-05-28 | 2 | -5/+8 |
| | | | | Make the constructor less verbose and set good defaults. | ||||
* | [core] Introduce usage tag for resources | Thiago Marcos P. Santos | 2019-05-28 | 1 | -1/+8 |
| | | | | | | | 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 | -0/+12 |
| | |||||
* | [tests] Add unit tests for offline data invalidation | Thiago Marcos P. Santos | 2019-05-21 | 1 | -0/+67 |
| | |||||
* | [test] Add unit test for clearCache API | Sudarsana Babu Nagineni | 2019-04-29 | 1 | -0/+14 |
| | |||||
* | [core] clang-tidy fixes | Konstantin Käfer | 2019-04-05 | 1 | -1/+1 |
| | |||||
* | [core] expose an option to change the db file path in runtime | Łukasz Paczos | 2019-03-13 | 1 | -0/+8 |
| | |||||
* | [core] Support for excluding ideographic glyphs from offline downloads. | Chris Loer | 2018-12-21 | 3 | -35/+117 |
| | |||||
* | [build] rework platform/default directory and add -files.txt for vendored libs | Konstantin Käfer | 2018-12-14 | 3 | -3/+3 |
| | |||||
* | [core] Fixed {prefix} evaluation | Minh Nguyễn | 2018-11-21 | 1 | -3/+3 |
| | | | | This appears to have been an attempt to use the std::string fill constructor, but it ended up creating a one-character-long string and attempting to overwrite the null terminator. | ||||
* | [core] add test about number of maximum concurrent requests | Huyen Chau Nguyen | 2018-11-15 | 2 | -3/+12 |
| | |||||
* | [core] define number of concurrent downloads in online file source variable | Huyen Chau Nguyen | 2018-11-15 | 1 | -2/+2 |
| | |||||
* | [test] Add test for when requesting the same resource many times | Thiago Marcos P. Santos | 2018-11-13 | 1 | -1/+19 |
| | | | | This test would have prevented the crash fixed by the previous patch. | ||||
* | [core] add tests for handling requests with different priorities | Huyen Chau Nguyen | 2018-10-23 | 2 | -1/+92 |
| | | | | | | - 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 | 2 | -3/+63 |
| | | | | | - priorities can be low or regular - offline downloads should have low priority to not throttle "regular requests" | ||||
* | [core] Always request 1x and @2x sprite images for portability | Konstantin Käfer | 2018-09-24 | 1 | -5/+7 |
| | | | | When creating a offline region, we've previously only requested the sprite image for the specified resolution. This lead to offline packs not being usable on devices that have a different pixel ratio. We're now requesting both 1x and 2x sprites. Some devices use even higher or fractional pixel ratios. However, we only ever use 1x and 2x sprite images in our requests. | ||||
* | [android] add support for gnustl | Konstantin Käfer | 2018-09-11 | 2 | -4/+6 |
| | |||||
* | Enforce Offline tile limit when merging sideloaded databases | Asheem Mamoowala | 2018-08-28 | 1 | -0/+31 |
| | |||||
* | Require minimum side-loaded database user_version=6 | Asheem Mamoowala | 2018-08-28 | 1 | -1/+1 |
| | |||||
* | Add unit tests and fixtures for OfflineDatabase::mergeDatabase | Asheem Mamoowala | 2018-08-28 | 1 | -0/+203 |
| |