summaryrefslogtreecommitdiff
path: root/platform
Commit message (Collapse)AuthorAgeFilesLines
* [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
* [core] Remove Map::cycleDebugOptionsBruno de Oliveira Abinader2019-12-047-22/+26
|
* [android] remove OfflineRegion.java, gitiginore and issue template. update ↵tobrun2019-12-032-571/+0
| | | | README
* [android] remove platform specific Android code, migrate project to ↵tobrun2019-12-03883-387126/+4
| | | | mapbox-gl-native-android
* [test-runner] Allow to define filter inside manifest fileAlexander Shalamov2019-12-031-4/+4
| | | | | Command line option is still available and allows to override filter that is defined in a manifest file.
* [android][node][qt] Update platform code for style::Layer::setProperty()Mikhail Pozdnyakov2019-12-035-60/+19
|
* [android] Add OfflineManager.runPackDatabaseAutomatically(boolean) APIMikhail Pozdnyakov2019-12-024-4/+37
|
* [core] Introduce OfflineDatabase::runPackDatabaseAutomatically() APIMikhail Pozdnyakov2019-12-024-43/+54
| | | | | - added a unit test - Updated inline comments in default_file_source.hpp
* Revert "[android] Add OfflineRegion.deleteAndSkipPackDatabase"Mikhail Pozdnyakov2019-12-023-96/+35
| | | | This reverts commit 9bc3aa46384229778853c2710e5b06259b78ed18.
* [test-runner] Add android RenderTestRunner baseline metrics (#15979)zmiao2019-12-021-16/+24
| | | | | | | | | | * [test-runner] Enable probe-testing android render test runner * [test-runner] Add pixel4 baseline metrics * Add git ignored metrics * Make renderTestrunner run two times with different manifest config
* [glfw] Fix map not resizing on LinuxThiago Marcos P. Santos2019-11-291-1/+1
| | | | | Apparently GLFW is implicitly calling glViewport on macOS but not on Linux. Force setting the viewport instead of assuming a value.
* [core][android][darwin] Fix GeoJSONOptions handlingMikhail Pozdnyakov2019-11-295-55/+57
| | | | | | - share the `GeoJSONOptions` instances using `Immutable<GeoJSONOptions>` - avoid extra copying - fix wrapping of the `GeoJSONOptions` instances in supercluster map/reduce lambdas. Previously, local variables were wrapped by reference.
* [mobile] README update about mobile work being moved to new repos (#15958)Langston Smith2019-11-272-0/+12
|
* [ios, macos] Changelog entry for network request priority change (#15950)Juha Alanen2019-11-212-0/+2
|
* [android] Changelog entry for network request priority change (#15950)Juha Alanen2019-11-211-0/+1
|
* [core] Set the priority of online requests for existing resource to lowJuha Alanen2019-11-211-0/+2
|
* [core] Add new method to DefaultFileSourceJuha Alanen2019-11-211-0/+8
| | | | | Add setMaximumConcurrentRequests() method for setting it on the OnlineFileSource.
* [core] Notify requests about network reachability only when coming back onlineJuha Alanen2019-11-211-1/+3
|
* [ios] Refactor host checks (#15948)Julian Rex2019-11-201-2/+9
|
* [render-test] Wrap test data inside RenderTestRunner App + Add a new test ↵zmiao2019-11-192-19/+252
| | | | | | | | | | | | app (#15887) * [render-test] Wrap test resources inside app * [render-test] Add test app * fix test app failure * [render-test]add callback + add javaObjectWrapper
* [ios][android] Change log entries for #15941Mikhail Pozdnyakov2019-11-192-0/+2
|
* [build] Enable more warnings on the next buildThiago Marcos P. Santos2019-11-154-15/+9
| | | | Make compilation more pedantic.