summaryrefslogtreecommitdiff
path: root/platform/macos
Commit message (Collapse)AuthorAgeFilesLines
* [ios, macos] Fix overlay bounds that span the antimeridian. (#11783)Fabian Guerra Soto2018-05-041-0/+1
| | | | | | | | | | * [ios, macos] Fix overlay bounds that span the antimeridian. * [ios, macos] Update changelogs. * [ios, macos] Make MGLLocationCoordinate2DIsValid private. * [ios, macos] Update changelogs.
* [ios, macos] Update migration guides in jazzy table (#11808)Jordan Kiley2018-05-041-1/+1
| | | | | | * [macos] update jazzy for macos * [ios] moved migration guide
* iOS: Add custom layer example to debugging app (#7734)Konstantin Käfer2018-05-033-71/+6
|
* [ios, macos] Fix broken link to predicates and expressions guide. (#11818)Fabian Guerra Soto2018-05-031-2/+2
|
* [ios, macos] Avoid implicit capture of MBGLOfflineRegionObserver this pointerJohn Firebaugh2018-05-021-0/+1
| | | | MBGLOfflineRegionObserver is owned by the offline database thread, and might be destroyed by the time the dispatch_async completes. Instead of implicitly capturing this, capture a copy of the MBGLOfflinePack weak pointer.
* [android, ios, macos] Added Korean localizationMinh Nguyễn2018-05-023-1/+8
|
* [ios, macos] Fix possible retain cycles in blocksJason Wray2018-04-271-9/+15
| | | | Prompted by enabling CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF.
* [ios, macos] Accept Xcode 9.3 project suggestionsJason Wray2018-04-274-10/+10
| | | | | - Fix duplicate NSExpression+MGLAdditions.h and fix target membership - Explicitly cast NSUInteger to unsigned long before printing
* [ios, macos] Added change logs for #11731Julian Rex2018-04-251-0/+4
|
* [ios, macos] Fix for camera movement when selecting visible annotations (#11731)Julian Rex2018-04-243-1/+67
|
* [ios, macos] Rename featureProperties to featureAttributes. (#11748)Fabian Guerra Soto2018-04-232-1/+7
| | | | | | | | | | * [ios, macos] Rename featureProperties to featureAttributes. * [ios, macos] Update style documentation. * [ios, macos] Remove featureProperties variable tests. * [ios, macos] Update the changelogs.
* ios-v4.0.0, macos-v0.7.0macos-v0.7.0ios-v4.0.0upstream/1ec5-v4.0.0Minh Nguyễn2018-04-193-3/+3
|
* [macos] Replaced screenshotMinh Nguyễn2018-04-191-0/+0
|
* [ios, macos] Update Style Functions guide (#11724)Jordan Kiley2018-04-194-156/+269
|
* [ios, macos] Add trigonometric support to NSExpression. (#11716)Fabian Guerra Soto2018-04-171-7/+7
| | | | | | | | | | | | | | | | | | * [ios, macos] Add acos NSExpresssion operator. * [ios, macos] Add asin NSExpresssion operator. * [ios, macos] Add atan NSExpresssion operator. * [ios, macos] Add cosine NSExpresssion operator. * [ios, macos] Add sine NSExpresssion operator. * [ios, macos] Add tangent NSExpresssion operator. * [ios, macos] Add log2 NSExpresssion operator. * [ios, macos] Update style authors documentation.
* ios-v4.0.0-rc.1, macos-v0.7.0-rc.1macos-v0.7.0-rc.1ios-v4.0.0-rc.1Minh Nguyễn2018-04-162-2/+2
|
* [ios, macos] Updated changelogsMinh Nguyễn2018-04-161-11/+21
|
* [ios, macos] Add NSExpression convenience constructors and helper methods. ↵Fabian Guerra Soto2018-04-161-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#11278) * [ios, macos] Refactor convinience expression initializers. # Conflicts: # platform/darwin/src/NSExpression+MGLAdditions.h # platform/darwin/src/NSExpression+MGLAdditions.mm # platform/ios/app/MBXViewController.m * [ios, macos] Add MGL_MATCH convenience method. # Conflicts: # platform/darwin/src/NSExpression+MGLAdditions.h # platform/darwin/src/NSExpression+MGLAdditions.mm # platform/darwin/test/MGLExpressionTests.mm * [ios, macos] Add Swift friendly convenience methods name syntax.. # Conflicts: # platform/darwin/src/NSExpression+MGLAdditions.h * [ios, macos] Update runtime styling examples. # Conflicts: # platform/ios/app/MBXViewController.m * [ios, macos] Add NSExpression variable expressions properties. * [ios, macos] Clarify convenience initializer names. * [ios, macos] Update Style Authors guides. * [ios, macos] Fix cherry-pick merge. * [ios, macos] Update convenience initializers documentation.
* [macos] Updated Arabic localizationMinh Nguyễn2018-04-163-1/+30
|
* [android, ios, macos] Added European Portuguese localizationMinh Nguyễn2018-04-164-1/+35
|
* [ios, macos] Convert various class methods to class propertiesJason Wray2018-04-162-1/+2
| | | | This improves the Swift interface while having no effect on Obj-C usage.
* Localize expressions more thoroughly (#11651)Minh Nguyễn2018-04-163-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios] Removed changelog entry for Terrarium The broader feature is new to v4.0.0 as well. * [ios, macos] Localize expressions more thoroughly Replaced the MGLStyle.localizesLabels property with a -localizeLabelsIntoLocale: method that allows the caller to specify the locale to localize into. Also exposed a per-expression localization method for developers who want to vary behavior from layer to layer. * [macos] Offer English labels if preferred language is unsupported * [ios, macos] Removed dead code * [ios] Use new localization method in iosapp * [ios, macos] Fixed local name labels * [ios, macos] Convert tokens to key path expressions in stop dictionaries * [ios, macos] Streamlined token upgrading Separated token upgrading into a separate process that only happens as part of the MGLSymbolStyleLayer.text and MGLSymbolStyleLayer.iconImageName properties’ getters, so that it’s easy to remove later when mbgl changes obviate this workaround. Removed the replacesTokens parameter to the expression localization methods. * [ios, macos] Preserve whitespace between tokens * [ios, macos] Moved token replacement to a consistent category Fixed a build warning. * [ios, macos] Replace tokens in all string-typed getters For consistency, replace tokens with key paths in all string-typed style paint and layout properties. * [ios, macos] Test token replacement Added tests for replacement of tokens with key paths in expressions. Fixed token replacement for raw strings in stop dictionaries. Avoid sticking a single string inside an mgl_join: call. * [ios, macos] Test token replacement, localization Added unit tests of token replacement and localization of expressions. Only NSExpression is responsible for resolving the preferred language now, since NSLocale tends to tack a region code onto the locale identifier and the NSExpression method can be called independently anyways. Added a private variation of +[MGLVectorTileSource preferredMapboxStreetsLanguage] that takes an array of preferred languages. Fixed localization of non-expressions in stop dictionaries. * [ios, macos] Dictionary keys aren’t necessarily zoom levels
* [ios, macos] NSPredicate expression filters. (#11587)Fabian Guerra Soto2018-04-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Add NSAndPredicateType predicate expression filter. * [ios, macos] Add type to NSPredicate expressions. * [ios, macos] Add Expression filter support. * [ios, macos] Update NSPredicate expression based tests. * [ios, macos] Refactor ExpressionFilters. * [ios, macos] Add symmetric test to ExpressionFilters. * [ios, macos] Update NSPredicate test to ExpressionFilters. * [ios, macos] Re-introduce Filter tests. * [ios, macos] Remove typed NSComparisonPredicate's comparable values. * [ios, macos] Update style layers predicate tests. * [ios, macos] Remove unused predicate conversion code. * [ios, macos] Update documentation exaple's test. * [ios, macos] Update Predicate and Expressions guide.. * [ios, macos] Remove mgl_ prefix from variable expressions. * [ios, macos] Update predicates and expressions documentation. * [ios, macos] Update changelogs.
* [ios, macos] Remove mgl_ prefix from built-in expressions variables. (#11689)Fabian Guerra Soto2018-04-161-3/+3
|
* Add abs, round, floor, ceil operators (#11653)Anand Thakker2018-04-111-0/+4
| | | | | | | | | | | | | | | | | | | | * Add abs, round, floor, ceil operators Port of https://github.com/mapbox/mapbox-gl-js/pull/6496 * [ios, macos] Simplified abs, ceiling, floor expressions * [ios, macos] Added rounding expression function * [android] - binding integration for round, ceil, floor and abs expressions * Update mapbox-gl-js to include non-integer rounding test * Drop extra braces * mapbox-gl-js -> master * Update style-spec docs -> PropertyFactory.java
* [ios] Prepare changelog for ios-v4.0.0-beta.3Jason Wray2018-04-021-1/+5
|
* [ios, macos] Eliminated MGLAbstractShapeSourceMinh Nguyễn2018-04-023-14/+4
| | | | MGLComputedShapeSource is now a direct subclass of MGLSource and sibling of MGLShapeSource.
* [ios, macos] Renamed MGLVectorSource to MGLVectorTileSourceMinh Nguyễn2018-04-028-34/+34
|
* [ios, macos] Mention update-examples in contributing guideMinh Nguyễn2018-04-021-0/+2
|
* [ios, macos] Renamed MGLRasterSource to MGLRasterTileSourceMinh Nguyễn2018-04-027-30/+33
| | | | Also updated various source class listings to reflect the addition of image and raster DEM sources.
* Eviscerate mbgl expression to Foundation JSON object conversion (#11389)Minh Nguyễn2018-03-302-0/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Eviscerate mbgl expression to Foundation JSON object conversion * [ios, macos] Remove literal special case MGLJSONObjectFromMBGLValue() is just a literal translation from C++ types to Foundation types; no need for expression-specific literal wrapping. * [ios, macos] Implemented RGB(A) operators * [ios, macos] More robust color conversion * [macos] Create calibrated RGB from expression on Sierra * [macos] Calibrate colors in expressions at runtime * [ios, macos] Special-case number conversion without fallbacks * [ios, macos] Test mgl_number expressions * [ios, macos] Updated tests for aftermarket expressions * [ios, macos] Relax roundtripping requirement for serialize() * [ios, macos] Fixed interpolation expression tests * [ios, macos] Removed dead code * [ios, macos] Fixed color conversion on Sierra
* Install aftermarket expression functions (#11472)Minh Nguyễn2018-03-293-19/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Introduced more ergonomic expression concatenation syntax * [ios, macos] Fixed mgl_join: * [ios, macos] Simplified expression document headings * [ios, macos] Documented mgl_join: * [ios, macos] Convert length operator to length: for strings Only works for literal strings. * [ios, macos] Implemented type conversion using CAST() * [ios, macos] Aftermarket let expressions * [ios, macos] Refactored aftermarket expression functions Refactored the installation of aftermarket expression functions to use macros. It is no longer necessary to handwrite the type encoding of a function. Also added aftermarket functions for interpolating and stepping. * [ios, macos] Updated documentation, tests, demo apps * [ios, macos] Added generic expression function * [ios, macos] Add MGL_MATCH function placeholder. * [ios, macos] Add MGL_SWITCH expression operator. * [ios, macos] Add mgl_coalesce: as expression function. * [ios, macos] Update style documentation. * [ios, macos] Add conventional custom function support. * [ios, macos] Updated example code * [ios, macos] Add mgl_coalesce conventional custom function support. * [ios, macos] Add aftermarket function to 'has' operator. * [ios, macos] Add documentation for lookup and feature operators. * [ios, macos] Documented simple lookup * [ios, macos] Renamed, reversed has expression Renamed mgl_hasProperty:properties: to mgl_does:have: for better readability and consistency with the conventional mgl_has: function. Documented both forms of mgl_has:. * [ios, macos] Restored OEM conditionals where available This is the preferred syntax for simple conditionals on iOS 9 and above, because you can inline the predicate instead of wrapping it in a constant value expression, which means you can write a conditional in a single format string. * [ios, macos] Update style docs. Co-authored-by: Fabian Guerra <fabian.guerra@mapbox.com>
* [ios,macos] Selecting offscreen annotation pans map to fit annotation & ↵Julian Rex2018-03-215-14/+168
| | | | callout view (#3249, #9790)
* [ios, macos] Fix an issue where a wrong annotation may selected if ↵Lloyd Sheng2018-03-132-25/+25
| | | | | | | | | | | | annotations were set close together (#11438) * [ios] Fix an issue where wrong annotation may selected when annotations very close #10734 * [macos] Fix an issue where a wrong annotation may selected if annotations were set close together * update the iOS change log and the macOS change log * Fix an issue where the comment referenced to the wrong variable name
* [macos] Upgraded tests to Swift 4Minh Nguyễn2018-03-071-6/+6
|
* [macos] Assume sRGB for mbgl expressions, CSS in attributionMinh Nguyễn2018-03-073-10/+21
| | | | Assume mbgl needs colors in the sRGB color space rather than the calibrated RGB color space. Fixed link colors when creating attribution from HTML.
* [ios, macos] cherry-pick darwin changes to tileset encoding param onto boba ↵Molly Lloyd2018-02-271-0/+1
| | | | | | | | | | | | | | | | (#11324) * [ios, macos] add tileset encoding option to darwin sources (#11274) * add tileset encoding option to darwin sources * correct style guide * link out to dem encoding docs * markdownify comments * correct changelog
* [ios, macos] Unwrap coordinate boundsMinh Nguyễn2018-02-213-36/+30
| | | | Updated coordinate bounds conversion methods to use the beyond-±180 method to indicate that the bounds extends beyond the antimeridian. Also copyedited conversion documentation.
* [ios, macos] Mark deprecated methods as unavailable (#11205)Jordan Kiley2018-02-164-35/+7
| | | Fixes #10735
* [ios, macos] Remove the duplicated entries in changelogs.upstream/fabian-master-release-bobaFabian Guerra2018-02-161-2/+0
|
* Merge branch 'master' into release-bobaFabian Guerra2018-02-1511-1/+937
|\ | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # platform/android/CHANGELOG.md # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/Mapbox.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/widgets/CompassView.java # platform/android/scripts/exclude-activity-gen.json # platform/ios/CHANGELOG.md # platform/ios/Mapbox-iOS-SDK-nightly-dynamic.podspec # platform/ios/Mapbox-iOS-SDK-symbols.podspec # platform/ios/Mapbox-iOS-SDK.podspec # platform/macos/CHANGELOG.md
| * [core, ios, macos, android, node] Heatmap layer (#11046)Vladimir Agafonkin2018-02-1510-0/+924
| | | | | | | | | | Co-Authored-By: Konstantin Käfer <mail@kkaefer.com> Co-Authored-By: Anand Thakker <anandthakker@users.noreply.github.com> Co-Authored-By: Minh Nguyễn <1ec5@users.noreply.github.com>
| * Merge tag 'ios-v3.7.4' into masterFabian Guerra2018-02-131-0/+5
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # include/mbgl/style/conversion/tileset.hpp # include/mbgl/util/tileset.hpp # 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 # src/mbgl/layout/symbol_projection.cpp # src/mbgl/renderer/tile_pyramid.cpp # src/mbgl/style/conversion/tileset.cpp
| | * [ios] Bump podspec to 3.7.4 (#11179)ios-v3.7.4Fabian Guerra Soto2018-02-121-0/+1
| | | | | | | | | | | | | | | | | | * [ios] Bump podspec to 3.7.4 * [ios, macos] Update changelogs.
| | * [ios, macos] Added option to restrict tile source to boundsMinh Nguyễn2018-02-082-0/+6
| | | | | | | | | | | | Cherry-picked from c3bf7c55a1f648e57c3853d555ff5f63c989f8c4.
| * | [ios, macos] Added option to restrict tile source to boundsMinh Nguyễn2018-02-082-0/+3
| | |
| * | [ios, macos] Copyedited computed source wrapping optionsupstream/1ec5-custom-wrap-docsMinh Nguyễn2018-02-071-4/+6
| | | | | | | | | | | | Renamed MGLShapeSourceOptionWrapCoordinates to MGLShapeSourceOptionWrapsCoordinates and MGLShapeSourceOptionClipCoordinates to MGLShapeSourceOptionClipsCoordinates. Copyedited their documentation comments.
| * | Add options for Custom Geometry Source types to enable clipping and wrapping ↵Asheem Mamoowala2018-02-071-1/+5
| | | | | | | | | | | | geometry (#11041)
* | | [ios, macos] Added Danish localizationMinh Nguyễn2018-02-074-1/+37
| | |
* | | [macos] Updated Hungarian translationsMinh Nguyễn2018-02-071-2/+2
| | |