summaryrefslogtreecommitdiff
path: root/platform/darwin
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* [ios] [macos] Added `-[MGLSnapshot coordinateForPoint:]` and associated test.Julian Rex2018-07-052-8/+54
|
* Rename `HeatmapColorPropertyValue` to `ColorRampPropertyValue`Mikhail Pozdnyakov2018-07-053-7/+7
| | | | | | | | Based on patch from @lbud (Lauren Budorick). Give `HeatmapColorPropertyValue` a more generic name, since the same value type will be used for both `heatmap-color` and `line-gradient` properties.
* [core] Avoid blocking in Thread<Object> constructor (#12151)Anand Thakker2018-07-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Introduce AspiringActor, EstablishedActor This pair of objects represents the two-phase (parent-thread / child-thread) construction that's needed to support constructing Thread<Object> without blocking until the child thread is up and running. An `AspiringActor<O>` is responsible for: - ownership of the actor's `Mailbox` - allocating the memory for (but *not* constructing) the target object `O` Using these two pieces--the mailbox and a stable address for `O`--an `AspiringActor<O>` can accept messages for the target object, or provide `ActorRef<O>`s that do so, before the object has actually been constructed by the corresponding `EstablishedActor<O>`. (Such messages are queued in the mailbox until after the object is constructed.) This allows for an `AspiringActor<O>` to be created and safely used by a thread other than the one on which the target object will (eventually) live. An `EstablishedActor<O>` is responsible for managing the lifetime of the target object `O` and the open/closed state of the parent's `mailbox`. The `O` object's lifetime is contained by that of its owning `EstablishedActor<O>`: the `EstablishedActor` constructor executes the `O` constructor via "placement new", constructing it at the address provided by the parent `AspiringActor`, and the `~EstablishedActor` destructor similarly executes the `~O` destructor (after closing the mailbox). `EstablishedActor` should therefore live entirely on the thread intended to own `O`. * Remove Actor#{invoke,ask}
* [ios, macos] Try to make darwin "resolvedLocale" BCP 47 compliantChris Loer2018-07-031-6/+12
|
* [ios, macos] Darwin "collator" implementationChris Loer2018-07-031-0/+64
| | | | | - Uses NSString for comparison - Uses NSLocale for loading locales
* [ios, macos] Autolocalize into Japanese, KoreanMinh Nguyễn2018-07-031-2/+4
| | | | Added Japanese and Korean to the list of languages for which the Mapbox Streets source has dedicated name fields.
* [darwin] Replace use of *Stops with expressions DSLJohn Firebaugh2018-06-2912-979/+1352
|
* [core] add raster-resampling property (#12176)upstream/rcleeMolly Lloyd2018-06-214-1/+176
| | | | | | | | | | * update style-code for raster-resampling * implement user-defined raster-resampling * invert filter condition * raster-resampling -> raster-resampling-mode for darwin language conventions
* [ios, build] Completely remove support for Fabric (#12106)Jason Wray2018-06-181-35/+1
|
* [ios, macos] Look more widely for IBDesignablesAgentMinh Nguyễn2018-06-131-7/+1
| | | | The IBDesignablesAgent helper process has been renamed for each platform as of Xcode 10, so cast a wider net when trying to detect it.
* [ios,macos] Fixed crash in `-[MGLStyle localizeLabelsIntoLocale:]` on iOS ↵Julian Rex2018-06-111-1/+10
| | | | 9.3 (#12123)
* [ios, macos] Use NSCAssert instead of assert.Chris Loer2018-06-041-1/+1
|
* [ios, macos] Raise exception if MGLMapSnapshotter is used from thread ↵Julian Rex2018-06-041-0/+5
| | | | without active run loop.