summaryrefslogtreecommitdiff
path: root/platform
Commit message (Collapse)AuthorAgeFilesLines
* [core] fix icon-text-fitupstream/fix-icon-text-fitKonstantin Käfer2019-10-141-0/+3
| | | | This fixes rendering by account for the 1px texture padding around icons that were stretched with icon-text-fit. We've added the 1px padding before, but didn't scale it accordingly when we are resizing the icon when it is stretched to fit the text. Adjusts the code to match the logic in GL JS.
* [core] map image type to string until we have a dedicated implementationKonstantin Käfer2019-10-141-0/+4
|
* [core] map image type to string until we have a dedicated implementationKonstantin Käfer2019-10-142-0/+15
|
* Add iOS bindings for cluster properties (#15515)Jordan Kiley2019-10-1110-8/+243
|
* [ios] Fix for iOS 9 crash (seen in simulator) (#15771)Julian Rex2019-10-112-1/+28
| | | | | | | | * [ios] Fix for iOS 9 crash (seen in simulator) * [ios] Update change log * [ios, macos] Add #if around new function.
* [offline] Document the database schemaThiago Marcos P. Santos2019-10-111-30/+134
|
* [build] Make sure offline_schema.hpp is up-to-dateThiago Marcos P. Santos2019-10-112-4/+6
| | | | | - Get the bots to verify that. - Fix the paths.
* [android] update changelog for 8.5.0-alpha.2android-v8.5.0-alpha.2tobrun2019-10-101-1/+9
|
* [android] - manually write and read camera's padding array to parcelŁukasz Paczos2019-10-102-3/+31
| | | | This avoids relying on Parcel's util methods that do not handle null arrays gracefully.
* [android][ios] Change log entriesMikhail Pozdnyakov2019-10-102-1/+8
|
* [core] Introduce Scheduler::makeWeakPtr()Mikhail Pozdnyakov2019-10-092-0/+4
|
* bump to v5 (#15781)Dane Springmeyer2019-10-091-1/+3
|
* [ios] Podspec & changelog updates for v5.5.0-alpha.2ios-v5.5.0-alpha.2Nadia Barbosa2019-10-094-6/+4
|
* node package improvements (#15748)Dane Springmeyer2019-10-082-13/+14
| | | | | | * node package improvements * npm run test-suite does not do anything anymore
* [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.
* [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-046-16/+14
| | | | 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
|
* [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-021-0/+1
| | | | port https://github.com/mapbox/mapbox-gl-js/pull/8818
* [ios][android] Add change log entryMikhail Pozdnyakov2019-10-022-0/+9
|
* [android] - changelog for v8.3.2Łukasz Paczos2019-10-011-1/+8
|
* [android] Remove usage of ResourceOptions::withPlatformContextAlexander Shalamov2019-09-268-31/+80
|
* [core][android][darwin] Move number format to i18nAlexander Shalamov2019-09-2612-44/+96
|
* [core][android][darwin] Move platform specific Collator impls from expressionAlexander Shalamov2019-09-268-59/+38
| | | | Platform specific Collator implementations should not be part of an expression APIs.
* [core][android] Remove unaccent from platform interfacesAlexander Shalamov2019-09-266-77/+45
| | | | | The unaccent is used only within collator, thus, there is no need to have separate platform interface for it.
* [ios] Update podspecs & changelog for v5.4.0 release (#15716)Julian Rex2019-09-254-4/+4
|
* [android] Updated Android changelog for 8.4.0 stable release (ristretto) ↵Langston Smith2019-09-251-0/+9
| | | | (#15713)
* [core] Fix performance-move-const-argThiago Marcos P. Santos2019-09-258-25/+30
|
* [ios, build] Use Ruby 2.6.x for build dependencies on CIJason Wray2019-09-241-1/+1
|
* [ios, build] Update to jazzy 0.11.1Jason Wray2019-09-241-1/+1
|
* [android] Bumped Java SDK dependency to stable 4.9.0 (#15700)Langston Smith2019-09-242-1/+1
|
* [android] update gitignore to not track .cxx directoriestobrun2019-09-241-1/+2
|
* [android] update snapshot version for release-sangriatobrun2019-09-241-1/+1
|
* [android] Fix the crash when CameraPosition padding is set. (#15699)Peng Liu2019-09-232-10/+12
| | | | | | * [android] Add test branch, navigate to Map Snapshotter activity to reproduce the bug. * [android] Fix the crash when camera position padding is set.
* [android] Migrate Android SDK to GL JS–powered feedback form (#15623)Peng Liu2019-09-232-13/+148
| | | | | | | | | | | | | | * [android] Add debug info. * [android] Generate feedback url. * [android] Add unit test for buildMapFeedbackMapUrl. * [android] Remove debug logging. * [android] Add github issue link to the TODO. * [android] Change getPackageName to application context.
* Add layer_manager.cpp to mbgl-offline on macOSMark Grimes2019-09-201-0/+4
| | | | This is to fix #15358
* [build] Move compression to platformThiago Marcos P. Santos2019-09-205-0/+108
| | | | It depends on platform specific compression library.
* [ios] Copyedit changelog for ios-5.4.0Jason Wray2019-09-191-5/+5
|
* [ios]Add errors reporting (#15391)m-stephen2019-09-207-7/+83
| | | | | | * add errors reporting * [ios] report error if rendering takes > 1 second. (#15633)
* [ios] Release ristretto beta.1 prep (#15684)Julian Rex2019-09-194-14/+6
| | | | | | | | * [ios] Update podspecs to 5.4.0-beta.1 * [ios] Update change log * [ios] Added code ticks.
* [android] Updated Android changelog for 8.4.0-beta.1 ristretto release (#15682)Langston Smith2019-09-191-1/+7
|
* Prepare for Maps SDK for iOS v5.3.2 (#15670)Jordan Kiley2019-09-181-0/+4
|