summaryrefslogtreecommitdiff
path: root/platform/macos
Commit message (Collapse)AuthorAgeFilesLines
* [macos] Copyedited changelogMinh Nguyễn2019-05-101-14/+10
| | | | Synchronized the changelog with the iOS changelog. Removed some entries about internal changes or iOS-only changes. Recategorized entries.
* [core] Make the BackgroundScheduler a singletonThiago Marcos P. Santos2019-05-102-11/+3
| | | | | | | | | | - Do not carry it over everywhere as parameter, it is a shared instance anyway and the lifecycle is pretty much the app lifecycle from the moment we instantiate a map. - Rename to BackgroundScheduler because it is a Scheduler that will do tasks in the background, we don't make assumptions if it is a thread pool or a single thread. - Most importantly, remove the dependency from `core` on `platform`.
* [ios, macos] Premultiply color values for mgl_colorNadia Barbosa2019-04-122-3/+23
| | | | Fixes https://github.com/mapbox/mapbox-gl-native/issues/14329
* [macos] Fixed Auto Layout warningsMinh Nguyễn2019-04-101-29/+31
| | | | Added constraints to the offline CJK checkbox and updated constraints around it.
* [macos] Fixed offline CJK checkbox outlet connectionMinh Nguyễn2019-04-101-6/+6
|
* [ios] Deactivate MGLMapView IBDesignable (#14379)Fabian Guerra Soto2019-04-104-4/+25
| | | | | | | | | | | | Removed MGLMapView's IBDesignable attribute. The map's view render attributes uses GL, making changes through the inspectables were not reflected in the storyboard and were causing IB crashes. * [ios] Deactivate MGLMapView IBDesignable. * [ios] Remove IBDesignable agent code. * [ios, macos] Remove NSProcessInfo category from iOS.
* [ios, macos] Add Mapbox Maps SDK metrics manager. (#13997)Fabian Guerra Soto2019-04-093-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | Added MGLSDKMetricsManager to keep track of SDK related events such as tile download times. * [ios, macos] Add tile download performance event. * [ios, macos] Modify the performance event format. * [ios, macos] Add Mapbox Maps SDK events manager. * [ios, macos] Remove events delegate. * [ios, macos] Remove deprecated macro. * [ios, macos] Rename MGLEventsManager to MGLMetricsManager. * [ios, macos] Make MGLMetricsDelegate follow delegate convention. * [ios, macos] Remove mbgl-filesource target dependency on MGLMetricsManager. * [ios, macos] Update metrics manager documentation. * [ios, macos] Add device metadata. * [ios, macos] Rename MGLMetricsManager to MGLSDKMetricsManager.
* [core] move GLContextMode to RendererBackendKonstantin Käfer2019-04-051-4/+7
|
* [core] refactor RendererBackendKonstantin Käfer2019-04-051-8/+30
|
* [core] move BackendScope to gfx namespaceKonstantin Käfer2019-04-051-1/+0
|
* [ios] Cocoapods bump to v4.10.0-beta.2 (#14323)Fabian Guerra Soto2019-04-031-0/+1
| | | | | | * [ios] Update podspec to beta.2. * [ios] Update changelogs.
* [core] Include pixelRatio property in MapOptionsSudarsana Babu Nagineni2019-03-281-1/+2
| | | | Move pixelRatio property from Map constructor to MapOptions.
* [core] Add setter/getter for size property in MapOptionsSudarsana Babu Nagineni2019-03-281-1/+2
|
* [core] Add getter for Map optionsSudarsana Babu Nagineni2019-03-281-1/+1
| | | | | Instead of having individual getter for each Map option, add a common getter for all Map options.
* [ios, macos] Added missing changelog entries for #14241 (#14250)Julian Rex2019-03-271-0/+1
|
* [ios, macos, build] Remove DEBUG from logging configuration. (#13933)Fabian Guerra Soto2019-03-251-0/+1
| | | | | | * [ios, macos] Change the debug flag usage to NDEBUG. * [ios, macos] Add NDEBUG preprocessor macro to ios/macos project conf.
* [core] Fix signature of fluent interface settersBruno de Oliveira Abinader2019-03-231-9/+9
|
* [ios, macos] Support expressions in formatting parameters. (#14198)Fabian Guerra Soto2019-03-221-1/+1
| | | | | Modified MGLAttributedExpression object to support NSExpressions as formatting attributes only. This aligns with GL and Android implementation and specification. Modified the documentation accordingly, and changed MGLFontSizeAttribute to MGLFontScaleAttribute to clarify the true function of the formatting parameter.
* [ios, macos] Fix conditional expression parsing error. (#14181)Fabian Guerra Soto2019-03-211-0/+1
| | | | Fixed an error that caused conditional expressions to crash when a conditional parameter was also a conditional expression.
* [core] Change definition of "complete" so offline packs created before ↵Julian Rex2019-03-211-0/+4
| | | | #11055 can complete. (#14188)
* [core] Remove file source from public Map ctorBruno de Oliveira Abinader2019-03-201-7/+12
|
* [darwin] [MGLOfflineStorage mbglFileSource] is now a shared_ptrBruno de Oliveira Abinader2019-03-201-1/+1
|
* [ios, macos] Add text-color support to format expressions. (#14146)Fabian Guerra Soto2019-03-193-3/+15
| | | | | | | | Added the possibility of overriding paint properties inside the format expression. Added an example of how to create an MGLAttributedExpression object and documented the attributes keys and value types. Fixed a bug that ignored the font names.
* [ios, macos] Add format expression convenience methods support. (#14094)Fabian Guerra Soto2019-03-155-0/+13
| | | | | | | | | | | Added the ios/macos format expression bindings. The equivalent is mgl_attributed: or mgl_attributed({}) when making an expression using the expressionForFormat selector. A new constructor called mgl_expressionForAttributedExpressions:(NSArray<NSExpression*>*)attributedExpressions was added to NSExpression+MGLAdditions category. Updated the symbol style layer text test to use the bindings. Updated the Predicates and Expressions.md and For Style Authors.md.ejs template with the bindings.
* [core] Group Map LatLngBounds, min and max zoom methodsAnder Conselvan de Oliveira2019-03-141-5/+5
| | | | | | | | Group bounds, minimum and maximum zoom related methods together using the new BoundOptions. v2: Document that getBounds() initializes all optional fields. - Add test for getBounds() on a map with default values.
* [build] update Boost to 1.69 and remove RTTIKonstantin Käfer2019-03-131-0/+2
|
* [android, iOS, macOS] Adding Galician translation from Transifex (#14095)Langston Smith2019-03-134-1/+37
| | | | | | | | | | | | * [android] adding galician strings * [ios] adding galician strings * [ios, macos] Added Galician localization to Xcode projects * [ios, macos] Converted Galician localization to UTF-8 * [android, ios, macos] Updated changelogs
* [core] Get FileSource via UpdateParameters in Renderer::ImplBruno de Oliveira Abinader2019-03-131-1/+1
|
* [core] Don't use exceptions in MapObserver::onDidFailLoadingMapAnder Conselvan de Oliveira2019-03-131-16/+18
| | | | | | | Using different exception pointers to specify the loading failure makes an awkward API. Most users rethrow the exception only to figure out what type of error happened so it can be reported properly. So replace the exception pointer with a enum an string description of the failure.
* [darwin] Fix MGLMapView.direction wrappingJason Wray2019-03-121-1/+1
| | | Re-adds the 0-to-360° wrapping for MGLMapView.direction. Without this wrapping, we’d get ±180° from core, which results in invalid CLLocationDirection for the negative half of the rotational spectrum.
* [core] Add MapOptions to define properties of MapSudarsana Babu Nagineni2019-03-081-1/+8
| | | | | | To simplify the Map constructor, introduce MapOptions interface to define the properties that can be set on a Map.
* [ios, macos] Fix a bug with multiple format expressions. (#14064)Fabian Guerra Soto2019-03-071-0/+1
| | | | Fixed a bug where `format` expressions using the generic `MGL_FUNCTION` binding ignored multiple formatting parameters.
* [build, ios] Replace 'nightly' build with snapshotJason Wray2019-03-051-1/+0
|
* [build, darwin] Disable Xcode indexing-while-compiling on CIJason Wray2019-03-041-0/+10
|
* [core] Remove map coordinate setters/gettersBruno de Oliveira Abinader2019-03-041-5/+6
|
* [core] Transform{State}: s/angle/bearing/Bruno de Oliveira Abinader2019-03-041-7/+7
|
* [core] Remove map bearing setters/gettersBruno de Oliveira Abinader2019-03-041-8/+11
|
* [core] Remove map pitch setters/gettersBruno de Oliveira Abinader2019-03-041-3/+4
|
* [core] Remove map zoom setters/gettersBruno de Oliveira Abinader2019-03-041-8/+15
|
* [ios, macos] Expose MGLMapView OpenGL context to OpenGL style layersMinh Nguyễn2019-02-252-0/+8
| | | | Added a property to MGLOpenGLStyleLayer that contains the map view’s underlying OpenGL rendering context.
* [ios, macos] Expose the url session configuration object. (#13886)Fabian Guerra Soto2019-02-184-2/+4
| | | | The `MGLNetworkConfiguration` class was make public, and added `sessionConfiguration` property to let developers customize the `NSURLSessionConfiguration` object that is used to make HTTP requests in the SDK.
* [core] Switch to the new OpenGL abstractionThiago Marcos P. Santos2019-02-121-0/+1
| | | | | | This patch will make Mapbox GL Core never use OpenGL directly. We should consider locking into OpenGL ES 2.0 to simplify the code path and remove #ifdefs.
* [ios] Update more URLs to docs.mapbox.com/iosJason Wray2019-01-251-2/+2
|
* [ios] Podspec bump to v4.8.0-beta.1 (#13785)Fabian Guerra Soto2019-01-231-0/+8
| | | | Bumps podspec to 4.8.0-beta.1. and adds categories to the changelog.
* [ios, macos] Add Czech and Hungarian translations. (#13782)Fabian Guerra Soto2019-01-234-0/+33
| | | | Added Czech translations.
* [ios, macos] MGLMapView logging improvements. (#13776)Fabian Guerra Soto2019-01-221-1/+3
| | | | | Added NSEdgeInsets to NSString function to improve the debugging on macOS. Added debug logs to MGLMapView.
* [ios] Partially offscreen annotations (without callouts) are no longer moved ↵Julian Rex2019-01-223-27/+46
| | | | on-screen (#13727)
* [macos] Fixes MGLMapView.visibleAnnotations (#13745)Julian Rex2019-01-162-1/+2
|
* [ios, macos] Support getLeaves (and related) clustering methods (#12952) ↵Julian Rex2019-01-144-19/+27
| | | | following feature extension API (#13382)
* [android] Implement google benchmark runner for Android platformAlexander Shalamov2019-01-111-2/+2
|