summaryrefslogtreecommitdiff
path: root/platform/darwin
Commit message (Collapse)AuthorAgeFilesLines
...
| * [ios, macos] Added debug descriptions for runtime styling classesMinh Nguyễn2016-11-238-0/+54
| |
| * [ios, macos] Fix integer formatting in formatted exception strings (#7173)Jesse Bounds2016-11-232-6/+6
| |
| * [ios, macos] Use namespaced property names in style NSValue category (#7171)Jesse Bounds2016-11-234-36/+36
| |
| * [ios, macos] Remove unused `MGLGeometryAdditions` category stubJesse Bounds2016-11-228-86/+18
| | | | | | | | | | This fixes an issue where the documentation for all NSValue categories were described as `MGLGeometryAdditions`.
| * [ios, macos] Refactor runtime styling enumeration propertiesJesse Bounds2016-11-2213-288/+1075
| | | | | | | | | | | | | | Correctly map SDK runtime styling enumerations to mbgl equivalents. Also, add category methods to NSValue so enums can be wrapped up with less of the details of how they are layed out in memory in Objective-C.
| * [ios, macos] override style spec documentationFredrik Karlsson2016-11-167-15/+71
| |
| * [ios, macos] Use NSNumber in exception strings (#7083)ios-v3.4.0-beta.3Jesse Bounds2016-11-152-6/+6
| |
| * [ios, macos] refs #7060: properly check removed layers & sources (#7062)Justin R. Miller2016-11-151-2/+12
| |
| * [ios, macos] fixes #7059: raise exception for abstract sources on add (#7060)Justin R. Miller2016-11-151-0/+7
| |
| * [ios, macos] Take back source and layer ownership on removal (#7048)Jesse Bounds2016-11-1413-128/+219
| | | | | | | | | | If a source or layer is removed from the style, recapture the unique pointer ownership. This makes it safe to add back sources and layers after they have been removed.
| * [ios, macos] Use std::vector for MGLMultiPoint coordinate storage (#6890)Jesse Bounds2016-11-143-92/+72
| | | | | | | | Refactor the previous C array based implementation to use C++ std::vector. This is done to avoid potential safety and security issues with the previous approach.
| * [ios, macos] Use the rawLayer pointer to access the mbgl layer (#6966)Jesse Bounds2016-11-081-8/+6
| | | | | | | | | | A previous refactor neglected to remove the unused `layer` property. This removes that property and uses the rawLayer property that actually points to the mbgl layer.
| * [ios, macos] Layer ownership refactor (#6904)fabian-guerra2016-11-049-220/+426
| | | | | | `MGLStyleLayer` was updated to support a raw pointer to the mbgl object, which is always initialized, either to the value returned by `mbgl::Map getLayer`, or for independently created objects, to the pointer value held in `pendingLayer`. In the latter case, this raw pointer value stays even after ownership of the object is transferred via `mbgl::Map addLayer`.
| * [ios, macos] Fixed Xcode 7.x compilationMinh Nguyễn2016-11-041-6/+7
| | | | | | | | | | | | Define NSErrorDomain before its first use. Define NSNotificationName as a typedef instead of a #define. Guard these shims on the existence of NS_STRING_ENUM rather than another macro that’s new to Xcode 8. Fixes #6906.
* | [ios, macos] handle duplicate source errorIvo van Dongen2016-11-301-1/+5
| |
* | [ios, macos] renamed MGLStyleLayerTests to MGLMapViewTestsIvo van Dongen2016-11-3011-22/+22
| |
* | [build] upgrade to variant 1.1.4 and dependenciesKonstantin Käfer2016-11-282-2/+2
| |
* | [core] remove unused umbrella header in favor of individual includesKonstantin Käfer2016-11-224-4/+0
| |
* | [build] move logging to utilKonstantin Käfer2016-11-223-3/+3
| |
* | [build] move headless rendering files to platform/defaultKonstantin Käfer2016-11-223-4/+4
| |
* | [build] move default_styles to platform/defaultKonstantin Käfer2016-11-221-1/+5
| |
* | [build] move Reachability to platform/darwinKonstantin Käfer2016-11-222-1/+96
| |
* | [ios, macos] refs #7060: properly check removed layers & sources (#7062)Justin R. Miller2016-11-151-0/+14
| |
* | [ios, macos] fixes #7059: raise exception for abstract sources on add (#7060)Justin R. Miller2016-11-141-0/+7
| |
* | [build] don't rewrite style code for every buildKonstantin Käfer2016-11-091-15/+5
| | | | | | | | | | | | revert of 93166aef482ea5835d87231f88d369449398ccdf On Android, we always rewrote the style code files, which lead to gratuitous recompiles
* | [core] Refactor HeadlessBackendBruno de Oliveira Abinader2016-11-082-34/+66
| |
* | [core] Refactor HeadlessDisplayBruno de Oliveira Abinader2016-11-082-1/+53
| |
* | [ios, macos] override style spec documentationFredrik Karlsson2016-11-087-15/+71
| |
* | Merge branch 'release-ios-v3.4.0' into 1ec5-release-ios-v3.4.0-beta.2-masterMinh Nguyễn2016-11-0331-181/+824
|\ \ | |/
| * [macos] Enabled runtime styling testsMinh Nguyễn2016-11-021-0/+1
| | | | | | | | | | | | Added the style layer tests to the test bundle target. Set the access token to a bogus access token before running any tests. The macOS implementation of MGLMapView doesn’t even attempt to set a default style if the access token is missing, because in macosapp, the access token may be set asynchronously by the user when the preferences window appears.
| * [ios, macos] Share more testsMinh Nguyễn2016-11-022-0/+324
| | | | | | | | Moved MGLGeoJSONSourceTests and MGLTileSetTests into platform/darwin/test/ and added them to the macOS project. Also added a private header needed to compile the tests to the macOS project.
| * [ios, macos] Rationalized string enum namesMinh Nguyễn2016-11-026-50/+55
| | | | | | | | Renamed MGLGeoJSONSourceOption and MGLOfflinePackUserInfoKey constants for clarity and to remove redundancy in the Swift-bridged names. Left the old MGLOfflinePackUserInfoKey constants in place as deprecated aliases.
| * [ios, macos] Adopted string enumerationsMinh Nguyễn2016-11-023-17/+33
| | | | | | | | | | | | Notification names and user info keys posted by MGLOfflineStorage, as well as MGLErrorDomain, are instances of string enumerations for ease of use in Swift. Added some shims for projects built with Xcode 7.x. Fixes #6791.
| * [ios, macos] document custom API URL & add Info.plist guide (#6833)Justin R. Miller2016-11-011-2/+14
| | | | | | Also support base URL nullability in order to use default value.
| * [ios, macos] Make source ownership consistent and GeoJSON content properties ↵Jesse Bounds2016-10-268-49/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | writable Use common initialization logic to create an unique pointer to an mbgl source object, up front, when a MGL source is created. Keep a raw pointer to the unique pointer that is pointed at the mbgl source instance when a MGL source is created or when a MGL source is obtained by identifier from MGLStyle. Once the transfer of ownership of the mbgl source takes place, the unique ptr is null. The raw pointer can be used internally for future work that involves mutating the source. This also changes the URL, features, and geoJSONData content properties for MGLGeoJSON source to be writable. If they are set with valid data after a source has been added to the map then the map will update to reflect the new data.
| * [ios, macos] Added Swift MGLStyleValue testsMinh Nguyễn2016-10-262-0/+39
| | | | | | | | Added tests of MGLStyleValue written in Swift, along with bridging headers just in case they become needed in the future.
| * [ios, macos] Corrected MGLStyleValue inheritanceMinh Nguyễn2016-10-261-2/+2
| | | | | | | | | | | | MGLStyleConstantValue and MGLStyleFunction now inherit from MGLStyleValue with a generic argument matching the child class’s own generic argument. Fixes #6823.
| * [ios, macos] Fixed syntax error in documentation comment (#6822)Minh Nguyễn2016-10-262-1/+4
| | | | | | Fixes #6821.
| * Merge branch 'master' into boundsj-release-ios-3.4.0-merge-masterJesse Bounds2016-10-254-216/+104
| |\
| * | Add MGLPointCollection for GeoJSON multipoints (#6742)Jesse Bounds2016-10-2010-69/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Introduce MGLPointCollection This makes MGLMultiPoint abstract again so that it is only a place for shared functionality of polygons and polylines. The multipoint feature replaces the point collection feature and can be used to initialize a MGLGeoJSONSource. The previously added swift_names for polyline and polygon are removed, for now. This also updates the iOS and macOS annotation adding logic so that unwanted shapes really are avoided. Previously the combined OR conditions meant that an annotation had to logically be NOT a kind of all three types so the check always let the annotation slip through. This also expands the guard to deflect the new MGLPointCollection.
| * | [ios, macos] Make feature attributes and identifier writable (#6728)Jesse Bounds2016-10-192-9/+14
| | | | | | | | | | | | | | | | | | * [ios, macos] Make feature attributes and identifier writable Instances of MGLFeature subclasses can now have their attributes and identifier properties mutated.
| * | [ios, macos] Raise correct style layer misuse exception (#6738)Minh Nguyễn2016-10-182-4/+10
| | | | | | | | | | | | | | | | | | Implement the layer property on MGLStyleLayer itself, where it’s declared, so that the check for an abstract style layer doesn’t itself raise an exception. The concrete style layer classes still declare their own layers as covariant properties, although those properties aren’t actually used anywhere. Cherry-picked from ce243043f5251bb6a7fabc90d8ca3162ade8a44f.
* | | [ios, macos] document custom API URL & add Info.plist guide (#6833)Justin R. Miller2016-10-311-2/+14
| | | | | | | | | Also support base URL nullability in order to use default value.
* | | [core] change std::array<uint16_t, 2> to mbgl::SizeKonstantin Käfer2016-10-271-9/+13
| |/ |/|
* | [core] move gl::Context to Backend and refactor ViewKonstantin Käfer2016-10-252-146/+0
| |
* | [core] separate Backend from View for headless renderingKonstantin Käfer2016-10-254-82/+116
| |
* | [ios, macos] Raise correct style layer misuse exception (#6738)Minh Nguyễn2016-10-182-4/+10
|/ | | Implement the layer property on MGLStyleLayer itself, where it’s declared, so that the check for an abstract style layer doesn’t itself raise an exception. The concrete style layer classes still declare their own layers as covariant properties, although those properties aren’t actually used anywhere.
* [ios, macos] Use swift_name for MGLMultiPoint and subclasses (#6727)Jesse Bounds2016-10-173-4/+3
| | | | | Decorate the class factory methods so that when they are translated to swift the method to create an MGLMultiPoint is not ambiguous with the methods to create MGLPolygon and MGLPolyline.
* [macos] Added MGLTileSet to project (#6713)Minh Nguyễn2016-10-171-6/+6
| | | Also reformatted some MGLTileSet documentation.
* [ios, macos] Change runtime styling category method prefix to mgl_Jason Wray2016-10-171-2/+2
| | | | This makes runtime styling category method naming consistent with the rest of the SDK.