summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [android][ios] Change log entriesupstream/mikhail_coalesce_pending_image_requestsMikhail Pozdnyakov2019-10-102-1/+8
|
* [core] Introduce Scheduler::bindOnce() and use it in ImageManagerMikhail Pozdnyakov2019-10-103-6/+21
|
* [ci] Fixed duplicated render tests run on MacOSMikhail Pozdnyakov2019-10-101-1/+1
|
* [core] Update ImageManager.OnStyleImageMissingBeforeSpriteLoaded unit testMikhail Pozdnyakov2019-10-101-0/+14
| | | | So that it checks missing images requests coalescing.
* [core] Disallow coalesced requests for patternsMikhail Pozdnyakov2019-10-101-6/+14
| | | | | | | Unlike icons, pattern changes are not caught with style-diff meaning that the existing request could be from the previous style and we cannot coalesce requests for them.
* [core] Coalesce requests for the same missing imageMikhail Pozdnyakov2019-10-102-29/+43
| | | | | | | This commit coalesces the repeated `onStyleImageMissing` calls for the same image. It also simplifies the image manager code.
* [core] Introduce Scheduler::makeWeakPtr()Mikhail Pozdnyakov2019-10-096-0/+15
|
* bump to v5 (#15781)Dane Springmeyer2019-10-092-2/+4
|
* [ios] Podspec & changelog updates for v5.5.0-alpha.2ios-v5.5.0-alpha.2Nadia Barbosa2019-10-094-6/+4
|
* [test runner] Fix finding of expected images pathsMikhail Pozdnyakov2019-10-093-6/+16
| | | | | | | Before this change, the found paths to the expected images erroneously included the path to the `metrics.json` file (if this file was present) leading to raising of an unhandled exception.
* node package improvements (#15748)Dane Springmeyer2019-10-085-16/+49
| | | | | | * node package improvements * npm run test-suite does not do anything anymore
* [ios] Skip metrics.sh step (#15779)Julian Rex2019-10-081-2/+5
|
* [android] Expose pre-fetching zoom delta. (#15769)Peng Liu2019-10-0811-94/+260
| | | | | | | | | | | | | | | | | | * [android] Expose pre-fetching zoom delta. * [android] Fix Clang format. * [android] Add MapboxMap unit test. * [android] Add prefetching zoom delta into MapboxMapOptions. * [android] Deprecate setPrefetchesTiles to migrate to setPrefetchZoomDelta. * [android] Deprecate getPrefetchesTiles() and migrate to setPrefetchZoomDelta(). * [android] Add unit test to NativeMapViewTest. * [android] Add IntRange annotation to getPrefetchZoomDelta.
* [tests] Share common code between test runnersJuha Alanen2019-10-088-222/+155
|
* [docs] add SMCalloutView to LICENSE.md (#15774)Chloe Krawczyk2019-10-071-1/+13
|
* [core] Introduce SequencedScheduler and ParallelSchedulerMikhail Pozdnyakov2019-10-073-43/+74
| | | | | | | | | | | This commit refactors `utils::ThreadPool` into a template `ThreadedScheduler` class and provides aux type aliases. So that it is possible to obtain a sequenced schedule,where all the scheduled tasks are guarantied to be executed consequently. The sequenced lightweight scheduler is required by both the orchestration thread and the refactored `FileSource` implementation.
* [build] enable query tests on native test runnerJuha Alanen2019-10-072-6/+39
|
* [expression-test] fix result diffingJuha Alanen2019-10-071-2/+2
|
* [render-test] Add support for query testsJuha Alanen2019-10-0716-18/+387
|
* [render-test] Support feature-state tests where featureID is a numberJuha Alanen2019-10-071-4/+16
|
* [render-test] Add support for setPitch operationJuha Alanen2019-10-071-0/+7
|
* [ios, macos] Changed exception to assert and nil return, since attribution ↵Julian Rex2019-10-053-3/+18
| | | | methods can be called via user interaction (without a mechanism to try/catch) (#15764)
* [ios] Fixes an issue that caused the ornaments ignore contentInset property. ↵Fabian Guerra Soto2019-10-049-35/+670
| | | | | | | | | | | | | | | | | | | | | | | | | | (#15584) * [ios] Add mapView content inset tests. * [ios] Fix an issue that caused the ornaments ignore the contentInsets. Fixed an issue that caused ornaments ignore the contentInset. Added a new property automaticallyAdjustContentInset that has the same purpose as UIViewController. automaticallyAdjustsScrollViewInsets. This was changed due to the latter being deprecated. * [ios] Fix automaticallyAdjustsScrollViewInsets legacy behavior. The property automaticallyAdjustsScrollViewInsets overrode automaticallyAdjustsScrollViewInsets which caused a breaking change. This is fixed to consider the legacy property when calculating the content insets and added tests for both cases. * [ios] Fix the contentInset value after adding padding to the camera. Fixed an issue that caused a discrepancy between the contentInset in MGLMapView and the padding in the transformation state. When padding is passed through methods such as setCamera it’s persisted. This fix resets the contentInsets. * [ios] Fix pinch test. * [ios] Update automaticallyAdjustsScrollViewInsets name and documentation. * [ios] Update changelog.
* [ios] Adds pointForCoordinate/coordinateForPoint to MGLMapSnapshotOverlay ↵Julian Rex2019-10-047-12/+177
| | | | | | | | | | | | | | (#15746) * [ios] Adds `pointForCoordinate:`/`coordinateForPoint:` to MGLMapSnapshotOverlay * [ios] Adds PR # * [ios, macos] Update file lists & mac contexts * [macos] Fix for image scale in overlay. * [ios] Updated change log based on PR feedback.
* [android] keep Mapbox.java when obfuscating code to allow look up from JNItobrun2019-10-041-0/+2
|
* [ios] Fix layout of Scale bar components (#15703)Julian Rex2019-10-045-74/+269
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios] Add failing tests for scale bar updates. * [ios] Remove borderLayer * [ios] Ensure bar sections have non-fractional width * [ios] Add RTL override * [ios] Update constraints/layout * [ios] Invalidate scalebars size, after the parent's layout has happened (to ensure the view dimensions are correct when re-laying out the scale bar. * [ios] Refactor layout * [ios] Update changelog / remove commented code. * [ios] Remove whitespace * [ios] Stop integration tests asserting (when scale bar is hidden). Also reduces the # of calculations (since updateConstraints and layoutSubviews can be called outside of our control). * [ios] Moves declaration of properties for testing. * [ios] Removes redundant property attribute * [ios] Updated change log
* [core] Decouple Scheduler interface from actor modelMikhail Pozdnyakov2019-10-0413-39/+38
| | | | So that it is possible to schedule normal `std::function` and use `mapbox::base::WeakPtr`.
* [android] Check if Mapbox instance exists before creating default file sourceAlexander Shalamov2019-10-043-3/+15
| | | | | This check is needed for mbgl-benchmark target, as it does not require Mapbox instance, nor Android asset manager.
* [ios][android] Add change log entriesMikhail Pozdnyakov2019-10-042-0/+9
|
* [core] Orchestration performance for styles with multiple sourcesMikhail Pozdnyakov2019-10-042-26/+39
| | | | | | | | | | | | RenderOrchestrator holds a vector of ordered rendered layers, in order to minimize calling of `getRenderLayer()`, which could be quite expensive as it calculates hash of the layer Id. This change improves orchestration performance in particular for the styles that have multiple sources. The `API_renderStill_multiple_sources` benchmark runs approximately 70% faster with the changes applied.
* [core][benchmark] Add API_renderStill_multiple_sources benchmarkMikhail Pozdnyakov2019-10-041-4/+40
|
* [ios] Disable iOS code coverage script #15749Jordan Kiley2019-10-031-1/+4
|
* [android] - changelog for 8.5.0-alpha.1 (#15753)android-v8.5.0-alpha.1Igor Tarasov2019-10-031-0/+4
| | | | * [android] Update changelog for v8.5.0-alpha.1
* [android] - remove projected meters per pixel and pixel ratio relationŁukasz Paczos2019-10-032-2/+2
| | | | The projected meters per pixel calculation is not dependent on the pixel ratio but rather the tile size, therefore, the division when fetching the value is not necessary.
* [ios] Podspec & changelog updates for v5.5.0-alpha.1ios-v5.5.0-alpha.1Nadia Barbosa2019-10-024-4/+4
|
* [core] fix opacity interpolation for composition expressions (#15738)Ansis Brammanis2019-10-022-5/+5
| | | | port https://github.com/mapbox/mapbox-gl-js/pull/8818
* [ios][android] Add change log entryMikhail Pozdnyakov2019-10-022-0/+9
|
* Exclude Source.InvisibleSourcesTileNecessity from sanitizer CIMikhail Pozdnyakov2019-10-021-2/+2
|
* [core] Suppress network requests for invisible tilesMikhail Pozdnyakov2019-10-022-1/+79
| | | | If the render source does not need rendering, we set necessity for its tiles to `optional`, and thus suppress network requests on tiles expiration.
* [android] - changelog for v8.3.2Łukasz Paczos2019-10-011-1/+8
|
* [docs] Correct license typo in README (#15707)Jason Wray2019-09-301-1/+1
|
* [core] Enable move semantics for StylePropertyMikhail Pozdnyakov2019-09-272-27/+33
|
* [core] Return enum layer property values as stringAnder Conselvan de Oliveira2019-09-272-4/+4
| | | | | | | | | | The output of Layer::getProperty is a mapbox::base::Value which is equivalent to JSON. When setting the value of an enum property via JSON its value would be a string, so it would be natural to return a string too. Also, the numbers generated depend on the enum definition. They are not part of the style spec.
* [core] Introduce Light::getProperty()Mikhail Pozdnyakov2019-09-275-39/+104
|
* [core] Layer::getProperty supports layout propertiesMikhail Pozdnyakov2019-09-2711-208/+271
|
* [core] ValueFactory for `expression::formatted`, other improvementsMikhail Pozdnyakov2019-09-276-48/+69
|
* [core] Layer::getPaintProperty() -> Layer::getProperty()Mikhail Pozdnyakov2019-09-2624-29/+29
|
* [core] Separate header for StylePropertyMikhail Pozdnyakov2019-09-264-9/+23
|
* [core] LayerProperty -> StylePropertyMikhail Pozdnyakov2019-09-2625-206/+206
|
* [core] Add Map.UniversalStyleGetter testMikhail Pozdnyakov2019-09-261-0/+73
|