summaryrefslogtreecommitdiff
path: root/platform
Commit message (Collapse)AuthorAgeFilesLines
* [build] Bump minimum iOS version to 12.0Juha Alanen2020-02-141-1/+1
|
* [test-runner] Share common code between iOS test runnersJuha Alanen2020-02-1410-49/+220
|
* [test] Add iOS unit test runnerJuha Alanen2020-02-141-0/+94
|
* [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.
* style::Style::getImage() returns optional<style::Image>Mikhail Pozdnyakov2020-02-112-3/+3
|
* [core] Loading images to style optimizationMikhail Pozdnyakov2020-02-111-5/+3
| | | | | | This change enables attaching images to the style with batches and avoids massive re-allocations. Thus, it improves UI performance especially at start-up time.
* Bump GL-JSzmiao2020-02-111-2/+4
| | | | Backport GL-JS fix 'Hide glyphs behind the camera'(https://github.com/mapbox/mapbox-gl-js/pull/9229)
* [build] Run cmake-format on all the CMake filesThiago Marcos P. Santos2020-02-072-2/+4
| | | | Unify and enforce a CMake coding style.
* [build] Remove unused filesThiago Marcos P. Santos2020-02-0712-1177/+0
| | | | | Buck build is no longer needed, neither is the previous CMake buildsystem.
* [build] Move the `next` buildsystem to the rootThiago Marcos P. Santos2020-02-077-0/+1333
| | | | | | | | This will make the `next` buildsystem no longer the `next`, but the `actual`. The idea is to simplify the build, removing scripts, to make the platform buildsystem generated by CMake more compatible with IDEs and make development more streamlined. It will also make cross compilation easier.
* Expose READ_ONLY_MODE_KEY property for DatabaseFileSourceMikhail Pozdnyakov2020-02-073-35/+35
|
* [core] Switch unordered_map to mapAlexander Shalamov2020-02-065-10/+11
| | | | | | 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-066-14/+33
|
* [core] Add platform::setCurrentThreadPriority(double)Alexander Shalamov2020-02-064-3/+36
|
* [test] Enable HTTP server on AndroidJuha Alanen2020-02-061-3/+6
|
* [android] Implement watch handler in RunLoopJuha Alanen2020-02-062-4/+36
|
* Made number format work for newer versions of ICU (#16176)Preston A Elder2020-02-041-0/+8
|
* [build] Adding a build flag to build without GL if needed (#16120)Thomas Moenicke2020-02-037-11/+15
| | | | | | * [build] Adding a build flag to build without GL if needed * [build] Moving custom layer to mbgl/gl
* [build] Disable TSAN checks for the test HTTP server in CI buildsJuha Alanen2020-01-301-0/+2
|
* [build] Cleanup CircleCI configurationThiago Marcos P. Santos2020-01-281-2/+2
| | | | | - Remove the legacy build jobs - Remove the next- namespace.
* [core] Add pause and resume to database filesource implementationAlexander Shalamov2020-01-271-0/+11
|
* [core] Move resource loader to dedicated thread with schedulerAlexander Shalamov2020-01-231-75/+48
|
* [core] Pass std::shared_ptr<UpdateParameters> to the render orchestratorMikhail Pozdnyakov2020-01-225-5/+5
| | | | So that it can retain ownership of the given parameters.
* [ios, macos] Include SKU token for offline requests (#16130)Jordan Kiley2020-01-212-6/+4
|
* [core] Add stretches and content to style::ImageKonstantin Käfer2020-01-152-2/+2
|
* [android] Use new FileSourceManager interfaceAlexander Shalamov2020-01-1310-65/+133
| | | | Use new interface for android jni adaptation classes.
* [qt] Use new FileSourceManager interfaceAlexander Shalamov2020-01-133-7/+17
|
* [darwin] Use new FileSourceManager interfaceAlexander Shalamov2020-01-137-36/+52
|
* [node] Use new FileSourceManager interfaceAlexander Shalamov2020-01-133-12/+19
|
* [core] Modularize FileSource codebase (#15768)Alexander Shalamov2020-01-1315-571/+881
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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
* [android] Use stub HTTP file source for test runnersJuha Alanen2020-01-101-0/+18
|
* [test] Run unit tests as NativeActivity application on AndroidJuha Alanen2020-01-101-5/+70
|
* [android] Fix a RunLoop bug where tasks are run only onceJuha Alanen2020-01-101-2/+1
| | | | | Do not remove tasks from the RunLoop in processRunnables(). Otherwise the task is run only once.
* [android][core] Add `Map::latLngBoundsForCameraUnwrapped` and jni binding ↵Peng Liu2020-01-092-0/+23
| | | | | | | | | for `getVisibleCoordinateBounds`. (#16069) * [android] Add getVisibleCoordinateBounds method. * Fix Map::latLngBoundsForCamera, add Android binding for getVisibleRegionBounds. * Add unit tests for CameraToLatLngBoundsWithRotation and CameraToLatLngBoundsCrossDateLine. * Move API breaking changes to a new method name latLngBoundsForCameraUnwrapped.
* [core] Make it possible to reopen the database read-only for testingThiago Marcos P. Santos2020-01-083-38/+113
| | | | | | Needed for Android, because the database is in readonly filesystem and also because it is annoying to see files modified every time we run the tests.
* [util] fix thread.cpp portabilitySamuel Thibault2020-01-081-0/+6
|
* [android] promote releaseCoreLayer from protected to publictobrun2020-01-061-3/+3
|
* [android] Share common code between test runnersJuha Alanen2020-01-036-471/+253
|
* [benchmark] Run benchmark as NativeActivity application on AndroidJuha Alanen2020-01-031-5/+307
|
* [core] Offline download must clear batch buffer at load interruptMikhail Pozdnyakov2019-12-181-0/+1
| | | | | | | 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).
* [qt] Fix usage of QNetworkReply after deletionMikhail Pozdnyakov2019-12-172-4/+5
|
* [build] Reorganize the render testsThiago Marcos P. Santos2019-12-162-111/+2
| | | | | | Move everything that might collect metrics to the metrics/ directory, the only test manifests inside the render-test/ directory are the unit tests of the probes.
* [ios, macos]Remove iOS/macOS codes from native codes (#16031)m-stephen2019-12-1413-23/+248
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add source/header * add ios files * add configs * modify name * http_file_source * add interface delegate when map init * fix name * fix delegate name * support mac os * add mac os support * make optional delegate when mac os * mac/ios difference * add ios change log * cancel iOS/mac OS judgement * cancel iOS/mac OS judgement * cancel judgement in .m * update * update * update http_file_source * update ios * update mac os * add mac os file * add mac os file to `.cmake` * change names * add log & fix format * reset changelog commit * update changelog * rename iOS network manager * Add a test configuration(same as default configuration) when mac os run tests * re-add account type into `http_file_source` * refactor
* [glfw] TestOperation -> TestOperationSerializerMikhail Pozdnyakov2019-12-132-8/+8
|
* [android] Fix -Wshadow on Android buildThiago Marcos P. Santos2019-12-122-20/+19
|
* [metrics] Run Android RenderTestRunner bot in rebaseline mode (#16036)zmiao2019-12-111-1/+1
|
* update mapbox-gl-js (#16022)Ansis Brammanis2019-12-091-1/+17
|
* [glfw] Add static render test creatorThiago Marcos P. Santos2019-12-095-6/+249
| | | | | | | Press F1 to create a render test for the current view. The test will be created at the base folder (current if nothing is provided) + /NNNN (the next free entry).
* [android] - add hooks for bulk conversion of geographic coordinates to ↵tobrun2019-12-062-0/+58
| | | | screen coordinates
* [test-runner] Make Android RenderTestRunner bot fail when test cases are not ↵zmiao2019-12-041-4/+7
| | | | | | | | | | | | | | fully passed (#15994) * [test-runner] Fix failed tests, generate android specific expectations * [test-runner] Check render test runner testing result * [test-runner] Add error case to android ignore list * [test-runner] Update metrics * [test-runner] Move Android render tests with big diff(>0.006) to ignore list