summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [android] - add SafeVarargs to Expression methodsupstream/tvn-expression-safevaragsTobrun2018-01-241-3/+21
|
* Reimplement style values atop NSExpression (#10726)Minh Nguyễn2018-01-2485-7261/+7580
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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] fix style parsing crash when a layer's paint property is not an objectKonstantin Käfer2018-01-233-0/+18
|
* [core] add raster-dem source type and hillshade layer type (#10642)Molly Lloyd2018-01-2384-56/+4661
|
* [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
|
* [core] update CA bundle for cURLKonstantin Käfer2018-01-221-390/+211
|
* [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
|
* Adds an `ios-integration-test` Makefile target to run on CI (circle.yml)Andrew Kitchen2018-01-192-0/+9
|
* 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
|
* Prune unused layers from CrossTileSymbolIndexChris Loer2018-01-193-0/+16
| | | | Fixes issue #10939 -- removed layers would leak entries in the CrossTileSymbolIndex.
* [ios] Remove support for 32-bit simulators (i386)Jason Wray2018-01-193-8/+9
| | | | And restore some docs that got lost in a merge.
* [core] GeometryTileData needs to be updated in lockstep with FeatureIndexChris Loer2018-01-182-1/+5
|
* [core] Synchronize state of CollisionIndex and FeatureIndexes.Chris Loer2018-01-185-1/+29
| | | | Fixes issue #10778, in which mismatch between FeatureIndex and CollisionIndex could lead to inconsistent results or even invalid array access.
* [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
|
* [core] Prevent symbols at the same zoom from sharing a crossTileID.Chris Loer2018-01-173-9/+109
| | | | | Port of GL JS PR #5994. Fixes issue #10844, which would allow multiple symbols in a tile to share the same crossTileID as one of their duplicate parent-tile symbols. Once the symbols shared a crossTileID, they would permanently remain "duplicates" of each other, even after increasing zoom level allowed the CrossTileSymbolIndex to distinguish between them.
* [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
| |
| * [core] update vector-tile dependency to 1.0.1Konstantin Käfer2018-01-111-1/+1
| |
| * [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
| |
| * [core] blacklist binary program loading for Vivante GC4000 GPUsKonstantin Käfer2018-01-091-1/+4
| |
| * [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
| |
* | Camera callbacks for velocity animated movements (#10925)Łukasz Paczos2018-01-153-61/+57
| | | | | | | | | | | | * [android] camera listeners double invocation fix * [android] invoking camera change callbacks for velocity animated movements
* | [android] do not overwrite user-set focal point when tracking location (#10910)Łukasz Paczos2018-01-121-3/+0
| |