summaryrefslogtreecommitdiff
path: root/platform/darwin
Commit message (Collapse)AuthorAgeFilesLines
* [ios, macos] Fixed camera initialization with eye coordinateMinh Nguyễn2018-10-012-11/+50
| | | | Rewrote the code that calculates the heading and pitch of the camera when given an eye coordinate.
* [ios, macos] Added MGLMapCamera.viewingDistance propertyMinh Nguyễn2018-10-013-2/+52
| | | | Co-authored-by: Dave Prukop <dave.prukop@mapbox.com>
* [ios, macos] Distinguish between viewing distance and altitudeMinh Nguyễn2018-10-015-6/+124
| | | | +[MGLMapCamera cameraLookingAtCenterCoordinate:fromDistance:pitch:heading:] incorrectly treated the distance as an altitude. Due to backwards compatibility concerns, this method can’t be fixed in place. Instead, separate +[MGLMapCamera cameraLookingAtCenterCoordinate:correctlyFromDistance:pitch:heading:] and +[MGLMapCamera cameraLookingAtCenterCoordinate:altitude:pitch:heading:] methods have been added.
* Moved MGLAltitudeForZoomLevel and MGLZoomLevelForAltitude to public API (#12986)Dave Prukop2018-10-012-19/+20
| | | | | | * Moved MGLAltitudeForZoomLevel and MGLZoomLevelForAltitude to public API * Added notes to changelogs for ios and macos
* [ios, macos] Disable offline merge test.Fabian Guerra2018-10-011-9/+13
|
* [ios, macos] Add crossSourceCollissions property. (#12941)Fabian Guerra Soto2018-09-262-0/+17
| | | | | | | | * [ios, macos] Add crossSourceCollissions property. * [ios, macos] Add perSourceCollisions property. * [ios, macos] Update changelogs.
* [ios] Bump more test timeouts for Xcode 10 sluggishnessJason Wray2018-09-262-4/+3
|
* [ios] Fix for user location annotation jittering (and view annotations ↵Julian Rex2018-09-261-0/+7
| | | | lagging) (#12895)
* [ios, tests] Bump most waitForExpectationsWithTimeout's to 5sJason Wray2018-09-204-13/+13
| | | | | | [skip firebase] Bump MGLOfflineStorageTests timeouts to 5 seconds
* [ios, tests] Work around improper verbing of 'optional'Jason Wray2018-09-201-0/+7
|
* [ios, macos] Fix add file content test, create Documents folder when missing.Fabian Guerra2018-09-191-3/+8
|
* [ios, macos] Offline regions merge. (#12791)Fabian Guerra Soto2018-09-175-0/+258
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Add offline regions merge. * [ios, macos] Update changelogs. * [ios, macos] Fix refreshing the offline packs after new content is added. * [ios, macos] Update MGLOfflineStorage's add contents of file documentation. * [ios, macos] Add MGLOfflineStorage test cases for adding file contents. * [ios, macos] Add offline merge test database. * [ios, macos] Add packs parameter to MGLBatchedOfflinePackAdditionCompletionHandler. * [core] Fix a query mege duplication. * [ios, macos] Remove unnecessary pack iteration. * [ios, macos] Fix packs update KVO notifications. * [ios, macos] Add localization strings. * [core] Fix query readability. * [ios, macos] Fix MGLOfflineStorageTest, cleanup the cache database after the test. * [ios, macos] Fix offline packs, updating triggers a crash.
* [ios, macos] Look even more widely for IB designables agentMinh Nguyễn2018-09-131-1/+2
| | | | The IBDesignablesAgent helper process has been renamed to IBAgent as of the Xcode 10 GM seed, so cast an even wider net when trying to detect it.
* Port symbol-z-order symbol layout style-spec property to Nativeupstream/sort-by-yryanhamley2018-09-074-0/+148
|
* [ios, macos] Call snapshotter (Obj-C) completion block on dealloc/cancel if ↵Julian Rex2018-09-052-25/+82
| | | | snapshot hasn't finished. (#12355)
* [ios, macos] Allow -convertCoordinateBounds to span antimeridianNadia Barbosa2018-09-041-0/+42
|
* [core] Implement CrossFadedDataDrivenProperty to add support for feature ↵Molly Lloyd2018-08-319-36/+9
| | | | expressions in `*-pattern` properties
* [ios, macos] Fixed typo in style authors guideMinh Nguyễn2018-08-291-1/+1
|
* [build] allow WITH_EGL for macOS as well (SwiftShader) and enable EGL for GLFWKonstantin Käfer2018-08-271-3/+9
|
* [core] Add `line-gradient` propertyMikhail Pozdnyakov2018-08-234-1/+64
| | | | | | | | Porting of https://github.com/mapbox/mapbox-gl-js/pull/6303 See the link above for the description of the feature and its limitations). Based on patch from @lbud (Lauren Budorick).
* [build] add plain text file lists for iOS/macOSKonstantin Käfer2018-08-232-0/+9
|
* [core, test] Bump GL JS pin to bring gl-native back in sync with gl-js.Chris Loer2018-08-211-1/+10
| | | | | Requires changing `generate-style-code` to treat 'formatted' as being the same as 'string' until gl-native gets 'formatted' support with https://github.com/mapbox/mapbox-gl-native/pull/12624. To make nitpick happy, PropertyFunction.java uses the latest "text-field" description from v8.json. It's technically correct, just kind of pointless since the "If a plain `string` is provided" clause will always be true.
* [ios, macos] Introduce `MGLShapeSourceOptionLineDistanceMetrics`Mikhail Pozdnyakov2018-08-214-1/+25
| | | | | Exposes access to https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-geojson-lineMetrics
* Warn if MGLShapeSource is initialized with MGLShapeCollectionNadia Barbosa2018-08-203-0/+26
| | | | | | | | | | Move warning from ShapeCollection to ShapeSource Try checking MGLComputedShapeSources Include MGLShapeCollection header Add changelog entry
* [darwin] arbitrary offline region geometriesIvo van Dongen2018-08-2012-29/+365
|
* [core] make style/conversion.hpp implementation privateKonstantin Käfer2018-08-191-1/+1
|
* WIP: use expected<T, E> for passing on errorsKonstantin Käfer2018-08-142-13/+13
|
* Rename link titleNadia Barbosa2018-08-141-1/+1
|
* Fix line breakNadia Barbosa2018-08-141-1/+2
|
* Addiional darwin fixes and Jazzy template updatesNadia Barbosa2018-08-142-4/+3
|
* Update darwin docsNadia Barbosa2018-08-142-3/+3
|
* [ios] Remove Xcode 7 compatibility typedefsJason Wray2018-08-091-7/+0
|
* [ios] Standardize exception definitionsJason Wray2018-08-0924-46/+89
|
* [core] Replace unique_any with peer from mapbox-bindgenBruno de Oliveira Abinader2018-08-081-2/+2
|
* [core] Merge DataDrivenPropertyValue into PropertyValue (#12513)John Firebaugh2018-07-3120-261/+240
|
* [iOS] Add fallbacks for name fields (#12387)Lloyd Sheng2018-07-262-5/+24
| | | | | | | | * Add fallbacks for name fields * Add a fallback for `name_zh-Hant` * Update changelog
* [ios, macos] Fixed typos in expression conversion error messagesMinh Nguyễn2018-07-251-2/+2
|
* [darwin] Use FOUNDATION_EXTERN instead of plain externJason Wray2018-07-2410-37/+37
| | | | FOUNDATION_EXTERN is an alias for extern in most cases, but also covers us in the event that a method could be mismangled by the compiler as C++ (when we want C-style mangling, for Obj-C compatibility).
* [ios] Simplify and (internally) document MGLPointRounded()Jason Wray2018-07-242-1/+4
| | | | `UIScreen.nativeScale` is available beginning in iOS 8, so the conditional is no longer necessary.
* [ios] Move private geometry symbol visibility definitions to headerJason Wray2018-07-242-4/+2
|
* [ios] Fix symbol mangling issue with MGLMapPointForCoordinate()Jason Wray2018-07-241-2/+2
| | | | `MGLMapPointForCoordinate()` was `extern`-defined in a C header, but implemented in an Obj-C++ source file and mangled as a C++ symbol. `FOUNDATION_EXTERN` is C++-aware and will force C-style symbol mangling, which fixes the undefined symbol issue in consumer Obj-C projects.
* [android, ios, macos] Generate symbol-placement: line-center wrappersChris Loer2018-07-234-26/+49
|
* [ios] Mapbox's Location Manager new API. (#12013)Fabian Guerra Soto2018-07-203-0/+302
| | | | | | * [ios] The new location manager API provides two new protocols MGLLocationManager and MGLLocationManagerDelegate to handle the location cycle and updates respectively. This enables developers to chose the appropriate location provider according to their needs, or transition between outdoors/indoors location updates. It does provide a default implementation based on CLLocationManager.
* [ios, macos] Convert token strings to expressions on inputJohn Firebaugh2018-07-2011-174/+79
| | | | Removes mgl_expressionByReplacingTokensWithKeyPaths and associated code. Converting on output is no longer necessary: from the prior commit, core converts token strings to expressions at parse time; all that's necessary is to ensure that the runtime styling API does so as well.
* [core] Convert token strings to expressionsJohn Firebaugh2018-07-201-1/+1
|
* [core] Replace {Source,Camera,Composite}Function with PropertyExpressionJohn Firebaugh2018-07-2011-200/+192
|
* Correct `MGL_MATCH ` documentation (#12378)Lloyd Sheng2018-07-181-1/+1
|
* [ios, macos] Allow unwrapped arguments in match expressionsMinh Nguyễn2018-07-092-5/+16
|
* [ios, macos] Convert predicate options to collatorsMinh Nguyễn2018-07-096-28/+143
|
* [ios, macos] Remove duplicate MGLTileSourceOptionDEMEncoding declarationJason Wray2018-07-061-13/+0
|