summaryrefslogtreecommitdiff
path: root/platform/macos
Commit message (Collapse)AuthorAgeFilesLines
* [build] revert macOS deployment target to 10.10Konstantin Käfer2016-08-191-1/+1
|
* [ios, macos] Make Xcode 7.3 the minimum required versionJason Wray2016-08-186-8/+6
| | | | | | | | | - Removes nullability shims for Xcode 6. - Removes MGLTypes.h from files where it was only being used for nullability support. - Accepts that `NS_SWIFT_NAME` is not fully supported by Xcode 7.2 and lower. - Adds documentation about Xcode 7.3 requirement.
* [ios, macos] reuse utility functionFredrik Karlsson2016-08-183-8/+9
|
* [ios, macos] fixes #5974 Move style classes API to MGLStyleFredrik Karlsson2016-08-182-7/+9
|
* [ios, macos] Fixes #5975 Add source getter to MGLStyleFredrik Karlsson2016-08-181-8/+9
|
* [macos] fixes #5956 remove dead codeFredrik Karlsson2016-08-181-4/+0
|
* [macos] Moved runtime styling demo to Debug menuMinh Nguyễn2016-08-173-14/+15
| | | | Fixes #6022.
* [ios, macos] Use local GeoJSON for runtime styling demoMinh Nguyễn2016-08-172-2/+3
| | | | | | Also changed the menu item to something more descriptive. Fixes #6021.
* [ios, macos] Added MGLBaseStyleLayer_Private.h to projectMinh Nguyễn2016-08-161-0/+4
|
* [ios, macos] Renamed Objective-C++ headers to .hMinh Nguyễn2016-08-167-58/+58
| | | | | | Also removed a redundant reference to MGLStyle_Private.h in ios.xcodeproj. Fixes #5952.
* [core] support "scheme": "tms" in TileJSON filesKonstantin Käfer2016-08-161-0/+1
|
* [ios, macos] Accept absolute file paths as style URLs (#6026)Minh Nguyễn2016-08-163-5/+17
| | | | | It turns out that mbgl::AssetFileSource supports absolute file URLs in addition to relative file URLs. So replace the file: scheme with asset: while percent-escaping as necessary. Also added amsterdam.geojson to macos.xcodeproj for consistency with ios.xcodeproj.
* [macos] Link unit test bundle against libmbgl-core (#5994)Minh Nguyễn2016-08-151-2/+2
| | | Fixes #5990.
* [core, android, ios, macos] Replaced getPointAnnotationsInBounds() w/ ↵Minh Nguyễn2016-08-121-2/+5
| | | | | | | queryPointAnnotations() (#5165) queryPointAnnotations() accepts a screen rectangle instead of a geographic bounding box, so marker hit testing works at the edges of a rotated, tilted map view. Fixes #5151.
* [ios, macos] Updated changelogsMinh Nguyễn2016-08-111-1/+11
|
* [ios, macos] Upgraded project build settings for Xcode 8 (#5935)Minh Nguyễn2016-08-114-4/+8
| | | Set CLANG_WARN_INFINITE_RECURSION and CLANG_WARN_SUSPICIOUS_MOVE as recommended by Xcode 8.
* Runtime styling API for iOS/macOS (#5727)Fredrik Karlsson2016-08-1112-29/+435
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios] wip runtime styling * [ios, macos] Outlined header templates * [ios, macos] cleanup and use appropiate data types * [ios, macos] removed refs to mbgl and added convenient color methods on UIColor and NSColor * [ios, macos] updated header template, included doc string * [ios, macos] outlined template for layer implementation files * [ios, macos] moved script to platform/darwin and updated comments * [ios, macos] Cleaned up the implementation template * [ios, macos] removed unused function and added support for more datatypes * [ios, macos] overhauling the type protocols * [ios, macos] removed unnecessary style classes * [ios, macos] added support for more types * [ios, macos] fixed string and number prop values * [ios, macos] enum getters * [ios, macos] added removeLayer() and removed unused layer ref * [ios, macos] fixed remaining layer types and converted style layer into a protocol * [ios, macos] fixed addLayer() and added example for line layer * [ios] GeoJSON source now works * [ios] fixed raster layer and raster source * [ios] fixed attr prop number and outlined prop function * [ios] wip functions * [ios] bool and float function fix * [ios] cleanup * [macos] fixed support for macos * [ios] fixed string functions * [ios] extended array functions * [ios] added tests and fixed a few bugs * [ios] less verbose functions and improved tests * [ios, macos] Removed unnecessary use of default arguments Default arguments aren’t supported in Node v4, and they aren’t needed here anyways, because we’re only testing for truthiness. * [ios, macos] Enum setters Rely on a macro instead of category methods to specialize the setter implementation for enum attributes, since generic types are disallowed in Objective-C method signatures and mbgl::style::PropertyType must be type-qualified. * [ios, macos] Got macOS closer to parity w/ iOS Added various classes and test classes to the macOS workspace. Also fixed lots of compiler errors and updated macosapp runtime styling example to use the new dictionary syntax for function stops. Updated all conversions from Objective-C stops to C++ stops to enumerate over the dictionary. Fixed compiler errors in enum setter implementations. Also corrected path to script in generated file comments. * [ios, macos] Added EJS templates to project * [ios, macos] Code formatting Made code format more consistent. * [ios, macos] Spelled out ID Cocoa convention is to always spell out “ID” as “identifier”, in part to avoid confusion with the id keyword. Also, URL is capitalized in most contexts, including property names. * [ios, macos] Grouped related headers together * [ios, macos] Cleaned up layer transformation Also added support for converting background layers into Objective-C. * [ios, macos] Cleaned up tests Also made the tests work on macOS by introducing a new window to host the map. * [ios, macos] Replaced TODOs with #warnings * [ios] convert array based property values * [ios, macos] color function/undefined getter * [ios, macos] fixed function/undefined getters for bool and float properties * [ios, macos] more function/undefined property getters * [ios, macos] more type conversion and cleanup * [ios, macos] disable macos runtime styling tests for now * [ios, macos] cleaned up style code script * [ios, macos] more type conversion * [ios] added a base layer to handle visibility min/max zoom * [macos] fixed base layer * [ios, macos] use accessor methods * [ios, macos] cleanup * [ios, macos] add geojson to ios and macos * [macos] rebase fix * [ios, macos] fixed enum getters and added tests for enums * [ios, macos] added an update method to base layer * [ios, macos] added some documentation * [ios, macos] docs * [ios, macos] removed refs to filters for now * [ios, macos] various tail work * [ios, macos] missing import and incorrect type
* [build] Fix Qt4 build on OS XKonstantin Käfer2016-08-051-0/+2
|
* [build] use cmake script bundled with MasonKonstantin Käfer2016-08-051-2/+3
|
* [build] fix various CI buildsKonstantin Käfer2016-08-051-1/+1
|
* [build] add Xcode project for Qt buildsKonstantin Käfer2016-08-051-4/+4
|
* [build] switch to CMakeKonstantin Käfer2016-08-0514-308/+275
| | | | This is very much a work in progress.
* [macos] Avoid following symlinks copying framework (#5850)Minh Nguyễn2016-08-021-1/+1
| | | | | Use ditto to avoid following symlinks when copying the framework into place. Fixes #5818.
* fixes #5771: adds dates to releases in changelogsJustin R. Miller2016-07-271-3/+3
|
* GeoJSON point clustering (#5724)Vladimir Agafonkin2016-07-272-0/+6
| | | | | | | | | | | | | | | | * add supercluster dependency * prepare GeoJSONTile for Supercluster * prepare GeoJSONSource for accepting options * try removing mbgl::GeoJSON * fix setGeoJSON types * add GeoJSONSource getURL * add geojson to include path * add Supercluster index in GeoJSONSource * fix GeoJSONSource getZoomRange * bring back mbgl::GeoJSON header * fix tidy warnings hopefully * try test-suite with enabled cluster test * fix formatting in clustering-related files
* [build] Upgrade geojson-vt-cpp@6.1.2Bruno de Oliveira Abinader2016-07-261-1/+1
|
* [macos] Add `showAnnotations:` methods (#5749)Jason Wray2016-07-215-7/+86
| | | | | | | | SDK - Ported `showAnnotations:animated:` and `showAnnotations:edgePadding:animated:` from the iOS SDK. Demo App - Added "Show All Annotations" debug menu item with ⇧⌘A shortcut key. - Disabled "Add Animated Annotation" debug menu item when the annotation already shown.
* [ios,macos,node] Updated changelog about debug options no-ops in release modeBruno de Oliveira Abinader2016-07-202-1/+5
|
* [core] Fixed test build errorsmacos-v0.2.1macos-0.2.1Minh Nguyễn2016-07-191-1/+1
| | | | Missed this bad merge from #5729.
* [ios, macos] Updated changelogsMinh Nguyễn2016-07-191-0/+2
| | | | Updated changelogs for #5723, #5554.
* [ios, macos] Offline storage size APIMinh Nguyễn2016-07-181-0/+1
| | | | | | Added a property to MGLOfflineStorage that indicates the disk space occupied by all cached and offline resources. Fixes #5580.
* [ios, macos] Updated changelogMinh Nguyễn2016-07-181-1/+6
|
* [core] Restored shape annotation z-orderMinh Nguyễn2016-07-181-0/+1
| | | | | | Shapes are once again always added to the top z-index. Fixes #5691.
* Revert "add supercluster dependency"Vladimir Agafonkin2016-07-181-2/+0
| | | | This reverts commit f84e9fdb2bb25d88f4dbe6f269ca66c7eee8eeb2.
* add supercluster dependencyVladimir Agafonkin2016-07-181-0/+2
| | | | [skip ci]
* Merge branch 'release-ios-v3.3.0'Minh Nguyễn2016-07-141-11/+1
|\
| * [ios, macos] Reorganize jazzy’s navigation categories; cleanup docs (#5660)Jason Wray2016-07-121-11/+1
| | | | | | | | | | | | | | | | | | | | | | | | An attempt to better surface relevant information. Includes slight cleanups of inline documentation. - Demotes MGLMapDebugMaskOptions to "Other Enums”. - Demotes MGLMapViewDecelerationRate* and MGLStyleDefaultVersion to "Other Constants”. - Demotes MGLOfflinePack's less significant global types. - Demotes MGLAnnotationVerticalAlignment and documents its usage caveat. - Demotes MGLAnnotationViewDragState and removes extra asterisk. - Adds note to `MGLUserTrackingMode` about usage with `MGLMapView.userTrackingMode`. - MGLAccountManager is currently only used for access tokens. - Adds missing closing bracket.
* | [ios,macos] Partially revert 06af75Bruno de Oliveira Abinader2016-07-142-5/+5
| | | | | | | | | | Use static_cast<float> to convert from CGfloat when creating PropertyValue<float> and avoid breaking backwards-compatibility.
* | [ios,macos] Update {Line,Fill}Annotation properties setterBruno de Oliveira Abinader2016-07-132-5/+5
| |
* | Quadkey tokens in tile URL templates, limited WMS support (#5628)Minh Nguyễn2016-07-123-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * [core] Quadkey tokens in tile URL templates Fixes #5485. * [core] WMS tokens in tile URL templates Fixes #822. * [macos] Added WMS debug style Added a style to the macosapp resource bundle that can be used to test WMS support. To use it, zoom in to somewhere in New Jersey, then go to View ‣ Custom Style and enter “wms.json”.
* | [ios, macos] Document adding new symbolsMinh Nguyễn2016-07-081-0/+15
| |
* | Merge branch 'boundsj-merge-3.3.0.rc.1'Jesse Bounds2016-07-084-15/+45
|\ \
| * \ Merge branch 'release-ios-v3.3.0' into masterJesse Bounds2016-07-074-15/+45
| |\ \ | | |/
| | * [ios, macos] Rewrote MGLMapViewDelegate, MGLAnnotationView docsMinh Nguyễn2016-07-021-14/+40
| | | | | | | | | | | | | | | | | | | | | | | | Reorganized MGLMapViewDelegate and MGLAnnotationView symbols into sections by task. Wrapped documentation comments at column 80 for readability. Added documentation for -mapViewWillStartRenderingFrame: and -mapViewDidFinishRenderingFrame:fullyRendered:, which are supported and behave as expected (except for the part that has been left undocumented). Synchronized iOS and macOS documentation for MGLMapViewDelegate. Added cross-references between annotation image and annotation view delegate methods and among the various callout delegate methods. Added missing MGLAnnotationViewDragState documentation and also added the symbol to jazzy’s table of contents. Rewrote MGLAnnotationView documentation.
| | * [ios, macos] Update changelogs for new Jazzy themeJason Wray2016-07-011-0/+1
| | |
| | * [ios, macos] Add Mapbox Jazzy themeJason Wray2016-07-012-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Based on Jazzy's "full width" theme. - Add ellipsis to overlong items in navigation menu. - Set minimum width for navigation menu. - Use Open Sans font face. - Inline GitHub header icon as SVG. - Center images by default. - Add GitHub SVG icon to 'show on github' link. - Wrap overlong method names on class pages.
| | * [ios, macos] Renamed overdraw to overdraw visualization (#5416)Minh Nguyễn2016-06-235-15/+19
| | | | | | | | | | | | | | | | | | A verb doesn’t make sense in this enum value. Instead, use a descriptive word for this effect and describe it in detail in the documentation comment. Cherry-picked from 415c18294693166472785459f9d5bc8be31b7033.
| | * [macos] Renamed OS X SDK to macOS SDKMinh Nguyễn2016-06-1876-0/+9158
| | | | | | | | | | | | Also renamed as many references to OS X as possible to macOS in documentation. Cherry-picked from b9702ef41a4cfdd0ab3107cfe5cec16ba3a4c230.
* | [macos] Revised keyboard shortcuts in macosappMinh Nguyễn2016-07-081-12/+12
|/ | | | Followed up #5452 with some changes to keyboard shortcuts that ensure conformance to the HIG and avoid conflicts between menu items.
* [macos] add keyboard shortcuts to macosappKonstantin Käfer2016-07-071-26/+20
|