summaryrefslogtreecommitdiff
path: root/platform/macos/src
Commit message (Collapse)AuthorAgeFilesLines
* [core] Render fill-extrusion layers (#8431)Lauren Budorick2017-04-271-0/+1
|
* [all] Rationalize style::ImageJohn Firebaugh2017-04-243-12/+11
| | | | | | | A style has a collection of images, just as it has collections of sources and layers. * Name things appropriately * Use std::unique_ptr
* [ios, macos] Update MGLMapView logo view (#8771)Minh Nguyễn2017-04-241-1/+1
| | | | | | * [ios, macos] Updated logo view to new Mapbox logo * [default] Updated attribution logo SVG
* [macos] Fix pinch gesture scaling mathJohn Firebaugh2017-04-191-1/+1
|
* [core] Remove non-Map-dependent projection methods from MapJohn Firebaugh2017-04-181-1/+2
|
* [all] Remove redundant scale-related camera methodsJohn Firebaugh2017-04-131-32/+13
| | | | We don't need to have two different measurement systems for map zoom.
* Merge branch 'release-ios-v3.5.0-android-v5.0.0' into ↵Fabian Guerra2017-04-111-6/+15
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | boundsj-merge-release-branch # Conflicts: # cmake/core-files.cmake # mapbox-gl-js # platform/android/CHANGELOG.md # platform/ios/CHANGELOG.md # platform/macos/CHANGELOG.md # platform/qt/bitrise-qt5.yml # src/mbgl/gl/attribute.hpp # src/mbgl/gl/context.cpp # src/mbgl/gl/program.hpp # src/mbgl/map/map.cpp # src/mbgl/programs/program.hpp # src/mbgl/renderer/painter.cpp
| * [ios, macos] Guard against looking up annotation contexts ↵Jesse Bounds2017-04-071-3/+8
| | | | | | | | MGLAnnotationTagNotFound (#8686)
| * [ios, macos] Hardened std::map usage in MGLMapVIewMinh Nguyễn2017-04-051-2/+2
| | | | | | | | Replaced std::map::operator[] usage with std::map::at(). Backed up an assertion on iOS with a guard when -annotationTagsInRect: returns the tag of a nonexistent annotation, for consistency with macOS. Removed an unnecessary and risky subscript into _annotationContextsByAnnotationTag in -positioningRectForCalloutForAnnotationWithTag: on iOS.
| * [ios] assertion to check if an annotationTag > 0 (#8588)Fabian Guerra Soto2017-04-051-1/+5
| | | | | | | | | | | | * [ios] assertion to check if an annotationTag > 0 * [ios,macos] assertion and guard added to check annotations in visibleAnnotationsInRect
* | [ios, macos] MGLMapView size check for OpenGL 2.0 ES minimum texture sizeBruno de Oliveira Abinader2017-04-101-2/+5
| |
* | [ios, macos] Fail gracefully on invalid coordinatesMinh Nguyễn2017-04-061-0/+6
| | | | | | | | Invalid coordinates no longer cause an exception to be raised immediately when used in conversion methods and model objects. Instead, the appropriate invalid values are used, consistent with MapKit. Exceptions are still raised when invalid model objects are used with the map.
* | [all] Make LatLng coordinates read-onlyJohn Firebaugh2017-04-061-1/+1
| |
* | [core] Privatize gl/gl.hppKonstantin Käfer2017-03-281-2/+2
| |
* | [core] Privatize OpenGL/Context headersKonstantin Käfer2017-03-281-15/+8
| |
* | [core] Move OpenGL extension initialization to BackendKonstantin Käfer2017-03-231-14/+13
| |
* | [core] Ensure that a BackendScope exists when doing GL callsKonstantin Käfer2017-03-231-1/+5
| |
* | Merge branch 'release-ios-v3.5.0-android-v5.0.0'John Firebaugh2017-03-213-77/+80
|\ \ | |/
| * [ios, macos] Expanded feature querying documentationMinh Nguyễn2017-03-141-51/+54
| | | | | | | | Also fixed a couple incorrect Swift method names on macOS.
| * [ios, macos] Resolved unused variable warningsMinh Nguyễn2017-03-131-0/+4
| | | | | | | | Resolved unused variable warnings in Release configuration that occurred because they were only used within NSAssert() invocations, which are omitted from Release builds.
| * [ios, macos] Corrected polyline equalityMinh Nguyễn2017-03-101-3/+2
| | | | | | | | | | | | | | | | Now that annotation classes override -isEqual:, it’s no longer appropriate to rely on -isEqual: or -containsObject: to check for the preexistence of an annotation. Those methods become deep equality tests, which have worse performance. Checking for identity allows the developer to add a polyline and polygon with identical coordinates, title, etc. to the map. Implemented a missing -[MGLPolyline isEqual:]. Removed outdated comments about -annotationTagForAnnotation: being expensive.
| * Merge master into release-ios-v3.5.0-android-v5.0.0John Firebaugh2017-03-082-28/+97
| |\
| * | [ios, macos] Added a timing note for two delegate methods (#8259)Jordan Kiley2017-03-071-5/+9
| | |
| * | [ios, macos] Update callout when relocating annotationMinh Nguyễn2017-03-031-9/+2
| | | | | | | | | | | | When relocating a selected point annotation, update the associated callout (popover) rather than deselecting the annotation.
| * | [ios] Fixed conversion between Duration and NSTimeInerval (#8276)Fabian Guerra Soto2017-03-031-9/+9
| | |
* | | [macos] Updated MapObserver::onSourceChangedBruno de Oliveira Abinader2017-03-211-1/+1
| | |
* | | [ios, macos] Fix map load error descriptions (#8466)Minh Nguyễn2017-03-181-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Corrected map load error descriptions Ensured the uniqueness of localizable string IDs. Ran make genstrings to add the -[MGLMapViewDelegate mapViewDidFailToLoad:withError:] error description strings to the base localization. * [ios, macos] Moved failure error changelog entry to new release
* | | [macos] Update changes in MapObserver::onDidFailLoadingMapBruno de Oliveira Abinader2017-03-171-6/+26
| | |
* | | [macos] Support mbgl::MapObserverBruno de Oliveira Abinader2017-03-151-121/+187
| |/ |/|
* | [macos] add missing method declarations for visibleFeaturesXIvo van Dongen2017-03-071-0/+8
| |
* | [ios, macos] Add support for queryRenderedFeatures filterIvo van Dongen2017-03-042-28/+89
| |
* | [core] Add support for queryRenderedFeatures filterAsheem Mamoowala2017-03-041-2/+2
|/
* Merge branch 'release-ios-v3.4.0' into 1ec5-release-ios-v3.4.2Minh Nguyễn2017-02-211-17/+33
|\
| * [macos] reuse OpenGL context when switching screensKonstantin Käfer2017-02-201-1/+10
| | | | | | | | Cherry-picked from 43e81509fb0be54bea5912fb5a10bfa0e0667a44.
| * [ios, macos] Short-circuit redundant camera changesMinh Nguyễn2017-02-181-12/+27
| | | | | | | | | | | | | | | | Avoid canceling transitions (and triggering preexisting completion handlers) until we get a chance to ensure that a new transition really does have to begin. Consistently avoid mbgl transitions for redundant camera changes. Upon bailing, schedule the completion handler to run asynchronously on a delay equivalent to the requested animation duration. Added a “functional” equality method to MGLMapCamera that avoids trivial differences. Fixed invocations of XCTAssertEqualWithAccuracy() that incorrectly expressed the accuracy as a number of digits rather than a scalar tolerance.
| * [macos] Warn if access token needed but not givenMinh Nguyễn2017-01-271-5/+6
| | | | | | | | When setting a nil style URL or any mapbox: style URL, if no access token has been provided, log a warning instead of asserting.
* | [ios, macos] Smarten apostrophes after backticksMinh Nguyễn2017-02-211-3/+3
| | | | | | | | jazzy is inconsistently converting straight apostrophes that immediately follow backticks into either ‘ or ’ from one run to the next. Smarten the apostrophe to keep it stable.
* | [ios,macos,android,qt] use shared threadpoolKonstantin Käfer2017-02-201-6/+4
| |
* | [darwin] move RunLoop initialization to static variableKonstantin Käfer2017-02-201-7/+0
| |
* | [macos] Make ± key bindings respect tab order, zoomEnabledMinh Nguyễn2017-02-151-23/+30
| |
* | [macos] Make + and - keys zoom the mapEimantas Vaiciunas2017-02-151-6/+26
| | | | | | | | | | | | | | | | Override `insertText:` - send all `keyDown:` events to `interpretKeyEvents:` method; - in `insertText:` method check for the text to be sent and adjust zoom level if needed;
* | [macos] reuse OpenGL context when switching screensKonstantin Käfer2017-02-141-1/+10
| |
* | [macos] Round non-freeform zoom gestures/commands to nearest integerJason Wray2017-02-131-3/+18
| | | | | | | | | | | | | | | | | | Affects: - Double-tap gestures - Two-finger tap gestures - +/- button pushes - Shortcut keys - Menu items and shortcut keys (in macapp)
* | Delegate method to restrict movement (#5584)Minh Nguyễn2017-02-092-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Added delegate method to restrict movement Added a way for the delegate to restrict where the user can move within the map using gestures. Fixes #2457. * [ios] Added support to restrict movement in pinch/rotate gestures * [ios] Added support to restrict movement in double tap/quick zoom/two finger drag gestures * [ios] fixed camera reset before two finger drag gesture is complete * [ios] fixed camera comparison in double tap gestures * [ios] Changelog update * [macos] Changelog updated * [ios, macos] Changelog cleanup * [ios, macos] Added documentation to clarify performance impact * [ios] clarified variable name * [ios] blocking gestures implementation changed to a predictive approach * [ios] gesture delegate methods refactoring * [ios] Removed duplicated methods, improved code readability * [ios] code refactoring to clarify the conditions to execute a gesture
* | [ios, macos] 7955 fix MGLMapView leaks MGLReachability objects (and threads) ↵danielmatzke2017-02-061-3/+10
| | | | | | | | | | | | | | | | | | | | (#7956) * fix MGLMapView leaks MGLReachability objects (and threads) * fix leak of MGLReachability objects and threads in MGLMapView.commonInit * update changelogs
* | [ios, macos] added a distance formatterFredrik Karlsson2017-01-271-0/+1
| |
* | [core] remove trailing whitespace, add trailing newlines, add space after //Konstantin Käfer2017-01-279-180/+180
| |
* | Merge branch 'release-ios-v3.4.0' into 1ec5-release-ios-v3.4.1-masterMinh Nguyễn2017-01-262-5/+24
|\ \ | |/
| * [macos] align HeadlessDisplay with SDK OpenGL context creation optionsKonstantin Käfer2017-01-261-0/+1
| | | | | | | | Cherry-picked from 2a077eaa5483b243e817a328adaea1027a48e7a7.
| * [macos] allow using the integrated GPU on dual-GPU machinesKonstantin Käfer2017-01-261-0/+1
| | | | | | | | Cherry-picked from e7a7c6be789198a8155dc229ea509dd7aecf4756.