summaryrefslogtreecommitdiff
path: root/platform
Commit message (Collapse)AuthorAgeFilesLines
* [android] - correct marker location when using Snapshot#pixelForLatLngTobrun2018-01-251-3/+6
|
* [android] - add toString to Expression to print out object array notationTobrun2018-01-252-0/+41
|
* [ios, macos] Raster style layers are used with image sources tooMinh Nguyễn2018-01-242-5/+12
|
* [node] add setLight supportKonstantin Käfer2018-01-244-6/+50
|
* [core] update mapbox-gl-js submodule pinKonstantin Käfer2018-01-248-91/+1
| | | | | * disables transition render test (transitions are not supported with Still image rendering in Node.js) * removes support for hillshade-illumniation-direction-transition
* [android] - add SafeVarargs to Expression methodsTobrun2018-01-241-3/+21
|
* [ios, macos] Removed heatmap layer suppression from Darwin code generatorMinh Nguyễn2018-01-241-3/+0
|
* [build] Write out a list of files generated by our code generator scriptsKonstantin Käfer2018-01-242-0/+5
| | | | This will help us tracking deleted/modified/added files
* [build] Always use style-code's writeIfModified to unify file updatesKonstantin Käfer2018-01-243-20/+18
|
* [build] Add temporary modifications to style spec + shadersKonstantin Käfer2018-01-243-2/+3
| | | | This ensures that the generated code matches what is checked in. Remove those temporary modifications once we add the features to master.
* [android] - create Handler using the main thread looperTobrun2018-01-241-1/+2
|
* [android] - rename initRenderSurface to onSurfaceCreatedTobrun2018-01-241-11/+8
|
* Reimplement style values atop NSExpression (#10726)Minh Nguyễn2018-01-2478-7260/+7548
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Import headers, not implementation files * [core] Added accessors for various expression parameters Added missing parameter accessors to various expression operator classes, as well as a method on InterpolatorBase and Step that enumerates the stops and their values. * [ios, macos] Silenced warning in test of error condition * [ios, macos] Made MGLSphericalPosition boxable * [ios, macos] Implemented array enumeration during conversion * [ios, macos] Temporarily ignore heatmap layer type * [ios, macos] Migrated MGLSymbolStyleLayer.text to NSExpression MGLSymbolStyleLayer.text is now of type NSExpression instead of MGLStyleValue, as a first step toward migrating the entire layer API from style values to expressions. Implemented conversions from NSExpression to JSON arrays and vice versa. The most common NSExpression functions are now converted into style expressions, but not all of the most common style expression operators are supported yet. * [ios, macos] Implemented string coercion * [ios, macos] Color literals * [ios, macos] Null constant expressions * [ios, macos] Convert dictionary literals * [ios, macos] Interpolation expressions * [ios, macos] to-boolean, to-number, get from object * [ios, macos] Variable expressions Implemented custom expression functions for assigning and referring to variables within the context of an expression. Variables are assigned via a “context dictionary” and applied to an subexpression that is given as another argument to the same expression. Also implemented built-in variable expressions for zoom level and heatmap density. * [ios, macos] Convert colors, offsets, padding in expressions to JSON objects * [ios, macos] Expression-based style property getters Implemented a conversion from mbgl::style::PropertyValues to Objective-C JSON objects, which are then converted to NSExpressions. * [ios, macos] Consolidated property value–expression conversion in MGLStyleValueTransformer * [ios, macos] Predicate and expression guide Extracted documentation about predicates from a documentation comment in MGLVectorStyleLayer.h to a new jazzy guide. Added details about NSExpression support as well. Began updating the “For Style Authors” guide to reflect the transition from style values to expressions. * [ios, macos] Updated style authoring guide Updated the Information for Style Authors guide to discuss expressions instead of style functions. Included a table mapping style specification expression operators to NSExpression syntaxes. * [ios, macos] Migrated codegen templates to expressions * [ios, macos] Applied expression changes via codegen Ran make darwin-style-code. * [macos] Migrated macosapp to expressions * [ios, macos] Updated style function guide This guide needs to be thoroughly rewritten, but for now the example code has been migrated to expressions. * [ios, macos] Eviscerated style function tests * [ios, macos] Updated changelogs * [ios] Migrated iosapp to expressions * [ios, macos] Exposed JSON conversion methods publicly * [ios, macos] Removed MGLStyleValue, MGLStyleFunction
* [core] add raster-dem source type and hillshade layer type (#10642)Molly Lloyd2018-01-2321-31/+2279
|
* [android] - update changelog for v5.3.2Tobrun2018-01-221-1/+10
|
* [android] - handle null Call instances in HttpRequestTobrun2018-01-221-1/+1
|
* [android] - validate zoom level before creating mapbox telem eventTobrun2018-01-221-4/+13
|
* [ios, macos] Converted strings files to UTF-8Minh Nguyễn2018-01-1915-0/+0
|
* [android, ios, macos] Updated Ukrainian translationsMinh Nguyễn2018-01-194-30/+77
|
* [android, ios, macos] Updated Swedish translationsMinh Nguyễn2018-01-193-26/+51
|
* [android, ios, macos] Updated French translationsMinh Nguyễn2018-01-194-43/+88
|
* Restores fix to MGLOpenGLStyleLayer memory-related crash (#10765)Andrew Kitchen2018-01-194-21/+3
| | | | Revert this commit to see integration test fail.
* Adds an integration test harness to the iOS projectAndrew Kitchen2018-01-1914-3/+692
| | | | | This will allow us to write lightweight integration tests between MGLMapView and the core renderer. Also includes a test for the recent custom layer memory fix, reverting the fix in order to demonstrate the failing test.
* [android, ios, macos] Added Hebrew localizationMinh Nguyễn2018-01-1912-6/+491
|
* [ios] Remove support for 32-bit simulators (i386)Jason Wray2018-01-193-8/+9
| | | | And restore some docs that got lost in a merge.
* [ios] Optimize MGLAnnotationView scale transform when not pitchedupstream/fb-unpitched-annotation-view-scalingJason Wray2018-01-183-3/+18
|
* [android] - allow setting an OkHttpClientTobrun2018-01-183-3/+18
|
* [android] - expose setting a custom attribution manager through UiSettingsTobrun2018-01-183-9/+57
|
* [android] - expose attribution manager as public APITobrun2018-01-181-3/+4
|
* [android] - cleaup dependencies.gradleTobrun2018-01-184-99/+89
|
* [ios] Remove unused reference to reachabilityJesse Bounds2018-01-171-15/+0
| | | | This removes a reference to reachability that has been used and incorrect since the file does not exist at the referenced location.
* Merge branch 'release-agua' into masterFabian Guerra2018-01-1714-108/+279
|\ | | | | | | | | | | | | | | | | | | # Conflicts: # platform/android/CHANGELOG.md # platform/android/MapboxGLAndroidSDK/gradle.properties # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java # platform/ios/CHANGELOG.md # platform/ios/ios.xcodeproj/project.pbxproj # platform/macos/CHANGELOG.md
| * macos-v0.6.1macos-v0.6.1upstream/1ec5-macos-v0.6.1Minh Nguyễn2018-01-162-2/+2
| |
| * [macos] Added dates to changelogMinh Nguyễn2018-01-161-4/+8
| |
| * [ios] Bump podspec to v3.7.3ios-v3.7.3Fabian Guerra2018-01-103-3/+3
| |
| * [ios] Fix the layout constraints on iOS 11 for iPhone X (#10858)Fabian Guerra Soto2018-01-103-32/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios] Fix the layout constraints on iOS 11 for iPhone X for the bottom ornaments. * WIP adding tests for layout of map view attribution logo and other ornaments * Rename * First pass at tests for mapview ornament layout * Additional code changes from call with Fabian and Jason * [ios] Fix ornaments insets margin space. * [ios] Fix map view layout test for pre iOS 11. * [ios] Refactor MGLMapView ornaments layout constraints for iOS 11. * [ios] Remove NSLogs from MGLMapViewLayoutTests
| * [android] - bump snapshot version to 5.3.2android-v5.3.1Tobrun2018-01-101-1/+1
| |
| * [android] - update changelog for 5.3.1 releaseTobrun2018-01-101-0/+11
| |
| * [android] - use the correct cancelable callback after posting the cancelationtobrun2018-01-103-24/+16
| |
| * [android] - detect genymotion virtual machines when determening attributes ↵Tobrun2018-01-101-2/+10
| | | | | | | | for eglConfig
| * [android] - include request urls when logging out failed http requestsTobrun2018-01-104-23/+59
| |
| * [android] - RTL supportTobrun2018-01-103-4/+12
| |
| * [android] - refactor surface destruction NPE fixtobrun2018-01-101-24/+16
| |
| * [android] - use US local when converting between int color and RGBA String.tobrun2018-01-101-3/+4
| |
| * [android] getting bitmap from drawable fixŁukasz Paczos2018-01-101-5/+23
| |
| * [android] fix sending more than once double tap event on a single double tap ↵Pablo Guardiola2018-01-081-4/+3
| | | | | | | | gesture (#10854)
| * [ios, macos] Updated changelogsMinh Nguyễn2018-01-052-0/+11
| |
| * [macos] Fixed macosapp deploymentMinh Nguyễn2018-01-052-31/+53
| |
| * [ios] Dispatch location auth status check to backgroundJesse Bounds2018-01-041-36/+67
| | | | | | | | | | | | | | | | | | | | This attempts to work around reports of repeated calls to [CLLocationManager authorizationStatus] blocking the main thread by dispatching it to the background, serial queue that is already available in MGLMapboxEvents. This also adds a guard to the handler for the user defaults change event so that the call to pause or resume if required is done only if a user defaults value changes that would require an update to the pause / resume state. The guard works by utilizing two new state variables that keep track of the previous values for account type and metrics enabled configuration variables. The call to pause/resume is only done if the latest relevant values in the user defaults dictionary are actually different than the previous ones. The default values for the new state variables assume an account value of 0 and metrics enabled == true so there can be a small inefficiency if a user prevously opted out of telemetry, kills the app, and restarts it. In that case, the pause/resume method would get invoked one time when it would not technically need to. This should not be an issue in practice though.
* | [android] - replaced Mapzen external vector source example with mapillaryTobrun2018-01-161-4/+13
| |