summaryrefslogtreecommitdiff
path: root/platform/macos
Commit message (Collapse)AuthorAgeFilesLines
* [ios, macos]MGLLoggingConfiguration can filter logs from core (#15120)m-stephen2019-07-253-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] update proj config * [ios, macos] implement the logging logic * [ios, macos] update comments * [ios, macos] update mac os config * [ios, macos] re-generate sdk files * [ios, macos] re-generate sdk files json * [ios, macos]re-generate json files * [ios, macos] re-generate ios json files * [ios] change conditions to bit mask * [ios, macos]send messages to platform * [ios, macos] add changelogs * [ios, macos] revert `logging_nslog` * [ios, macos] add event name and code into log msg * [ios, macos] update changlog * [ios, macos] fix a nit * [ios, macos]Fix nits.
* [ios, macos] Update Jazzy theme (#15125)Nadia Barbosa2019-07-171-4/+3
| | | | | | | | * [ios, macos] Update Jazzy theme module_version -> module-version * Update platform/macos/scripts/document.sh
* [ios, macos] Change "map ID" to "tileset ID" (#15116)upstream/15022_memory_consumptionHeather Stenson2019-07-163-5/+6
| | | | | | | | * map id --> tileset id * styles map id -> style url * update changelog
* [ios , macos] Exclude CJK resources from offline download by default (#14952)m-stephen2019-07-162-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [iOS, macOS] exclude CJK glyphs resources download by default. * [iOS, macOS] update iosapp * [iOS, macOS] update macOS * [iOS, macOS] update iOS change log * [iOS, macOS] update macOS change log * [iOS, macOS] update comment & add test cases * Update platform/darwin/test/MGLOfflineRegionTests.m Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com> * Update platform/darwin/test/MGLOfflineRegionTests.m Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com> * Update platform/darwin/test/MGLOfflineRegionTests.m Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com> * Update platform/ios/CHANGELOG.md Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com> * Update platform/macos/CHANGELOG.md Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com> * Update platform/darwin/test/MGLOfflineRegionTests.m Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>
* [ios, macos] Default to local rendering of CJK characters, using system font ↵m-stephen2019-07-103-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#14862) * Change default CJK font from "PingFang" to "Helvetica" * Add CHANGELOG. * Update CHANGELOG. * [ios] Enable client-side rendering and use `Helvetica` by default. Set `MGLIdeographicFontFamilyName` to `NULL` for using your custom remote font. * [ios] Update change log * [ios] Change default CJK configuration in `iosapp` project * [ios] Update comment * [ios] return local font name using default system font. * [ios] Update changelog * [ios] update changelogs & comments * [iOS, macOS]Support mac os * [iOS, macOS] fix bug * [iOS, macOS] update change log * [iOS, macOS] fix nit. * [iOS, macOS] Ability to specify an array of fonts for fallbacks for `localIdeographicFontFamily` * [iOS, macOS] Update comments * [iOS, macOS] Update change log * [iOS, macOS] update for mac OS font family names * Fix nit. * Update platform/ios/CHANGELOG.md Co-Authored-By: Minh Nguyễn <mxn@1ec5.org> * [iOS, macOS] Set `MGLIdeographicFontFamilyName` to a Boolean value `NO` for using your custom remote font. * [iOS, macOS] remove `MGLIdeographicFontFamilyName` from info.plist & update Info.plist Keys.md * [iOS, macOS] remove `MGLIdeographicFontFamilyName` from macOS demo app project and update info.plist Keys.md * [iOS, macOS] update macOS changelog * [iOS, macOS] Change docs * Update Change log * [iOS, macOS] Test case * Update platform/macos/docs/guides/Info.plist Keys.md Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com> * Update platform/macos/docs/guides/Info.plist Keys.md Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com> * Update platform/ios/CHANGELOG.md Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com> * Update platform/darwin/src/MGLRendererConfiguration.mm Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com> * Update platform/darwin/test/MGLRendererConfigurationTests.mm Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com> * Update platform/macos/docs/guides/Info.plist Keys.md Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com> * Update platform/macos/docs/guides/Info.plist Keys.md Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com> * Update platform/macos/docs/guides/Info.plist Keys.md Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com> * [iOS, macOS] update comments * [iOS, macOS] add plist value test && filter for invalid string * [iOS, macOS] fix nit * Update platform/ios/docs/guides/Info.plist Keys.md Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com> * Update platform/ios/docs/guides/Info.plist Keys.md Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com> * Update platform/ios/docs/guides/Info.plist Keys.md Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com> * Update platform/macos/CHANGELOG.md Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com> * Update platform/ios/docs/guides/Info.plist Keys.md Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com> * Update platform/ios/docs/guides/Info.plist Keys.md Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com> * [iOS, macOS] add invalid value type test * Apply own suggestions from code review
* Issue #15065 changelogs and nit fix.Aleksandar Stojiljkovic2019-07-091-0/+1
|
* [android][ios][macos] Update changelog for #14930Alexander Shalamov2019-07-091-0/+1
|
* [ios] Add removeStyleImage to MGLMapView (#14769)Fabian Guerra Soto2019-07-027-0/+31
| | | | | | | | * [ios] Add shoulRremoveStyleImage to MGLMapViewDelegate. * [ios] Changelog update. * [ios, macos] Update shouldRemoveStyle method documentation.
* [ios, macos] Deprecate methods in favor of new completion handler versionsJason Wray2019-06-262-5/+4
|
* [ios, macos] Added completion handlers to animated MGLMapView methodsMinh Nguyễn2019-06-213-32/+144
|
* [ios, macos] Optionally include a developer xcconfig file in generated ↵Julian Rex2019-06-141-0/+4
| | | | | | config.xcconfig file. (#14766)
* [build, darwin] Enable aggressive API usage warningsJason Wray2019-06-141-0/+2
|
* [android][mac][ios] Update changelogsMikhail Pozdnyakov2019-06-121-0/+1
|
* [ios] Added offline query parameter (#14857)Julian Rex2019-06-111-8/+12
|
* [macos]Added an `MGLMapView.prefetchesTiles` property to configure lo… ↵m-stephen2019-06-043-0/+20
| | | | | | | | (#14816) * [macos]Added an `MGLMapView.prefetchesTiles` property to configure lower-resolution tile prefetching behavior * [macos]Update changelog
* [ios] Fix content insets with custom edge padding. (#14813)Fabian Guerra Soto2019-06-033-2/+8
| | | | | | | | | | | | * [ios] Fix content insets with custom edge padding. * [ios, macos] Consolidated edge insets math * [macos] Add content insets to edge padding when setting camera * [ios, macos] Updated changelogs * [ios, macos] Clarify setCamera:withDuration:animationTimingFunction:edgePadding method documentation.
* [ios] Bump podspec to v5.1.0-alpha.1 (#14800)ios-v5.1.0-alpha.1Fabian Guerra Soto2019-05-291-1/+1
| | | | | | * [ios] Podspec bump to v5.1.0-alpha.1 * [ios] Update changelog.
* [ios,macos] refactor MGLMapViewImplKonstantin Käfer2019-05-2911-200/+339
|
* Asymmetric viewport changelog entryAleksandar Stojiljkovic2019-05-281-0/+6
| | | | Check edge insets difference, in addition to isEqualToMapCamera in all the places in MGLMapView before map.easeTo/map.flyTo.
* macos-v0.14.0Minh Nguyễn2019-05-223-3/+3
|
* [core] Refactor HeadlessFrontend/Backend: GL separation and factory (#14692)Aleksandar Stojiljkovic2019-05-211-2/+4
| | | | | Refactor out HeadlessFrontend and HeadlessBackend gl independent code to gfx. Define gl::HeadlessBackend as subclass, instantiated by gfx::HeadlessBackend static factory method. GL dependent tests are still using gl::HeadlessBackend directly (not through gfx).
* [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.